Anonymouse10101

Op Booga Booga GUI

Oct 12th, 2019
16,553
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.93 KB | None | 0 0
  1. Player = game.Players.LocalPlayer
  2.  
  3. local mt = getrawmetatable(game)
  4. make_writeable(mt)
  5. local old = mt.__namecall
  6.  
  7. mt.__namecall = newcclosure(function(self, ...)
  8. local args = {...}
  9. local method = args[#args]
  10. if method == "BreakJoints" then return end
  11. return old(self, ...)
  12. end)
  13. local plr = game:GetService("Players").LocalPlayer
  14. local char = plr.Character
  15. local mouse = plr:GetMouse()
  16. local hum = char:FindFirstChild("HumanoidRootPart")
  17. hum.Anchored = false
  18. local Players = game:GetService("Players")
  19. local RepStorage = game:GetService("ReplicatedStorage")
  20. local Player = Players.LocalPlayer
  21. local Character = Player.Character
  22. local Root = Character.HumanoidRootPart
  23.  
  24.  
  25. local ScreenGui = Instance.new("ScreenGui")
  26. local MainFrame = Instance.new("Frame")
  27. local MainFrame2 = Instance.new("Frame")
  28. local TextLabel = Instance.new("TextLabel")
  29. local walkspeedbutton = Instance.new("TextButton")
  30. local noclipbutton = Instance.new("TextButton")
  31. local input = Instance.new("TextBox")
  32. local Gravitybutton = Instance.new("TextButton")
  33. local craftbutton = Instance.new("TextButton")
  34. local jumpowerbutton = Instance.new("TextButton")
  35. local noclipbutton_2 = Instance.new("TextButton")
  36. local noclipbutton_3 = Instance.new("TextButton")
  37. local noclipbutton_4 = Instance.new("TextButton")
  38. local Frame = Instance.new("Frame")
  39. local openclosebutton = Instance.new("TextButton")
  40. local TextLabel_2 = Instance.new("TextLabel")
  41. local exitbutton = Instance.new("TextButton")
  42. local esp = Instance.new("TextButton")
  43. local esp1 = Instance.new("TextButton")
  44. local TeleportItems = Instance.new("TextButton")
  45. local MaxItems = Instance.new("TextBox")
  46. local void = Instance.new("TextButton")
  47.  
  48.  
  49.  
  50.  
  51. ScreenGui.Parent = game.CoreGui
  52.  
  53. MainFrame.Name = "MainFrame"
  54. MainFrame.Parent = ScreenGui
  55. MainFrame.Active = true
  56. MainFrame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  57. MainFrame.BorderSizePixel = 0
  58. MainFrame.ClipsDescendants = true
  59. MainFrame.Draggable = true
  60. MainFrame.Position = UDim2.new(0.500367403, -234, 0.500636935, -120)
  61. MainFrame.Size = UDim2.new(0, 469, 0, 400)
  62.  
  63. MainFrame2.Name = "MainFrame2"
  64. MainFrame2.Parent = MainFrame
  65. MainFrame2.BackgroundColor3 = Color3.new(1, 1, 1)
  66. MainFrame2.BackgroundTransparency = 1
  67. MainFrame2.Position = UDim2.new(0.5, -234, 0.5, -120)
  68. MainFrame2.Size = UDim2.new(0, 469, 0, 239)
  69.  
  70. TextLabel.Parent = MainFrame2
  71. TextLabel.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  72. TextLabel.BackgroundTransparency = 1
  73. TextLabel.BorderSizePixel = 0
  74. TextLabel.Position = UDim2.new(0.362148255, 0, -0.23506569, 0)
  75. TextLabel.Size = UDim2.new(0, 129, 0, 38)
  76. TextLabel.Font = Enum.Font.Highway
  77. TextLabel.Text = "Fiusen Crafting GUI by fiusen#4281"
  78. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  79. TextLabel.TextScaled = true
  80. TextLabel.TextSize = 12
  81. TextLabel.TextWrapped = true
  82.  
  83. MaxItems.Name = "MaxItems"
  84. MaxItems.Parent = MainFrame2
  85. MaxItems.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  86. MaxItems.BorderColor3 = Color3.new(1, 1, 1)
  87. MaxItems.Position = UDim2.new(0.100000001, 0, 1.04999995, 0)
  88. MaxItems.Size = UDim2.new(0.800000012, 0, 0.800000012, 0)
  89. MaxItems.Font = Enum.Font.SciFi
  90. MaxItems.FontSize = Enum.FontSize.Size14
  91. MaxItems.Text = "1"
  92. MaxItems.TextColor3 = Color3.new(1, 1, 1)
  93. MaxItems.TextSize = 14
  94. MaxItems.Visible = false
  95.  
  96. walkspeedbutton.Name = "walkspeedbutton"
  97. walkspeedbutton.Parent = MainFrame2
  98. walkspeedbutton.BackgroundColor3 = Color3.new(0, 0, 0)
  99. walkspeedbutton.BorderSizePixel = 0
  100. walkspeedbutton.Position = UDim2.new(0.378503054, 0, 0.220140266, 0)
  101. walkspeedbutton.Size = UDim2.new(0, 116, 0, 35)
  102. walkspeedbutton.Font = Enum.Font.Highway
  103. walkspeedbutton.Text = "Walkspeed (Hold 'Q')"
  104. walkspeedbutton.TextColor3 = Color3.new(1, 1, 1)
  105. walkspeedbutton.TextSize = 12
  106.  
  107.  
  108.  
  109. noclipbutton.Name = "noclipbutton"
  110. noclipbutton.Parent = MainFrame2
  111. noclipbutton.BackgroundColor3 = Color3.new(0, 0, 0)
  112. noclipbutton.BorderSizePixel = 0
  113. noclipbutton.Position = UDim2.new(0.378503084, 0, 0.426614184, 0)
  114. noclipbutton.Size = UDim2.new(0, 116, 0, 35)
  115. noclipbutton.Font = Enum.Font.Highway
  116. noclipbutton.Text = "Noclip"
  117. noclipbutton.TextColor3 = Color3.new(1, 1, 1)
  118. noclipbutton.TextSize = 14
  119.  
  120.  
  121. input.Name = "input"
  122. input.Parent = MainFrame2
  123. input.BackgroundColor3 = Color3.new(0, 0, 0)
  124. input.BorderSizePixel = 0
  125. input.Position = UDim2.new(0.0351812392, 0, 0.00017471716, 0)
  126. input.Size = UDim2.new(0, 437, 0, 42)
  127. input.Font = Enum.Font.Highway
  128. input.PlaceholderColor3 = Color3.new(1, 1, 1)
  129. input.PlaceholderText = "Input Number"
  130. input.Text = ""
  131. input.TextColor3 = Color3.new(1, 1, 1)
  132. input.TextSize = 14
  133.  
  134.  
  135. Gravitybutton.Name = "Gravitybutton"
  136. Gravitybutton.Parent = MainFrame2
  137. Gravitybutton.BackgroundColor3 = Color3.new(0, 0, 0)
  138. Gravitybutton.BorderSizePixel = 0
  139. Gravitybutton.Position = UDim2.new(0.0352194794, 0, 0.426614184, 0)
  140. Gravitybutton.Size = UDim2.new(0, 116, 0, 35)
  141. Gravitybutton.Font = Enum.Font.Highway
  142. Gravitybutton.Text = "Gravity"
  143. Gravitybutton.TextColor3 = Color3.new(1, 1, 1)
  144. Gravitybutton.TextSize = 14
  145.  
  146. craftbutton.Name = "craftbutton"
  147. craftbutton.Parent = MainFrame2
  148. craftbutton.BackgroundColor3 = Color3.new(0, 0, 0)
  149. craftbutton.BorderSizePixel = 0
  150. craftbutton.Position = UDim2.new(0.0352194794, 0, 0.220140266, 0)
  151. craftbutton.Size = UDim2.new(0, 116, 0, 35)
  152. craftbutton.Font = Enum.Font.Highway
  153. craftbutton.Text = "Craft"
  154. craftbutton.TextColor3 = Color3.new(1, 1, 1)
  155. craftbutton.TextSize = 14
  156.  
  157. jumpowerbutton.Name = " jumpowerbutton"
  158. jumpowerbutton.Parent = MainFrame2
  159. jumpowerbutton.BackgroundColor3 = Color3.new(0, 0, 0)
  160. jumpowerbutton.BorderSizePixel = 0
  161. jumpowerbutton.Position = UDim2.new(0.719654441, 0, 0.220140266, 0)
  162. jumpowerbutton.Size = UDim2.new(0, 116, 0, 35)
  163. jumpowerbutton.Font = Enum.Font.Highway
  164. jumpowerbutton.Text = "JumpPower"
  165. jumpowerbutton.TextColor3 = Color3.new(1, 1, 1)
  166. jumpowerbutton.TextSize = 14
  167.  
  168. noclipbutton_2.Name = "noclipbutton"
  169. noclipbutton_2.Parent = MainFrame2
  170. noclipbutton_2.BackgroundColor3 = Color3.new(0, 0, 0)
  171. noclipbutton_2.BorderSizePixel = 0
  172. noclipbutton_2.Position = UDim2.new(0.715390086, 0, 0.426614184, 0)
  173. noclipbutton_2.Size = UDim2.new(0, 116, 0, 35)
  174. noclipbutton_2.Font = Enum.Font.Highway
  175. noclipbutton_2.Text = "Clear FOG"
  176. noclipbutton_2.TextColor3 = Color3.new(1, 1, 1)
  177. noclipbutton_2.TextSize = 14
  178. noclipbutton_2.MouseButton1Down:connect(function()
  179. game.Lighting.FogEnd = 10000
  180. end)
  181.  
  182. noclipbutton_3.Name = "noclipbutton"
  183. noclipbutton_3.Parent = MainFrame2
  184. noclipbutton_3.BackgroundColor3 = Color3.new(0, 0, 0)
  185. noclipbutton_3.BorderSizePixel = 0
  186. noclipbutton_3.Position = UDim2.new(0.715390086, 0, 0.641063461, 0)
  187. noclipbutton_3.Size = UDim2.new(0, 116, 0, 35)
  188. noclipbutton_3.Font = Enum.Font.Highway
  189. noclipbutton_3.Text = "Infinite Jump"
  190. noclipbutton_3.TextColor3 = Color3.new(1, 1, 1)
  191. noclipbutton_3.TextSize = 14
  192. noclipbutton_3.MouseButton1Down:connect(function()
  193. local Player = game:GetService'Players'.LocalPlayer;
  194. local UIS = game:GetService'UserInputService';
  195.  
  196. _G.JumpHeight = 50;
  197.  
  198. function Action(Object, Function) if Object ~= nil then Function(Object); end end
  199.  
  200. UIS.InputBegan:connect(function(UserInput)
  201. if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.Space then
  202. Action(Player.Character.Humanoid, function(self)
  203. if self:GetState() == Enum.HumanoidStateType.Jumping or self:GetState() == Enum.HumanoidStateType.Freefall then
  204. Action(self.Parent.HumanoidRootPart, function(self)
  205. self.Velocity = Vector3.new(0, _G.JumpHeight, 0);
  206. end)
  207. end
  208. end)
  209. end
  210. end)
  211. end)
  212.  
  213. esp.Name = "player_esp"
  214. esp.Parent = MainFrame2
  215. esp.BackgroundColor3 = Color3.new(0, 0, 0)
  216. esp.BorderSizePixel = 0
  217. esp.Position = UDim2.new(0.0352194794, 0, 0.641063461, 0)
  218. esp.Size = UDim2.new(0, 116, 0, 35)
  219. esp.Font = Enum.Font.Highway
  220. esp.Text = "Player ESP"
  221. esp.TextColor3 = Color3.new(1, 1, 1)
  222. esp.TextSize = 14
  223. esp.MouseButton1Down:connect(function()
  224.  
  225.  
  226. Important = {Players = game:GetService("Players"), Workspace = game:GetService("Workspace"), CoreGui = game:GetService("CoreGui")}
  227.  
  228. local enabledesp = false
  229.  
  230. function CreateESP(plr)
  231.  
  232. if plr ~= nil then
  233.  
  234. local GetChar = plr.Character
  235. if not GetChar then return end
  236.  
  237. local GetHead do
  238.  
  239. repeat wait() until GetChar:FindFirstChild("Head")
  240.  
  241. end
  242. GetHead = GetChar.Head
  243.  
  244. local bb = Instance.new("BillboardGui", Important.CoreGui)
  245. bb.Adornee = GetHead
  246. bb.ExtentsOffset = Vector3.new(0, 1, 0)
  247. bb.AlwaysOnTop = true
  248. bb.Size = UDim2.new(0, 5, 0, 5)
  249. bb.StudsOffset = Vector3.new(0, 3, 0)
  250. bb.Name = "ESP_PLAYER_" .. plr.Name
  251.  
  252. local displayframe = Instance.new("Frame", bb)
  253. displayframe.ZIndex = 10
  254. displayframe.BackgroundTransparency = 1
  255. displayframe.Size = UDim2.new(1,0,1,0)
  256.  
  257. local name = Instance.new("TextLabel", displayframe)
  258. name.Name = "Name"
  259. name.ZIndex = 10
  260. name.Text = plr.Name
  261. name.Visible = true
  262. name.TextColor3 = Color3.new(170,0,0)
  263. name.BackgroundTransparency = 1
  264. name.Size = UDim2.new(1,0,10,0)
  265. name.Font = Enum.Font.SourceSansLight
  266. name.TextSize = 14
  267. name.TextStrokeTransparency = .5
  268.  
  269. end
  270.  
  271. end
  272.  
  273.  
  274. for i,v in pairs(Important.Players:GetChildren()) do
  275.  
  276. CreateESP(v)
  277.  
  278. end
  279. end)
  280.  
  281. void.Name = "void"
  282. void.Parent = MainFrame2
  283. void.BackgroundColor3 = Color3.new(0, 0, 0)
  284. void.BorderSizePixel = 0
  285. void.Position = UDim2.new(0.0352194794, 0, 0.847537381, 0)
  286. void.Size = UDim2.new(0, 116, 0, 35)
  287. void.Font = Enum.Font.Highway
  288. void.Text = "TP to VOID"
  289. void.TextColor3 = Color3.new(1, 1, 1)
  290. void.TextSize = 14
  291. void.MouseButton1Down:connect(function()
  292. game:GetService("TeleportService"):Teleport(2021740958,game.Players.LocalPlayer)
  293. end)
  294.  
  295. TeleportItems.Name = "TeleportItems"
  296. TeleportItems.Parent = MainFrame2
  297. TeleportItems.BackgroundColor3 = Color3.new(0, 0, 0)
  298. TeleportItems.BorderSizePixel = 0
  299. TeleportItems.Position = UDim2.new(0.375304788, 0, 0.641063461, 0)
  300. TeleportItems.Size = UDim2.new(0, 116, 0, 35)
  301. TeleportItems.Font = Enum.Font.Highway
  302. TeleportItems.Text = "TP to Item"
  303. TeleportItems.TextColor3 = Color3.new(1, 1, 1)
  304. TeleportItems.TextSize = 12
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311. Frame.Parent = MainFrame
  312. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  313. Frame.BorderSizePixel = 0
  314. Frame.Size = UDim2.new(0, 446, 0, 16)
  315.  
  316. openclosebutton.Name = "open/close button"
  317. openclosebutton.Parent = MainFrame
  318. openclosebutton.BackgroundColor3 = Color3.new(0, 0, 0)
  319. openclosebutton.BorderSizePixel = 0
  320. openclosebutton.Position = UDim2.new(0.916050732, 0, 0, 0)
  321. openclosebutton.Size = UDim2.new(0, 23, 0, 16)
  322. openclosebutton.Font = Enum.Font.SourceSans
  323. openclosebutton.Text = "X"
  324. openclosebutton.TextColor3 = Color3.new(1, 1, 1)
  325. openclosebutton.TextScaled = true
  326. openclosebutton.TextSize = 14
  327. openclosebutton.TextTransparency = 1
  328. openclosebutton.TextWrapped = true
  329.  
  330. TextLabel_2.Parent = openclosebutton
  331. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  332. TextLabel_2.BackgroundTransparency = 1
  333. TextLabel_2.Position = UDim2.new(0.304347813, 0, -0.25, 0)
  334. TextLabel_2.Size = UDim2.new(0, 16, 0, 16)
  335. TextLabel_2.Font = Enum.Font.SourceSans
  336. TextLabel_2.Text = "_"
  337. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  338. TextLabel_2.TextSize = 14
  339. TextLabel_2.TextWrapped = true
  340.  
  341. exitbutton.Name = "exitbutton"
  342. exitbutton.Parent = MainFrame
  343. exitbutton.BackgroundColor3 = Color3.new(0, 0, 0)
  344. exitbutton.BorderSizePixel = 0
  345. exitbutton.Position = UDim2.new(0.950165868, 0, 0, 0)
  346. exitbutton.Size = UDim2.new(0, 23, 0, 16)
  347. exitbutton.Font = Enum.Font.SourceSans
  348. exitbutton.Text = "X"
  349. exitbutton.TextColor3 = Color3.new(1, 1, 1)
  350. exitbutton.TextScaled = true
  351. exitbutton.TextSize = 16
  352. exitbutton.TextWrapped = true
  353.  
  354. Gravitybutton.MouseButton1Down:connect(function()
  355. if Gravity == true then
  356. Gravity = false
  357. game.workspace.Gravity = 196.2
  358. else
  359. Gravity = true
  360. game.workspace.Gravity = input.Text
  361. end
  362. end)
  363. jumpowerbutton.MouseButton1Down:connect(function()
  364. if Jump == true then
  365. Jump = false
  366. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  367. else
  368. Jump = true
  369. game.Players.LocalPlayer.Character.Humanoid.JumpPower = input.Text
  370. end
  371. end)
  372. exitbutton.MouseButton1Down:connect(function()
  373. MainFrame:TweenPosition(UDim2.new(1, 769,0.483, -120), "Out", "Sine", 1)
  374. wait(0.4)
  375. ScreenGui:remove()
  376. end)
  377.  
  378. openclosebutton.MouseButton1Down:connect(function()
  379. TabPosition = not TabPosition
  380. if TabPosition then
  381. MainFrame:TweenSize(UDim2.new(0, 469,0, 17), "Out", "Sine", 1)
  382. MainFrame2.Visible = false
  383. else
  384. MainFrame:TweenSize(UDim2.new(0, 469,0, 239), "Out", "Sine", 1)
  385. MainFrame2.Visible = true
  386. end
  387. end)
  388.  
  389.  
  390. craftbutton.MouseButton1Down:connect(function()
  391. local item = input.Text
  392. local Event = game:GetService("ReplicatedStorage").Events.CraftItem
  393. Event:FireServer(item)
  394. end)
  395.  
  396. walkspeedbutton.MouseButton1Down:connect(function()
  397. local plr = game:GetService("Players").LocalPlayer
  398. local char = plr.Character
  399. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  400. local hum = char:FindFirstChild("HumanoidRootPart")
  401.  
  402.  
  403. local plr = game:GetService("Players").LocalPlayer
  404. local char = plr.Character
  405. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  406. local hum = char:FindFirstChild("HumanoidRootPart")
  407. mouse.KeyDown:connect(function(key)
  408. if key == "q" then
  409. loop = true
  410. while loop do
  411. hum.CFrame = hum.CFrame + hum.CFrame.lookVector * "2"
  412. wait()
  413. end
  414. end
  415. end)
  416. end)
  417. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  418. mouse.KeyUp:connect(function(key)
  419. if key == "q" then
  420. loop = false
  421. end
  422. end)
  423.  
  424. noclipbutton.MouseButton1Down:connect(function()
  425. -- made by tturley23
  426.  
  427. --[[ Thank you for choosing this noclip script!
  428.  
  429. The noclip will be enabled automatically, please enter the values below - mode, hitpart according the the instructions.
  430. Want to disable the noclip? Type "noclip disable" in chat.
  431. Want to re-enable the noclip? Type "noclip enable" in chat.
  432.  
  433. If you are going to share this etc please give credit :)
  434.  
  435. --]]
  436.  
  437. local plr = game.Players.LocalPlayer -- Player
  438.  
  439. local mode = "noclip"
  440.  
  441. --[[ MODE:
  442.  
  443. The mode is what mode the noclip script is on. You must enter one of these values. CASE SENSITIVE.
  444.  
  445. tempnoclip - Will allow you to walk through touched objects for 3 seconds before making them solid again. While you can walk through them they are semi-transparent
  446. destroy - Will permanently destroy any touched objects
  447. noclip - Will Allow you to walk through any touched object permanently
  448. invis - Will make any touched object invisible.
  449.  
  450. --]]
  451.  
  452. local HitPart = "RightFoot" , "LeftLeg" , "Head" , "Torso" , "HumanoidRootPart", "LeftFoot" , "RightFoot"
  453.  
  454. --[[ HITPART
  455.  
  456. This Value is what part of your character will activate the noclip mode. You must enter one of the following values. CASE SENSITIVE.
  457. BE AWARE OF WETHER YOU ARE PLAYING R15 OR R6 ANIMATED GAMES.
  458.  
  459. Head - R15/R6
  460. Torso - R6
  461. HumanoidRootPart - R15 Torso
  462. LeftLeg - R15
  463. LeftFoot - R15
  464. RightLeg - R15
  465. RightFoot - R15
  466.  
  467. --]]
  468.  
  469. local enabled = true
  470.  
  471. if (plr ~= nil) then
  472.  
  473.  
  474. enabled = true
  475.  
  476.  
  477. if (mode ~= "TEMPNOCLIP" and mode ~= "tempnoclip" and mode ~= "DESTROY" and mode ~= "destroy" and mode ~= "NOCLIP" and mode ~= "noclip" and mode ~= "INVIS" and mode ~= "invis") then
  478. mode = "noclip"
  479. else
  480.  
  481. end
  482.  
  483. if (HitPart ~= "Head" and HitPart ~= "Torso" and HitPart ~= "HumanoidRootPart" and HitPart ~= "LeftHand" and HitPart ~= "LeftFoot" and HitPart ~= "RightFoot" and HitPart ~= "RightHand") then
  484. HitPart = "Head"
  485. else
  486. end
  487.  
  488.  
  489. end
  490.  
  491. plr.Chatted:connect(function(msg)
  492.  
  493. if (msg == string.lower("nd")) then
  494. enabled = false
  495. end
  496.  
  497. if (msg == string.lower("ne")) then
  498. enabled = true
  499. end
  500. end)
  501.  
  502. plr.Character[HitPart].Touched:connect(function(obj)
  503.  
  504. if(obj:IsA("MeshPart") or obj:IsA("Part") or obj:IsA("WedgePart") or obj:IsA("UnionOperation")) then
  505. if(obj.CanCollide == true) then
  506.  
  507. if (mode == "TEMPNOCLIP" or mode == "tempnoclip") then
  508.  
  509. if enabled == true then
  510. local ogtransp = obj.Transparency
  511.  
  512. obj.CanCollide = false
  513. obj.Transparency = 0.5
  514.  
  515. wait(4)
  516.  
  517. obj.CanCollide = true
  518. obj.Transparency = ogtransp
  519. end
  520.  
  521. end
  522.  
  523.  
  524. if (mode == "DESTROY" or mode == "destroy") then
  525. if enabled == true then
  526. obj:remove()
  527. end
  528. end
  529.  
  530. if (mode == "NOCLIP" or mode == "noclip") then
  531. if enabled == true then
  532. obj.CanCollide = false
  533. end
  534. end
  535.  
  536. if (mode == "INVIS" or mode == "invis") then
  537. if enabled == true then
  538. obj.Transparency = 0.8
  539. else
  540. end
  541. end
  542.  
  543. end
  544.  
  545. else
  546.  
  547. end
  548.  
  549. end)
  550.  
  551. end)
  552.  
  553. function TeleportToItem(Item)
  554. for _,v in pairs(workspace:GetChildren()) do
  555. if tostring(v):lower():find(Item) or tostring(v):lower() == Item or tostring(v) == Item then
  556. if v:FindFirstChild("Pickup") then
  557. while wait() and v.Parent == workspace do
  558. Root.CFrame = v.CFrame
  559. if (Root.Position - v.Position).magnitude <= 15 then
  560. RepStorage.Events.Pickup:FireServer(v)
  561. end
  562. end
  563. end
  564. end
  565. end
  566. end
  567.  
  568. TeleportItems.MouseButton1Down:Connect(function()
  569. local IP = input.Text
  570. TeleportToItem(IP)
  571. end)
  572.  
  573. print("made by fiusen#4281")
Add Comment
Please, Sign In to add comment