Advertisement
DarkSideYT123

Untitled

Dec 16th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Character = Player.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 == "f" then
  13. Block.Size = Block.Size + Vector3.new(1, 0, 1)
  14. end
  15. end)
  16.  
  17. while true do
  18. Block.Position = Character.Torso.Position - Vector3.new(0, 2, 0)
  19. wait(1)
  20. Block.Position = Character.Torso.Position - Vector3.new(0, 3, 0)
  21. wait(-0.1)
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement