Advertisement
Josiahiscool73

godmode(bedwars)

Jul 13th, 2023
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. -- this script was made by chatgpt and its supposed to be working for bedwars but idk
  2.  
  3. local player = game.Players.LocalPlayer
  4. local character = player.Character or player.CharacterAdded:Wait()
  5. local humanoid = character:WaitForChild("Humanoid")
  6.  
  7. humanoid.HealthChanged:Connect(function(newHealth)
  8. if newHealth <= 0 then
  9. humanoid.Health = math.huge
  10. end
  11. end)
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement