Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function spawned()
- while owner.Character~=nil do
- pcall(function()
- local the = owner.Character:FindFirstChildOfClass("Humanoid")
- if the==niel then
- task.wait()
- else
- the.Changed:Wait()
- if the.Health<the.MaxHealth then
- the.Health=the.MaxHealth end
- end
- end)
- end
- end
- owner.CharacterAdded:Connect(spawned)
- spawned()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement