Advertisement
Aperture10

Untitled

Apr 25th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.01 KB | None | 0 0
  1.  
  2.  
  3. --Designed and Coded by Kangerujack 2016
  4. --Revisioned 2018
  5.  
  6.  
  7. wait(2)
  8.  
  9.  
  10.  
  11. ----------------------Local Variables----------------------------
  12.  
  13.  
  14. local Player = game.Players.LocalPlayer
  15. local Char = Player.Character
  16.  
  17. local Mouse = Player:GetMouse()
  18.  
  19. local RealCamera = workspace.CurrentCamera
  20.  
  21.  
  22.  
  23. ---------------------------CLEAN UP------------------------------
  24.  
  25. --RealCamera:ClearAllChildren()
  26. --Player.PlayerGui:ClearAllChildren()
  27.  
  28. for _,v in pairs(Char:GetChildren()) do
  29. print("Checking: "..v.Name)
  30. if v:IsA("Part") or v:IsA("Humanoid") or v:IsA("Hat") then
  31. print("Destroying part: "..v.Name)
  32. v:Destroy()
  33. end
  34. end
  35.  
  36.  
  37. -----------------------------------------------------------------
  38.  
  39.  
  40. local SizeX = 3
  41. local SizeY = 3
  42. local SizeZ = 3
  43.  
  44. local menuUp = false
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51. local ScreenGui = Instance.new("ScreenGui",Player.PlayerGui)
  52.  
  53. local Actions = {"Destroy","Kill","BreakJoints","Distort","Anchor","Push","Freeze",
  54. "Clone","Build","Laser","Rekt","Weld"}
  55. local Action = "Destroy"
  56. local Selection = 1
  57. local Mode = "Model"--{"Part","Model"}
  58.  
  59. table.sort(Actions)
  60.  
  61.  
  62.  
  63. local GuiM = Instance.new("TextButton",ScreenGui)
  64. GuiM.Size = UDim2.new(0,250,0,50)
  65. GuiM.Position = UDim2.new(0.7,1,0.8,1) --0.95= 5
  66. GuiM.Text = "Action: Destroy, Model"
  67. GuiM.BackgroundColor = BrickColor.new("Really black")
  68. GuiM.Transparency = 0.3
  69. GuiM.TextColor = BrickColor.new("White")
  70.  
  71. GuiM.MouseButton1Click:connect(function()
  72.  
  73. if menuUp == true then return end --Don't do it
  74.  
  75. menuUp = true
  76.  
  77. local selectionGui = nil
  78. local selectionGuiMode = nil
  79.  
  80.  
  81.  
  82.  
  83.  
  84. local ActionsGui = {}
  85. for i,v in pairs(Actions) do
  86. local gui = Instance.new("TextButton",ScreenGui)
  87. gui.Size = UDim2.new(0,125,0,25)
  88. gui.Position = GuiM.Position + UDim2.new(0,0,0,-25 * i)
  89. gui.Text = v
  90. gui.BackgroundColor = BrickColor.new("Really black")
  91. gui.Transparency = 0.3
  92. gui.TextColor = BrickColor.new("White")
  93.  
  94. gui.MouseButton1Click:connect(function()
  95. if selectionGui == nil then
  96. gui.BackgroundColor = BrickColor.new("Really red")
  97. selectionGui = gui
  98. else
  99. selectionGui.BackgroundColor = BrickColor.new("Really black")
  100. gui.BackgroundColor = BrickColor.new("Really red")
  101. selectionGui = gui
  102. end
  103. end)
  104. table.insert(ActionsGui, gui)
  105. end
  106.  
  107.  
  108. for i = 1, 2 do
  109. local gui = Instance.new("TextButton",ScreenGui)
  110. gui.Size = UDim2.new(0,125,0,25)
  111. gui.Position = GuiM.Position + UDim2.new(0,125,0,-25 * i)
  112.  
  113. gui.BackgroundColor = BrickColor.new("Really black")
  114. gui.Transparency = 0.3
  115. gui.TextColor = BrickColor.new("White")
  116. if i == 1 then
  117. gui.Text = "Part"
  118. else
  119. gui.Text = "Model"
  120. end
  121.  
  122. gui.MouseButton1Click:connect(function()
  123. if selectionGuiMode == nil then
  124. gui.BackgroundColor = BrickColor.new("Really red")
  125. selectionGuiMode = gui
  126. else
  127. selectionGuiMode.BackgroundColor = BrickColor.new("Really black")
  128. gui.BackgroundColor = BrickColor.new("Really red")
  129. selectionGuiMode = gui
  130. end
  131. end)
  132.  
  133. table.insert(ActionsGui, gui)
  134. end
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142. local gui = Instance.new("TextButton",ScreenGui) ----------------Okay we will change what mode we are in!
  143. gui.Size = UDim2.new(0,50,0,25)
  144. gui.Position = GuiM.Position + UDim2.new(0,250,0,0)
  145. gui.Text = "Okay"
  146. gui.BackgroundColor = BrickColor.new("Bright green")
  147. gui.Transparency = 0.3
  148. gui.TextColor = BrickColor.new("White")
  149. gui.MouseButton1Click:connect(function()
  150.  
  151. Action = selectionGui.Text
  152. Mode = selectionGuiMode.Text
  153.  
  154. GuiM.Text = "Action: "..Action..", Mode: "..Mode
  155.  
  156. for i,v in pairs(ActionsGui) do
  157. spawn(function()
  158. ActionsGui[i].Text = ""
  159. repeat
  160. wait()
  161. --ActionsGui[i].Size.X.Offset = ActionsGui[i].Size.X.Offset - 3
  162. ActionsGui[i].Size = UDim2.new(0,ActionsGui[i].Size.X.Offset - 15,0,ActionsGui[i].Size.Y.Offset)
  163. until ActionsGui[i].Size.X.Offset < 1
  164. ActionsGui[i]:Destroy()
  165. menuUp = false
  166. end)
  167. end
  168. end)
  169.  
  170. table.insert(ActionsGui, gui)
  171.  
  172. local gui = Instance.new("TextButton",ScreenGui)
  173. gui.Size = UDim2.new(0,50,0,25)
  174. gui.Position = GuiM.Position + UDim2.new(0,250,0,25)
  175. gui.Text = "Cancel"
  176. gui.BackgroundColor = BrickColor.new("Bright red")
  177. gui.Transparency = 0.3
  178. gui.TextColor = BrickColor.new("White")
  179. gui.MouseButton1Click:connect(function()
  180. for i,v in pairs(ActionsGui) do
  181. spawn(function()
  182. ActionsGui[i].Text = ""
  183. repeat
  184. wait()
  185. --ActionsGui[i].Size.X.Offset = ActionsGui[i].Size.X.Offset - 3
  186. ActionsGui[i].Size = UDim2.new(0,ActionsGui[i].Size.X.Offset - 15,0,ActionsGui[i].Size.Y.Offset)
  187. until ActionsGui[i].Size.X.Offset < 1
  188. ActionsGui[i]:Destroy()
  189. menuUp = false
  190. end)
  191. end
  192.  
  193. end)
  194.  
  195. table.insert(ActionsGui, gui)
  196.  
  197. end)
  198.  
  199. local SB = Instance.new("SelectionBox",workspace.CurrentCamera)
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206. local Camera = Instance.new("Part",Char) -- New character
  207. Camera.Size = Vector3.new(1.5,1.5,1.5)
  208. Camera.Shape = "Ball"
  209. Camera.BrickColor = BrickColor.new("Really black")
  210. Camera.CanCollide = false
  211. Camera.TopSurface = "Smooth"
  212. Camera.BottomSurface = "Smooth"
  213. Camera.Anchored = true
  214. Camera.Locked = true
  215. Camera.CFrame = CFrame.new(0,10,0)
  216. Camera.BackSurface = "Motor"
  217.  
  218. local Eye = Instance.new("Part",Char)
  219. Eye.Size = Vector3.new(0.4,0.4,0.4)
  220. Eye.Shape = "Ball"
  221. Eye.BrickColor = BrickColor.new("White")
  222. Eye.CanCollide = false
  223. Eye.TopSurface = "Smooth"
  224. Eye.BottomSurface = "Smooth"
  225. Eye.Locked = true
  226. Eye:BreakJoints()
  227.  
  228. local EyeWeld = Instance.new("Weld")
  229. EyeWeld.Parent = Char
  230. EyeWeld.Part0 = Eye
  231. EyeWeld.Part1 = Camera
  232. EyeWeld.C0 = CFrame.new(0,0,0.7)
  233.  
  234.  
  235. local GhostPart = Instance.new("Part")
  236. GhostPart.CanCollide = false
  237. GhostPart.Anchored = true
  238. GhostPart.Transparency = 0.5
  239. GhostPart.Size = Vector3.new(SizeX,SizeY,SizeZ)
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247. --workspace.CurrentCamera.CameraType = "Scriptable"
  248. workspace.CurrentCamera.CameraSubject = Camera
  249.  
  250. function getMasterModel(target)
  251. repeat
  252. wait()
  253.  
  254. print(Char:IsAncestorOf(target))
  255.  
  256. if Char:IsAncestorOf(target) or menuUp then
  257. return nil
  258. end
  259.  
  260.  
  261.  
  262. if target.Parent ~= workspace then
  263. target = target.Parent
  264. else
  265. if target.Name == "Base" then return nil end --We don't want to mess with the baseplate
  266. print(target:GetFullName())
  267. return target
  268. end
  269. until target == false
  270. end
  271.  
  272. function DestroyFunction()
  273. if Mode == "Model" then
  274. getMasterModel(Mouse.Target):Destroy()
  275. elseif Mode == "Part" then
  276. Mouse.Target:Destroy()
  277. end
  278. end
  279.  
  280. function KillFunction()
  281. for i,v in pairs(getMasterModel(Mouse.Target):GetDescendants()) do
  282. if v:IsA("Humanoid") then
  283. v.Health = 0
  284. v:Destroy()
  285. end
  286. end
  287. end
  288.  
  289. function BreakJointsFunction()
  290. if Mode == "Model" then
  291. getMasterModel(Mouse.Target):BreakJoints()
  292. elseif Mode == "Part" then
  293. Mouse.Target:BreakJoints()
  294. end
  295. end
  296.  
  297. function DistortFunction()
  298. if Mode == "Model" then
  299. for _,v in pairs(getMasterModel(Mouse.Target):GetDescendants()) do
  300. if v:IsA("Part") or v:IsA("WedgePart") then
  301. if v.Size.X > 1 and v.Size.Y > 1 and v.Size.Z > 1 then
  302. v.Size = Vector3.new(math.random(v.Size.X),math.random(v.Size.Y),math.random(v.Size.Z)) + Vector3.new(math.random(v.Size.X),math.random(v.Size.Y),math.random(v.Size.Z))
  303. v.Color = Color3.new(math.random(),math.random(),math.random())
  304. end
  305. end
  306. end
  307. elseif Mode == "Part" then
  308. local v = Mouse.Target
  309. v.Size = Vector3.new(math.random(v.Size.X),math.random(v.Size.Y),math.random(v.Size.Z)) + Vector3.new(math.random(v.Size.X),math.random(v.Size.Y),math.random(v.Size.Z))
  310. v.Color = Color3.new(math.random(),math.random(),math.random())
  311. end
  312. end
  313.  
  314. function rektFunction()
  315. if Mode == "Model" then
  316. for _,v in pairs(getMasterModel(Mouse.Target):GetDescendants()) do
  317. if v:IsA("Part") or v:IsA("WedgePart") then
  318. v:breakJoints()
  319. v.Anchored = false
  320. v.Velocity = Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))
  321. v.Color = Color3.new(math.random(),math.random(),math.random())
  322. end
  323. end
  324. elseif Mode == "Part" then
  325. local v = Mouse.Target
  326. v:breakJoints()
  327. v.Anchored = false
  328. v.Velocity = Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))
  329. v.Color = Color3.new(math.random(),math.random(),math.random())
  330. end
  331. end
  332.  
  333. function AnchorFunction()
  334. if Mode == "Model" then
  335. for _,v in pairs (getMasterModel(Mouse.Target):GetDescendants()) do
  336. if v:IsA("Part") or v:IsA("WedgePart") then
  337. v.Anchored = not v.Anchored
  338. end
  339. end
  340. elseif Mode == "Part" then
  341. Mouse.Target.Anchored = not Mouse.Target.Anchored
  342. end
  343. end
  344.  
  345. function PushFunction()
  346. if Mode == "Model" then
  347. for _,v in pairs (getMasterModel(Mouse.Target):GetDescendants()) do
  348. if v:IsA("Part") or v:IsA("WedgePart") then
  349. v.Anchored = false
  350. v.Velocity = Mouse.Target.CFrame.lookVector * 1000
  351. end
  352. end
  353. elseif Mode == "Part" then
  354. Mouse.Target.Anchored = false
  355. Mouse.Target.Velocity = Mouse.Target.CFrame.lookVector * 1000
  356. end
  357. end
  358.  
  359. function FreezeFunction()
  360. if Mode == "Model" then
  361. for _,v in pairs(getMasterModel(Mouse.Target):GetDescendants()) do
  362. if v:IsA("Part") or v:IsA("WedgePart") then
  363. v.BrickColor = BrickColor.new("Pastel Blue")
  364. v.Anchored = true
  365. v.Material = "Ice"
  366. end
  367. end
  368. elseif Mode == "Part" then
  369. Mouse.Target.Anchored = true
  370. Mouse.Material = "Ice"
  371. end
  372. end
  373.  
  374. function CloneFunction()
  375. if Mode == "Model" then
  376. Mouse.Target.Parent.Archivable = true
  377. local c = getMasterModel(Mouse.Target):Clone()
  378. c.Parent = workspace
  379. c:MakeJoints()
  380. c:MoveTo(Mouse.Target.CFrame.p + Vector3.new(0,5,0))
  381. spawn(function()
  382.  
  383. local targets = {}
  384.  
  385. if c:findFirstChild("Humanoid") and c:findFirstChild("Torso") then
  386. local human = c.Humanoid
  387. local torso = c.Torso
  388.  
  389. local bp = Instance.new("BodyPosition",torso)
  390. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  391. bp.Position = torso.Position
  392.  
  393. print('cloned humanoid')
  394.  
  395. repeat
  396.  
  397. local players = workspace:GetChildren()
  398.  
  399.  
  400.  
  401.  
  402. for i,v in pairs(players) do
  403.  
  404.  
  405. if v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v ~= c and v.Name ~= c.Name then
  406. local enemyTorso = v.Torso
  407. local enemyHuman = v.Humanoid
  408.  
  409. if (enemyTorso.Position - torso.Position).magnitude < 200 and enemyHuman.Health > 0 and
  410. enemyTorso:findFirstChild("BodyPosition") == nil then
  411. print("Target: "..v.Name.."I am: "..c.Name)
  412. human:MoveTo(enemyTorso.Position, enemyTorso)
  413. human.WalkSpeed = 20
  414. human.Jump = true
  415. bp.Position = enemyTorso.Position
  416.  
  417.  
  418. if (v.Torso.Position - torso.Position).magnitude < 7 then
  419. v.Humanoid:TakeDamage(math.huge)
  420. v.Humanoid:Destroy()
  421. v.Torso.Velocity = torso.CFrame.lookVector * math.huge
  422. end
  423.  
  424.  
  425.  
  426. end
  427.  
  428.  
  429. end
  430.  
  431.  
  432. end
  433.  
  434.  
  435. wait(2)
  436. until human == nil or human.Health < 1 or torso == nil
  437. game:GetService("Debris"):AddItem(c, 2)
  438. end
  439. end)
  440. elseif Mode == "Part" then
  441. Mouse.Target.Archivable = true
  442. local c = Mouse.Target:Clone()
  443. c.Parent = workspace
  444. c.CFrame = Mouse.Target.CFrame + Vector3.new(0,5,0)
  445. end
  446. end
  447.  
  448. function WeldFunction()
  449. if Mode == "Model" then
  450. local welds = {}
  451. for _,v in pairs(getMasterModel(Mouse.Target):GetDescendants()) do
  452. if v:IsA("Part") or v:IsA("WedgePart") then
  453. table.insert(welds, v)
  454. local weld = Instance.new("Weld")
  455. weld.Parent = workspace
  456. weld.Part0 = welds[math.random(#welds)]
  457. weld.Part1 = v
  458. weld.C1 = CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  459. end
  460. end
  461. end
  462. end
  463.  
  464.  
  465. function BuildFunction()
  466. local p = Instance.new("Part",workspace)
  467. p.CFrame = GhostPart.CFrame
  468. p:MakeJoints()
  469. p.Anchored = true
  470. p.Size = Vector3.new(SizeX,SizeY,SizeZ)
  471. end
  472.  
  473. function LaserFunction()
  474. if Mouse.Target.Parent:findFirstChild("Humanoid") then
  475. Mouse.Target.Parent.Humanoid:TakeDamage(25)
  476. end
  477. local Laser = Instance.new("Part",workspace)
  478. Laser.Anchored = true
  479. Laser.BrickColor = BrickColor.new("Really red")
  480. Laser.TopSurface = "Smooth"
  481. Laser.BottomSurface = "Smooth"
  482. Laser.Size = Vector3.new(0.4,0.4,(Mouse.Hit.p - Camera.CFrame.p).magnitude)
  483. Laser.CFrame = CFrame.new(Camera.CFrame.p, Mouse.Hit.p):toWorldSpace(CFrame.new(0,0,-(Camera.CFrame.p- Mouse.Hit.p).magnitude/2))
  484. game:GetService("Debris"):AddItem(Laser,1)
  485. spawn(function()
  486. repeat
  487. wait()
  488. Laser.Transparency = Laser.Transparency + 0.05
  489. Laser.Size = Laser.Size - Vector3.new(0.05,0,0.05)
  490. until Laser.Transparency > 1
  491. end)
  492. end
  493.  
  494. function ActionFunction()
  495. if Action == "Destroy" then
  496. DestroyFunction()
  497. elseif Action == "Kill" then
  498. KillFunction()
  499. elseif Action == "BreakJoints" then
  500. BreakJointsFunction()
  501. elseif Action == "Distort" then
  502. DistortFunction()
  503. elseif Action == "Anchor" then
  504. AnchorFunction()
  505. elseif Action == "Push" then
  506. PushFunction()
  507. elseif Action == "Freeze" then
  508. FreezeFunction()
  509. elseif Action == "Clone" then
  510. CloneFunction()
  511. elseif Action == "Build" then
  512. BuildFunction()
  513. elseif Action == "Laser" then
  514. LaserFunction()
  515. elseif Action == "Rekt" then
  516. rektFunction()
  517. elseif Action == "Weld" then
  518. WeldFunction()
  519. end
  520. end
  521.  
  522.  
  523.  
  524. local mouseTarget = nil
  525.  
  526. Mouse.Move:connect(function()
  527. Camera.CFrame = CFrame.new(Camera.CFrame.p, RealCamera.CFrame.p)
  528.  
  529. if Mouse.Target ~= nil then
  530.  
  531. if mouseTarget == Mouse.Target then --Don't waste resources when we already have what we want
  532. return
  533. end
  534.  
  535.  
  536.  
  537. if Mode == "Part" then
  538. mouseTarget = Mouse.Target
  539. SB.Adornee = Mouse.Target
  540. elseif Mode == "Model" then
  541. mouseTarget = Mouse.Target
  542. SB.Adornee = getMasterModel(Mouse.Target)--Mouse.Target.Parent
  543. end
  544.  
  545. if Action == "Build" then
  546. GhostPart.Parent = Char
  547. if Mouse.Target ~= GhostPart then
  548. GhostPart.CFrame = CFrame.new(Mouse.Hit.p)
  549. end
  550. elseif Action ~= "Build" then
  551. GhostPart.Parent = nil
  552. end
  553.  
  554. else
  555. SB.Adornee = ""
  556. end
  557. end)
  558.  
  559. Mouse.Button1Down:connect(function()
  560. if Mouse.Target ~= nil then
  561. ActionFunction()
  562. end
  563. end)
  564.  
  565. local keyS = false
  566. local keyW = false
  567. local keyA = false
  568. local keyD = false
  569.  
  570. local speed = 0.7 -- fast is 5
  571.  
  572. GuiSlider2 = nil
  573. GuiSlider1 = nil
  574.  
  575. Mouse.KeyDown:connect(function(key)
  576. if key == "c" then
  577. Mode = "Part"
  578. elseif key == "v" then
  579. Mode = "Model"
  580. elseif key == "z" then
  581. Selection = Selection + 1
  582. if Selection > #Actions then
  583. Selection = 1
  584. end
  585. Action = Actions[Selection]
  586. elseif key == "x" then
  587. Selection = Selection - 1
  588. if Selection < 1 then
  589. Selection = #Actions
  590. end
  591. Action = Actions[Selection]
  592. end
  593.  
  594. if Action == "Build" and key == "x" or key == "z" and Action == "Build" then
  595. GuiSlider1 = Instance.new("TextButton",ScreenGui)
  596. GuiSlider1.Text = "<"
  597. GuiSlider1.Size = UDim2.new(0,25,0,25)
  598. GuiSlider1.Transparency = 0.3
  599. GuiSlider1.BackgroundColor = BrickColor.new("Black")
  600. GuiSlider1.TextColor = BrickColor.new("White")
  601. GuiSlider1.Position = UDim2.new(0.7,1,0.895,1)
  602. GuiSlider1.MouseButton1Down:connect(function()
  603. SizeX = SizeX - 1
  604. if SizeX < 1 then
  605. SizeX = 3
  606. end
  607. end)
  608.  
  609. GuiSlider2 = Instance.new("TextButton",ScreenGui)
  610. GuiSlider2.Text = ">"
  611. GuiSlider2.Size = UDim2.new(0,25,0,25)
  612. GuiSlider2.Transparency = 0.3
  613. GuiSlider2.BackgroundColor = BrickColor.new("Black")
  614. GuiSlider2.TextColor = BrickColor.new("White")
  615. GuiSlider2.Position = UDim2.new(0.859,1,0.895,1)
  616. GuiSlider2.MouseButton1Down:connect(function()
  617. SizeX = SizeX + 1
  618. if SizeX > 3 then
  619. SizeX = 1
  620. end
  621. end)
  622. elseif GuiSlider1 ~= nil and GuiSlider2 ~= nil and Action ~= "Build" then
  623. GuiSlider1:Destroy()
  624. GuiSlider2:Destroy()
  625. end
  626.  
  627. if string.byte(key) == 48 then
  628. speed = 5
  629.  
  630.  
  631. elseif key == "s" then
  632. keyS = true
  633. repeat
  634. wait()
  635. Camera.CFrame = Camera.CFrame:toWorldSpace(CFrame.new(0,0,-speed))
  636. EyeWeld.C0 = CFrame.new(0,0,0.7)
  637. until keyS == false
  638.  
  639.  
  640. elseif key =="w" then
  641. keyW = true
  642. repeat
  643. wait()
  644. Camera.CFrame = Camera.CFrame:toWorldSpace(CFrame.new(0,0,speed))
  645. EyeWeld.C0 = CFrame.new(0,0,0.7)
  646. until keyW == false
  647.  
  648.  
  649. elseif key =="a" then
  650. keyA = true
  651. repeat
  652. wait()
  653. Camera.CFrame = Camera.CFrame:toWorldSpace(CFrame.new(speed,0,0))
  654. until keyA == false
  655.  
  656.  
  657. elseif key =="d" then
  658. keyD = true
  659. repeat
  660. wait()
  661. Camera.CFrame = Camera.CFrame:toWorldSpace(CFrame.new(-speed,0,0))
  662. until keyD == false
  663.  
  664.  
  665. elseif key == "e" then
  666. Camera.Transparency = math.abs(Camera.Transparency - 1)
  667. end
  668. GuiM.Text = "Action: "..Action..", Mode: "..Mode
  669. end)
  670.  
  671.  
  672. function keyLiftedFunction(key)
  673. print(string.byte(key))
  674.  
  675. if key == "s" then keyS = false end
  676. if key == "a" then keyA = false end
  677. if key == "d" then keyD = false end
  678. if key == "w" then keyW = false end
  679. if string.byte(key) == 48 then speed = 0.7 end
  680. end
  681.  
  682. Mouse.KeyUp:connect(keyLiftedFunction)
  683.  
  684.  
  685.  
  686.  
  687.  
  688. wait(2)
  689. Player.Backpack:ClearAllChildren()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement