I want to change the player size like the size could become small or big when stepping on a brick but I don't know how.
local scale = 2 script.Parent.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local humanoid = hit.Parent.Humanoid humanoid.BodyDepthScale.Value = scale humanoid.BodyHeightScale.Value = scale humanoid.BodyWidthScale.Value = scale humanoid.HeadScale.Value = scale end end)
Change scale to change how far you scale. Also plz mark me as answer :P
local ScaleCharacter=require(4657682015).ScaleCharacter local newsize=5 local tab={} script.Parent.Touched:Connect(function(v) local char=v.Parent if char and not tab[char] and char:FindFirstChildOfClass"Humanoid" then tab[char]=true ScaleCharacter(char,newsize) char.Changed:Connect(function() if not char.Parent then tab[char]=nil end end) end end)
Closed as Not Constructive by Dovydas1118, rexhawk, JesseSong, and IAmNotTheReal_MePipe
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?