Advertisement
TheUnknownDiscord

teleport

Aug 31st, 2021 (edited)
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Tool = Instance.new("Tool")
  2. Tool.Name = "Sword"
  3. Knife = Instance.new("Part")
  4. Knife.Name = "Handle"
  5. Knife.Parent = Tool
  6. Tool.Parent = workspace.Lucas_YT111
  7. Knife.Size = Vector3.new(1, 1, 1)
  8. Knife.Massless = true
  9. Knife.CanCollide = true
  10. myhum = owner.Character.Humanoid
  11. local stab = Instance.new("Sound", owner.character.Head)
  12. stab.SoundId = "rbxassetid://199607491"
  13. stab.Volume = 0.5
  14. islunging = false
  15.  
  16. Tool.Activated:connect(function()
  17. islunging = true
  18. stab.PlaybackSpeed = math.random(80, 125)/100
  19. stab:Stop()
  20. stab:Play()
  21. local Anim = Instance.new("StringValue")
  22. Anim.Name = "toolanim"
  23. Anim.Value = "Lunge"
  24. Anim.Parent = Tool
  25. wait(0.25)
  26. islunging = false
  27. wait(0.40)
  28. end)
  29.  
  30. function thinghere(plr,action,hit)
  31. if islunging then
  32. owner.Character.Torso.CFrame = hit
  33. end
  34. end
  35.  
  36.  
  37. local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
  38. local Mouse = owner:GetMouse()
  39. function ButtonDown()
  40. if Mouse.Hit ~= nil then
  41. E:FireServer("Down",Mouse.Hit)
  42. end
  43. end
  44. Mouse.Button1Down:Connect(ButtonDown)
  45. ]],owner.PlayerGui))
  46. E.OnServerEvent:Connect(thinghere)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement