Script here: Local trap = script.parent Local trigger = trap.trigger Local door = trap.door Local rock =trap.rock Local resetPart = trap Local rolling = false Local function reset door.Transparency = 0 door.canCollide = true rock.position = resetpart.position + vector3.new (0, rock.Size.Y/2, 0) rock.Anchored = true rock.velocity = Vector3.new(0, 0, 0) end Local function release(otherpart) Local humanoid = otherpart.parent:FindFirstChild('humanoid') If humanoid and not rolling then Rolling = true door.transparency = 1 door.CanCollide = false rock.anchored = false wait (5) reset rolling = false end end Local function crush(otherpart) Local humanoid = otherpart.parent:FindFirstChild('humanoid') If huminoid then Huminoid.heath = 0 Wait(1) reset end end trigger.touched:connect(release) rock.touched:connect(crush)
My pad isnt working but its called trigger and matches the name in the script but i think it might br to do with the level (height of the trigger) idk how to get it flat like his any recommendations
Mr. Mike. I think this might work, not sure though. Basically, you grab an item (Block 1-3) and increases a value which then causes a door to open. Is this possible? PLZ send something back.
TECH WITH MIKE I HAVE A ERROR. IT SAYS Workspace.Easy2BoulderTrap.Script:18: attempt to index nil with 'Parent' Script 'Workspace.Easy2BoulderTrap.Script', Line 18 - function release - Studio - Script:18 Script 'Workspace.Easy2BoulderTrap.Script', Line 39
Just did this and it worked great! I made the ramp parts transparent and moved the trigger under a collectible item.
This an awesome tutorial! And congratulations to 2K subs!
Thanks For This Awesome Tutorial It Really Helped My games Out A Lot
BTW Congratulation For 2K Subs
Congrats for 2k
CONGRATS ON 2k
Script here:
Local trap = script.parent
Local trigger = trap.trigger
Local door = trap.door
Local rock =trap.rock
Local resetPart = trap
Local rolling = false
Local function reset
door.Transparency = 0
door.canCollide = true
rock.position = resetpart.position + vector3.new (0, rock.Size.Y/2, 0)
rock.Anchored = true
rock.velocity = Vector3.new(0, 0, 0)
end
Local function release(otherpart)
Local humanoid = otherpart.parent:FindFirstChild('humanoid')
If humanoid and not rolling then
Rolling = true
door.transparency = 1
door.CanCollide = false
rock.anchored = false
wait (5)
reset
rolling = false
end
end
Local function crush(otherpart)
Local humanoid = otherpart.parent:FindFirstChild('humanoid')
If huminoid then
Huminoid.heath = 0
Wait(1)
reset
end
end
trigger.touched:connect(release)
rock.touched:connect(crush)
thx
Can you do a stamina bar tutorial
Congratulations on 2k, ive been wanting to send something to you for a while. Would you happen to have discord?
You deserve so much more views, you don't know how helpful you are!
I watch you from 100 subs u helped me so much
omg i really needed this tysm!!!! also congrats on 2k!!
Goooood video!!!!
Make the black part transparent so the player does not know where the part is.
My pad isnt working but its called trigger and matches the name in the script but i think it might br to do with the level (height of the trigger) idk how to get it flat like his any recommendations
I can deffinetly use it in my game
Can I get any help? Did exactly what’s showed and no errors
for some reason I did exactly what you told me to in the video but the boulder just doesn't work at all, any help?
Thank you so much!
hey pls make a tutorial to make a balance sistem
Another great tutorial!
Thanks!
Np!
The fact that you do not have 100k subs makes me mad
awsome video
First like and comment
Nope but good try
How to make a stun weapon?
Nice!
cool!
Mr. Mike. I think this might work, not sure though. Basically, you grab an item (Block 1-3) and increases a value which then causes a door to open. Is this possible? PLZ send something back.
Sounds reasonable! If you haven't already add your video suggestions to the video ideas post in community section so it doesn't get lost.
@@TechwithMikeYT Ok thanks
cool video
TECH WITH MIKE I HAVE A ERROR. IT SAYS
Workspace.Easy2BoulderTrap.Script:18: attempt to index nil with 'Parent'
Script 'Workspace.Easy2BoulderTrap.Script', Line 18 - function release - Studio - Script:18
Script 'Workspace.Easy2BoulderTrap.Script', Line 39
Can you paste your script?
Noce ;)
Did you get the ideo from my game? xD (through the mineshaft.
The idea was requested, so maybe they got it from your game!
@@TechwithMikeYT haha yeah maybe
why my rock didnt move i already done everything
Is the rock unanchored? Is it on a slope to roll down?
@@TechwithMikeYT Hi ty for answering it anchor it and its not on the slope
Indiana Jones!!!!
Tech With Mike Look at my profile picture and congratulations on the 2000 Subscribers
I love your videos i hope my game would get featured in playing your roblox game vids my username is sktvladimir535 thank youu
2nd