Meliodas0_0

MadCity Get Inf Lava Gems

Jul 8th, 2019
68
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local VirtualInput = game:GetService('VirtualInputManager')
  2.  
  3. function keyclick(keycode)
  4. VirtualInput:SendKeyEvent(true, keycode, false, game)
  5. wait()
  6. VirtualInput:SendKeyEvent(false, keycode, false, game)
  7. end
  8.  
  9. function tp(bf,bg,bh)local bi=10;local bj=true;be=true;game:GetService('RunService').Stepped:connect(function()if be then game:GetService('Players').LocalPlayer.Character.Humanoid:ChangeState(11)end end)if bf<game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.X then
  10. while bf<game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.X do
  11. wait()game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(Vector3.new(game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.X-bi,game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Y,game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Z))end end;if bh<game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Z then while bh<game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Z do wait()game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(Vector3.new(game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.X,game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Y,game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Z-bi))end end;if bf>game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.X then while bf>game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.X do wait()game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(Vector3.new(game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.X+bi,game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Y,game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Z))end end;if bh>game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Z then while bh>game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Z do wait()game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(Vector3.new(game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.X,game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Y,game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Z+bi))end end;if bg<game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Y then while bg<game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Y do wait()game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(Vector3.new(game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.X,game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Y-bi,game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Z))end end;if bg>game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Y then while bg>game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Y do wait()game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(Vector3.new(game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.X,game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Y+bi,game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position.Z))end end;bj=false end;
  12.  
  13. function TPMessage(msg)
  14. game:GetService('ReplicatedStorage').Event:FireServer('Dialogue',{{Text=msg,Delay=0.6}})
  15. end
  16.  
  17. function ExitVehicle()
  18. if game:GetService('Players').LocalPlayer.Character.Humanoid.Sit then
  19. keyclick('Space')
  20. game:GetService('Players').LocalPlayer.Character.Humanoid.Sit = false
  21. end
  22. end
  23.  
  24. function GetLavaGem()
  25. TPMessage('Teleporting.. This May Take Time')tp(GERLAVAGEMPOSITION) be=not be
  26.  
  27. wait(5)
  28.  
  29. repeat
  30. wait()
  31. keyclick('E')
  32. ExitVehicle()
  33. until game:GetService('Players').LocalPlayer.Backpack:FindFirstChild('Lava Gem') or game:GetService('Players').LocalPlayer.Backpack:FindFirstChild('LavaGem')
  34.  
  35. wait(3)
  36.  
  37. TPMessage('Teleporting.. This May Take Time')tp(VOLCANOPOSITION) be=not be
  38. end
  39.  
  40. GetLavaGem()
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×