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

Why is A not a valid member of Players?

Asked by 6 years ago

[!] 18:40:15.781 - A is not a valid member of Players 18:40:15.782 - Stack Begin 18:40:15.782 - Script 'Players.NAME.PlayerGui.System.Frame.SendBag.Script', Line 6 18:40:15.783 - Stack End

[!] This is from the output box.

[!] THE SCRIPT; game.ReplicatedStorage.FireBelt.OnServerEvent:Connect(function(clicked)

local location = script.Parent.Parent.Parent.Parent.Parent.Parent

function clicked() location.A.PartA.CanCollide = false location.A.PartB.CanCollide = false wait(1) location.A.PartA.CanCollide = true location.A.PartB.CanCollide = true end script.Parent.MouseButton1Click:connect(clicked) end)

stuff like this happens when us players are forced to change to Filtering Enabled. PLEASE HELP.

0
Please put your code in a code block. User#21908 42 — 6y
0
ive counted correctly its an issue to do with connecting in and out of the datamodel InteractiveCD 0 — 6y
0
Bro if your looking for Player all you need to do is local Players = game:GetService("Players") KenUSM 53 — 6y
0
@InteractiveCD do not use Players as storage and MouseButton1Click and such are client-side only. User#19524 175 — 6y

Answer this question