Universal Script 📌
19.7k Views
571 Executions

Change skin every die

Universal Script 📌
2 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
Moor2 years ago(edited)

ok

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

Yes @Nooby

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

aaa

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

dont know @Nooby

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

fe?

1

Tags

More universal scripts

See all
Script hub
3.0M
1.1M
Bumped 2 hours ago
Key System

Script hub

#6 today

CanHub V2 200 GAMES KEYLESS

Script hub
131
3
21 hours ago
Script hub
277.4k
165.4k
Bumped 3 hours ago
Key System
Universal Script 📌
6.6k
17.0k
Bumped 3 hours ago
Script hub
1.7M
431.9k
Bumped 4 hours ago
Key System

Script hub

#7 today

Verified script badgeAxonic Hub | 50+ Games Supported

Universal Script 📌
2.5k
7.1k
Bumped 9 hours ago
Script hub
5.9k
86.5k
Bumped 9 hours ago

Script hub

SAGAZx Hub

Script hub
77.7k
274.5k
Bumped 10 hours ago
Key System