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

script dosent work in game wont put enable particle emitter on the tool ?

Asked by 6 years ago

script.Parent.MouseButton1Click:connect(function() if script.Parent.Parent.Box.Visible == true then

    game.StarterPack.Katana.Handle.Blade.L.Enabled = true
end

end)

0
script.Parent.MouseButton1Click:connect(function() if script.Parent.Parent.Box.Visible == true then game.StarterPack.Katana.Handle.Blade.L.Enabled = true end end) LifeLeafi 0 — 6y
0
full script here help works in studio not in game LifeLeafi 0 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

its bc ur changing it in the starterpack, starterpack is what the user starts of with, if you change a property or add something in a tool by going into starterpack, you need to reset to get the change, so instead of putting it into starterpack, put it in the players backpack and i told u this on ur other question.

script.Parent.MouseButton1Click:Connect(function()
        if script.Parent.Parent.Box.Visible == true then
        local player = game.Players.LocalPlayer
        player.Backpack.Katana.Handle.Blade.L.Enabled = true
end)

and make all the script code blocks like this:

script.Parent.MouseButton1Click:Connect(function()
        if script.Parent.Parent.Box.Visible == true then
        local player = game.Players.LocalPlayer
        player.Backpack.Katana.Handle.Blade.L.Enabled = true
end)

not just highlighting one part of the code bc ur making it really confusing and why it doesnt work online is because of FE

0
and dont make another question because u used starterpack User#23365 30 — 6y
0
yes User#19524 175 — 6y
Ad

Answer this question