rrixh

survive and kill Area 51 OP skript

Jul 10th, 2023
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2.  
  3. function gunmods()
  4. for i,v in pairs(getgc(true)) do
  5. if type(v) == 'table' then
  6. if rawget(v, 'stored_ammo') then
  7. v.ammo=99999
  8. v.stored_ammo=99999
  9. v.is_auto=true
  10. v.shoot_wait=0
  11. v.bullet_count=10
  12. v.inaccuracy=0
  13. end;end;end;end
  14. function packapunch()
  15. if game:GetService("ReplicatedStorage")["Remote Functions"]:FindFirstChild("PAP Weapon") then
  16. game:GetService("ReplicatedStorage")["Remote Functions"]["PAP Weapon"]:InvokeServer("RayGun")
  17. game:GetService("ReplicatedStorage")["Remote Events"].PAPFinished:FireServer()
  18. end
  19. end
  20.  
  21. plr.Character.ChildAdded:Connect(function(child)
  22. if child:IsA("Tool") then
  23. packapunch()
  24. gunmods()
  25. end
  26. end)
  27.  
  28. plrcframe = plr.Character.HumanoidRootPart.CFrame
  29. wait()
  30. plr.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Weapons.RayGun.Hitbox.CFrame
  31. repeat wait()
  32. until plr.Backpack:FindFirstChild("RayGun")
  33. plr.Character.HumanoidRootPart.CFrame = plrcframe
  34. packapunch()
Add Comment
Please, Sign In to add comment