Character Size Issue

So, I’m trying to make a titan shifting script (pretty much something that makes you become a giant) and it works fine but there is one issue, you get stuck in the ground.
Video: https://gyazo.com/b29e213b35412e11d22ba4ae744e37b7
all the parts are unachored and cancollide is on but idk whats happening D:

1 Like

The only way to fix this is to teleport the player around 30 studs above the ground

It’s the same issue, you spawn higher but when you land you just sink into the ground

Whats your script? It might be something to do with hitboxes

Server Script:
local ts = game:GetService(“TweenService”)

script.Parent.OnServerEvent:Connect(function(plr)-- if the remote event has been fired
local char = plr.Character – gets the character
local root = char.HumanoidRootPart – gets the root part
local effect = game.Lighting.EffectHolder:Clone()
local effect2 = game.Lighting.Titan2:Clone()
char.Humanoid.WalkSpeed = 0
wait(1)
effect.Parent = workspace
effect.CFrame = root.CFrame
effect2.CFrame = root.CFrame
effect2.Parent = workspace
wait(2)
effect:Remove()
effect2:Remove()
local titan = game.Lighting.Titan:Clone()
plr.Character = titan
titan.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,30,0)
titan.Parent = workspace
workspace.CurrentCamera.CameraSubject = titan
char.Humanoid.WalkSpeed = 10
end)

and the local one is just a keybind script

1 Like

You might have to change Humanoid.HipHeight

For some reason the script isn’t working for changing the hip height it only works manually heres what I wrote:
char.Humanoid.WalkSpeed = 5
char.Humanoid.HipHeight = 12
is it supposed to be written differently or can you only do it manually

Use this function to set the scale (size) of the character :slight_smile:

You can modify it also just to make the character get taller, not get wider :smiley:

local character = script.Parent

local setCharacterScale = function(character, scale)
   local humanoid = character:WaitForChild('Humanoid')
   local HS = humanoid.HeadScale
   local BDS = humanoid.BodyDepthScale
   local BWS = humanoid.BodyWidthScale
   local BHS = humanoid.BodyHeightScale

   HS.Value = scale -- Change the size of the head (you can delete this if you want)
   BDS.Value  = scale -- Change the depth of the entire body (you can delete this)
   BWS.Value = scale -- Change the width of the entire body (you can delete this)
   BHS.Value = scale  -- Change the height :)
end

I hope this helps, and that this is what you want :slight_smile:

1 Like

Alright I found out the problem thank you for everyones help so yeah I hope you have a great day!