Hello there This should be a quick easy fix as I am new to lua and I am learning.
So I have a bool value and when it switched to ture I want the map to go out of serverstorage and into workspace I have tried the code below and changed it but to no appeal it worked.
local Map1 = game.ServerStorage.Map1
local stat = game.ReplicatedStorage.Main.Status
stat.Changed:Connect(function(Value)
if stat.Value == true then
Map1.Parent = game.Workspace
print(Value)
end
end)
If more details needed please let me know, thanks!
You can keep the Changed event. Value objects have an altered Changed event that only detects when it’s value property changes, so no need for GetPropertyChangedSignal.