Universal Script πŸ“Œ
19.7k Views
680 Executions

Change skin every die

Universal Script πŸ“Œ
3 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

This script changes skin color when you die. It also deletes your accessories and converts you to R6.

Updates

  1. Script edited: Create script

View Raw
local AvatarEditorService = game:GetService("AvatarEditorService")
local VirtualInputManager = game:GetService("VirtualInputManager")
local pf = game:GetService("CoreGui").ThemeProvider.PromptFrame
local ButtonOkPos
local hd = Instance.new('HumanoidDescription')
local x,y = 0,0
local lp = game:GetService("Players").LocalPlayer

local function changeColors()
    hd.HeadColor = BrickColor.Random().Color
    hd.TorsoColor = BrickColor.Random().Color
    hd.LeftArmColor = BrickColor.Random().Color
    hd.RightArmColor = BrickColor.Random().Color
    hd.LeftLegColor = BrickColor.Random().Color
    hd.RightLegColor = BrickColor.Random().Color

    AvatarEditorService:PromptSaveAvatar(hd, Enum.HumanoidRigType.R6)

    ButtonOkPos = pf:WaitForChild('Prompt').AlertContents.Footer.Buttons:FindFirstChild('2').AbsolutePosition

    x = ButtonOkPos.x + 15
    y = ButtonOkPos.y + 45

    VirtualInputManager:SendMouseButtonEvent(x, y, 0, true, nil, 0)
    VirtualInputManager:SendMouseButtonEvent(x, y, 0, false, nil, 0)
end

lp.CharacterAdded:Connect(changeColors)
changeColors()


Comments

5
Log in to join the conversation. Login
Moor's profile picture
Moor3 years ago(edited)

ok

1
OuterTrees's profile picture
OuterTreesUploader3 years ago(edited)

Yes @Nooby

1
t00pj00lan's profile picture
t00pj00lan3 years ago(edited)

aaa

1
crucifixnew's profile picture
crucifixnew3 years ago(edited)

dont know @Nooby

1
Moor's profile picture
Moor3 years ago(edited)

fe?

1

Tags

More universal scripts

See all
Universal Script πŸ“Œ
28
1
Approved 49 minutes ago
Script hub
195
991
Bumped 3 hours ago

Script hub

Lunyx Hub

Script hub
120.8k
221.3k
Bumped 3 hours ago
Key System
Script hub
10.7k
201.7k
Bumped 4 hours ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.3k
300.4k
Bumped 6 hours ago
Script hub
23.8k
5.3k
Bumped 6 hours ago
Key System
Paid
High QualityΒ Offering