Team Door Tutorial | ROBLOX Scripting HD

10.04.2017
In this video, you will learn how to script a Team Only Door script that will make a door open to players on a certain team. If you found this video helpful, please leave a like and subscribe for more videos like this! If you have suggestions, the best way to let me know them is by leaving a comment below! Feel free to share this video: https://youtu.be/spTIH0K8yqA Check out my channel: https://www.youtube.com/c/HeroBLOX SCRIPT: local team = game.Teams.Blue local door = script.Parent door.Touched:connect(function(hit) local humanoid = hit.Parent:FindFirstChild("Humanoid") if humanoid then local plr = game.Players:GetPlayerFromCharacter(hit.Parent) if plr.Team == team then door.CanCollide = false door.Transparency = .5 wait(1) door.CanCollide = true door.Transparency = 0 else humanoid.Health = 0 end end end) ------------------------------------------------------- Check out my social media: Twitch: www.twitch.tv/realFabianBeltran Twitter: www.twitter.com/HeroBLOX ROBLOX: https://www.roblox.com/users/42217300/profile

Похожие видео

Показать еще