ScriptBlox is undergoing maintenance, so downtime is possible. Sorry for the inconvenience!
Fight For Survival
14.1k Views

can someone make script

Fight For SurvivalUploaded by
2 years ago
Please login to perform these actions:

Description

pls someone

View Raw
Edited By: FCoder Download


Comments
6
User profile picture
anyara1919 2 years ago - Edited
Hi
User profile picture
anyara1919 2 years ago - Edited
I make
User profile picture
anyara1919 2 years ago - Edited
local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") local function onDeath() humanoid.Health = humanoid.MaxHealth wait(5) game:GetService("StarterGui"):SetCore("Reset") end humanoid.Died:Connect(onDeath) local function onPlayerRespawned(player) local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") humanoid.Health = humanoid.MaxHealth end game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) local humanoid = character:WaitForChild("Humanoid") humanoid.Health = humanoid.MaxHealth humanoid.Died:Connect(function() onPlayerRespawned(player) end) end) end)
User profile picture
Zaii 2 years ago - Edited
@anyara1919 what does the script do?
User profile picture
vimpszy 2 years ago - Edited
nothing, it doesnt work
User profile picture
salaheddine9ss99 2 years ago - Edited
@anyara1919 Is it working?
Please Login to add a comment.