In this beginner roblox scripting tutorial video I teach you how to make a Kill Brick in Roblox Studio, this means that whenever a player touches said part, they die.
script:
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent.Humanoid.Health=0
end
end)
#roblox #tutorial #robloxstudio
コメント