??? Im confused a lot a lot what you mean by that, Im trying to make it so my torso is the same size
I say is that maybe the problem is that something is missing in your humanoid, it works for me and for others, but not for you, it is very strange.
Hit Play and see if something is missing from your character.
my character??? where did you find this, also I want it so everyone is this size not just me
I only have Depth, Height, Width, And Head Scale
do I add the other ones that I don’t have that’s showing on your picture
This is generated by Roblox when you join the game, that’s what should appear.
Yes, you could make a script that places the missing values.
Typically, Status appears when adding BodyHeightScale, BodyWidthtScale, BodyDepthScale and HeadScale.
why does my thing translate to spanish lol, I tried doing all of that but when I do It for that one humanoid will the values go for all of them?
This should fix the problem.
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Wait()
local Humanoid = Player.Character:WaitForChild("Humanoid")
if not Humanoid:FindFirstChild("BodyHeightScale") then
local Val = Instance.new("NumberValue",Humanoid)
Val.Name = "BodyHeightScale"
Val.Value = 1.05
end
if not Humanoid:FindFirstChild("BodyWidthtScale") then
local Val = Instance.new("NumberValue",Humanoid)
Val.Name = "BodyWidthScale"
Val.Value = 0.5
end
if not Humanoid:FindFirstChild("BodyDepthScale") then
local Val = Instance.new("NumberValue",Humanoid)
Val.Name = "BodyDepthScale"
Val.Value = 0.5
end
if not Humanoid:FindFirstChild("HeadScale") then
local Val = Instance.new("NumberValue",Humanoid)
Val.Name = "HeadScale"
Val.Value = 0.5
end
end)
I think Roblox gets confused because I speak Spanish and to read this I translate it with the Google translator xd
Ok It worked!
But how do I know if it makes all players that size?
also how can I make it so It saves for everyone even when they die?
Using a local script in the StarterCharacterScripts.
The same, but without this:
Dosnt do anything
also when I leave the testing thing on roblox studio and join back It makes me the same size I had the problem with
Yes, something strange has your character xd
somethin happened in the output
10:51:48.628 Workspace.NubblyFry.LocalScript:22: Expected <eof>, got 'end' - Studio - LocalScript:22
Remove this:
You can leave the full script in ServerScriptService in case another player gets the same error.
10:54:00.972 Littlesvile auto-recovery file was created - Studio - C:/Users/mrtix/Documents/ROBLOX/AutoSaves
10:54:05.270 Workspace.NubblyFry.LocalScript:1: attempt to index nil with 'Character' - Client - LocalScript:1
10:54:05.270 Stack Begin - Studio
10:54:05.271 Script 'Workspace.NubblyFry.LocalScript', Line 1 - Studio - LocalScript:1
10:54:05.271 Stack End - Studio
output problem also I am now fat again
The server only detects when the player joins, but does not work when the character is restarted, for that the LocalScript.
Oops, need to change this:
local Humanoid = Player.Character:WaitForChild("Humanoid")
For this:
local Humanoid = script.Parent:WaitForChild("Humanoid")
In the LocalScript.
Although I could remove the one from the server and leave this one.
It doesnt work and makes me fat
Yes now.
local ReplicatedStorage = game:GetService("ReplicatedStorage")
CharacterSize = ReplicatedStorage:WaitForChild("CharacterSize")
CharacterSize.OnServerEvent:Connect(function(Player)
local Humanoid = Player.Character:WaitForChild("Humanoid")
if Humanoid:FindFirstChild("BodyHeightScale") then
Humanoid.BodyHeightScale.Value = 0.55
else
local Val = Instance.new("NumberValue",Humanoid)
Val.Name = "BodyHeightScale"
Val.Value = 0.55
end
if Humanoid:FindFirstChild("BodyWidthScale") then
Humanoid.BodyWidthScale.Value = 0.55
else
local Val = Instance.new("NumberValue",Humanoid)
Val.Name = "BodyWidthScale"
Val.Value = 0.5
end
if Humanoid:FindFirstChild("BodyDepthScale") then
Humanoid.BodyDepthScale.Value = 0.55
else
local Val = Instance.new("NumberValue",Humanoid)
Val.Name = "BodyDepthScale"
Val.Value = 0.5
end
if Humanoid:FindFirstChild("HeadScale") then
Humanoid.HeadScale.Value = 0.55
else
local Val = Instance.new("NumberValue",Humanoid)
Val.Name = "HeadScale"
Val.Value = 0.5
end
end)
Place it in ServerScriptService.
local ReplicatedStorage = game:GetService("ReplicatedStorage")
ReplicatedStorage:WaitForChild("CharacterSize"):FireServer()
wait(1)
script:Destroy()
Place it in StarterCharacterScripts.
And create a RemoteEvent in ReplicatedStorage and call it CharacterSize.
Scale only works from server.
11:50:28.690 Littlesvile auto-recovery file was created - Studio - C:/Users/mrtix/Documents/ROBLOX/AutoSaves
11:50:42.598 Infinite yield possible on 'ReplicatedStorage:WaitForChild("CharacterSize")' - Studio
11:50:42.598 Stack Begin - Studio
11:50:42.599 Script 'ServerScriptService.Script', Line 2 - Studio - Script:2
11:50:42.599 Stack End - Studio
whats an Infinite Yeld
Did you create the RemoteEvent in ReplicatedStorage?
See this map and copy and paste the scripts and the RemoteEvent.
Scale.rbxl (22,3 KB)