#can someone tell me why this command is no working
6 messages · Page 1 of 1 (latest)
Beginner's Roblox Scripting Tutorial #13 - Events (Beginner to Pro 2019)
Hey guys, I AM SO SO SORRY for not uploading for 6 months I honestly just forgot but I will not be leaving again I promise! I hope you guys enjoy the video and If you have any questions you already know leave a comment. Anyways enjoy! :)
Link to Beginner's Tutorial Series...
look there is tutorial how to make kill part
local PartTokill = game.Workspace.PartToKill
local Success,err = pcall(function()
end)
PartTokill.Touched:Connect(function(hit)
local Humanoid = hit.Parent:FindFirstChild("Humanoid")
if not Humanoid then
return
end
Humanoid.Health = 0 or nil
end)
if Success == true then
wait(1)
print("All Work",'',"PartKill")
Success = nil
else
print("Err - ",err)
end```
** You are now Level 1! **
nice pcall ngl 🙏