kenkenliem198321

Untitled

May 10th, 2023
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. local data = require(game:GetService("Players").LocalPlayer:WaitForChild("PlayerScripts"):WaitForChild("ProjectilesClient"):WaitForChild("WeaponScript"):WaitForChild("HitScanFire"))
  2. local remote = getupvalue(getupvalue(getupvalue(data.Fire,8),4),2)
  3.  
  4. local function WaitForChildWhichIsA(instance, classtype)
  5. local target = instance:FindFirstChildWhichIsA(classtype)
  6. while not target or not target:IsA(classtype) do
  7. target = instance.ChildAdded:Wait()
  8. end
  9. return target
  10. end
  11.  
  12. while task.wait() do
  13. remote:FireServer(WaitForChildWhichIsA(workspace:WaitForChild("Sharks"),"Model"))
  14. end
Add Comment
Please, Sign In to add comment