Instead of using a remote event to transfer a signal from a local script to script, is it possible to transfer a signal across a script to a local script?
How would I do this?
--Script local Event = script.Parent.RemoteEvent Event:FireServer() --Local script function signal() end Event.OnServerEvent:Connect(signal)
Yes. To transfer from script to localScript you use a method known as 'FireClient()".
Code(script):
game:GetService("ReplicatedStorage").RemoteEvent:FireClient(plr)
Code(localScript):
game:GetService("ReplicatedStorage").RemoteEvent.OnClientEvent:Connect(function(plr) print("fired") end)
This is how you would fire a signal from a script to a localscript.
Links that will help you:
ROBLOX Remote Event tutorial (Everything you need to know)
and
Roblox Filtering Enabled Tutorial - RemoteEvents (Part 1)
Your welcome :)