How would I choose a power then delete the other?
02 | local status = game.Workspace.status |
07 | script.Parent.Parent.SpinButton.MouseButton 1 Click:Connect( function () |
11 | local debounce = false |
12 | script.Parent.Text = "Spinning!" |
14 | wait( 3 ) local a = math.random( 1 , 3 ) |
16 | if a = = 1 then script.Parent.Text = "Chosen skill: Fireball" |
18 | script.Parent.TextColor 3 = Color 3. new( 255 , 0 , 0 ) |
21 | elseif a = = 2 then script.Parent.Text = "Chosen skill: Rock" |
23 | script.Parent.TextColor 3 = Color 3. new( 0 , 0 , 255 ) |
25 | elseif a = = 3 then script.Parent.Text = "Chosen skill: None" end |
This is my script and I want when a player lands on lets say rock for there fireball to be destroyed and the rock to stay how do I do that?