Advertisement
Prephy

Untitled

Apr 3rd, 2021
714
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.30 KB | None | 0 0
  1. local char = workspace[owner.Character.Name]
  2.  
  3. function cover(part,x,y,z,offset)
  4.     local goo = Instance.new("Part",char)
  5.     goo.Color = Color3.fromRGB(255,255,255)
  6.     goo.Size = part.Size
  7.     goo.CanCollide = false
  8.     local w = Instance.new("Weld",part)
  9.     w.Part0 = part
  10.     w.Part1 = goo
  11.     local m = Instance.new("SpecialMesh",goo)
  12.     m.MeshType = Enum.MeshType.FileMesh
  13.     m.MeshId = "rbxassetid://430080282"
  14.     m.Scale = Vector3.new(part.Size.X,0,part.Size.Z)
  15.     m.Offset = offset
  16.     game:GetService("TweenService"):Create(m,TweenInfo.new(0.75,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut),
  17.     {Scale = Vector3.new(x,y,z), Offset = Vector3.new(0,0,0)}):Play()
  18.     local s = Instance.new("Sound",goo)
  19.     s.SoundId = "rbxassetid://5656490592"
  20.     s.PlaybackSpeed = 1.05
  21.     s:Play()
  22. end
  23.  
  24. function re(limb)
  25.     char:FindFirstChild(limb).Color = Color3.fromRGB(255,255,255)
  26.     char:FindFirstChild(limb).Transparency = 1
  27. end
  28.  
  29. function col(limb)
  30.     char:FindFirstChild(limb).Color = Color3.fromRGB(255,255,255)
  31.     local s = Instance.new("Sound",char:FindFirstChild(limb))
  32.     s.SoundId = "rbxassetid://5656490592"
  33.     s.PlaybackSpeed = 1.05
  34.     s:Play()
  35. end
  36.  
  37. function acc()
  38.     for _,v in pairs(char:GetChildren()) do
  39.         if v:IsA("Accessory") then
  40.             v.Handle.Color = Color3.fromRGB(255,255,255)
  41.             if v.Handle:FindFirstChild("Mesh") then
  42.                 v.Handle.Mesh.TextureId = ""
  43.             elseif v.Handle:FindFirstChild("SpecialMesh") then
  44.                 v.Handle.SpecialMesh.TextureId = ""
  45.             end
  46.         end
  47.     end
  48. end
  49.  
  50. function add()
  51.     local e = game.InsertService:LoadAsset(5642063288)
  52.     local t = game.InsertService:LoadAsset(5642066254)
  53.     local pe = e:FindFirstChildWhichIsA("Accessory")
  54.     local pt = t:FindFirstChildWhichIsA("Accessory")
  55.     pe.Handle.Color = Color3.fromRGB(255,255,255)
  56.     pt.Handle.Color = Color3.fromRGB(255,255,255)
  57.     pe.Handle.SpecialMesh.TextureId = ""
  58.     pt.Handle.SpecialMesh.TextureId = ""
  59.     pe.Parent = char
  60.     pt.Parent = char
  61.     e:Destroy()
  62.     t:Destroy()
  63. end
  64.  
  65. function face()
  66.     char.Head:FindFirstChild("face").Texture = "rbxassetid://15431991"
  67. end
  68.  
  69. cover(char["UpperTorso"],2.05,1.05,1.05,Vector3.new(0,0,0))
  70. wait(0.75)
  71. re("UpperTorso")
  72. cover(char["LowerTorso"],2.05,1.05,1.05,Vector3.new(0,0,0))
  73. wait(0.75)
  74. re("LowerTorso")
  75. cover(char["LeftUpperArm"],1.05,1.05,1.05,Vector3.new(0,1,0))
  76. wait(0.75)
  77. re("LeftUpperArm")
  78. cover(char["LeftLowerArm"],1.05,1.05,1.05,Vector3.new(0,1,0))
  79. wait(0.75)
  80. re("LeftLowerArm")
  81. cover(char["LeftHand"],1.05,1.05,1.05,Vector3.new(0,1,0))
  82. wait(0.75)
  83. re("LeftHand")
  84. cover(char["RightUpperArm],1.05,1.05,1.05,Vector3.new(0,1,0))
  85. wait(0.75)
  86. re("RightUpperArm")
  87. cover(char["RightLowerArm],1.05,1.05,1.05,Vector3.new(0,1,0))
  88. wait(0.75)
  89. re("RightLowerArm")
  90. cover(char["RightHand"],1.05,1.05,1.05,Vector3.new(0,1,0))
  91. wait(0.75)
  92. re("RightHand")
  93. cover(char["RightUpperLeg"],1.05,1.05,1.05,Vector3.new(0,1,0))
  94. wait(0.75)
  95. re("RightUpperLeg")
  96. cover(char["RightLowerLeg"],1.05,1.05,1.05,Vector3.new(0,1,0))
  97. wait(0.75)
  98. re("RightLowerLeg")
  99. cover(char["RightFoot"],1.05,1.05,1.05,Vector3.new(0,1,0))
  100. wait(0.75)
  101. re("RightFoot")
  102. cover(char["LeftUpperleg"],1.05,1.05,1.05,Vector3.new(0,1,0))
  103. wait(0.75)
  104. re("LeftUpperLeg")
  105. cover(char["LeftLowerleg"],1.05,1.05,1.05,Vector3.new(0,1,0))
  106. wait(0.75)
  107. re("LeftLowerLeg")
  108. cover(char["LeftFoot"],1.05,1.05,1.05,Vector3.new(0,1,0))
  109. wait(0.75)
  110. re("LeftFoot")
  111. col("Head")
  112. acc()
  113. add()
  114. face()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement