minecrafter206

tp to items

May 30th, 2021 (edited)
10,214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.97 KB | None | 0 0
  1. local Material = loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/MaterialLua/master/Module.lua"))()
  2.  
  3. local X = Material.Load({
  4.     Title = "TP to Items",
  5.     Style = 3,
  6.     SizeX = 250,
  7.     SizeY = 350,
  8.     Theme = "Dark",
  9.     ColorOverrides = {
  10.         MainFrame = Color3.fromRGB(235,235,235)
  11.     }
  12. })
  13.  
  14. local Main = X.New({
  15.     Title = "Main"
  16. })
  17.  
  18.  
  19.  
  20. for _,k in pairs(game:GetService("Workspace").Map:GetChildren()) do
  21.     if k.Name ~= "Players" and k.Name ~= "Traps" then
  22.         for _,i in pairs(k.Tools:GetChildren()) do
  23.             Main.Button({
  24.                 Text = tostring(i),
  25.                 Callback = function()
  26.                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = i:FindFirstChild("Handle").CFrame
  27.                 end
  28.             })
  29.         end
  30.     end
  31. end
  32.  
  33. Main.Button({
  34.     Text = "Reload GUI",
  35.     Callback = function()
  36.         loadstring(game:HttpGet(('https://pastebin.com/raw/Z0DPwpNh'),true))()
  37.     end
  38. })
Add Comment
Please, Sign In to add comment