Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
- plr.Chatted:connect(function(msg)
- if msg:lower():sub(1, 4) == "test" then
- local start = tor.CFrame
- local finish = tor.CFrame * CFrame.new(0, 100, 0)
- for i = 0,1,.05 do
- tor.CFrame = start:lerp(finish, i)
- wait()
- end
- local explo = Instance.new("Explosion", workspace)
- explo.Position = tor.Position
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement