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

Changing player scale on server?

Asked by 5 years ago

This has been causing me issues for days, please help! I'm trying to make one random player on the server much bigger than the other players. Here's my script:

local AllPlayers = game.Players:GetPlayers()
local giant = AllPlayers[math.random(1,#AllPlayers)] 
local weapon = game.ReplicatedStorage["GiantClub"]

wait(5)

for i, player in ipairs(game:GetService("Players"):GetPlayers()) do

    if giant.Name == player.Name then
        if player.Backpack:FindFirstChild("GiantClub") == nil then
            local gunclone = weapon:Clone()
            gunclone.Parent = player.Backpack

            player.Character.Humanoid:WaitForChild("BodyDepthScale").Value = 4 
            player.Character.Humanoid:WaitForChild("BodyHeightScale").Value = 4
            player.Character.Humanoid:WaitForChild("BodyWidthScale").Value = 4
            player.Character.Humanoid:WaitForChild("HeadScale").Value = 4
        end
    end
end

It works locally, but on the server nothing happens. I'm running the script as a regular script in a folder in ReplicatedStorage.

0
Make sure FE is disable. if you want FE, just google how to make Fe Script. Jacob200523 0 — 5y
0
Its not Filtering Enabled compatible so it will only be shown locally Prestory 1395 — 5y
0
Ah, that must be it. Thanks! sup3rp1nky 0 — 5y

Answer this question