Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

this remote event script dosent work how do i fix it?

game.ReplicatedStorage.showGUI:OnClientEvent:connect(function()
	print ("recieved")
	script.Parent.Frame.Visible = not script.Parent.Frame.Visible
	
end)

this is the receiving end its in a local script it said that the : on the first line dosnt belong there but i have been told otherwise can you help

1 answer

game.ReplicatedStorage.showGUI.OnClientEvent:connect(function()
    print ("recieved")
    script.Parent.Frame.Visible = not script.Parent.Frame.Visible

end)

it literally said the colons didnt belong there, so i changed it for you

1 comment

0

im a dumb ass

This discussion is preserved as it was. New answers, comments, and votes are closed.