Buzzy

Loading...

Buzzy

Register

Roblox Studio Tutorials - August 5, 2021

How to Make a Spinning Killbrick

1

Buzzy Beth

@buzzygamesbeth

  • hello everyone and today i’m going to be showing you how you can make a spinning kill brick in roblox studio
  • first you’re going to get two parts just like this and then you’re going to go into model and then over here where it says create
  • click on hinge
  • click on one platform and go to the other you’re going to want to name the one with the attachment and the hinge constraint to spinning part and the other one the anchor
  • then you’re going to put them right next to each other put them in the air make sure the anchor is anchored and invisible
  • then click on the hinge constraint
  • scroll down until you see actuator type change the actuator type to motor and then go down to motor where it and change the angular velocity to three
  • keep that middle value at infinity and makethe last value the motor max torque a very high number then i’m going to paste in my kill brick script as you can see here is pretty normal and then what we’re going to do is click play
  • here it should be working as intended thank you for watching!
local part = script.Parent
local tpPart = game.Workspace.EndTP

local function name(otherpart)
	
	local character = otherpart.Parent
	local humanoid = character:FindFirstChildWhichIsA("Humanoid")
	
	if humanoid then
		humanoid.Health = 0
		
	end
end

part.Touched:Connect(name)