Hello, I want it so if u click a part it will fire a remote then there gets something printed but it won't work ;/.
here is how its all positioned: http://prntscr.com/giaa7h here is the code: serverscript thingy:
local repStorage = game:GetService("ReplicatedStorage")
local remote = repStorage:WaitForChild("Remote")
remote.OnServerEvent:connect(function()
print("SICK DUDE U CLICKED DA BRICK")
end)
the local script in the brick:
local repStorage = game:GetService("ReplicatedStorage")
local remote = repStorage:WaitForChild("Remote")
script.Parent.ClickDetector.MouseClick:connect(function()
remote:FireServer()
end)
But now this does nothing HELP!

3 comments
Should work. Also, you should use server scripts when detecting clicks w/ click detectors
I'm sorry but what???
yeah, it should work?