of     1   

Blastertron221
#223447021Thursday, August 10, 2017 7:25 PM GMT

I am working on a script, and I have tested in via Local, but I want my game to be FE, so here is my code, please tell me if anything is wrong with it. local ReplicatedStorage = game:GetService("ReplicatedStorage") local clearHatsEvent = Instance.new("RemoteEvent", ReplicatedStorage) local pu####ominusEvent = Instance.new("RemoteEvent", ReplicatedStorage) putOnDominusEvent.Name = "PutOnDominusEvent" clearHatsEvent.Name = "ClearHatsEvent" local function onClearHatsFired(player) print(player) local localPlayer = player if localPlayer and localPlayer.Character then for _, obj in pairs(localPlayer.Character:GetChildren()) do if obj:IsA("Accoutrement") then obj.Parent = game.Lighting end end end end clearHatsEvent.OnServerEvent:Connect(onClearHatsFired) local function onPutOnDominusFired(player) H = game.Lighting.HoodedAssassin H:Clone().Parent = game.Workspace:findFirstChild(player) end putOnDominusEvent.OnServerEvent:Connect(oPutOnDominusFired)
Blastertron221
#223447113Thursday, August 10, 2017 7:26 PM GMT

####nDominusEvent.OnServerEvent:Connect(oPutOnDominusFired)*** oh here is local script local ReplicatedStorage = game:GetService("ReplicatedStorage") local clearHatsEvent = ReplicatedStorage:WaitForChild("ClearHatsEvent") local ####nDominusEvent = ReplicatedStorage:WaitForChild("PutOnDominusEvent") function onClicked() clearHatsEvent:FireServer() ####nDominusEvent:FireServer() end script.Parent.MouseButton1Click:connect(onClicked)
ProHacker136
#223449769Thursday, August 10, 2017 8:15 PM GMT

u didnt fired the local script to the remote event
ProHacker136
#223450234Thursday, August 10, 2017 8:23 PM GMT

this is one for example --local script local rs = game:GetService("ReplicatedStorage") local rm = Instance.new("RemoteEvent", rs) rs:FireServer() ------------------------------------------------------------------------------------------ --regular script local rs = game:GetService("ReplicatedStorage") local rn = Instance.new("RemoteEvent", rs) local function msg() print("Hello") end rn.OnServerEvent:Connect(msg) ---------------------------------------------------------------------------------------- Just try knowing the basic and how it work Pm me if u need more help
Blastertron221
#223501628Friday, August 11, 2017 6:29 PM GMT

Why would you run fire replicated storage? How does it know to execute RM?
Blastertron221
#223504514Friday, August 11, 2017 7:26 PM GMT

bump

    of     1