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

Error in ragdoll script. how do i fix this?

Asked by 9 years ago

In my game I've inserted this ragdoll script and it works in ROBLOX Studio, but whenever I publish the game and go on it the script doesn't work. How do I fix this?

01local rs = game:GetService("RunService").RenderStepped
02local Player = game.Players.LocalPlayer
03local Character = Player.Character
04local camera = workspace.CurrentCamera
05local arms
06 
07local function NewArms()
08local pleft = Character["Left Arm"]:Clone()
09local pright = Character["Right Arm"]:Clone()
10local lweld = Instance.new("Weld", pleft)
11local rweld = Instance.new("Weld", pright) "wait"
12lweld.Part0 = lweld.Parent
13rweld.Part0 = rweld.Parent
14lweld.Part1 = Character["Left Arm"]
15rweld.Part1 = Character["Right Arm"]
View all 32 lines...
Moderation edit: Make sure to use the Lua Code Block.
0
Have you even attempted to fix this? Warfaresh0t 414 — 9y
0
Yes, I've tried pegasus49 0 — 9y

Answer this question