G2A Many GEOs
SHARE
TWEET

Untitled

penta_got_herpes Apr 8th, 2020 242 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Main = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local hub = Instance.new("Frame")
  10. local FUNC = Instance.new("TextButton")
  11. local Sample = Instance.new("ImageLabel")
  12. local TP = Instance.new("TextButton")
  13. local Sample_2 = Instance.new("ImageLabel")
  14. local Funcframe = Instance.new("Frame")
  15. local TextLabel_2 = Instance.new("TextLabel")
  16. local off = Instance.new("TextButton")
  17. local on = Instance.new("TextButton")
  18. local Teleport = Instance.new("Frame")
  19. local crc = Instance.new("TextButton")
  20. local Sample_3 = Instance.new("ImageLabel")
  21. local pc = Instance.new("TextButton")
  22. local Sample_4 = Instance.new("ImageLabel")
  23. local cgc = Instance.new("TextButton")
  24. local Sample_5 = Instance.new("ImageLabel")
  25. local cbc = Instance.new("TextButton")
  26. local Sample_6 = Instance.new("ImageLabel")
  27. local cbwc = Instance.new("TextButton")
  28. local Sample_7 = Instance.new("ImageLabel")
  29. local script1 = Instance.new("LocalScript", FUNC)
  30. local script2 = Instance.new("LocalScript", TP)
  31. local script3 = Instance.new("LocalScript", crc)
  32. local script4 = Instance.new("LocalScript", pc)
  33. local script5 = Instance.new("LocalScript", cgc)
  34. local script6 = Instance.new("LocalScript", cbc)
  35. local script7 = Instance.new("LocalScript", cbwc)
  36.  
  37. --Properties:
  38.  
  39. ScreenGui.Parent = game.CoreGui
  40.  
  41. Main.Name = "Main"
  42. Main.Parent = ScreenGui
  43. Main.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  44. Main.BorderSizePixel = 0
  45. Main.Position = UDim2.new(0.365349531, 0, 0.345824391, 0)
  46. Main.Size = UDim2.new(0, 474, 0, 239)
  47.  
  48. TextLabel.Parent = Main
  49. TextLabel.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  50. TextLabel.BorderSizePixel = 0
  51. TextLabel.Size = UDim2.new(0, 474, 0, 26)
  52. TextLabel.Font = Enum.Font.Gotham
  53. TextLabel.Text = "Jedi Temple on Ilum - PentaHaxx"
  54. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  55. TextLabel.TextSize = 14.000
  56.  
  57. hub.Name = "hub"
  58. hub.Parent = Main
  59. hub.BackgroundColor3 = Color3.fromRGB(12, 12, 12)
  60. hub.BorderSizePixel = 0
  61. hub.Position = UDim2.new(0, 0, 0.108786613, 0)
  62. hub.Size = UDim2.new(0, 123, 0, 212)
  63.  
  64. FUNC.Name = "FUNC"
  65. FUNC.Parent = hub
  66. FUNC.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  67. FUNC.BackgroundTransparency = 1.000
  68. FUNC.BorderSizePixel = 0
  69. FUNC.ClipsDescendants = true
  70. FUNC.Position = UDim2.new(0, 0, 0.314176232, 0)
  71. FUNC.Size = UDim2.new(0, 123, 0, 34)
  72. FUNC.AutoButtonColor = false
  73. FUNC.Font = Enum.Font.Gotham
  74. FUNC.Text = "Functions"
  75. FUNC.TextColor3 = Color3.fromRGB(255, 255, 255)
  76. FUNC.TextSize = 14.000
  77. FUNC.MouseButton1Down:connect(function()
  78.     local function NDBWU_fake_script()
  79.         local ns = game.Players.LocalPlayer:GetMouse()
  80.    
  81.     local btn = script1.Parent
  82.     local sp = script1:WaitForChild("Sample")
  83.    
  84.         local c = sp:Clone()
  85.         c.Parent = btn
  86.         local x, y = (ns.X - c.AbsolutePosition.X), (ns.Y - c.AbsolutePosition.Y)
  87.         c.Position = UDim2.new(0, x, 0, y)
  88.         local len, size = 0.35, nil
  89.         if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
  90.             size = (btn.AbsoluteSize.X * 1.5)
  91.         else
  92.             size = (btn.AbsoluteSize.Y * 1.5)
  93.         end
  94.         c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), "Out", "Quint", len, true, nil)
  95.         for i = 1, 10 do
  96.             c.ImageTransparency = c.ImageTransparency + 0.05
  97.             wait(len / 12)
  98.         end
  99.         c:Destroy()
  100.     end
  101.     coroutine.wrap(NDBWU_fake_script)()
  102.     Teleport.Visible = false
  103.     Funcframe.Visible = true
  104. end)
  105.  
  106. Sample.Name = "Sample"
  107. Sample.Parent = script1
  108. Sample.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  109. Sample.BackgroundTransparency = 1.000
  110. Sample.Position = UDim2.new(0.089430891, 0, 0.294117659, 0)
  111. Sample.Size = UDim2.new(0, 100, 0, 100)
  112. Sample.Image = "rbxassetid://4560909609"
  113. Sample.ImageTransparency = 0.500
  114.  
  115. TP.Name = "TP"
  116. TP.Parent = hub
  117. TP.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  118. TP.BackgroundTransparency = 1.000
  119. TP.BorderSizePixel = 0
  120. TP.ClipsDescendants = true
  121. TP.Position = UDim2.new(0, 0, 0.521549582, 0)
  122. TP.Size = UDim2.new(0, 123, 0, 34)
  123. TP.AutoButtonColor = false
  124. TP.Font = Enum.Font.Gotham
  125. TP.Text = "Teleports"
  126. TP.TextColor3 = Color3.fromRGB(255, 255, 255)
  127. TP.TextSize = 14.000
  128. TP.MouseButton1Down:connect(function()
  129.     local function NFQID_fake_script()
  130.     local ns = game.Players.LocalPlayer:GetMouse()
  131.    
  132.     local btn = script2.Parent
  133.     local sp = script2:WaitForChild("Sample")
  134.    
  135.         local c = sp:Clone()
  136.         c.Parent = btn
  137.         local x, y = (ns.X - c.AbsolutePosition.X), (ns.Y - c.AbsolutePosition.Y)
  138.         c.Position = UDim2.new(0, x, 0, y)
  139.         local len, size = 0.35, nil
  140.         if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
  141.             size = (btn.AbsoluteSize.X * 1.5)
  142.         else
  143.             size = (btn.AbsoluteSize.Y * 1.5)
  144.         end
  145.         c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), "Out", "Quint", len, true, nil)
  146.         for i = 1, 10 do
  147.             c.ImageTransparency = c.ImageTransparency + 0.05
  148.             wait(len / 12)
  149.         end
  150.         c:Destroy()
  151.     end
  152. coroutine.wrap(NFQID_fake_script)()
  153. Teleport.Visible = true
  154. Funcframe.Visible = false
  155. end)
  156.  
  157. Sample_2.Name = "Sample"
  158. Sample_2.Parent = script2
  159. Sample_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  160. Sample_2.BackgroundTransparency = 1.000
  161. Sample_2.Position = UDim2.new(0.089430891, 0, 0.294117659, 0)
  162. Sample_2.Size = UDim2.new(0, 100, 0, 100)
  163. Sample_2.Image = "rbxassetid://4560909609"
  164. Sample_2.ImageTransparency = 0.500
  165.  
  166. Funcframe.Name = "Funcframe"
  167. Funcframe.Parent = Main
  168. Funcframe.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  169. Funcframe.BackgroundTransparency = 1.000
  170. Funcframe.Position = UDim2.new(0.259493679, 0, 0.108786613, 0)
  171. Funcframe.Size = UDim2.new(0, 351, 0, 213)
  172.  
  173. TextLabel_2.Parent = Funcframe
  174. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  175. TextLabel_2.BackgroundTransparency = 1.000
  176. TextLabel_2.Position = UDim2.new(-0.145299137, 0, 0.075117372, 0)
  177. TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
  178. TextLabel_2.Font = Enum.Font.Gotham
  179. TextLabel_2.Text = "Kill all"
  180. TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  181. TextLabel_2.TextSize = 16.000
  182.  
  183. off.Name = "off"
  184. off.Parent = Funcframe
  185. off.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  186. off.BackgroundTransparency = 1.000
  187. off.Position = UDim2.new(0.0655270666, 0, 0.0751173645, 0)
  188. off.Size = UDim2.new(0, 200, 0, 50)
  189. off.Font = Enum.Font.Gotham
  190. off.Text = "OFF"
  191. off.TextColor3 = Color3.fromRGB(255, 33, 36)
  192. off.TextSize = 14.000
  193. off.MouseButton1Down:connect(function(death)
  194.     on.Visible = true
  195.     off.Visible = false
  196.     wait()
  197.     if death then
  198.     _G.loopkill = true
  199.       while _G.loopkill do
  200.         for i,v in pairs(game.Players:GetChildren()) do
  201.           if v.Name ~= game.Players.LocalPlayer.Name then
  202.           game.ReplicatedStorage.GunModule.RemoteEvent:FireServer(v.Character.Humanoid, 0)
  203.        end
  204.      wait(0.5)
  205.    end
  206.   end
  207.     else
  208.       _G.loopkill = false
  209. end
  210. end)
  211.  
  212. on.Name = "on"
  213. on.Parent = Funcframe
  214. on.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  215. on.BackgroundTransparency = 1.000
  216. on.Position = UDim2.new(0.0655270666, 0, 0.0751173645, 0)
  217. on.Size = UDim2.new(0, 200, 0, 50)
  218. on.Visible = false
  219. on.Font = Enum.Font.Gotham
  220. on.Text = "ON"
  221. on.TextColor3 = Color3.fromRGB(0, 255, 119)
  222. on.TextSize = 14.000
  223. on.MouseButton1Down:connect(function()
  224.     _G.loopkill = false
  225.     on.Visible = false
  226.     off.Visible = true
  227. end)
  228.  
  229. Teleport.Name = "Teleport"
  230. Teleport.Parent = Main
  231. Teleport.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  232. Teleport.BackgroundTransparency = 1.000
  233. Teleport.Position = UDim2.new(0.259493679, 0, 0.108786613, 0)
  234. Teleport.Size = UDim2.new(0, 351, 0, 212)
  235. Teleport.Visible = false
  236.  
  237. crc.Name = "crc"
  238. crc.Parent = Teleport
  239. crc.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
  240. crc.BorderSizePixel = 0
  241. crc.ClipsDescendants = true
  242. crc.Position = UDim2.new(0.0797720775, 0, 0.094339624, 0)
  243. crc.Size = UDim2.new(0, 140, 0, 37)
  244. crc.AutoButtonColor = false
  245. crc.Font = Enum.Font.Gotham
  246. crc.Text = "Cursed Red Crystal"
  247. crc.TextColor3 = Color3.fromRGB(255, 255, 255)
  248. crc.TextSize = 15.000
  249. crc.MouseButton1Down:connect(function()
  250.     local function MDUWB_fake_script()
  251.     local ns = game.Players.LocalPlayer:GetMouse()
  252.    
  253.     local btn = script3.Parent
  254.     local sp = script3:WaitForChild("Sample")
  255.    
  256.         local c = sp:Clone()
  257.         c.Parent = btn
  258.         local x, y = (ns.X - c.AbsolutePosition.X), (ns.Y - c.AbsolutePosition.Y)
  259.         c.Position = UDim2.new(0, x, 0, y)
  260.         local len, size = 0.35, nil
  261.         if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
  262.             size = (btn.AbsoluteSize.X * 1.5)
  263.         else
  264.             size = (btn.AbsoluteSize.Y * 1.5)
  265.         end
  266.         c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), "Out", "Quint", len, true, nil)
  267.         for i = 1, 10 do
  268.             c.ImageTransparency = c.ImageTransparency + 0.05
  269.             wait(len / 12)
  270.         end
  271.         c:Destroy()
  272.     end
  273. coroutine.wrap(MDUWB_fake_script)()
  274. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-5.024, -132.844, 1748.688)
  275. end)
  276.  
  277. Sample_3.Name = "Sample"
  278. Sample_3.Parent = script3
  279. Sample_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  280. Sample_3.BackgroundTransparency = 1.000
  281. Sample_3.Position = UDim2.new(0.195121944, 0, 0, 0)
  282. Sample_3.Size = UDim2.new(0, 100, 0, 100)
  283. Sample_3.Image = "rbxassetid://4560909609"
  284. Sample_3.ImageColor3 = Color3.fromRGB(255, 0, 0)
  285. Sample_3.ImageTransparency = 0.500
  286.  
  287. pc.Name = "pc"
  288. pc.Parent = Teleport
  289. pc.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
  290. pc.BorderSizePixel = 0
  291. pc.ClipsDescendants = true
  292. pc.Position = UDim2.new(0.512820482, 0, 0.094339624, 0)
  293. pc.Size = UDim2.new(0, 140, 0, 37)
  294. pc.AutoButtonColor = false
  295. pc.Font = Enum.Font.Gotham
  296. pc.Text = "Pink Crystal"
  297. pc.TextColor3 = Color3.fromRGB(255, 255, 255)
  298. pc.TextSize = 16.000
  299. pc.MouseButton1Down:connect(function()
  300.     local function MFDJGN_fake_script()
  301.         local ns = game.Players.LocalPlayer:GetMouse()
  302.    
  303.     local btn = script4.Parent
  304.     local sp = script4:WaitForChild("Sample")
  305.    
  306.         local c = sp:Clone()
  307.         c.Parent = btn
  308.         local x, y = (ns.X - c.AbsolutePosition.X), (ns.Y - c.AbsolutePosition.Y)
  309.         c.Position = UDim2.new(0, x, 0, y)
  310.         local len, size = 0.35, nil
  311.         if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
  312.             size = (btn.AbsoluteSize.X * 1.5)
  313.         else
  314.             size = (btn.AbsoluteSize.Y * 1.5)
  315.         end
  316.         c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), "Out", "Quint", len, true, nil)
  317.         for i = 1, 10 do
  318.             c.ImageTransparency = c.ImageTransparency + 0.05
  319.             wait(len / 12)
  320.         end
  321.         c:Destroy()
  322.     end
  323.     coroutine.wrap(MFDJGN_fake_script)()
  324.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-3818.839, 1594.896, 924.014)
  325. end)
  326.  
  327. Sample_4.Name = "Sample"
  328. Sample_4.Parent = script4
  329. Sample_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  330. Sample_4.BackgroundTransparency = 1.000
  331. Sample_4.Position = UDim2.new(0.195121944, 0, 0, 0)
  332. Sample_4.Size = UDim2.new(0, 100, 0, 100)
  333. Sample_4.Image = "rbxassetid://4560909609"
  334. Sample_4.ImageColor3 = Color3.fromRGB(255, 170, 255)
  335. Sample_4.ImageTransparency = 0.500
  336.  
  337. cgc.Name = "cgc"
  338. cgc.Parent = Teleport
  339. cgc.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
  340. cgc.BorderSizePixel = 0
  341. cgc.ClipsDescendants = true
  342. cgc.Position = UDim2.new(0.0797720775, 0, 0.311320752, 0)
  343. cgc.Size = UDim2.new(0, 140, 0, 37)
  344. cgc.AutoButtonColor = false
  345. cgc.Font = Enum.Font.Gotham
  346. cgc.Text = "Cursed Green Crystal"
  347. cgc.TextColor3 = Color3.fromRGB(255, 255, 255)
  348. cgc.TextSize = 14.000
  349. cgc.MouseButton1Down:connect(function()
  350.     local function FDGEQ_fake_script()
  351.     local ns = game.Players.LocalPlayer:GetMouse()
  352.    
  353.     local btn = script5.Parent
  354.     local sp = script5:WaitForChild("Sample")
  355.    
  356.         local c = sp:Clone()
  357.         c.Parent = btn
  358.         local x, y = (ns.X - c.AbsolutePosition.X), (ns.Y - c.AbsolutePosition.Y)
  359.         c.Position = UDim2.new(0, x, 0, y)
  360.         local len, size = 0.35, nil
  361.         if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
  362.             size = (btn.AbsoluteSize.X * 1.5)
  363.         else
  364.             size = (btn.AbsoluteSize.Y * 1.5)
  365.         end
  366.         c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), "Out", "Quint", len, true, nil)
  367.         for i = 1, 10 do
  368.             c.ImageTransparency = c.ImageTransparency + 0.05
  369.             wait(len / 12)
  370.         end
  371.         c:Destroy()
  372.     end
  373. coroutine.wrap(FDGEQ_fake_script)()
  374. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1024.643, 167.456, 2862.152)
  375. end)
  376.  
  377. Sample_5.Name = "Sample"
  378. Sample_5.Parent = script5
  379. Sample_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  380. Sample_5.BackgroundTransparency = 1.000
  381. Sample_5.Position = UDim2.new(0.195121944, 0, 0, 0)
  382. Sample_5.Size = UDim2.new(0, 100, 0, 100)
  383. Sample_5.Image = "rbxassetid://4560909609"
  384. Sample_5.ImageColor3 = Color3.fromRGB(85, 255, 0)
  385. Sample_5.ImageTransparency = 0.500
  386.  
  387. cbc.Name = "cbc"
  388. cbc.Parent = Teleport
  389. cbc.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
  390. cbc.BorderSizePixel = 0
  391. cbc.ClipsDescendants = true
  392. cbc.Position = UDim2.new(0.512820482, 0, 0.311320752, 0)
  393. cbc.Size = UDim2.new(0, 140, 0, 37)
  394. cbc.AutoButtonColor = false
  395. cbc.Font = Enum.Font.Gotham
  396. cbc.Text = "Cursed Blue Crystal"
  397. cbc.TextColor3 = Color3.fromRGB(255, 255, 255)
  398. cbc.TextSize = 15.000
  399. cbc.MouseButton1Down:connect(function()
  400.     local function EJKF_fake_script()
  401.         local ns = game.Players.LocalPlayer:GetMouse()
  402.    
  403.     local btn = script6.Parent
  404.     local sp = script6:WaitForChild("Sample")
  405.    
  406.         local c = sp:Clone()
  407.         c.Parent = btn
  408.         local x, y = (ns.X - c.AbsolutePosition.X), (ns.Y - c.AbsolutePosition.Y)
  409.         c.Position = UDim2.new(0, x, 0, y)
  410.         local len, size = 0.35, nil
  411.         if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
  412.             size = (btn.AbsoluteSize.X * 1.5)
  413.         else
  414.             size = (btn.AbsoluteSize.Y * 1.5)
  415.         end
  416.         c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), "Out", "Quint", len, true, nil)
  417.         for i = 1, 10 do
  418.             c.ImageTransparency = c.ImageTransparency + 0.05
  419.             wait(len / 12)
  420.         end
  421.         c:Destroy()
  422.     end
  423.     coroutine.wrap(EJKF_fake_script)()
  424.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-384.77, -96.859, 1715.115)
  425. end)
  426.  
  427. Sample_6.Name = "Sample"
  428. Sample_6.Parent = script6
  429. Sample_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  430. Sample_6.BackgroundTransparency = 1.000
  431. Sample_6.Position = UDim2.new(0.195121944, 0, 0, 0)
  432. Sample_6.Size = UDim2.new(0, 100, 0, 100)
  433. Sample_6.Image = "rbxassetid://4560909609"
  434. Sample_6.ImageColor3 = Color3.fromRGB(0, 170, 255)
  435. Sample_6.ImageTransparency = 0.500
  436.  
  437. cbwc.Name = "cbwc"
  438. cbwc.Parent = Teleport
  439. cbwc.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
  440. cbwc.BorderSizePixel = 0
  441. cbwc.ClipsDescendants = true
  442. cbwc.Position = UDim2.new(0.0797720775, 0, 0.51886791, 0)
  443. cbwc.Size = UDim2.new(0, 292, 0, 37)
  444. cbwc.AutoButtonColor = false
  445. cbwc.Font = Enum.Font.Gotham
  446. cbwc.Text = "Cursed Black White Crystal"
  447. cbwc.TextColor3 = Color3.fromRGB(255, 255, 255)
  448. cbwc.TextSize = 15.000
  449. cbwc.MouseButton1Down:connect(function()
  450.     local function GJGD_fake_script()
  451.     local ns = game.Players.LocalPlayer:GetMouse()
  452.    
  453.     local btn = script7.Parent
  454.     local sp = script7:WaitForChild("Sample")
  455.    
  456.         local c = sp:Clone()
  457.         c.Parent = btn
  458.         local x, y = (ns.X - c.AbsolutePosition.X), (ns.Y - c.AbsolutePosition.Y)
  459.         c.Position = UDim2.new(0, x, 0, y)
  460.         local len, size = 0.35, nil
  461.         if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
  462.             size = (btn.AbsoluteSize.X * 1.5)
  463.         else
  464.             size = (btn.AbsoluteSize.Y * 1.5)
  465.         end
  466.         c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), "Out", "Quint", len, true, nil)
  467.         for i = 1, 10 do
  468.             c.ImageTransparency = c.ImageTransparency + 0.05
  469.             wait(len / 12)
  470.         end
  471.         c:Destroy()
  472.     end
  473. coroutine.wrap(GJGD_fake_script)()
  474. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(422.302, 62.65, -617.059)
  475. end)
  476.  
  477. Sample_7.Name = "Sample"
  478. Sample_7.Parent = script7
  479. Sample_7.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  480. Sample_7.BackgroundTransparency = 1.000
  481. Sample_7.Position = UDim2.new(0.195121944, 0, 0, 0)
  482. Sample_7.Size = UDim2.new(0, 100, 0, 100)
  483. Sample_7.Image = "rbxassetid://4560909609"
  484. Sample_7.ImageColor3 = Color3.fromRGB(0, 0, 0)
  485. Sample_7.ImageTransparency = 0.500
  486.  
  487. -- Scripts:
  488. function dragify(Main)
  489. dragToggle = nil
  490. dragSpeed = .20 -- You can edit this.
  491. dragInput = nil
  492. dragStart = nil
  493. dragPos = nil
  494.  
  495. function updateInput(input)
  496. Delta = input.Position - dragStart
  497. Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  498. game:GetService("TweenService"):Create(Main, TweenInfo.new(.25), {Position = Position}):Play()
  499. end
  500.  
  501. Main.InputBegan:Connect(function(input)
  502. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  503. dragToggle = true
  504. dragStart = input.Position
  505. startPos = Main.Position
  506. input.Changed:Connect(function()
  507. if (input.UserInputState == Enum.UserInputState.End) then
  508. dragToggle = false
  509. end
  510. end)
  511. end
  512. end)
  513.  
  514. Main.InputChanged:Connect(function(input)
  515. if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  516. dragInput = input
  517. end
  518. end)
  519.  
  520. game:GetService("UserInputService").InputChanged:Connect(function(input)
  521. if (input == dragInput and dragToggle) then
  522. updateInput(input)
  523. end
  524. end)
  525. end
  526.  
  527. dragify(Main)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top