Player Freeze Effect

Sorry if the category is wrong.

So, I’m here to ask how do I freeze player’s limb to make them unable to move, and without anchoring player
Like this
image

4 Likes

I believe the category is game design, #help-and-feedback:game-design-support, because you’re asking for a mechanic.

The mechanic is easy, you anchor the entire player and give them additional effects after anchoring them. The anchoring should freeze their animation in place too.

1 Like

Is there any method without anchoring that?

I reckon there are none, unless you want to try the zero-walkspeed method and WeldConstraints to all limbs. Gravity may affect the player and there might be a chance where the player can fling out of the map because of physics.

2 Likes

https://gyazo.com/9827b76adf576053f928a3b76fd53e76

I tried, but still player’s limbs isnt frozen

Code:

function freeze(char)
	for _,v in pairs(char:GetChildren()) do
		if v:IsA("Part") then
			local ice = Instance.new("Part", char)
			ice.BrickColor = BrickColor.new("Baby blue")
			ice.Material = Enum.Material.Ice
			ice.Transparency = 0.5
			ice.Position = v.Position
			ice.Size = v.Size + Vector3.new(0.05, 0.05, 0.05)
			ice.Orientation = v.Orientation
			
			local weld = Instance.new("WeldConstraint", ice)
			weld.Part0 = ice
			weld.Part1 = v
		end
	end
	char.Humanoid.WalkSpeed = 0
end

wait(5)
freeze(workspace.Sunx_x)
1 Like

Weld the limbs to the HumanoidRootPart. Disable jumping, somehow.

1 Like

Uhh, how???

Sampling the code, it should look like this:

for _, part in next, character:GetChildren() do
	if part.Name ~= "HumanoidRootPart" then
		local w = Instance.new("WeldConstraint")
		w.Part0 = character.HumanoidRootPart
		w.Part1 = part
		w.Parent = character -- or the HumanoidRootPart, to clear it easier
	end
end
2 Likes

Okay, what about the ice. Keep his weld?

It is obvious you should keep the ice weld on. The other weld code sample I provided should freeze the player’s limbs.

1 Like

It’s worked, thanks!!!