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

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

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

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

end)

2 comments

0

script.Parent.MouseButton1Click:connect(function() if script.Parent.Parent.Box.Visible == true then game.StarterPack.Katana.Handle.Blade.L.Enabled = true end end)

0

full script here help works in studio not in game

1 answer

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

2 comments

0

and dont make another question because u used starterpack

0

yes

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