First of all, this is in a local script in StarterPack.
local jun = script.Parent.Parent --I always use this lol local Char = jun.Character function Cheese() Char["Left Arm"].Size = Char["Left Arm"].Size * 2 Char["Right Arm"].Size = Char["Right Arm"].Size * 2 Char["Left Leg"].Size = Char["Left Leg"].Size * 2 Char["Right Leg"].Size = Char["Right Leg"].Size * 2 Char.Head.Size = Char.Head.Size * 2 Char.Torso.Size = Char.Torso.Size * 2 end jun.Chatted:connect(function(message) function Form(jun, message) if message == "Form" then Cheese() end end)
So the problem is that when the player gets resized, they die immediately.
An answer would be much appreciated. Thanks in advance!
(Also, I'm using a different script with the same idea. Same spot, LocalScript, etc. It does the same thing. So sorry if I missed an extra "end" or something >.< )
-- Possible Fix local jun = script.Parent.Parent --I always use this lol local Char = jun.Character Char.Humanoid.Health = 150 function Cheese() Char["Left Arm"].Size = Char["Left Arm"].Size * 2 Char["Right Arm"].Size = Char["Right Arm"].Size * 2 Char["Left Leg"].Size = Char["Left Leg"].Size * 2 Char["Right Leg"].Size = Char["Right Leg"].Size * 2 Char.Head.Size = Char.Head.Size * 2 Char.Torso.Size = Char.Torso.Size * 2 end jun.Chatted:connect(function(message) function Form(jun, message) if message == "Form" then Cheese() Char.Humanoid.Health = 100 end end end)