Mega Fun Obby codes are codes that give you extra skips to help you advance. Mega Fun Obby is a Roblox Game that was created in July 2009 by bloxtun, the game is very popular among Roblox players and it was visited more than 1 Billion times, and it has more than 2000 stages.
Nov 23rd, 2018
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- local OldGui = game.Players.LocalPlayer.PlayerGui:FindFirstChild('Nice Flex But OK')
- OldGui:Destroy()
- local ScreenGUI = game:GetObjects('rbxassetid://2594598861')[1]
- ScreenGUI.Parent = game.Players.LocalPlayer.PlayerGui
- local MainFrame = TopBar.Frame
- local OpenButton = TopBar.Parent.OpenButton
- local RemoteText = TopBar.RemoteText
- local FastMineToggle = MainFrame.FastMineToggle
- local AutoBackpackToggle = MainFrame.AutoBackpackToggle
- local AutoRebirthToggle = MainFrame.AutoRebirthToggle
- local AutoSellToggled =false
- local AutoMineToggled =false
- local AutoToolsToggled =false
- local backpackModule =require(game.Lighting.Assets.Modules.BackpackModule)
- local Network ={
- }
- local network_mt ={}
- Network:FireServer('xd')
- end
- function Network:Initialize()
- local runs =0
- id = id +1
- id =0
- return2654*(id *3)
- function Network.new()
- local remote, func = game.ReplicatedStorage.Network:InvokeServer()
- if runs >=2then
- end
- Network.RemoteFunction = func
- Network.new()
- self.RemoteEvent:FireServer(name,{
- ...
- })
- function Network:InvokeServer(name,...)
- {
- }
- end
- return self:Function(...)
- self.RemoteEvent.OnClientEvent:connect(function(...)
- end)
- end
- local game_namecall = MetaTable.__namecall
- pcall((setreadonly or make_writeable), MetaTable,false)
- MetaTable.__namecall =function(self,...)
- local args ={...}
- if method 'FireServer'then
- Remote = self
- end
- return game_namecall(self,...)
- local Raycast = Ray.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, Vector)
- local Ignore ={game.Players.LocalPlayer.Character}
- local Ore, endPoint = game.Workspace:FindPartOnRayWithIgnoreList(Raycast, Ignore)
- if Ore.Parent.Parent.Name 'Blocks'then
- [1]='MineBlock',
- [1]={
- }
- }
- end
- end
- AutoSellToggle.MouseButton1Click:Connect(function()
- else
- AutoSellToggled =true
- while AutoSellToggled do
- local coins, inventory, equipped, ownedItems, offer, rebirths, skins, skinEquipped, pets, crates, favorites, hatInventory, wearing, visibleHats, eggHuntStuff, eggPackBought, quests, sortType, patriotBought, tokens, permanentItems, login, toolEnchantments, newQuests, lightPack, equippedAccessories, secProgression, trails, candyCorn, hauntedPack, darkPack, visibleAccessory, infernoPack = Network:InvokeServer('GetStats')
- local num =0
- num = num + inventory[i][2]
- return num
- local Amount = inventoryContents()
- if Amount Backpack then
- local LastPosition = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-116,13,38)
- local Arguments ={
- [2]={
- }
- wait(0.03)
- for i =1,10do
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = LastPosition + Vector3.new(0,2,0)
- end
- end
- AutoSellToggled =false
- end
- end)
- FastMineToggle.MouseButton1Click:Connect(function()
- else
- FastMineToggled =true
- for i,v inpairs(game.Workspace.Blocks:GetChildren())do
- if v:FindFirstChild('Stats'):FindFirstChild('Multiplier')then
- end
- end
- FastMineToggled =false
- end
- end)
- AutoMineToggle.MouseButton1Click:Connect(function()
- else
- AutoMineToggled =true
- while AutoMineToggled do
- Raycast(Vector3.new(5,0,0))
- Raycast(Vector3.new(0,0,5))
- Raycast(Vector3.new(0,-5,0))
- end
- else
- AutoMineToggle.Text ='Enable'
- end
- AutoBackpackToggle.MouseButton1Click:Connect(function()
- else
- AutoBackpackToggled =true
- while AutoBackpackToggled do
- for i =1,50do
- else
- [1]='BuyItem',
- [1]={
- [2]= i
- }
- Remote:FireServer(unpack(Arguments))
- end
- end
- AutoBackpackToggled =false
- end
- end)
- AutoToolsToggle.MouseButton1Click:Connect(function()
- else
- AutoToolsToggled =true
- while AutoToolsToggled do
- for i =1,50do
- [1]='BuyItem',
- [1]={
- [2]= i
- }
- Remote:FireServer(unpack(Arguments))
- end
- else
- AutoToolsToggle.Text ='Enable'
- end
- AutoRebirthToggle.MouseButton1Click:Connect(function()
- else
- AutoRebirthToggled =true
- while AutoRebirthToggled do
- local Arguments ={
- [2]={
- }
- end
- AutoRebirthToggled =false
- end
- end)
- ExitButton.MouseButton1Click:Connect(function()
- OpenButton.Visible =true
- OpenButton.MouseButton1Click:Connect(function()
- OpenButton.Visible =false
- game.Workspace.Blocks.ChildAdded:Connect(function(v)
- local Stats = v:WaitForChild('Stats')
- local Multiplier = Stats:WaitForChild('Multiplier')
- Multiplier.Value =-1337
- end
RAW Paste Data
Jul 11th, 2019
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- -- Instances:
- local VehicleSimulatorFuhaxor = Instance.new('ScreenGui')
- local Open = Instance.new('TextButton')
- local BeautyA = Instance.new('Frame')
- local BeautyB = Instance.new('Frame')
- local Torque = Instance.new('TextButton')
- local TptoCrate = Instance.new('TextButton')
- local NST = Instance.new('TextBox')
- local NitroForce = Instance.new('TextButton')
- local Speed = Instance.new('TextButton')
- local CrateESP = Instance.new('TextButton')
- local GiveAllPerks = Instance.new('TextButton')
- local JumpHeight = Instance.new('TextButton')
- local AutoFarm = Instance.new('TextButton')
- local BrakingT = Instance.new('TextBox')
- VehicleSimulatorFuhaxor.Name = 'Vehicle Simulator'
- VehicleSimulatorFuhaxor.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- OpenFrame.Name = 'OpenFrame'
- OpenFrame.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
- OpenFrame.BorderColor3 = Color3.new(0.666667, 0, 0.498039)
- OpenFrame.Size = UDim2.new(0, 69, 0, 27)
- Main.Visible = true
- end)
- Open.Name = 'Open'
- Open.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
- Open.BorderColor3 = Color3.new(0.666667, 0, 0.498039)
- Open.Font = Enum.Font.Cartoon
- Open.TextColor3 = Color3.new(1, 1, 1)
- Main.Parent = VehicleSimulatorFuhaxor
- Main.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
- Main.Position = UDim2.new(0.376574308, 0, 0.178571433, 0)
- Main.Visible = false
- BeautyA.Parent = Main
- BeautyA.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- BeautyA.BorderColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
- BeautyA.Size = UDim2.new(0, 439, 0, 25)
- Name.Name = 'Name'
- Name.BackgroundColor3 = Color3.new(1, 1, 1)
- Name.BorderSizePixel = 0
- Name.Size = UDim2.new(0, 154, 0, 25)
- Name.Text = 'Vehicle Simulator'
- Name.TextSize = 20
- BeautyB.Name = 'BeautyB'
- BeautyB.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- BeautyB.BorderColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
- BeautyB.Position = UDim2.new(0, 0, 0.91366905, 0)
- Credit.Parent = BeautyB
- Credit.BackgroundTransparency = 1
- Credit.Size = UDim2.new(0, 439, 0, 24)
- Credit.Text = '
- Credit.TextSize = 16
- Torque.Name = 'Torque'
- Torque.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- Torque.Position = UDim2.new(0.679532647, 0, 0.169338807, 0)
- Torque.Font = Enum.Font.Cartoon
- Torque.TextColor3 = Color3.new(1, 1, 1)
- Torquet.Parent = Torque
- Torquet.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- Torquet.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
- Torquet.Font = Enum.Font.Cartoon
- Torquet.TextColor3 = Color3.new(0, 0, 0)
- Torquet.TextWrapped = true
- TptoCrate.Name = 'TptoCrate'
- TptoCrate.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- TptoCrate.Position = UDim2.new(0.0262044966, 0, 0.165741712, 0)
- TptoCrate.Font = Enum.Font.Cartoon
- TptoCrate.TextColor3 = Color3.new(1, 1, 1)
- NitroSpeed.Parent = Main
- NitroSpeed.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- NitroSpeed.Position = UDim2.new(0.346034855, 0, 0.169338807, 0)
- NitroSpeed.Font = Enum.Font.Cartoon
- NitroSpeed.TextColor3 = Color3.new(1, 1, 1)
- NitroSpeed.TextSize = 13
- NST.Parent = NitroSpeed
- NST.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- NST.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
- NST.Font = Enum.Font.Cartoon
- NST.TextColor3 = Color3.new(0, 0, 0)
- NST.TextWrapped = true
- TeleportToCar.Name = 'TeleportToCar'
- TeleportToCar.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- TeleportToCar.Position = UDim2.new(0.026204519, 0, 0.332408428, 0)
- TeleportToCar.Font = Enum.Font.Cartoon
- TeleportToCar.TextColor3 = Color3.new(1, 1, 1)
- TeleportToCar.TextSize = 20
- NitroForce.Parent = Main
- NitroForce.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- NitroForce.Position = UDim2.new(0.346034855, 0, 0.336005569, 0)
- NitroForce.Font = Enum.Font.Cartoon
- NitroForce.TextColor3 = Color3.new(1, 1, 1)
- NitroForce.TextWrapped = true
- NFT.Name = 'NFT'
- NFT.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- NFT.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
- NFT.Font = Enum.Font.Cartoon
- NFT.TextColor3 = Color3.new(0, 0, 0)
- NFT.TextWrapped = true
- Speed.Name = 'Speed'
- Speed.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- Speed.Position = UDim2.new(0.679532647, 0, 0.336005569, 0)
- Speed.Font = Enum.Font.Cartoon
- Speed.TextColor3 = Color3.new(1, 1, 1)
- SpeedBind.Parent = Speed
- SpeedBind.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- SpeedBind.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
- SpeedBind.Font = Enum.Font.Cartoon
- SpeedBind.TextColor3 = Color3.new(0, 0, 0)
- SpeedBind.TextWrapped = true
- CrateESP.Name = 'CrateESP'
- CrateESP.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- CrateESP.Position = UDim2.new(0.0262044966, 0, 0.748543978, 0)
- CrateESP.Font = Enum.Font.Cartoon
- CrateESP.TextColor3 = Color3.new(1, 1, 1)
- SuperCar.Parent = Main
- SuperCar.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- SuperCar.Position = UDim2.new(0.355146468, 0, 0.748544037, 0)
- SuperCar.Font = Enum.Font.Cartoon
- SuperCar.TextColor3 = Color3.new(1, 1, 1)
- GiveAllPerks.Parent = Main
- GiveAllPerks.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- GiveAllPerks.Position = UDim2.new(0.695478082, 0, 0.748543978, 0)
- GiveAllPerks.Font = Enum.Font.Cartoon
- GiveAllPerks.TextColor3 = Color3.new(1, 1, 1)
- Close.Parent = Main
- Close.BackgroundTransparency = 1
- Close.Position = UDim2.new(0.935208917, 0, -0.00128471851, 0)
- Close.Font = Enum.Font.SourceSans
- Close.TextColor3 = Color3.new(1, 1, 1)
- Close.MouseButton1Down:connect(function()
- Main.Visible = false
- JumpHeight.Parent = Main
- JumpHeight.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- JumpHeight.Position = UDim2.new(0.346034855, 0, 0.497876078, 0)
- JumpHeight.Font = Enum.Font.Cartoon
- JumpHeight.TextColor3 = Color3.new(1, 1, 1)
- JumpHeight.TextSize = 15
- JHT.Parent = JumpHeight
- JHT.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- JHT.Position = UDim2.new(1.08955193, 0, 0, 0)
- JHT.Font = Enum.Font.Cartoon
- JHT.TextColor3 = Color3.new(0, 0, 0)
- JHT.TextWrapped = true
- AutoFarm.Name = 'AutoFarm'
- AutoFarm.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- AutoFarm.Position = UDim2.new(0.0262044966, 0, 0.496676952, 0)
- AutoFarm.Font = Enum.Font.Cartoon
- AutoFarm.TextColor3 = Color3.new(1, 1, 1)
- Braking.Parent = Main
- Braking.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- Braking.Position = UDim2.new(0.679532647, 0, 0.494278967, 0)
- Braking.Font = Enum.Font.Cartoon
- Braking.TextColor3 = Color3.new(1, 1, 1)
- Braking.TextSize = 23
- BrakingT.Parent = Braking
- BrakingT.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- BrakingT.Position = UDim2.new(1.08955228, 0, 4.47034836e-08, 0)
- BrakingT.Font = Enum.Font.Cartoon
- BrakingT.TextColor3 = Color3.new(0, 0, 0)
- BrakingT.TextWrapped = true
- local vehicle = workspace.Vehicles:getChildren()
- if vehicle[i]:findFirstChild('owner') then
- if vehicle[i].owner.Value game.Players.LocalPlayer.Name then
- end
- end
- local waitTime = 3 --This will be the time it takes (seconds) until your car resets. See line 37
- local hint = Instance.new('Hint', Workspace) hint.Text = 'Vehicle Simulator Autofarm loading...'
- local go = true
- function findVehicle() --Finds your vehicle
- while not found do --Loops until your vehicle has been found
- local vehicles = Workspace.Vehicles:getChildren()
- if vehicles[i]:findFirstChild'owner' then
- if vehicles[i].owner.Value game:GetService'Players'.LocalPlayer.Name then -- Found your vehicle
- found = true --Setting found to true so loop breaks
- vehicle = vehicles[i] -- Declares vehicle variable to your vehicle
- vehStats = vehicle.Handling -- Declares vehStats variable to vehicle stats folder
- vehStats.Torque.Value = 60000
- vehStats.SteeringRadiusConstant.Value = 120000000
- elseif vehicles[i + 1] nil and not found then
- hint.Text = 'Please spawn and enter your vehicle!' --Your vehicle does not exist in the Workspace
- end
- wait(1) --Waiting before checking again so we don't crash
- wait(2) --We've found the car. Waiting so the car can be properly placed on the highway
- vehicle.PrimaryPart = vehicle.Chassis.VehicleSeat
- function farm() --This is where the magic happens :)
- hint.Text = 'Finished loading! Autofarm initialized...FAST,TELEPORT,WIN v2'
- while wait(waitTime) do --Waits x seconds before resetting car
- vehicle:SetPrimaryPartCFrame(CFrame.new(-2470,60,777)) --Teleports vehicle to highway
- game:GetService'VirtualUser':SetKeyUp('w') --Resets W key
- game:GetService'VirtualUser':SetKeyDown('w') --Presses W key to go forward
- end
- while go do
- if not pcall(farm()) then --Calls farm function & checks for errors
- found = false --If it errors, it sets found to false and continues looking for your vehicle.
- end
- end)
- SuperCar.MouseButton1Down:connect(function()
- myCar.Handling.MaxSpeed.Value = 10000
- myCar.Handling.SteeringRadiusConstant.Value = 15000
- myCar.Handling.Nitro.NitroSpeed.Value = 100000
- myCar.Handling.Braking.Value = 100000
- myCar.Handling.TurboJump.TurboJumpHeight.Value = 25
- findCar()
- myCar.Handling.SteeringRadiusConstant.Value = 15000
- findCar()
- end)
- NitroSpeed.MouseButton1Down:connect(function()
- myCar.Handling.Nitro.NitroSpeed.Value = NST.Text
- findCar()
- end)
- JumpHeight.MouseButton1Down:connect(function()
- myCar.Handling.TurboJump.TurboJumpHeight.Value = JHT.Text
- findCar()
- end)
- GiveAllPerks.MouseButton1Down:connect(function()
- game:GetService('Players').LocalPlayer.UserId = 1099580
- local crates = workspace:getChildren()
- if crates[i].ClassName 'Model' then
- for i=1,#crates2 do
- local crates3 = crates2[i]:getChildren()
- if crates3[i].ClassName 'MeshPart' then
- if crates3[i]:findFirstChild('BoxHandleAdornment') then
- crates3[i]:findFirstChild('BoxHandleAdornment'):Remove()
- local a = Instance.new('BoxHandleAdornment',crates3[i])
- a.SizeRelativeOffset = Vector3.new(0,135,0)
- a.Transparency = 0.5
- a.Adornee = crates3[i]
- local b = Instance.new('BoxHandleAdornment',crates3[i])
- b.Color3 = Color3.fromRGB(0,0,255)
- b.AlwaysOnTop = true
- b.ZIndex = 1
- end
- end
- end
- end
- local crates = workspace:getChildren()
- if crates[i].ClassName 'Model' then
- for i=1,#crates2 do
- local crates3 = crates2[i]:getChildren()
- if crates3[i].ClassName 'MeshPart' then
- game.Players.LocalPlayer.Character:MoveTo(Vector3.new(crates3[i].Position.X+30,crates3[i].Position.Y+5,crates3[i].Position.Z))
- game.Players.LocalPlayer.Character.Humanoid:MoveTo(Vector3.new(crates3[i].Position.X,crates3[i].Position.Y,crates3[i].Position.Z))
- end
- end
- end
- end
- TeleportToCar.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
RAW Paste Data