Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- This script was from Infinite Yield, since I only wanted the god mode script.
- Give all of the credit to the Infinite Yield creators.
- ]]
- local Players = game:GetService("Players")
- local lp = Players.LocalPlayer
- local cam = workspace.CurrentCamera
- local pos, char = cam.CFrame, lp.Character
- local hum = char and char.FindFirstChildWhichIsA(char, "Humanoid")
- local humClone = hum.Clone(hum)
- humClone.Parent, lp.Character = char, nil
- humClone.SetStateEnabled(humClone, 15, false)
- humClone.SetStateEnabled(humClone, 1, false)
- humClone.SetStateEnabled(humClone, 0, false)
- humClone.BreakJointsOnDeath, hum = true, hum.Destroy(hum)
- lp.Character, cam.CameraSubject, cam.CFrame = char, humClone, wait() and pos
- humClone.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- local animScript = char.FindFirstChild(char, "Animate")
- if animScript then
- animScript.Disabled = true
- wait()
- animScript.Disabled = false
- end
- humClone.Health = humClone.MaxHealth
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement