Advertisement
DarkSideYT123

Untitled

Dec 16th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Character = game.Players:FindFirstChild('DarkSideYT123').Character
  3. local Block = Instance.new("Part")
  4. Block.BrickColor = BrickColor.new("Dark green")
  5. Block.Parent = game.Workspace
  6. Block.Anchored = true
  7. Block.CanCollide = true
  8. Block.Size = Vector3.new(4, 0, 4)
  9. local m = Player:GetMouse()
  10. m.KeyDown:Connect(function(k)
  11. k = k:lower()
  12. if k == "q" then
  13. Block.Size = Block.Size + Vector3.new(1, 0, 1)
  14. else
  15. if k == "e" then
  16. Block.Size = Block.Size - Vector3.new(1, 0, 1)
  17. else
  18. if k == "f" then
  19. Block:Destroy()
  20. end
  21. end
  22. end
  23. end)
  24.  
  25. while true do
  26. Block.Position = Character.Torso.Position - Vector3.new(0, 2, 0)
  27. wait(1)
  28. Block.Position = Character.Torso.Position - Vector3.new(0, 3, 0)
  29. wait(-0.1)
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement