TheUnknownDiscord

Untitled

Sep 17th, 2021 (edited)
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. for i,v in pairs(owner.Character:GetDescendants()) do
  2. if v:IsA("BasePart") then
  3. me = v.Name
  4. end
  5. end
  6. local function the(part)
  7. if part.Name ~= "Base" then
  8. if part.Name ~= me then
  9. local velocitylol = Instance.new("BodyVelocity", owner.Character.Torso)
  10. velocitylol.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  11. local where = owner.Character.Head.CFrame.LookVector.x * -16
  12. local where2 = owner.Character.Head.CFrame.LookVector.z * -16
  13. velocitylol.Velocity = Vector3.new(where,16,where2)
  14. wait(0.5)
  15. velocitylol:Destroy()
  16. end
  17. end
  18. end
  19. owner.Character.Torso.Touched:connect(the)
Add Comment
Please, Sign In to add comment