Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a script permanent so that when I die it can't be reset?

So... last question I did I think it didn't make sense so right now I'm gonna try to be more specific. so I want to make this script permanent but I don't know how... if it's possible please reply to me if it's not possible maybe there can be another way of making it possible.

--------Script Made By Alex198476Roblox Thanks For Using The Script Visible Arms-------- -- Variables -- local player = game:GetService("Players").LocalPlayer local character = player.Character or player.CharacterAdded:Wait() -- Events -- game:GetService("RunService").RenderStepped:Connect(function() -- Visible Arms 2.0 Status Working -- for i, part in pairs(character:GetChildren()) do if string.match(part.Name, "Arm") or string.match(part.Name, "Hand") then part.LocalTransparencyModifier = 0 end end end)

--------Script Made By Alex198476Roblox Thanks For Using The Script Visible Arms-------- -- Variables -- local player = game:GetService("Players").LocalPlayer local character = player.Character or player.CharacterAdded:Wait() -- Events -- game:GetService("RunService").RenderStepped:Connect(function() -- Visible Arms 2.0 Status Working -- for i, part in pairs(character:GetChildren()) do if string.match(part.Name, "Leg") or string.match(part.Name, "Foot") then part.LocalTransparencyModifier = 0 end end end)

1 comment

0

I also did a bit of a change on the other script it should say "Visible legs" not "Visible arms"

1 answer

✓ Accepted answer

If you want the script to keep going after you respawn, you will need to use the player.CharacterAdded event, it will start the script each time you spawn.

--Example:

local plr = game.Players.LocalPlayer

plr.CharacterAdded:Connect(function(chr)
	--script
end)

the code inside of the event will be executed each time your character gets added into the workspace.

4 comments

0

Okay thank you.

0

Wait... where do I put it?

0

Like in the script

0

Well you put the script inside of the event.

This discussion is preserved as it was. New answers, comments, and votes are closed.