Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How am i getting errors about "ReplicatedStorage"?

Asked by 2 years ago
Edited 2 years ago

local RS = game.ReplicatedStorage

script.Parent.MouseButton1Click:Connect(function()

RS.Event.TapEvent:FireServer()

end)

hope u can help :)

1 answer

Log in to vote
0
Answered by
Xapelize 2658 Moderation Voter Community Moderator
2 years ago

You are probably using a LocalScript right now. If not, change it to a LocalScript! Also, LocalScript does not work on Workspace and ServerScriptServices.

0
i am using a LocalScript and the problem was on StarterGUI. aldrino427 7 — 2y
0
Can you explain that a little more specific? I don't understand what's the problem. Xapelize 2658 — 2y
Ad

Answer this question