local plr = game.Players.LocalPlayer
local chr = plr.Character
local ref = game.Workspace.Part
local hum = chr:WaitForChild("Humanoid")
local InputService = game:GetService("UserInputService")
InputService.InputBegan:Connect(function(input)
local plr = game.Players.LocalPlayer
local chr = plr.Character
local hum = chr.Humanoid
local key = input.KeyCode
if key == Enum.KeyCode.R then
for _,body in pairs(chr:GetChildren()) do
if body:IsA("BasePart") then
body.BrickColor = BrickColor.new("Gold")
body.Material = "Neon"
end
for _,size in pairs(hum:GetChildren())do
if size:IsA("NumberValue") then
size.Value = 5
end
-- this dose work as well
for _,resize in pairs(hum:GetChildren()) do
if resize.Name == "BodyDepthScale" or "BodyWidthScale" or "HeadScale" then
resize.Value = 7
end
end
end
end
end
end)
COMMUNITY QUESTION
i am trying to make my chars body all neon with a script but it only make hands neon how do i fix?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

6 comments
Your code works, I tested it in a Baseplate. Under StarterCharacterScripts, it changes the whole body.
Sorry, I tested the first chunk not the whole script.
really? when i tryed it changed the color but not to neon 23,31 dose not work
I only tested to line 17, sorry.
its alright but can u test the rest of the script to see whats wrong plz
I've tried the script and there are things that do not work because you can not, change it changes you have to remove the pants and the shirt so it looks all gold and neon and if you use MeshPart not the same as BasePart are two different classes Anyway, I have tried and only change everything but not everything looks neon if I change the material.