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

I need help please?

Asked by
Myuuckn -5
9 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

function onActivated() script.Disabled = true Player = game.Players:GetPlayerFromCharacter(script.Parent.Parent) dope = Instance.new("Part") dope.Parent = Workspace dope.Anchored = true dope.Material = "Foil" dope.Size = Vector3.new(5, 10, 3) for Camelot = 1,10 do dope.Size = Wall.Size +Vector3.new(1, 1, 0) dope.CFrame = Player.Character.Torso.CFrame *CFrame.new(0, 0, -5) wait(0.1) end dope.BrickColor = BrickColor.new("Black") dope.CFrame = Player.Character.Torso.CFrame CFrame.new(0, 0, -5) wait(5) dope.Anchored = false for Camelot = 1,10 do dope.Size = Wall.Size -Vector3.new(1, 1, 0) wait(0.1) end dope:remove() wait() script.Disabled = false end script.Parent.Activated:connect(onActivated)

1 answer

Log in to vote
0
Answered by 9 years ago

help with...?

Ad

Answer this question