Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What Would i need to do for the hat mesh to fit the way i want it to?? [closed]

Asked by 7 years ago

jun = script.Parent.Parent Stuff = false --password function ssj() if Stuff == false then Stuff = true for u, c in pairs (jun.Character:GetChildren()) do if c.className == "Hat" and c.Name ~= "Swordpack" and c.Name ~= "GlassesBlackFrame" then c.Handle.Transparency = 1 end end Hair23 = Instance.new("Part") Hair23.Parent = jun.Character Hair23.Name = "Hair" Hair23.formFactor = "Symmetric" Hair23.Size = Vector3.new(1, 1, 1) Hair23.CFrame = jun.Character.Head.CFrame Hair23:BreakJoints() Hair23.CanCollide = false Hair23.TopSurface = "Smooth" Hair23.BottomSurface = "Smooth" Hair23.BrickColor = BrickColor.new("Deep blue") Weld = Instance.new("Weld") Weld.Part0 = jun.Character.Head Weld.Part1 = Hair23 Weld.Parent = jun.Character.Head Weld.C0 = CFrame.new(0, 0.12, -0.1)CFrame.fromEulerAnglesXYZ(0, 0, 0) Mesh = Instance.new("SpecialMesh") Mesh.Parent = Hair23 Mesh.MeshId = "http://www.roblox.com/asset/?id=74868480" Mesh.Scale = Vector3.new(1, 1, 1) Hair22 = Instance.new("Part") Hair22.Parent = jun.Character Hair22.Name = "Hair" Hair22.formFactor = "Symmetric" Hair22.Size = Vector3.new(1, 1, 1) Hair22.CFrame = jun.Character.Head.CFrame Hair22:BreakJoints() Hair22.CanCollide = false Hair22.TopSurface = "Smooth" Hair22.BottomSurface = "Smooth" Hair22.BrickColor = BrickColor.new("Deep blue") Weld = Instance.new("Weld") Weld.Part0 = jun.Character.Head Weld.Part1 = Hair22 Weld.Parent = jun.Character.Head Weld.C0 = CFrame.new(0, 0.5, 0.1)CFrame.fromEulerAnglesXYZ(0, 0, 0) Mesh = Instance.new("SpecialMesh") Mesh.Parent = Hair22 Mesh.MeshId = "http://www.roblox.com/asset/?id=19326912" Mesh.Scale = Vector3.new(1, 1, 1) Effect = Instance.new("Part") Effect.Parent = jun.Character Effect.Anchored = true Effect.CanCollide = false Effect.Size = Vector3.new(1, 1, 1) Effect.formFactor = "Symmetric" Effect.Transparency = 0.5 Effect.BrickColor = BrickColor.new("Deep blue") Effect.TopSurface = "Smooth" Effect.BottomSurface = "Smooth" EffectMesh = Instance.new("CylinderMesh") EffectMesh.Parent = Effect EffectMesh.Scale = Vector3.new(1, 1500, 1) --[[ex = Instance.new("Explosion") ex.Position = jun.Character.Torso.Position ex.BlastPressure = 0 ex.Parent = workspace]] jun.Character.Torso.CFrame = jun.Character.Torso.CFrame * CFrame.new(0, 0.1, 0) for i = 1 , 20 do Effect.CFrame = CFrame.new(jun.Character.Torso.Position) EffectMesh.Scale = EffectMesh.Scale + Vector3.new(2, 0, 2) Effect.Transparency = Effect.Transparency + 0.025 wait(0.06) end Effect:Remove() if jun.Character.Torso:findFirstChild("PwnFire") == nil then pie = Instance.new("Fire") pie.Name = "PwnFire" pie.Parent = jun.Character.Torso pie.Size = 9 pie.Color = BrickColor.new("Deep blue").Color pie.SecondaryColor = BrickColor.new("Deep blue").Color pie.SecindarySize = 8 end jun.Character.Humanoid.MaxHealth = 64359 wait(0.3) end end function nossj() if Stuff == true then Stuff = false if jun.Character.Torso:findFirstChild("PwnFire") ~= nil then jun.Character.Torso:findFirstChild("PwnFire"):Remove() end p = Instance.new("Part") p.Parent = jun.Character p.Anchored = true p.CanCollide = false p.Transparency = 0.1 p.formFactor = "Symmetric" p.Size = Vector3.new(22, 22, 22) p.TopSurface = "Smooth" p.BottomSurface = "Smooth" p.Name = "Sharingan" p.Shape = "Ball" p.CFrame = jun.Character.Torso.CFrame p.BrickColor = BrickColor.new("Deep blue","Deep blue") for i = 1 , 10 do wait(0.05) p.Size = p.Size + Vector3.new(-4, -4, -4) p.Transparency = p.Transparency + 0.1 p.CFrame = jun.Character.Torso.CFrame end p:Remove() for u, c in pairs (jun.Character:GetChildren()) do if c.className == "Hat" and c.Name ~= "Swordpack" and c.Name ~= "GlassesBlackFrame" then c.Handle.Transparency = 0 end if c.Name == "Hair" then c:Remove() end end wait(0.3) jun.Character.Humanoid.MaxHealth = 64359 end end jun.Chatted:connect(function(Msg) msg = Msg:lower() if string.sub(msg, 1, 7) == "ssj14" then wait(0.1) ssj() end if string.sub(msg, 1, 13) == "Super Saiyan 15" then wait(0.1) ssj() end if string.sub(msg, 1, 10) == "calm13" then wait(0.1) nossj() end if string.sub(msg, 1, 3) == "off13" then wait(0.1) nossj() end end) function OnDeath() wait() nossj() end jun.Character.Humanoid.Died:connect(OnDeath) jun = script.Parent.Parent Stuff = false --mediafire---

0
Please use the lua function on this website. It would make it much easier to answer your question. Also, nice to see another dbz fan animelover6446 41 — 7y

Closed as Non-Descriptive by Goulstem

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?