Hey! My name is DivScripts.
I have a problem in my Script.
I want that the Script is Detecting when I change a Value get changed from an Int Value. But the Script is not Detecting it…
I change the Value in the Server yes, but its still wont work…
Heres the script:
script.Parent.Changed:Connect(function()
print("Changed")
end)
I need help! Please…
Where is this script located adn what type of script is it
Its in the himself & its a ServerScript.
And where is the Value located?
The value is located in the Player…
Are you adding it when the player joins the server?
Yep… I add the value when the player joins…
Then can’t you just reference the variable taht created it?
Example
local players = game:GetService("Players")
players.PlayerAdded:Connect(function(plr)
local intval = Instance.new("IntValue")
intval.Name = "Test"
intval.Value = 0
intval.Parent = plr
intval.Changed:Connect(function()
print("Working")
end)
end)
Also, how are you changing the value? From the server or from the client?
I change the value in the Server… Lemme configure fast something…
Oh hell. I made a big mistake in my script… My Script is big so I made a mistake… I put into game.Players.PlayerAdded event again game.Players.PlayerAdded event… So forgot everything but thanks for your time! 
1 Like
It’s fine! Least you eventually discovered the issue! Glad to be of help for a little while until you found it out! If you have anymore issues don’t be afraid to make another post!