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

How would I choose a power then delete the other?

Asked by 5 years ago
01local debounce = false
02local status = game.Workspace.status
03 
04status.Value = "Hello"
05 
06 
07script.Parent.Parent.SpinButton.MouseButton1Click:Connect(function()
08 
09    if not debounce then
10        debounce = true
11        local debounce = false
12    script.Parent.Text = "Spinning!"
13 
14    wait(3) local a = math.random(1,3)
15 
View all 35 lines...

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?

Answer this question