Advertisement
IfOnlyMyNameStillOn

onlymyname

Jun 25th, 2020
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. print("{Big Head}")
  2. function getplrsname()
  3. for i,v in pairs(game:GetChildren()) do
  4. if v.ClassName == "Players" then
  5. return v.Name
  6. end
  7. end
  8. end
  9. local players = getplrsname()
  10. local plr = game[players].LocalPlayer
  11. coroutine.resume(coroutine.create(function()
  12. while wait(1) do
  13. coroutine.resume(coroutine.create(function()
  14. for _,v in pairs(game[players]:GetPlayers()) do
  15. if v.Name ~= plr.Name and v.Character then
  16. v.Character.Head.CanCollide = false
  17. v.Character.Head.Material = "Brick"
  18. v.Character.Head.Size = Vector3.new(7,7,7)
  19. v.Character.Head.Transparency = 0.9
  20. end
  21. end
  22. end))
  23. end
  24. end))
  25.  
  26. for i, v in pairs(getgc(true)) do
  27. if type(v) == "table" and rawget(v, "BaseRecoil") then
  28. v.BaseRecoil = 0.01
  29. v.ProjectileAccuracy = 100
  30. v.ReloadSpeed = 100
  31. v.MaxAmmo = 50
  32. v.LoadSpeed = 100
  33. v.LoadEndSpeed = 100
  34. end
  35. end
  36.  
  37.  
  38. local UserInputService = game:GetService("UserInputService")
  39.  
  40. _G.speed = false
  41.  
  42. local function onInputEnded(inputObject, gameProcessedEvent)
  43. if gameProcessedEvent then return end
  44. if inputObject.UserInputType == Enum.UserInputType.Keyboard then
  45. if inputObject.KeyCode.Name == "LeftAlt" then
  46. _G.speed = not _G.speed
  47. print("speed change")
  48. end
  49. end
  50. end
  51.  
  52. UserInputService.InputEnded:Connect(onInputEnded)
  53.  
  54. while true do
  55. wait(0.1)
  56. if _G.speed == true then
  57. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 40
  58. end
  59. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement