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

attempt to index local 'cowl' (a nil value) - can someone help?

Asked by
Elixcore 1337 Moderation Voter
6 years ago
remote.OnServerEvent:Connect(function(plr, cowl, cowl2, cowl3, lightning) 
local chr = plr.Character

        cowl.Parent = workspace    -- Server script.
spawn(function()
        local cowl = script.cowl:Clone()
        local cowl2 = script.cowl2:Clone()
        local cowl3 = script.cowl3:Clone()
        local lightning = script.lightning:Clone()
        rem:FireServer(cowl, cowl2, cowl3, lightning) -- local script.

i dont know why it gives me that error, can anyone help?

0
Try adding this to local script. script:WaitForChild(“Cow1”):Clone() Also Change the “ sign cause I’m ok my phone and PCs have a different one. FazNook 61 — 6y

Answer this question