game.Players.LocalPlayer.Character.functiondummy.Value = math.random(1, 99999999) game.Players.LocalPlayer.Character.functiondummy.Changed:connect(function()
(everything with the function itself is fine, there are no errors)
This function just plain out doesen't execute even with the obvious presented above. Any fixes?
You have to put the code inside the event.
local plr = game.Players.LocalPlayer plr.Character.functiondummy.Changed:connect(function() plr.Character.functiondummy.Value = math.random(1, 99999999) end)