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

Why does this gun work on Play Solo and not a Server? [UNSOLVED]

Asked by 10 years ago

Well, here it is in a nutshell: This gun has no errors. It works in Play Solo, but does not work on a server. Edit: here is the lines in which an error is on: Error: weld1 is not a valid member of part

torso.weld1.C1 = CFrame.new(0.7, 0.9, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(28), math.rad(-1))

Error:Ammo is not a valid member of tool

    sp.Name=ToolName.."-("..tostring(sp.Ammo.Value)..")"

Edit: Here is a picture of the errors http://gyazo.com/582d99e44ab35bf6a7793bf5cc29eca1

0
Please post the error code that you get when you press F9 in game. bbissell 346 — 10y
0
Local script? wjs3456 90 — 10y
0
Its a Local Script ggggyourface23 63 — 10y
0
Error code posted ggggyourface23 63 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago

I can't help you much because you didn't provide enough information but you probably need to move this code from a script to a localscript. Please provide more info next time so we can better help you.

0
Edited ggggyourface23 63 — 10y
Ad

Answer this question