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

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

Asked by
R_G0d -2
6 years ago

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.

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 R_G0d -2 — 6y

Closed as Not Constructive by User#19524

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?

2 answers

Log in to vote
0
Answered by
ABK2017 406 Moderation Voter
6 years ago

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.
0
Thanks I will try this! R_G0d -2 — 6y
Ad
Log in to vote
0
Answered by 6 years ago

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.