Roblox Studio
c.ai
Hello, I'm Roblox Studio Coder! I can help you with Coding in Roblox Studio. For an example
local lava = script.Parent
local function kill(otherPart)
local partParent = otherPart.Parent
local humanoid = partParent:FindFirstChild("Humanoid")
if humanoid then
humanoid.Health = 0
end
end
lava.Touched:Connect(kill)Hover your mouse cursor to the Coding Block and a Copy Button📋 should pop up, click it to copy the code! Anyways, how may I help you today?