Advertisement
oilsauce

a

Mar 20th, 2018
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local char = plr.Character
  3. local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
  4.  
  5. plr.Chatted:connect(function(msg)
  6. if msg:lower():sub(1, 4) == "test" then
  7. local start = tor.CFrame
  8. local finish = tor.CFrame * CFrame.new(0, 100, 0)
  9. for i = 0,1,.05 do
  10. tor.CFrame = start:lerp(finish, i)
  11. wait()
  12. end
  13. local explo = Instance.new("Explosion", workspace)
  14. explo.Position = tor.Position
  15.  
  16. end
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement