#How do I make a proximity Prompt that kills the player?
19 messages · Page 1 of 1 (latest)
how would i go about that?
do you know any basics to coding?
very little
i have the function part i think
script.Parent.Triggered:Connect(function(partB)
local humanoid = partB.Parent:FindFirstChildWhichIsA("Humanoid")
if humanoid then
humanoid:TakeDamage(100)
end
end)
thats my whole script
refrencing would make it easier, like saying local ProximityPrompt = (refrence it here)
also partb would be the character, partbs parent would be the workspace
what is it
oh wait nvm
you dont have too
yeah i dont code animation im more used to gui and other shit
sorry
oh ok