You can write your topic however you want, but you need to answer these questions:
**What do you want to achieve?
Im trying to resolve a bug where my stats are not updating when I die.
What is the issue? Include screenshots / videos if possible!
Im not sure exactly where my issue is because my output is not telling me where the issue is.
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Ive tried removing any renderstepped functions in the game i have so far to see if one of those functions was causing the problem but thats not it. I am using profile service to load stats into a playerData folder with various string objects, int, number, etc. when the values of these objects are changed it supposed to update the exp gui, health, etc using a .changed function.
this script only works when you first join, but after you die it wont update playerdata values anymore in serverstorage.
local part = workspace.GiveLightning
local click = Instance.new("ClickDetector", part)
local player = script.Parent.Parent
local PlayerData = game.ServerStorage.PlayerData:WaitForChild(player.Name, math.huge).Data
click.MouseClick:Connect(function(Player)
PlayerData.EXP.Value += 1
PlayerData.Bounty.Value += 10
task.wait()
end)
It is a server script in player gui. I just found out that this error is appearing no matter what game im in. Im going to try to redownload studio because its happening every time i reset.
It is not a bug it has to do with RBXscriptsignals and connections. Although, I do not know how to fix this but maybe use remote events to connect the client with the server.
u can if you have a server script in player gui. the script works fine. figured out that im just getting a runservice error everytime i reset no matter what game im playing. It seems to only be games created by me. Ill get the error even if its a baseplate.
I encountered this problem as well tonight. I filed a bug report about it. You can view it here.
As others have said, it only happens when the beta feature “Updated Roblox Controls” is active. I tried it on a live game and it does not show up. So it’s specific to Studio.