So i need this remote event to connect so that the player can get the gui when they touch this part but its not firing or printing anything and there are no errors pls help
local blind = script.Parent local re = game.ReplicatedStorage.RemoteEvent blind.Touched:Connect(function(hit) local human = hit.Parent:findFirstChild("Humanoid") if (human ~= nil) then print("fired") re:FireServer() end end)
So, what you need to do is:
Put it in a serverscript.
local blind = script.Parent local re = game.ReplicatedStorage.RemoteEvent blind.Touched:Connect(function(hit) local human = hit.Parent:findFirstChild("Humanoid") if (human ~= nil) then local player = game.Players:GetPlayerfromCharacter(hit.Parent) --[[You have to get the player, not the Character or humanoid]] re:FireClient(player) print("fired") end end)