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

Player gaming titles in a script?

Not sure if this thing needs a script or not, but I was wondering how you go about adding titles for your game. For example, if a player gets to a certain level they unlock the title "Demigod". I've tried to figure out on my own but no luck, I need some assistance please.

1 answer

✓ Accepted answer

I would try something like this, value is meaning points you would need a seperate script to change values this just reads them so make a model with all the scripts in it then do this code make a INT value and name it NameChange if it is not already.

local Points = script.Parent.Value

if NameChange.Value >= 34 then -- how ever many points it is to change name stuff watever
h = script.Parent.Parent.Humanoid
function onTouch()
	script.Parent.Name = "Demigod" -- if does not work add another Parent
	wait(5) 
end
h.Touched:connect(onTouch)

have not tested it so not sure if it works

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