How i can fix boss?

How i can fix boss???
he dying when he transforming.

You need to post code if you want help. This does nobody any good, we don’t know why if we can’t see any code for it.

1 Like

there transform script.

local function TRANSFORM()
	canusemoves = false
	hum.WalkSpeed = 0
	hum.JumpPower = 0
	if transformed == false then
		state = "Transform"
		for i = 1,5 do --OG POS
			char.Torso["Left Arm"].C1 = char.Torso["Left Arm"].C1:Lerp(CFrame.new(0.056999974, 0.0190000236, -0.0129999965, -0.0194480661, -0.0922357887, 0.995547295, 0.113948643, 0.989043057, 0.0938591808, -0.993296266, 0.115266472, -0.00872481614),i/10)
			char.Torso["Right Arm"].C1 = char.Torso["Right Arm"].C1:Lerp(CFrame.new(0.435000002, 0.828000009, -0.0629999936, 0.459384769, -0.886023879, -0.0626689941, 0.810884595, 0.389536917, 0.436723292, -0.362535417, -0.251441419, 0.897410393),i/10)
			char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, 0.724000096, 0.0960000008, 0.999075651, 0, 0.042986989, 0.00425668992, 0.99508518, -0.0989312157, -0.0427757166, 0.0990227461, 0.994165361),i/10)
			char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(-0.0579999983, -0.676999986, 1.11199999, 0.999884725, 0, -0.0151847899, 0.000831930898, 0.998498261, 0.0547808409, 0.0151619865, -0.0547871292, 0.998383224),i/10)
			char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0.0139999986, 0.308000028, -0.466999888, 0.999874413, -0.00486472622, -0.0150835691, -0.00970396399, 0.56454742, -0.82534337, 0.0125304833, 0.825386167, 0.564429104),i/10)
			char.Torso["Head"].C1 = char.Torso["Head"].C1:Lerp(CFrame.new(0, -0.192000002, 0.197999999, 1, 0, 0, 0, 0.885983765, -0.463716388, 0, 0.463716388, 0.885983765),i/10)
			wait()
		end
		char.Head.BillboardGui.TextLabel.TextScaled = false
		char.Head.BillboardGui.TextLabel.TextWrapped = false
		char.Head.BillboardGui.AlwaysOnTop = true
		char.Head.BillboardGui.TextLabel.TextSize = 75
		local function dia(t,w)
			for i = 1,#t do
				sound(char.Torso,2469886818,1,true)
				char.Head.BillboardGui.TextLabel.Text = string.sub(t,1,i)
				if w == 0 then
					wait(.05)
				elseif w ~= 0 then
					wait(w)
				end
			end
		end
		music.SoundId = "rbxassetid://2567531741"
		music.TimePosition = 15
		dia(". . .",0.5)
		wait(2)
		dia("Welp. . .",0)
		wait(2)
		dia("I think you have beaten me. . .")
		wait(2)
		dia("But, then again. . .",0)
		wait(2)
		dia("I feel kinda bad for you.",0)
		wait(2)
		dia("You've made me want to use my \nREAL special attack. .",0)
		wait(2)
		dia("So, here goes nothing. . .",0)
		wait(2)
		dia("Prepare yourself",0.1)
		wait(2)
		sound(char.Torso,367453005,1,true)
		for i,child in pairs(char.Bones:GetChildren()) do
			child.Transparency = 0
		end
		transformed = true
		hum.WalkSpeed = 100
		savedspeed = 100
		state = "TransIdle"
		char.Head.BillboardGui.TextLabel.TextScaled = true
		char.Head.BillboardGui.TextLabel.TextWrapped = true
		char.Head.BillboardGui.AlwaysOnTop = false
		char.Head.BillboardGui.TextLabel.Text = "ULTRA SANS"
		local inner = part(char,Color3.fromRGB(229, 228, 223),"Neon",0,true,false,Vector3.new(5,5,5),false,char.Torso.CFrame)
		inner.Shape = "Ball"
		for i = 1,10 do
			inner.Size = inner.Size + Vector3.new(.5,.5,.5)
			inner.Transparency = inner.Transparency + .1
			wait()
		end
		hum.JumpPower = 50
		canusemoves = true
	else
		canusemoves = false
		state = "Transform"
		for i = 1,5 do --SAME POS AS OG FOR LERP BETWEEN ANIMS
			char.HumanoidRootPart["Torso"].C1 = char.HumanoidRootPart["Torso"].C1:Lerp(CFrame.new(0.00900000334, 1.13600016, 0, 0.999975502, 0, 0.00700038671, 0.00022397429, 0.999487996, -0.0319937542, -0.00699680252, 0.0319945365, 0.999463499),i/10)
			char.Torso["Head"].C1 = char.Torso["Head"].C1:Lerp(CFrame.new(0, -0.158000007, 0.287, 0.998878598, -0.0315804854, 0.0352746546, 0.0436943248, 0.901797712, -0.42994374, -0.0182327554, 0.431002855, 0.902166367),i/10)
			char.Torso["Left Arm"].C1 = char.Torso["Left Arm"].C1:Lerp(CFrame.new(),i/10)
			char.Torso["Right Arm"].C1 = char.Torso["Right Arm"].C1:Lerp(CFrame.new(-0.149999991, -0.00700002909, 0.382000029, 0.98718369, 0.14615038, -0.0640985891, -0.146712765, 0.989170492, -0.0041319374, 0.0628005564, 0.0134830177, 0.997935057),i/10)
			char.Torso["Left Leg"].C1 = char.Torso["Left Leg"].C1:Lerp(CFrame.new(0, 0.259000033, -0.513000011, 0.997798383, 0, -0.0663221478, -0.066080302, 0.0853216946, -0.994159877, 0.00565871783, 0.996353447, 0.0851338506),i/10)
			char.Torso["Right Leg"].C1 = char.Torso["Right Leg"].C1:Lerp(CFrame.new(0.0169999972, 0.338999987, -0.594999969, 0.998718858, 0.0193810277, -0.0467441007, -0.0486966521, 0.11696741, -0.991941214, -0.0137573313, 0.992946684, 0.117761403),i/10)
			char.Torso["LBone1"].C1 = char.Torso["LBone1"].C1:Lerp(CFrame.new(0, -0.324000031, -0.064000003, 1, 0, 0, 0, 0.867727399, -0.49704051, 0, 0.49704051, 0.867727399),i/10)
			char.Torso["LBone2"].C1 = char.Torso["LBone2"].C1:Lerp(CFrame.new(-0.428000003, -1.06699991, -0.169, -0.428981036, -0.898426592, 0.0938345045, 0.748467624, -0.41168049, -0.51991868, 0.505738616, -0.152803123, 0.84904635),i/10)
			char.Torso["LBoneHand"].C1 = char.Torso["LBoneHand"].C1:Lerp(CFrame.new(0.479000002, -0.138000071, -0.179999977, 0.604418039, 0.317792088, 0.730538785, -0.12185283, 0.943081319, -0.309434235, -0.787293196, 0.0980095118, 0.608739197),i/10)
			char.Torso["RBone1"].C1 = char.Torso["RBone1"].C1:Lerp(CFrame.new(0.0670000017, -0.601999998, -0.468000054, 0.0434085429, -0.974861622, -0.218541369, 0.794642568, 0.166272491, -0.583863616, 0.605523646, -0.148317561, 0.781884313),i/10)
			char.Torso["RBone2"].C1 = char.Torso["RBone2"].C1:Lerp(CFrame.new(0, 0.574999988, -0.449000001, 1, 0, 0, 0, 0.905098259, 0.425202429, 0, -0.425202429, 0.905098259),i/10)
			char.Torso["RBoneHand"].C1 = char.Torso["RBoneHand"].C1:Lerp(CFrame.new(-0.331, -0.545000017, -0.233999982, 0.842293561, -0.303380311, -0.445535541, -0.30922851, 0.405049354, -0.860414267, 0.44149667, 0.862493694, 0.247356683),i/10)
			wait()
		end

Your not charing the Humanoid.

2 Likes

where i dont char the humanoid i think i did it

You only chared the HumanoidRootPart.

1 Like

oh yeah i think this will help me thx bro