local landmine = script.parent
local function find(otherpart)
if otherpart.type == "model" then local part = otherpart.parent
if part.cancollide == true and part.anchor == false then local function trigger()end end
end if otherpart.type == not "model" and otherpart.cancollide == true and otherpart.anchor == false then local function trigger()end end
end
local function boom()
script.parnt.parent.Instance.new("Explosion")
if script.Parent.Material == Enum.Material.Neon then local active = true else local active = false
local function trigger()
if active == true and script.parent.cancollide == true then landmine.touched:connect(boom)
end
end
end
end
#PLS SEND HELP I AM COMPLETLY LOST
1 messages · Page 1 of 1 (latest)
whats the issue
dosnt even do anything
is there any errors in the output
nope
could you by chance send a screenshot bc its hard to read on discord bc of the formatting
k
** You are now Level 2! **
so one thing right off the bat is that lua is case senstitive, so you need to change all your "parents" to be capitalized with a "P". Same thing with CanCollide and Touched
Honestly you may want to look up a tutorial for what your trying to do because there are quite a few formatting errors now that i look at it more
k thx