I am making an obby and I need a spinning killbrick, can someone help? I already know the killbrick script, but correct me if I am wrong.
COMMUNITY QUESTION
Can someone help make a spinning killbrick?
1 answer
You could set the part's CFrame, then add a simple kill event.
local part = script.Parent
-- this will kill the player
part.Touched:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
humanoid.Health = 0
end
end)
-- this will make the part spin, you might have to adjust it.
while wait() do
part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0.1,0,0)
end
And just a quick FYI, Scripting Helpers is not a request site.
1 comment
0
please don't give the code, that just make they come back asking for more code
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
You forgot to share the script with us
Oh ok, yall can downvote allya wan but it mean ya'll tripp1n
Watch packstabber on yt