Roblox Forum banner

Help me with trail!

127 Views 1 Reply 2 Participants Last post by  Workindad01
hi i have small problem i make a game and trail doesn't want to turn off here is a script
script.Parent.MouseButton1Click:Connect(function()

if game.ReplicatedStorage.VIPTrail.Enabled == true then

game.ReplicatedStorage.VIPTrail.Enabled = false

script.Parent.BackgroundColor3 = Color3.new(1, 0, 0)

script.Parent.Text = "Off"

else

game.ReplicatedStorage.VIPTrail.Enabled = true

script.Parent.BackgroundColor3 = Color3.new(0, 1, 0)

script.Parent.Text = "On"

end

end)
1 - 2 of 2 Posts
I believe replicated storage is for storage. You will probably need to clone the trail to something that can be switched on and off.
1 - 2 of 2 Posts
Top