function Playersize(player)
	local Sv = 5
	local humanoid = player.Character.Humanoid
		humanoid.BodyHeightScale = Sv
		humanoid.BodyWidthScale = Sv
		humanoid.BodyDepthScale = Sv
		humanoid.HeadScale = Sv
end
local player = game.Players.LocalPlayer	

game.ReplicatedStorage.Events.Transformation.OnServerEvent:Connect(function(player)
	Playersize(game.Players.Brockanthony10)
end)

3 comments

0

Are you trying to resize your avatar?

0

I was doing that to test

0

OnServerEvent can only be called by a server script yet you are using local player?