Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- part = script.Parent
- db = false
- part.Touched:connect(function(hit)
- local char = hit.Parent
- local plr = game.Players:GetPlayerFromCharacter(char)
- if plr.Name == "Durovnax" or plr.Name == "Wirynino" then
- if db == false then
- db = true
- for i = 1,100 do
- part.CFrame = part.CFrame * CFrame.new(0.1,0,0)
- wait(0.01)
- end
- wait(5)
- for i = 1,100 do
- part.CFrame = part.CFrame * CFrame.new(-0.1,0,0)
- wait(0.01)
- end
- db = false
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement