Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make a touch to get bigger block for a starter character?

So I want to make a part so when you touch it, it increases the size of your startercharacter. The name of the parts I gave my startercharacter is.. Torso, LowerTorso, UpperTorso, LeftFang, RightFang, LeftEye, RightEye.

1 comment

0

I would've known how to do this without a starter character because a r15 normal character has body depth scale and body depth width

2 answers

I'm sure someone might have a better answer but last I checked KingLoneCat's scaling script was working. It's a little different then what you're asking, but maybe you could modify it to work in a Part.

local players = game:GetService("Players"); -- Players Service

players.PlayerAdded:Connect(function(plr) -- PlayerAdded anonymous function with the player as the parameter.
    plr.CharacterAdded:Connect(function(char) -- CharacterAdded anonymous function with the Character as the parameter.
        local scale_to_be = 5; -- How many studs you want the parts to scale by.

        local hum = char:WaitForChild("Humanoid"); -- The Humanoid of the Character.

        local scales = { -- Table with all of the Scales under the Humanoid.
            hum:WaitForChild("BodyHeightScale"), 
            hum:WaitForChild("BodyDepthScale"), 
            hum:WaitForChild("BodyWidthScale"), 
            hum:WaitForChild("HeadScale")
            }

        for _, scale in next, scales do -- For each iteration that iterates through all of the scales.
            scale.Value = scale_to_be; -- Sets the value of each scale under the Humanoid.
        end -- end for the for each iteration.

    end) -- end for the CharacterAdded function.
end) -- end for the PlayerAdded function.

1 comment

0

Thanks I will try this!

This site is not used for requests, we would be glad to help you but will not just create a full script for you. If you want to make a script like that use the Touched Event to start.

This discussion is preserved as it was. New answers, comments, and votes are closed.