Well i made a tool that has a function which fires an animation and should make a screen gui visible when the player is touching a certain part i tried to insert a boolvalue in the server storage it works but i always get a warning that value isn't a valid member of server storage? (The print touched works) This is a normal script
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
print("Touched")
game.ServerStorage.Value = true
end
end)
script.Parent.TouchEnded:Connect(function(hitend)
if hitend.Parent:FindFirstChild("Humanoid") then
print("Touch ended")
game.ServerStorage.Value = false
end
end)

4 comments
Is this in a LocalScript or Script?
If it’s local, you can’t access the serverstorage
Is there something in serverstorage that is named Value?
You need to first reference what the bool value is called like this: game.ServerStorage.whateveryounamedyourvalue.Value