Hello everyone!
I need help with the game i am making.
I am trying to acheive when a key is pressed (Space Bar) my StarterCharacter will split in half
if anyone knows please drop a comment and if it works i will mark as solution
Thanks DevFourm
Hello everyone!
I need help with the game i am making.
I am trying to acheive when a key is pressed (Space Bar) my StarterCharacter will split in half
if anyone knows please drop a comment and if it works i will mark as solution
Thanks DevFourm
Well, if you want to split your character like this
, you would need custom meshes for the Torso and the Head, which you can do in Blender or any 3d program
You would need to have the StarterCharacter model in 2 different pieces. Keep them together, but you can’t split a characters body unless you already have the 2 halfs.
local players = game:GetService("Players")
local player = players.Player or players.PlayerAdded:Wait()
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local uis = game:GetService("UserInputService")
uis.InputBegan:Connect(function(input, proc)
if proc then
return
end
if input.KeyCode == Enum.KeyCode.Space then
humanoid:BreakJoints()
end
end)