Advertisement
KrYn0MoRe

funny dance

Jan 24th, 2022
1,183
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local isLS = (script.ClassName=='LocalScript')
  2. local plr = (isLS and game:service'Players'.LocalPlayer or owner)
  3. local char = plr.Character
  4. local hum = char:findFirstChild'Humanoid'
  5.  
  6. local anim = nil
  7.  
  8. local function clearNORMIEAPPEARANCE()
  9.     pcall(function()-- get rid of all the NORMIE APPEARANCE
  10.         for i,v in next, char:children'' do
  11.             if v:isA'Shirt' or v:isA'Pants' or v:isA'Accessory' then
  12.                 v:Destroy''
  13.             end
  14.         end
  15.     end)
  16.     hum:RemoveAccessories() -- just in case
  17. end
  18.  
  19. local function startCOOLDANCE()
  20.     local an = Instance.new("Animation",hum)
  21.     an.AnimationId = "rbxassetid://3058460854"
  22.     anim = hum:LoadAnimation(an)
  23.     anim:AdjustSpeed(1)
  24.     anim:Play()
  25.     pcall(function() char.Animate:Destroy() end)
  26. end
  27.  
  28. local function makeNewCOOLAPPEARANCE()
  29.     clearNORMIEAPPEARANCE()
  30.    
  31.     local COOLSHIRT = Instance.new'Shirt'
  32.     COOLSHIRT.ShirtTemplate = 'rbxassetid://762123269'
  33.     local COOLPANTS = Instance.new'Pants'
  34.     COOLPANTS.PantsTemplate = 'rbxassetid://181875386'
  35.    
  36.     local NITROTURBON = Instance.new'Part'
  37.     NITROTURBON.TopSurface,NITROTURBON.BottomSurface = 0,0
  38.     NITROTURBON.Size = Vector3.new(2, 1, 2)
  39.     NITROTURBON.CanCollide = false;
  40.     local cool_mesh = Instance.new('FileMesh', NITROTURBON)
  41.     cool_mesh.MeshId = 'rbxassetid://21778505'
  42.     cool_mesh.TextureId = 'rbxassetid://21778483'
  43.    
  44.     local niceWeld = Instance.new('Weld', NITROTURBON)
  45.     niceWeld.Part0 = char.Head
  46.     niceWeld.Part1 = NITROTURBON
  47.     niceWeld.C0 = CFrame.new(0, .3, 0)
  48.     NITROTURBON.Parent = char
  49.     COOLPANTS.Parent = char
  50.     COOLSHIRT.Parent = char
  51.     local Katana = Instance.new('Part')
  52.     Katana.Name = 'Katana'
  53.     Katana.BrickColor = BrickColor.new('Really black')
  54.     Katana.Locked = true
  55.     Katana.Shape = 'Block'
  56.     Katana.Size = Vector3.new(0.4, 1.12, 2.6)
  57.     Katana.CanCollide = false
  58.     local KatanaMesh = Instance.new('FileMesh',Katana)
  59.     KatanaMesh.Name = 'KatanaMesh'
  60.     KatanaMesh.MeshId = "http://www.roblox.com/asset/?id=165710339"
  61.     KatanaMesh.TextureId = "http://www.roblox.com/asset/?id=165710383"
  62.     KatanaMesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  63.     local KatanaWeld = Instance.new('Weld',Katana)
  64.     KatanaWeld.C0 = CFrame.new(0,0,-1) * CFrame.Angles(math.rad(25), 0, 0)
  65.     KatanaWeld.Part0 = char:findFirstChild('RightHand',true)
  66.     KatanaWeld.Part1 = Katana
  67.     Katana.Parent = char
  68. end
  69.  
  70. startCOOLDANCE()
  71.  
  72. plr.Chatted:connect(function(msg)
  73.     if msg:sub(1,3) == '/e ' then
  74.         msg = msg:sub(4)
  75.     end
  76.     if tonumber(msg) then
  77.         anim:AdjustSpeed(tonumber(msg))
  78.     end
  79.     if msg == "him forever!" then
  80.         makeNewCOOLAPPEARANCE()
  81.     end
  82. end)
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement