COMMUNITY QUESTION
Any ideas for this creation I made like what I should make with it?
1 answer
You should make it onTouch and THEN make it red... then maybe make them smaller, and invisible. You could make them come visible again when you touch it.
debounce = false
local function onTouch(Object)
local mine = script.Parent -- assuming you inserted the script in the mine
if (debounce ~= false) then return end
debounce = true
local char = Object.Parent:FindFirstChild("Humanoid")
if (char ~= nil) then
local play = game.Players:GetPlayerFromCharacter(Object.Parent)
if (play ~= nil) then
mine.Transparency = 0
mine.BrickColor = BrickColor.new("Really red")
wait(1)
-- insert explode script you have in your mines already
end
end
debounce = false
end
script.Parent.Touched:connect(onTouch)
Good job! Good luck!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Thanks but my script isn't in the brick. That one makes it explode non-stop.
So you could make it in the brick and do the 'explode' on a lower level. Can you give me the explode script?