how do i fix the ugly red lines
Try the edited script again, it should be fixed
local part = game.Workspace.Part
local DB = false
local MinSize = 2
part.Touched:Connect(function(hit)
local Humanoid = hit.Parent:FindFirstChild(“Humanoid”)
if Humanoid.HeadScale.Value > MinSize and Humanoid and DB == false then
DB = true
local HS = Humanoid.HeadScale
local BDS = Humanoid.BodyDepthScale
local BWS = Humanoid.BodyWidthScale
local BHS = Humanoid.BodyHeightScale
for Loop = 1, 10 do
HS.Value -= 0.1
BDS.Value -= 0.1
BWS.Value -= 0.1
BHS.Value -= 0.1
wait(.1)
end
wait(1)
DB = false
end
end)
this for shrink, is it good?
That should work? If it doesn’t then it’s probably something having to do with the loops
uhh ima forget about the loop XD it no works
You sure? Are you getting anything from your Output?
nope everything have no error ;-;