Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. part = script.Parent
  2. db = false
  3. part.Touched:connect(function(hit)
  4. local char = hit.Parent
  5. local plr = game.Players:GetPlayerFromCharacter(char)
  6. if plr.Name == "Durovnax" or plr.Name == "Wirynino" then
  7. if db == false then
  8. db = true
  9. for i = 1,100 do
  10. part.CFrame = part.CFrame * CFrame.new(0.1,0,0)
  11. wait(0.01)
  12. end
  13. wait(5)
  14. for i = 1,100 do
  15. part.CFrame = part.CFrame * CFrame.new(-0.1,0,0)
  16. wait(0.01)
  17. end
  18. db = false
  19. end
  20. end
  21. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement