Advertisement
Runixer

Untitled

Jun 8th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.94 KB | None | 0 0
  1. --[[You need a tool equipped for this to work!
  2.  
  3. For positioning, use the arrow keys to position your tool
  4. Directions: Forward, Backward, Left, Right | Up, Down (Other)
  5.  
  6. For removing, click on the buttons based on what you want to remove
  7.  
  8. ]]
  9.  
  10. -- Objects
  11.  
  12. local ScreenGui = Instance.new("ScreenGui")
  13. local Frame = Instance.new("Frame")
  14. local Position = Instance.new("TextButton")
  15. local Remove = Instance.new("TextButton")
  16. local TextLabel = Instance.new("TextLabel")
  17. local PositionFrame = Instance.new("Frame")
  18. local Right = Instance.new("TextButton")
  19. local Forward = Instance.new("TextButton")
  20. local Left = Instance.new("TextButton")
  21. local Backward = Instance.new("TextButton")
  22. local Up = Instance.new("TextButton")
  23. local Down = Instance.new("TextButton")
  24. local Close = Instance.new("TextButton")
  25. local RemoveFrame = Instance.new("Frame")
  26. local Close_2 = Instance.new("TextButton")
  27. local RemoveMesh = Instance.new("TextButton")
  28. local RemoveScripts = Instance.new("TextButton")
  29. local RemoveSounds = Instance.new("TextButton")
  30. local RemoveHandle = Instance.new("TextButton")
  31. local RemoveTool = Instance.new("TextButton")
  32.  
  33. -- Properties
  34.  
  35. ScreenGui.Parent = game.CoreGui
  36. ScreenGui.ResetOnSpawn = false
  37. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  38.  
  39. Frame.Parent = ScreenGui
  40. Frame.BackgroundColor3 = Color3.new(0.498039, 0.498039, 0.498039)
  41. Frame.BorderColor3 = Color3.new(0, 0, 0)
  42. Frame.Position = UDim2.new(0.811843395, 0, 0.466876984, 0)
  43. Frame.Size = UDim2.new(0, 150, 0, 150)
  44.  
  45. Position.Name = "Position"
  46. Position.Parent = Frame
  47. Position.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  48. Position.BorderColor3 = Color3.new(0, 0, 0)
  49. Position.Position = UDim2.new(0, 0, 0.330000013, 0)
  50. Position.Size = UDim2.new(0, 150, 0, 37)
  51. Position.Font = Enum.Font.GothamSemibold
  52. Position.Text = "< Position"
  53. Position.TextColor3 = Color3.new(1, 1, 1)
  54. Position.TextScaled = true
  55. Position.TextSize = 14
  56. Position.TextWrapped = true
  57.  
  58. Remove.Name = "Remove"
  59. Remove.Parent = Frame
  60. Remove.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  61. Remove.BorderColor3 = Color3.new(0, 0, 0)
  62. Remove.Position = UDim2.new(0, 0, 0.575000048, 0)
  63. Remove.Size = UDim2.new(0, 150, 0, 37)
  64. Remove.Font = Enum.Font.GothamSemibold
  65. Remove.Text = "< Remove"
  66. Remove.TextColor3 = Color3.new(1, 1, 1)
  67. Remove.TextScaled = true
  68. Remove.TextSize = 14
  69. Remove.TextWrapped = true
  70.  
  71. TextLabel.Parent = Frame
  72. TextLabel.BackgroundColor3 = Color3.new(0.498039, 0.498039, 0.498039)
  73. TextLabel.BackgroundTransparency = 1
  74. TextLabel.BorderColor3 = Color3.new(0, 0, 0)
  75. TextLabel.Position = UDim2.new(0.00666666683, 0, 0, 0)
  76. TextLabel.Size = UDim2.new(0, 149, 0, 50)
  77. TextLabel.Font = Enum.Font.GothamBold
  78. TextLabel.Text = "Tool Editor"
  79. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  80. TextLabel.TextScaled = true
  81. TextLabel.TextSize = 14
  82. TextLabel.TextWrapped = true
  83.  
  84. PositionFrame.Name = "PositionFrame"
  85. PositionFrame.Parent = Frame
  86. PositionFrame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  87. PositionFrame.Position = UDim2.new(math.huge, 0, -0.0350000262, 0)
  88. PositionFrame.Size = UDim2.new(0, 200, 0, 150)
  89. PositionFrame.Transparency = 1
  90.  
  91. Right.Name = "Right"
  92. Right.Parent = PositionFrame
  93. Right.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  94. Right.BorderColor3 = Color3.new(0, 0, 0)
  95. Right.Position = UDim2.new(0.814999998, 0, 0.379999995, 0)
  96. Right.Rotation = 180
  97. Right.Size = UDim2.new(0, 37, 0, 37)
  98. Right.Font = Enum.Font.GothamSemibold
  99. Right.Text = "<"
  100. Right.TextColor3 = Color3.new(1, 1, 1)
  101. Right.TextScaled = true
  102. Right.TextSize = 14
  103. Right.TextWrapped = true
  104. Right.Transparency = 1
  105.  
  106. Forward.Name = "Forward"
  107. Forward.Parent = PositionFrame
  108. Forward.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  109. Forward.BorderColor3 = Color3.new(0, 0, 0)
  110. Forward.Position = UDim2.new(0.625, 0, 0.119999997, 0)
  111. Forward.Rotation = 90
  112. Forward.Size = UDim2.new(0, 37, 0, 37)
  113. Forward.Font = Enum.Font.GothamSemibold
  114. Forward.Text = "<"
  115. Forward.TextColor3 = Color3.new(1, 1, 1)
  116. Forward.TextScaled = true
  117. Forward.TextSize = 14
  118. Forward.TextWrapped = true
  119. Forward.Transparency = 1
  120.  
  121. Left.Name = "Left"
  122. Left.Parent = PositionFrame
  123. Left.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  124. Left.BorderColor3 = Color3.new(0, 0, 0)
  125. Left.Position = UDim2.new(0.435000002, 0, 0.377000004, 0)
  126. Left.Size = UDim2.new(0, 37, 0, 37)
  127. Left.Font = Enum.Font.GothamSemibold
  128. Left.Text = "<"
  129. Left.TextColor3 = Color3.new(1, 1, 1)
  130. Left.TextScaled = true
  131. Left.TextSize = 14
  132. Left.TextWrapped = true
  133. Left.Transparency = 1
  134.  
  135. Backward.Name = "Backward"
  136. Backward.Parent = PositionFrame
  137. Backward.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  138. Backward.BorderColor3 = Color3.new(0, 0, 0)
  139. Backward.Position = UDim2.new(0.623000026, 0, 0.632000029, 0)
  140. Backward.Rotation = 270
  141. Backward.Size = UDim2.new(0, 37, 0, 37)
  142. Backward.Font = Enum.Font.GothamSemibold
  143. Backward.Text = "<"
  144. Backward.TextColor3 = Color3.new(1, 1, 1)
  145. Backward.TextScaled = true
  146. Backward.TextSize = 14
  147. Backward.TextWrapped = true
  148. Backward.Transparency = 1
  149.  
  150. Up.Name = "Up"
  151. Up.Parent = PositionFrame
  152. Up.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  153. Up.BorderColor3 = Color3.new(0, 0, 0)
  154. Up.Position = UDim2.new(0.0329998769, 0, 0.0426666215, 0)
  155. Up.Rotation = 180
  156. Up.Size = UDim2.new(0, 37, 0, 23)
  157. Up.Font = Enum.Font.GothamSemibold
  158. Up.Text = "v"
  159. Up.TextColor3 = Color3.new(1, 1, 1)
  160. Up.TextScaled = true
  161. Up.TextSize = 14
  162. Up.TextWrapped = true
  163. Up.Transparency = 1
  164.  
  165. Down.Name = "Down"
  166. Down.Parent = PositionFrame
  167. Down.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  168. Down.BorderColor3 = Color3.new(0, 0, 0)
  169. Down.Position = UDim2.new(0.247999996, 0, 0.0430000015, 0)
  170. Down.Size = UDim2.new(0, 37, 0, 23)
  171. Down.Font = Enum.Font.GothamSemibold
  172. Down.Text = "v"
  173. Down.TextColor3 = Color3.new(1, 1, 1)
  174. Down.TextScaled = true
  175. Down.TextSize = 14
  176. Down.TextWrapped = true
  177. Down.Transparency = 1
  178.  
  179. Close.Name = "Close"
  180. Close.Parent = PositionFrame
  181. Close.BackgroundColor3 = Color3.new(0.52549, 0, 0)
  182. Close.BorderColor3 = Color3.new(0, 0, 0)
  183. Close.Position = UDim2.new(0.0329998769, 0, 0.711666644, 0)
  184. Close.Size = UDim2.new(0, 37, 0, 37)
  185. Close.Font = Enum.Font.GothamSemibold
  186. Close.Text = "X"
  187. Close.TextColor3 = Color3.new(1, 1, 1)
  188. Close.TextScaled = true
  189. Close.TextSize = 14
  190. Close.TextWrapped = true
  191. Close.Transparency = 1
  192.  
  193. RemoveFrame.Name = "RemoveFrame"
  194. RemoveFrame.Parent = Frame
  195. RemoveFrame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  196. RemoveFrame.Position = UDim2.new(math.huge, 0, -0.0350000262, 0)
  197. RemoveFrame.Size = UDim2.new(0, 200, 0, 150)
  198. RemoveFrame.Transparency = 1
  199.  
  200. Close_2.Name = "Close"
  201. Close_2.Parent = RemoveFrame
  202. Close_2.BackgroundColor3 = Color3.new(0.52549, 0, 0)
  203. Close_2.BorderColor3 = Color3.new(0, 0, 0)
  204. Close_2.Position = UDim2.new(0.0329998769, 0, 0.711666644, 0)
  205. Close_2.Size = UDim2.new(0, 37, 0, 37)
  206. Close_2.Font = Enum.Font.GothamSemibold
  207. Close_2.Text = "X"
  208. Close_2.TextColor3 = Color3.new(1, 1, 1)
  209. Close_2.TextScaled = true
  210. Close_2.TextSize = 14
  211. Close_2.TextWrapped = true
  212. Close_2.Transparency = 1
  213.  
  214. RemoveMesh.Name = "RemoveMesh"
  215. RemoveMesh.Parent = RemoveFrame
  216. RemoveMesh.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  217. RemoveMesh.BorderColor3 = Color3.new(0, 0, 0)
  218. RemoveMesh.Position = UDim2.new(0.0329998732, 0, 0.0516666658, 0)
  219. RemoveMesh.Size = UDim2.new(0, 80, 0, 37)
  220. RemoveMesh.Font = Enum.Font.GothamSemibold
  221. RemoveMesh.Text = "Remove Mesh"
  222. RemoveMesh.TextColor3 = Color3.new(1, 1, 1)
  223. RemoveMesh.TextScaled = true
  224. RemoveMesh.TextSize = 14
  225. RemoveMesh.TextWrapped = true
  226. RemoveMesh.Transparency = 1
  227.  
  228. RemoveScripts.Name = "RemoveScripts"
  229. RemoveScripts.Parent = RemoveFrame
  230. RemoveScripts.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  231. RemoveScripts.BorderColor3 = Color3.new(0, 0, 0)
  232. RemoveScripts.Position = UDim2.new(0.567999899, 0, 0.0516666658, 0)
  233. RemoveScripts.Size = UDim2.new(0, 80, 0, 37)
  234. RemoveScripts.Font = Enum.Font.GothamSemibold
  235. RemoveScripts.Text = "Remove Scripts"
  236. RemoveScripts.TextColor3 = Color3.new(1, 1, 1)
  237. RemoveScripts.TextScaled = true
  238. RemoveScripts.TextSize = 14
  239. RemoveScripts.TextWrapped = true
  240. RemoveScripts.Transparency = 1
  241.  
  242. RemoveSounds.Name = "RemoveSounds"
  243. RemoveSounds.Parent = RemoveFrame
  244. RemoveSounds.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  245. RemoveSounds.BorderColor3 = Color3.new(0, 0, 0)
  246. RemoveSounds.Position = UDim2.new(0.0329998732, 0, 0.358333349, 0)
  247. RemoveSounds.Size = UDim2.new(0, 80, 0, 37)
  248. RemoveSounds.Font = Enum.Font.GothamSemibold
  249. RemoveSounds.Text = "Remove Sounds"
  250. RemoveSounds.TextColor3 = Color3.new(1, 1, 1)
  251. RemoveSounds.TextScaled = true
  252. RemoveSounds.TextSize = 14
  253. RemoveSounds.TextWrapped = true
  254. RemoveSounds.Transparency = 1
  255.  
  256. RemoveHandle.Name = "RemoveHandle"
  257. RemoveHandle.Parent = RemoveFrame
  258. RemoveHandle.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  259. RemoveHandle.BorderColor3 = Color3.new(0, 0, 0)
  260. RemoveHandle.Position = UDim2.new(0.567999899, 0, 0.358333349, 0)
  261. RemoveHandle.Size = UDim2.new(0, 80, 0, 37)
  262. RemoveHandle.Font = Enum.Font.GothamSemibold
  263. RemoveHandle.Text = "Remove Handle"
  264. RemoveHandle.TextColor3 = Color3.new(1, 1, 1)
  265. RemoveHandle.TextScaled = true
  266. RemoveHandle.TextSize = 14
  267. RemoveHandle.TextWrapped = true
  268. RemoveHandle.Transparency = 1
  269.  
  270. RemoveTool.Name = "RemoveTool"
  271. RemoveTool.Parent = RemoveFrame
  272. RemoveTool.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  273. RemoveTool.BorderColor3 = Color3.new(0, 0, 0)
  274. RemoveTool.Position = UDim2.new(0.567999899, 0, 0.671666682, 0)
  275. RemoveTool.Size = UDim2.new(0, 80, 0, 37)
  276. RemoveTool.Font = Enum.Font.GothamSemibold
  277. RemoveTool.Text = "Remove Tool"
  278. RemoveTool.TextColor3 = Color3.new(1, 1, 1)
  279. RemoveTool.TextScaled = true
  280. RemoveTool.TextSize = 14
  281. RemoveTool.TextWrapped = true
  282. RemoveTool.Transparency = 1
  283.  
  284. local Click = Instance.new("Sound")
  285. Click.Name = "ClickNoise"
  286. Click.SoundId = "rbxassetid://226892749"
  287. Click.Volume = 1
  288. Click.Parent = Frame
  289.  
  290. Position.MouseButton1Click:Connect(function()
  291. Frame.ClickNoise:Play()
  292. PositionFrame.Position = UDim2.new(-1.52666676, 0, -0.0350000262, 0)
  293. Left.Transparency = 0
  294. Right.Transparency = 0
  295. Forward.Transparency = 0
  296. Backward.Transparency = 0
  297. Up.Transparency = 0
  298. Down.Transparency = 0
  299. Close.Transparency = 0
  300. PositionFrame.BackgroundTransparency = 0
  301. end)
  302.  
  303. Remove.MouseButton1Click:Connect(function()
  304. Frame.ClickNoise:Play()
  305. RemoveFrame.Position = UDim2.new(-1.52666676, 0, -0.0350000262, 0)
  306. RemoveMesh.Transparency = 0
  307. RemoveScripts.Transparency = 0
  308. RemoveSounds.Transparency = 0
  309. RemoveHandle.Transparency = 0
  310. RemoveTool.Transparency = 0
  311. Close_2.Transparency = 0
  312. RemoveFrame.BackgroundTransparency = 0
  313. end)
  314.  
  315. Left.MouseButton1Click:Connect(function()
  316. local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  317. tool.Grip = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Grip + Vector3.new(0,1,0)
  318. tool.Parent = game.Players.LocalPlayer.Backpack
  319. tool.Parent = game.Players.LocalPlayer.Character
  320. end)
  321.  
  322. Right.MouseButton1Click:Connect(function()
  323. local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  324. tool.Grip = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Grip - Vector3.new(0,1,0)
  325. tool.Parent = game.Players.LocalPlayer.Backpack
  326. tool.Parent = game.Players.LocalPlayer.Character
  327. end)
  328.  
  329. Forward.MouseButton1Click:Connect(function()
  330. local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  331. tool.Grip = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Grip + Vector3.new(1,0,0)
  332. tool.Parent = game.Players.LocalPlayer.Backpack
  333. tool.Parent = game.Players.LocalPlayer.Character
  334. end)
  335.  
  336. Backward.MouseButton1Click:Connect(function()
  337. local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  338. tool.Grip = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Grip - Vector3.new(1,0,0)
  339. tool.Parent = game.Players.LocalPlayer.Backpack
  340. tool.Parent = game.Players.LocalPlayer.Character
  341. end)
  342.  
  343. Up.MouseButton1Click:Connect(function()
  344. local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  345. tool.Grip = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Grip - Vector3.new(0,0,1)
  346. tool.Parent = game.Players.LocalPlayer.Backpack
  347. tool.Parent = game.Players.LocalPlayer.Character
  348. end)
  349.  
  350. Down.MouseButton1Click:Connect(function()
  351. local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  352. tool.Grip = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Grip + Vector3.new(0,0,1)
  353. tool.Parent = game.Players.LocalPlayer.Backpack
  354. tool.Parent = game.Players.LocalPlayer.Character
  355. end)
  356.  
  357. Close.MouseButton1Click:Connect(function()
  358. Frame.ClickNoise:Play()
  359. PositionFrame.Position = UDim2.new(math.huge, 0, -0.0350000262, 0)
  360. Left.Transparency = 1
  361. Right.Transparency = 1
  362. Forward.Transparency = 1
  363. Backward.Transparency = 1
  364. Up.Transparency = 1
  365. Down.Transparency = 1
  366. Close.Transparency = 1
  367. PositionFrame.BackgroundTransparency = 1
  368. end)
  369.  
  370. RemoveMesh.MouseButton1Click:Connect(function()
  371. Frame.ClickNoise:Play()
  372. local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  373. tool.Handle.Mesh:Destroy()
  374. tool.Parent = game.Players.LocalPlayer.Backpack
  375. tool.Parent = game.Players.LocalPlayer.Character
  376. end)
  377.  
  378. RemoveScripts.MouseButton1Click:Connect(function()
  379. Frame.ClickNoise:Play()
  380. local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  381. for i,v in pairs(tool:GetDescendants()) do
  382. if v:IsA("Script") then
  383. v:Destroy()
  384. end
  385. end
  386. tool.Parent = game.Players.LocalPlayer.Backpack
  387. tool.Parent = game.Players.LocalPlayer.Character
  388. end)
  389.  
  390. RemoveSounds.MouseButton1Click:Connect(function()
  391. Frame.ClickNoise:Play()
  392. local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  393. for i,v in pairs(tool:GetDescendants()) do
  394. if v:IsA("Sound") then
  395. v:Destroy()
  396. end
  397. end
  398. tool.Parent = game.Players.LocalPlayer.Backpack
  399. tool.Parent = game.Players.LocalPlayer.Character
  400. end)
  401.  
  402. RemoveHandle.MouseButton1Click:Connect(function()
  403. Frame.ClickNoise:Play()
  404. local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  405. tool.Handle:Destroy()
  406. end)
  407.  
  408. RemoveTool.MouseButton1Click:Connect(function()
  409. Frame.ClickNoise:Play()
  410. Frame.Position = UDim2.new(math.huge, 0, 0.466876984, 0)
  411. local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  412. tool:Destroy()
  413. end)
  414.  
  415. Close_2.MouseButton1Click:Connect(function()
  416. RemoveFrame.Position = UDim2.new(math.huge, 0, -0.0350000262, 0)
  417. Frame.ClickNoise:Play()
  418. RemoveMesh.Transparency = 1
  419. RemoveScripts.Transparency = 1
  420. RemoveSounds.Transparency = 1
  421. RemoveHandle.Transparency = 1
  422. RemoveTool.Transparency = 1
  423. Close_2.Transparency = 1
  424. RemoveFrame.BackgroundTransparency = 1
  425. end)
  426.  
  427. while game:GetService("RunService").Stepped:wait() do
  428. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  429. Frame.Position = UDim2.new(0.811843395, 0, 0.466876984, 0)
  430. elseif game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") then
  431. Frame.Position = UDim2.new(math.huge, 0, 0.466876984, 0)
  432. end
  433. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement