#PLS SEND HELP I AM COMPLETLY LOST

1 messages · Page 1 of 1 (latest)

upbeat cloud
#

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

frosty quail
#

whats the issue

upbeat cloud
#

dosnt even do anything

frosty quail
#

is there any errors in the output

upbeat cloud
#

nope

frosty quail
#

could you by chance send a screenshot bc its hard to read on discord bc of the formatting

upbeat cloud
#

k

woeful bayBOT
#

studio** You are now Level 2! **studio

upbeat cloud
frosty quail
#

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

upbeat cloud
#

k thx

upbeat cloud
#

so i tried somthing simpler

#

repeat if script.Parent.Rotation.X ~= 185 then script.Parent.Rotation.X = script.Parent.Rotation.X + .025 end
until script.Parent.Parent.sight.touched == true

#

also does nothing

#

this is all i have so far and it does nothing