(I was running low on character space so i cut off some extra characters, but the full question is ""How do I make this script so it makes the player invisible (accessories and faces) and clone this billboardgui into the character's torso if they have 200,000 cents leaderstat?)
I just need a fixed version of this script that makes the player Invisible and gets rid of their accessories and clones the billboardgui into the Torso?
My current code wont work:
local suit = game.ReplicatedStorage.amongus:Clone() local price = 200000 game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) script.Parent.ClickDetector.MouseClick:Connect(function(player) if player.leaderstats.cents.Value >= price then local txt = script.Parent.Text:Clone() txt.Parent = player.PlayerGui script.Parent.ClickDetector.MaxActivationDistance = 0 player.character.Torso.Transparency = 1 player.character.Head.Transparency = 1 player.character["Left Arm"].Transparency = 1 player.character["Right Arm"].Transparency = 1 player.character["Left Leg"].Transparency = 1 player.character["Right Leg"].Transparency = 1 player.character:FindFirstChildOfClass("Accessory"):Destroy() player.character:FindFirstChildOfClass("Decal"):Destroy() suit.Parent = player.character.Torso script.Parent.ClickDetector.MaxActivationDistance = 32 end end
any help is very much a p p r e c i a t e d !
(also talk like your talking to a baby bc im such a noob at scripting0
