Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

4 comments

0

Please post the error code that you get when you press F9 in game.

0

Local script?

0

Its a Local Script

0

Error code posted

1 answer

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.

1 comment

0

Edited

This discussion is preserved as it was. New answers, comments, and votes are closed.