when i press f it does make the leftarm black BUT
the clothing left side is covering it how do i not make that happen?
script:
local rep = game:GetService("ReplicatedStorage")
local rem2 = rep:WaitForChild("rem2")
local ts = game:GetService("TweenService")
rem2.OnServerEvent:Connect(function(player)
local leftarm = player.Character["Left Arm"]
if leftarm:IsA("BasePart") then
local partcolor = leftarm.Color
leftarm.BrickColor = BrickColor.new("Black")
wait(24)
leftarm.Color = partcolor
end
end)
replace the character shirt to half shirt when the player pressed f
1 Like
try this
local rep = game:GetService("ReplicatedStorage")
local rem2 = rep:WaitForChild("rem2")
local ts = game:GetService("TweenService")
rem2.OnServerEvent:Connect(function(player)
local leftarm = player.Character["Left Arm"]
local shirt = player.Character["Shirt"]
if leftarm:IsA("BasePart") then
local partcolor = leftarm.Color
leftarm.BrickColor = BrickColor.new("Black")
shirt.ShirtTemplate= "http://www.roblox.com/asset/?id=PLACE THE SHIRT ASSET ID"
wait(24)
leftarm.Color = partcolor
end
end)
1 Like
Tell me if it didn’t work or if something wrong
1 Like