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

it says "expected identifier when parsing variable name got '=' how do i fix it?

Asked by 4 years ago
if hit.Parent:findFirstChild("Humanoid") then
            local = hit.Parent.Name
0
You declare your variable but you didn't give your variable a name. Before you write = you should give your variable a name Spjureeedd 385 — 4y
0
local whatEverNameYouWant = hit.Parent.Name killerbrenden 1537 — 4y
0
Like "local characterName = hit.Parent.Name" Spjureeedd 385 — 4y
0
thx Anxinito 6 — 4y
0
No problem Spjureeedd 385 — 4y

Answer this question