Advertisement
Vanihgol33

SCRIPT REVENGE OF THE SLUGS!

May 14th, 2023
87
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. --SCRIPT CAN BE CHANGED!
  2. while true do
  3. local player = game:GetService("Players").LocalPlayer
  4. local headPos = player.Character.Head.Position
  5. local cameraCFrame = game:GetService("Workspace").CurrentCamera.CFrame
  6. local lookDir = cameraCFrame.lookVector
  7.  
  8.  
  9. local ray = Ray.new(headPos, lookDir * 1000)
  10. local hit, pos, normal = game:GetService("Workspace"):FindPartOnRay(ray, player.Character, false, true)
  11. local wallDistance = hit and (pos - headPos).magnitude or nil
  12.  
  13.  
  14. if wallDistance then
  15. local shootDistance = math.max(wallDistance - 1, 3)
  16. local args = {
  17. [1] = headPos + (lookDir * shootDistance),
  18. [2] = "skill0"--here you can change for example skill4These are ice arrows, but you can change them, for example, to meteorite arrows There are eight types in total from zero to eight and the creak will even work if you haven’t bought a skill, for example, you haven’t bought a meteorite navigator, but it will work, though I don’t advise you to check it because there will be a lot of meteorites.
  19. }
  20. game:GetService("Players").LocalPlayer.Character.Bow.Shoot.RemoteEvent:FireServer(unpack(args))
  21. end
  22.  
  23. wait(0.01)--Here you can set the delay you want from one second to 0.1 Nights less delay will be the more lags will be
  24. end
  25.  
Tags: Script
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement