Advertisement
memberhero

Button Script

Nov 1st, 2018
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.03 KB | None | 0 0
  1. --[[Salvo_Starly[Salvy].Thingy_2018.7]]--
  2. --[[Project Name: https://cdn.discordapp.com/attachments/459898357855420417/470482392667389972/unknown.png ]]--
  3. --[[help]]--
  4. --[[Run in Non-local btw]]--
  5. --[[and i can't even find fox shirt/pants because]]--
  6. chr=game:GetService("Players").basstracker1970.Character
  7. Rooot=chr.HumanoidRootPart
  8. create=LoadLibrary("RbxUtility").Create
  9.  
  10. ArtificialHB=create("BindableEvent"){
  11. Parent=script,
  12. Name="Heartbeat"}
  13.  
  14. script:WaitForChild("Heartbeat")
  15.  
  16. frame=0.0166666666666666667
  17. tf=0
  18. allowframeloss=false
  19. tossremainder=false
  20. lastframe=tick()
  21. script.Heartbeat:Fire()
  22.  
  23. game:GetService("RunService").Heartbeat:connect(function(s,p)
  24. tf=tf+s
  25. if tf >=frame then
  26. if allowframeloss then
  27. script.Heartbeat:Fire()
  28. lastframe=tick()
  29. else
  30. for i=1,math.floor(tf/frame) do
  31. script.Heartbeat:Fire()
  32. end
  33. lastframe=tick()
  34. end
  35. if tossremainder then
  36. tf=0
  37. else
  38. tf=tf-frame*math.floor(tf/frame)
  39. end
  40. end
  41. end)
  42.  
  43. function swait(num)
  44. if num==0 or num==nil then
  45. ArtificialHB.Event:wait()
  46. else
  47. for i=0,num do
  48. ArtificialHB.Event:wait()
  49. end
  50. end
  51. end
  52.  
  53.  
  54. function rayCast(Position,Direction,Range,Ignore)
  55. return game:service("Workspace"):FindPartOnRay(Ray.new(Position,Direction.unit*(Range or 999.999)),Ignore)
  56. end
  57.  
  58. function NoOutline(Part)
  59. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface=10,10,10,10,10,10
  60. end
  61.  
  62. function parts2(Par,name,size,color,mat,ref,tra)
  63. local part=create("Part"){
  64. Parent=Par,
  65. Name=name,
  66. Size=size,
  67. CanCollide=true,
  68. Anchored=true,
  69. BrickColor=BrickColor.new(color),
  70. Material=mat,
  71. Reflectance=ref,
  72. Transparency=tra}
  73. --Position=Torso.Position}
  74. NoOutline(part)
  75. part:BreakJoints()
  76. return part
  77. end
  78.  
  79. function parts(Par,name,size,color,mat,ref,tra)
  80. local part=create("Part"){
  81. Parent=Par,
  82. Name=name,
  83. Size=size,
  84. CanCollide=false,
  85. Anchored=false,
  86. BrickColor=BrickColor.new(color),
  87. Material=mat,
  88. Reflectance=ref,
  89. Transparency=tra}
  90. --Position=Torso.Position}
  91. NoOutline(part)
  92. part:BreakJoints()
  93. return part
  94. end
  95.  
  96. function meshs(Par,name,scale,mtype,id)
  97. local mesh=create("SpecialMesh"){
  98. Parent=Par,
  99. Name=name,
  100. Scale=scale,
  101. MeshType=mtype}
  102. if id~="" then
  103. mesh.MeshId="rbxassetid://"..id
  104. end
  105. return mesh
  106. end
  107.  
  108. function welds(Par,name,p0,p1,c0,c1)
  109. local weld=create("Weld"){
  110. Parent=Par,
  111. Name=name,
  112. Part0=p0,
  113. Part1=p1,
  114. C0=c0,
  115. C1=c1}
  116. return weld
  117. end
  118.  
  119. function sounds(Par,id,vol,pit)
  120. local sound=create("Sound"){
  121. Parent=Par,
  122. SoundId="rbxassetid://"..id,
  123. Volume=vol,
  124. PlaybackSpeed=pit}
  125. sound:Play()
  126. game:GetService("Debris"):AddItem(sound,10)
  127. return sound
  128. end
  129.  
  130. function pssounds(Par,id,vol,pit,octave,pri)
  131. local psound=create("Sound"){
  132. Parent=Par,
  133. SoundId="rbxassetid://"..id,
  134. Volume=vol,
  135. PlaybackSpeed=pit,
  136. MaxDistance=66666666}
  137. psound:Play()
  138. local pitch=create("PitchShiftSoundEffect"){
  139. Parent=psound,
  140. Octave=octave,
  141. Priority=2,
  142. Enabled=true
  143. }
  144. game:GetService("Debris"):AddItem(psound,10)
  145. return psound
  146. end
  147.  
  148. function particles(par,zoff,color,id,lemi,linf,direct,sizmin,sizmax,tramin,tramax,lifemin,lifemax,rotmin,rotmax,speed,velocity,lock,timelimit)
  149. local aaa=NumberSequence.new({NumberSequenceKeypoint.new(0, sizmin),NumberSequenceKeypoint.new(1, sizmax)})
  150. local bbb=NumberSequence.new({NumberSequenceKeypoint.new(0, tramin),NumberSequenceKeypoint.new(1, tramax)})
  151. local parti=create("ParticleEmitter"){
  152. Color=ColorSequence.new(BrickColor.new(color).Color),
  153. LightEmission=lemi,
  154. LightInfluence=linf,
  155. Texture="rbxassetid://"..id,
  156. Transparency=bbb,
  157. Size=aaa,
  158. ZOffset=zoff,
  159. --Acceleration=Vector3.new(0, 2, 0),
  160. LockedToPart=lock,
  161. EmissionDirection=direct,
  162. Lifetime=NumberRange.new(lifemin,lifemax),
  163. Rate=12000,
  164. Rotation=NumberRange.new(-360, 360),
  165. RotSpeed=NumberRange.new(-rotmin, rotmax),
  166. Speed=NumberRange.new(speed),
  167. VelocitySpread=velocity,
  168. Enabled=true,
  169. Parent=par
  170. }
  171. if timelimit~=nil then
  172. coroutine.resume(coroutine.create(function(p)
  173. swait(timelimit)
  174. parti.Enabled=false
  175. end),parti)
  176. game:GetService("Debris"):AddItem(parti,10)
  177. end
  178. return parti
  179. end
  180.  
  181. mh=Instance.new("Model",workspace)
  182. mh.Name="Sh"
  183.  
  184. ref=parts2(mh,"ha",Vector3.new(.2,.2,.2),"Dark green",Enum.Material.SmoothPlastic,0,1)
  185. ref.Anchored=true
  186. ref.CFrame=Rooot.CFrame*CFrame.new(0,0,-15)
  187. local hit=nil
  188. local pos
  189. repeat
  190. swait()
  191. ref.CFrame=Rooot.CFrame*CFrame.new(0,0,-15)
  192. hit,pos=rayCast(ref.Position,-ref.CFrame.upVector,300,chr)
  193. until hit~=nil
  194.  
  195. if hit~=nil then
  196. ref.CFrame=CFrame.new(pos)
  197. Ground=parts2(mh,"Ground",Vector3.new(16, 0.300000001, 16),"Dark green",Enum.Material.SmoothPlastic,0,0)
  198. --Ground.CFrame=Ground.CFrame*CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  199. Ground.CFrame=ref.CFrame*CFrame.Angles(0,math.rad(math.random(-360,360)),0)
  200. Ground.BrickColor=hit.BrickColor
  201. Ground.Material=hit.Material
  202. Ground.BackSurface=hit.BackSurface
  203. Ground.BottomSurface=hit.BottomSurface
  204. Ground.FrontSurface=hit.FrontSurface
  205. Ground.LeftSurface=hit.LeftSurface
  206. Ground.RightSurface=hit.RightSurface
  207. Ground.TopSurface=hit.TopSurface
  208. Part=parts2(mh,"Part",Vector3.new(1.00000095, 4.19999838, 1.19999981),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
  209. Part.CFrame=Ground.CFrame*CFrame.new(0, 2.05000019, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  210. BM=create("BlockMesh"){
  211. Parent=Part,
  212. Scale=Vector3.new(.99,.99,.99)
  213. }
  214. Part=parts2(mh,"Part",Vector3.new(2.40000081, 0.99999845, 2.59999943),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
  215. Part.CFrame=Ground.CFrame*CFrame.new(0.0598062277, 4.10000038, 9.53674316e-07, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238, 0, 0, 0, 1)
  216. BM=create("BlockMesh"){
  217. Parent=Part,
  218. Scale=Vector3.new(.99,.99,.99)
  219. }
  220. Part=parts2(mh,"Part",Vector3.new(0.100000001, 4.19999838, 0.0999996886),"Really black",Enum.Material.SmoothPlastic,0,0)
  221. Part.CFrame=Ground.CFrame*CFrame.new(-0.450000763, 2.05000019, -0.550002098, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  222. Part=parts2(mh,"Part",Vector3.new(0.100000001, 4.19999838, 0.0999996886),"Really black",Enum.Material.SmoothPlastic,0,0)
  223. Part.CFrame=Ground.CFrame*CFrame.new(-0.450000763, 2.05000019, 0.550002098, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  224. Part=parts2(mh,"Part",Vector3.new(0.100000001, 4.19999838, 0.0999996886),"Really black",Enum.Material.SmoothPlastic,0,0)
  225. Part.CFrame=Ground.CFrame*CFrame.new(0.449998379, 2.05000019, 0.550002098, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  226. Part=parts2(mh,"Part",Vector3.new(0.100000001, 4.19999838, 0.0999996886),"Really black",Enum.Material.SmoothPlastic,0,0)
  227. Part.CFrame=Ground.CFrame*CFrame.new(0.449998379, 2.05000019, -0.550002098, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  228. Part=parts2(mh,"Part",Vector3.new(0.100000001, 0.0999981984, 2.60000014),"Really black",Enum.Material.SmoothPlastic,0,0)
  229. Part.CFrame=Ground.CFrame*CFrame.new(-0.125482798, 5.3209281, 2.86102295e-06, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
  230. Part=parts2(mh,"Part",Vector3.new(1.00000012, 0.0999981984, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  231. Part.CFrame=Ground.CFrame*CFrame.new(-0.515195489, 5.09592962, 1.25000381, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
  232. Part=parts2(mh,"Part",Vector3.new(0.100000001, 0.0999981984, 2.60000014),"Really black",Enum.Material.SmoothPlastic,0,0)
  233. Part.CFrame=Ground.CFrame*CFrame.new(-0.904906034, 4.87092781, 2.86102295e-06, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
  234. Part=parts2(mh,"Part",Vector3.new(1.00000012, 0.0999981984, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  235. Part.CFrame=Ground.CFrame*CFrame.new(-0.515195489, 5.09592962, -1.24999428, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
  236. Part=parts2(mh,"Part",Vector3.new(0.100000001, 0.0999981984, 2.60000014),"Really black",Enum.Material.SmoothPlastic,0,0)
  237. Part.CFrame=Ground.CFrame*CFrame.new(1.02451789, 3.32906961, 2.86102295e-06, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
  238. Part=parts2(mh,"Part",Vector3.new(0.100000001, 0.0999981984, 2.60000014),"Really black",Enum.Material.SmoothPlastic,0,0)
  239. Part.CFrame=Ground.CFrame*CFrame.new(0.245094895, 2.87906957, 2.86102295e-06, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
  240. Part=parts2(mh,"Part",Vector3.new(1.00000012, 0.0999981984, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  241. Part.CFrame=Ground.CFrame*CFrame.new(0.634804964, 3.10407043, 1.25000381, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
  242. Part=parts2(mh,"Part",Vector3.new(1.00000012, 0.0999981984, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  243. Part.CFrame=Ground.CFrame*CFrame.new(0.634804964, 3.10407043, -1.24999428, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
  244. Part=parts2(mh,"Part",Vector3.new(0.100000001, 2.39999819, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  245. Part.CFrame=Ground.CFrame*CFrame.new(-0.329907417, 3.87499976, 1.25000381, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
  246. Part=parts2(mh,"Part",Vector3.new(0.100000001, 2.39999819, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  247. Part.CFrame=Ground.CFrame*CFrame.new(0.449514985, 4.32499981, 1.25000381, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
  248. Part=parts2(mh,"Part",Vector3.new(0.100000001, 2.39999819, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  249. Part.CFrame=Ground.CFrame*CFrame.new(-0.329907417, 3.87499976, -1.24999428, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
  250. Part=parts2(mh,"Part",Vector3.new(0.100000001, 2.39999819, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  251. Part.CFrame=Ground.CFrame*CFrame.new(0.449514985, 4.32499981, -1.24999428, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
  252. Button=parts2(mh,"Button",Vector3.new(1, 0.400000006, 1),"Persimmon",Enum.Material.SmoothPlastic,0,0)
  253. Button.CFrame=Ground.CFrame*CFrame.new(0.579421639, 4.39999866, 9.53674316e-07, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238, 0, 0, 0, 1)
  254. CM=create("CylinderMesh"){
  255. Parent=Button,
  256. }
  257. SG=create("SurfaceGui"){
  258. Parent=Button,
  259. CanvasSize=Vector2.new(220,220),
  260. LightInfluence=0,
  261. Face="Top"
  262. }
  263. TL=create("TextLabel"){
  264. Parent=SG,
  265. AnchorPoint=Vector2.new(.5,.5),
  266. Size=UDim2.new(1,0,1,0),
  267. Position=UDim2.new(.5,0,.5,0),
  268. BackgroundTransparency=1,
  269. Text="BooP",
  270. Font="SourceSansBold",
  271. TextScaled=true,
  272. TextWrapped=true
  273. }
  274.  
  275. CD=create("ClickDetector"){
  276. Parent=Button,
  277. MaxActivationDistance=5
  278. }
  279. local doing=false
  280. CD.MouseClick:connect(function(plr)
  281. if doing then return end
  282. doing=true
  283. print(plr.Name)
  284. local orig=Button.CFrame
  285. pssounds(Button,"190411970",1.3,1,1.7,3)
  286.  
  287. for i=1,15 do
  288. swait()
  289. Button.CFrame=Button.CFrame:Lerp(orig*CFrame.new(0,-.22,0),.2)
  290. end
  291. coroutine.resume(coroutine.create(function()
  292. swait(20)
  293. local chr=plr.Character
  294. if not chr:findFirstChild("hfyuhhhh") then
  295. local turning=create("ObjectValue"){
  296. Parent=chr,
  297. Name="hfyuhhhh",}
  298. game:GetService("Debris"):AddItem(turning,4)
  299. if not chr:findFirstChild("furrified") or chr:findFirstChild("furrified").Value~="amidoneyet" then
  300. local heed=chr:findFirstChild("Head")
  301. if heed then
  302. sounds(heed,"1274525620",2,1)
  303. swait(120)
  304. sounds(heed,"1042362525",1.5,1)
  305. local isfurrifiedornot=create("StringValue"){
  306. Parent=chr,
  307. Name="furrified",
  308. Value="amidoneyet"
  309. }
  310.  
  311. local shirt
  312. local pants
  313. local bcolor
  314. if chr:findFirstChildOfClass("Shirt") then
  315. shirt=chr:findFirstChildOfClass("Shirt")
  316. else
  317. shirt=create("Shirt"){
  318. Parent=chr}
  319. end
  320.  
  321. if chr:findFirstChildOfClass("Pants") then
  322. pants=chr:findFirstChildOfClass("Pants")
  323. else
  324. pants=create("Pants"){
  325. Parent=chr}
  326. end
  327.  
  328. if chr:findFirstChildOfClass("BodyColors") then
  329. bcolor=chr:findFirstChildOfClass("BodyColors")
  330. end
  331.  
  332. if chr:findFirstChildOfClass("ShirtGraphic") then
  333. chr:findFirstChildOfClass("ShirtGraphic"):Remove()
  334. end
  335.  
  336. for _,c in pairs(chr:children()) do
  337. local ha1=string.match(c.Name,"Ear")
  338. local ha2=string.match(c.Name,"Tail")
  339. if ha1 then
  340. c:Remove()
  341. end
  342. if ha2 then
  343. c:Remove()
  344. end
  345. end
  346.  
  347. local m=Instance.new("Model",chr)
  348. m.Name="enjoy"
  349.  
  350. local bc={}
  351. local asset="rbxassetid://"
  352. local randomf=math.random(1,5)
  353. if randomf==1 then
  354. shirt.ShirtTemplate=asset.."22600739"
  355. pants.PantsTemplate=asset.."22601914"
  356. bc={1,1,1}
  357. local Ear=parts(m,"Ear",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  358. local EarWeld=welds(Ear,"EarWeld",heed,Ear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.1920929e-07, -0.900000572, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  359. local EarMesh=meshs(Ear,"Mesh",Vector3.new(0.5, 0.5, 0.5),Enum.MeshType.FileMesh,"361948302")
  360. EarMesh.TextureId="rbxassetid://32447680"
  361.  
  362.  
  363. elseif randomf==2 then
  364. shirt.ShirtTemplate=asset.."85870930"
  365. pants.PantsTemplate=asset.."85856446"
  366. bc={218/255,154/255,90/255}
  367. local Ear=parts(m,"Ear",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  368. local EarWeld=welds(Ear,"EarWeld",heed,Ear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.1920929e-07, -0.900000572, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  369. local EarMesh=meshs(Ear,"Mesh",Vector3.new(0.5, 0.5, 0.5),Enum.MeshType.FileMesh,"361948302")
  370. EarMesh.TextureId="rbxassetid://382112958"
  371.  
  372. elseif randomf==3 then
  373. shirt.ShirtTemplate=asset.."115316811"
  374. pants.PantsTemplate=asset.."115316833"
  375. bc={253/255,229/255,154/255}
  376. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  377. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.124053955, -0.566539764, -0.394683838, 0.000740000105, -0.706898034, 0.707315087, 0.96593821, -0.182528064, -0.183431029, 0.258771867, 0.683358371, 0.68268472))
  378. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  379. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  380. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.850118637, -0.531934738, -0.580001831, -1.89999919e-05, -0.706765771, 0.707447767, 0.965938449, -0.183080822, -0.18287836, 0.258772254, 0.683347404, 0.682695627))
  381. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  382. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  383. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.82464981, -0.531873703, -0.580329895, -1.89999919e-05, -0.706765771, 0.707447767, 0.965938449, -0.183080822, -0.18287836, 0.258772254, 0.683347404, 0.682695627))
  384. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  385. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  386. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.281705856, 0.557655334, -0.615679741, -2.0000005e-05, -0.706740201, 0.707473159, 0.965924859, 0.183096692, 0.182934299, -0.258822978, 0.683369458, 0.682654202))
  387. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  388. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  389. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.41859055, -0.531812668, -0.580516815, -1.89999919e-05, -0.706765771, 0.707447767, 0.965938449, -0.183080822, -0.18287836, 0.258772254, 0.683347404, 0.682695627))
  390. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  391. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  392. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.282100677, -0.555849075, -0.615329742, 0.000740000105, -0.706898034, 0.707315087, 0.96593821, -0.182528064, -0.183431029, 0.258771867, 0.683358371, 0.68268472))
  393. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  394. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  395. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.4105072, 0.532569885, -0.580607414, -2.0000005e-05, -0.706740201, 0.707473159, 0.965924859, 0.183096692, 0.182934299, -0.258822978, 0.683369458, 0.682654202))
  396. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  397. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.81210357, 0.81210345),"Bright red",Enum.Material.SmoothPlastic,0,0)
  398. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000350952148, -1.27872849, -0.189393997, -1, 0, -8.49999997e-05, -8.21134818e-05, -0.258388996, 0.966040969, -2.19630638e-05, 0.966040969, 0.258388996))
  399. local HairMesh=meshs(Hair,"Mesh",Vector3.new(0.406051725, 2.43631077, 0.812103391),Enum.MeshType.FileMesh,"9944765")
  400. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.81210357, 0.81210345),"Bright red",Enum.Material.SmoothPlastic,0,0)
  401. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000442504883, -0.341218948, 0.528078079, 1, 0, 5.19999994e-05, -5.02208895e-05, 0.259339094, 0.965786338, -1.34856336e-05, -0.965786457, 0.259339094))
  402. local HairMesh=meshs(Hair,"Mesh",Vector3.new(0.406051725, 2.43631077, 0.812103391),Enum.MeshType.FileMesh,"9944765")
  403. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  404. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.842046738, 0.532718658, -0.580115318, -2.0000005e-05, -0.706740201, 0.707473159, 0.965924859, 0.183096692, 0.182934299, -0.258822978, 0.683369458, 0.682654202))
  405. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  406. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  407. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.81656647, 0.532611847, -0.580400467, -2.0000005e-05, -0.706740201, 0.707473159, 0.965924859, 0.183096692, 0.182934299, -0.258822978, 0.683369458, 0.682654202))
  408. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  409. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  410. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.124465942, 0.567241669, -0.394832611, -2.0000005e-05, -0.706740201, 0.707473159, 0.965924859, 0.183096692, 0.182934299, -0.258822978, 0.683369458, 0.682654202))
  411. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  412. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.81210357, 0.81210345),"Bright red",Enum.Material.SmoothPlastic,0,0)
  413. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000328063965, -1.17512703, -0.88457489, -1, 3.09999996e-05, -9.2000002e-05, -8.69912328e-05, -0.70682621, 0.707387209, -4.30990112e-05, 0.707387209, 0.70682621))
  414. local HairMesh=meshs(Hair,"Mesh",Vector3.new(0.406051725, 2.43631077, 0.812103391),Enum.MeshType.FileMesh,"9944765")
  415. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.81210357, 0.81210345),"Bright red",Enum.Material.SmoothPlastic,0,0)
  416. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, -0.64663744, -0.323652267, 1, -5.50000004e-05, 4.09999993e-05, 4.25408143e-05, 0.966053009, 0.258343995, -5.38170934e-05, -0.258343995, 0.966053009))
  417. local HairMesh=meshs(Hair,"Mesh",Vector3.new(0.406051725, 2.43631077, 0.812103391),Enum.MeshType.FileMesh,"9944765")
  418. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.81210357, 0.81210345),"Bright red",Enum.Material.SmoothPlastic,0,0)
  419. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000423431396, -0.368656158, -0.307619095, 1, -2.59999997e-05, 7.59999966e-05, 2.60354882e-05, 0.999999881, -0.000466999947, -7.59878458e-05, 0.000467001926, 0.999999881))
  420. local HairMesh=meshs(Hair,"Mesh",Vector3.new(0.406051725, 2.43631077, 0.812103391),Enum.MeshType.FileMesh,"9944765")
  421. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 2.92357278, 1.6242069),"Bright red",Enum.Material.SmoothPlastic,0,0)
  422. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000377655029, -0.444030762, -0.396792412, -1, 3.09999996e-05, -9.2000002e-05, -8.69912328e-05, -0.70682621, 0.707387209, -4.30990112e-05, 0.707387209, 0.70682621))
  423. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  424.  
  425. elseif randomf==4 then
  426. shirt.ShirtTemplate=asset.."1439583280"
  427. pants.PantsTemplate=asset.."1439568311"
  428. bc={99/255,95/255,98/255}
  429. local Hair=parts(m,"Hair",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  430. local HairWeld=welds(Hair,"HairWeld",heed,Hair,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-06, -0.661822319, 0.36447978, 1, -2.76821957e-23, -1.62062088e-06, 4.19447446e-07, 0.965925872, 0.258818984, 1.56539966e-06, -0.258818984, 0.965925872))
  431. local HairMesh=meshs(Hair,"Mesh",Vector3.new(0.00400000019, 0.00400000019, 0.00400000019),Enum.MeshType.FileMesh,"1090451665")
  432. HairMesh.TextureId="rbxassetid://1089187398"
  433. local Ear=parts(m,"Ear",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  434. local EarWeld=welds(Ear,"EarWeld",heed,Ear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-06, -0.616568089, -0.0486409664, 1, -2.76821957e-23, -1.62062088e-06, 2.76820442e-23, 1, -9.3880563e-23, 1.62062088e-06, 9.38805188e-23, 1))
  435. local EarMesh=meshs(Ear,"Mesh",Vector3.new(0.699999988, 0.699999988, 0.699999988),Enum.MeshType.FileMesh,"2038789971")
  436. EarMesh.TextureId="rbxassetid://160671771"
  437. local Ear=parts(m,"Ear",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Black",Enum.Material.Plastic,0,0)
  438. local EarWeld=welds(Ear,"EarWeld",heed,Ear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-06, -0.616568089, 0.0513590574, 1, -2.76821957e-23, -1.62062088e-06, 2.76820442e-23, 1, -9.3880563e-23, 1.62062088e-06, 9.38805188e-23, 1))
  439. local EarMesh=meshs(Ear,"Mesh",Vector3.new(0.550000012, 0.400000006, 0.600000024),Enum.MeshType.FileMesh,"2038789971")
  440.  
  441. elseif randomf==5 then
  442. shirt.ShirtTemplate=asset.."170964235"
  443. pants.PantsTemplate=asset.."170962374"
  444. bc={248/255,220/255,116/255}
  445. local EarFur=parts(m,"EarFur",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Br. reddish orange",Enum.Material.Plastic,0,0)
  446. local EarFurWeld=welds(EarFur,"EarFurWeld",heed,EarFur,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.43051147e-06, -0.830033302, 0.049999088, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  447. local EarFurMesh=meshs(EarFur,"Mesh",Vector3.new(0.0450000018, 0.0399999991, 0.0299999993),Enum.MeshType.FileMesh,"1902315254")
  448. local Ear=parts(m,"Ear",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  449. local EarWeld=welds(Ear,"EarWeld",heed,Ear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-07, -0.899971485, -0.0499875918, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  450. local EarMesh=meshs(Ear,"Mesh",Vector3.new(0.600000024, 0.600000024, 1),Enum.MeshType.FileMesh,"361948302")
  451. EarMesh.TextureId="rbxassetid://382107464"
  452.  
  453. end
  454.  
  455. bcolor.HeadColor3=Color3.new(bc[1],bc[2],bc[3])
  456. bcolor.LeftArmColor3=Color3.new(bc[1],bc[2],bc[3])
  457. bcolor.RightArmColor3=Color3.new(bc[1],bc[2],bc[3])
  458. bcolor.LeftLegColor3=Color3.new(bc[1],bc[2],bc[3])
  459. bcolor.RightLegColor3=Color3.new(bc[1],bc[2],bc[3])
  460. bcolor.TorsoColor3=Color3.new(bc[1],bc[2],bc[3])
  461.  
  462.  
  463. local tor1=chr:findFirstChild("Torso")
  464. local tor2=chr:findFirstChild("UpperTorso")
  465. local tor3=chr:findFirstChild("LowerTorso")
  466. if tor1 then
  467. local p1=particles(tor1,1.8,"Black","390022172",.3,0,"Top",13,.1,0,1,1,1.2,-55,55,26,10000,false,15)
  468. p1.Acceleration=Vector3.new(0, 15, 0)
  469. p1.Color=ColorSequence.new(Color3.new(bc[1],bc[2],bc[3]))
  470. p1.Speed=NumberRange.new(-26,26)
  471. local p2=particles(tor1,1.5,"Black","390022172",.3,0,"Top",13,.1,0,1,1,1.2,-55,55,26,10000,false,15)
  472. p2.Acceleration=Vector3.new(0, 15, 0)
  473. p2.Color=ColorSequence.new(Color3.new(bc[1],bc[2],bc[3]))
  474. p2.Speed=NumberRange.new(-26,26)
  475. local p3=particles(tor1,1.2,"Black","390022172",.3,0,"Top",13,.1,0,1,1,1.2,-55,55,26,10000,false,15)
  476. p3.Acceleration=Vector3.new(0, 15, 0)
  477. p3.Color=ColorSequence.new(Color3.new(bc[1],bc[2],bc[3]))
  478. p3.Speed=NumberRange.new(-26,26)
  479. local p4=particles(tor1,.9,"Black","390022172",.3,0,"Top",13,.1,0,1,1,1.2,-55,55,26,10000,false,15)
  480. p4.Acceleration=Vector3.new(0, 15, 0)
  481. p4.Color=ColorSequence.new(Color3.new(bc[1],bc[2],bc[3]))
  482. p4.Speed=NumberRange.new(-26,26)
  483. if randomf==1 then
  484. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  485. local TailWeld=welds(Tail,"TailWeld",tor1,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100032806, 1.5999949, -1.40357666, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  486. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1.29999995, 1.29999995, 1.29999995),Enum.MeshType.FileMesh,"791316026")
  487. TailMesh.TextureId="rbxassetid://32447680"
  488.  
  489. elseif randomf==2 then
  490. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  491. local TailWeld=welds(Tail,"TailWeld",tor1,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0164413452, 0.615199089, -1.21084404, 1, 0, 0, 0, 0.866025388, 0.500000238, -0, -0.500000238, 0.866025388))
  492. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.0199900009, 0.0199900009, 0.0199900009),Enum.MeshType.FileMesh,"724804409")
  493. TailMesh.TextureId="rbxassetid://724804426"
  494.  
  495. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  496. local TailWeld=welds(Tail,"TailWeld",tor1,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0164413452, 0.615197182, -2.17293358, 1, 0, 0, 0, 0.866025388, 0.500000238, -0, -0.500000238, 0.866025388))
  497. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.0221500006, 0.0215000007, 0.0215000007),Enum.MeshType.FileMesh,"724806354")
  498. TailMesh.TextureId="rbxassetid://724806370"
  499.  
  500. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  501. local TailWeld=welds(Tail,"TailWeld",tor1,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0317649841, 0.677487373, -3.07471275, 1, 0, 0, 0, 0.866025388, 0.500000238, -0, -0.500000238, 0.866025388))
  502. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.0160000008, 0.0160000008, 0.0160000008),Enum.MeshType.FileMesh,"724808307")
  503. TailMesh.TextureId="rbxassetid://724808317"
  504.  
  505. elseif randomf==3 then
  506. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  507. local PartWeld=welds(Part,"PartWeld",tor1,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.62599683, -2.9747963, -0.0741539001, -5.19999994e-05, -0.998480976, -0.0550980009, -3.30000003e-05, -0.0550980009, 0.998480976, -1, 5.37392407e-05, -3.00847751e-05))
  508. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11830735, 1.11830735, 1.11830723),Enum.MeshType.FileMesh,"45914920")
  509. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  510. local PartWeld=welds(Part,"PartWeld",tor1,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.408844948, -3.56463909, 0.0168571472, -2.90000116e-05, -0.707438231, -0.706775248, 2.90000116e-05, -0.706775248, 0.707438231, -1, 1.92257055e-08, 4.10122047e-05))
  511. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.30469191, 1.30469191, 1.30469179),Enum.MeshType.FileMesh,"45914920")
  512. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  513. local PartWeld=welds(Part,"PartWeld",tor1,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.371618271, -3.63825703, 0.0168609619, -2.90000116e-05, -0.707438231, -0.706775248, 2.90000116e-05, -0.706775248, 0.707438231, -1, 1.92257055e-08, 4.10122047e-05))
  514. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11830735, 1.11830735, 1.11830723),Enum.MeshType.FileMesh,"45914920")
  515. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  516. local PartWeld=welds(Part,"PartWeld",tor1,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0295295715, -0.108186722, 2.5878067, -1, 1.29999999e-05, -5.50000004e-05, -2.96785911e-05, 0.707399249, 0.706814229, 4.80955459e-05, 0.706814229, -0.707399249))
  517. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  518. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  519. local PartWeld=welds(Part,"PartWeld",tor1,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0722866058, 1.70418358, -0.0296897888, -2.00000068e-05, 0.70742023, 0.706793249, 0, 0.706793249, -0.70742023, -1, -1.41484097e-05, -1.41358678e-05))
  520. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11830735, 1.11830735, 1.11830723),Enum.MeshType.FileMesh,"45914920")
  521. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  522. local PartWeld=welds(Part,"PartWeld",tor1,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0299568176, 0.108133316, 2.58780289, 1, 7.9999998e-05, -8.2999999e-05, -2.07128255e-06, -0.707413733, -0.706799746, -0.000115259318, 0.706799746, -0.707413733))
  523. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  524. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  525. local PartWeld=welds(Part,"PartWeld",tor1,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0297164917, -0.108057022, -2.58780861, 1, 0, -3.30000003e-05, 2.3323717e-05, 0.707434237, 0.706779242, 2.3345332e-05, -0.706779242, 0.707434237))
  526. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  527. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  528. local PartWeld=welds(Part,"PartWeld",tor1,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.55275297, -2.19260597, 0.000579833984, 3.50000046e-05, -0.989940107, 0.141487017, -6.20000064e-05, 0.141487017, 0.989940107, -1, -4.34201065e-05, -5.64242473e-05))
  529. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11862481, 1.11862481, 0.771764338),Enum.MeshType.FileMesh,"45914920")
  530. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  531. local PartWeld=welds(Part,"PartWeld",tor1,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0295333862, 0.10787487, -2.58781815, -1, 7.00000019e-05, 0, -4.95238601e-05, -0.707483649, -0.70672965, -4.94710803e-05, -0.70672965, 0.707483649))
  532. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  533.  
  534. elseif randomf==4 then
  535. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  536. local TailWeld=welds(Tail,"TailWeld",tor1,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.1920929e-07, 0.46000886, -1.44207358, 1, 0, 0, 0, 0.965926647, 0.258815914, 0, -0.258815914, 0.965926647))
  537. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.00860000029, 0.00860000029, 0.00860000029),Enum.MeshType.FileMesh,"1090461034")
  538. TailMesh.TextureId="rbxassetid://160671771"
  539.  
  540. elseif randomf==5 then
  541. local Tail=parts(m,"Tail",Vector3.new(1.54882455, 2.94931364, 1.82564664),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  542. local TailWeld=welds(Tail,"TailWeld",tor1,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0942802429, -3.24203277, -1.82473111, 0.999233246, -0.0207640063, -0.0331940092, 0.0261324625, -0.277635038, 0.960331142, -0.029156141, -0.960462213, -0.276879549))
  543. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.926802099, 1.15850294, 0.926802874),Enum.MeshType.FileMesh,"1527559")
  544. local Tail=parts(m,"Tail",Vector3.new(2.15046096, 2.1504612, 2.53481174),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  545. local TailWeld=welds(Tail,"TailWeld",tor1,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0643630028, -2.65595365, 0.711223841, 0.999233365, -0.00478200195, -0.038857013, 0.0145906098, -0.875523686, 0.4829548, -0.0363297202, -0.483151466, -0.874782681))
  546. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1.06126332, 1.32657969, 1.06126416),Enum.MeshType.FileMesh,"1527559")
  547. local Tail=parts(m,"Tail",Vector3.new(2.06805229, 2.06805229, 2.06805229),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  548. local TailWeld=welds(Tail,"TailWeld",tor1,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0543036461, 1.14408493, -1.51761961, 0.999233127, -0.00479500042, -0.0388620049, 0.00889959093, 0.994310737, 0.106145993, 0.0381319374, -0.106410436, 0.993590832))
  549. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1,1,1),Enum.MeshType.Sphere,"")
  550. local Tail=parts(m,"Tail",Vector3.new(1.79162455, 1.79162455, 1.79162455),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  551. local TailWeld=welds(Tail,"TailWeld",tor1,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0542817116, 0.913724184, -1.01084352, 0.999233127, -0.00479500042, -0.0388620049, 0.00889959093, 0.994310737, 0.106145993, 0.0381319374, -0.106410436, 0.993590832))
  552. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1,1,1),Enum.MeshType.Sphere,"")
  553. local Tail=parts(m,"Tail",Vector3.new(1.68042839, 5.04128504, 1.6804297),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  554. local TailWeld=welds(Tail,"TailWeld",tor1,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.63389683, -3.31336451, -0.0124211311, 0.0121870022, 0.970601141, -0.240385026, 0.0372119956, 0.239796117, 0.97010982, 0.999233127, -0.0207679346, -0.0331956074))
  555. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.746856809, 0.746856987, 0.746857703),Enum.MeshType.FileMesh,"16215937")
  556.  
  557. end
  558. elseif tor2 and tor3 then
  559. if randomf==1 then
  560. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  561. local TailWeld=welds(Tail,"TailWeld",tor3,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999927521, 0.799994469, -1.49525185, 1, 4.92077027e-29, 0, 4.92077027e-29, 1, 0, 0, 0, 1))
  562. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1.29999995, 1.29999995, 1.29999995),Enum.MeshType.FileMesh,"791316026")
  563. TailMesh.TextureId="rbxassetid://32447680"
  564.  
  565. elseif randomf==2 then
  566. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  567. local TailWeld=welds(Tail,"TailWeld",tor3,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0114212036, 0.076540947, -0.543827057, 1, 4.92077027e-29, 0, 4.26151211e-29, 0.866025388, 0.500000238, -2.46038634e-29, -0.500000238, 0.866025388))
  568. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.0199900009, 0.0199900009, 0.0199900009),Enum.MeshType.FileMesh,"724804409")
  569. TailMesh.TextureId="rbxassetid://724804426"
  570. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  571. local TailWeld=welds(Tail,"TailWeld",tor3,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0114212036, 0.0765390396, -1.5059166, 1, 4.92077027e-29, 0, 4.26151211e-29, 0.866025388, 0.500000238, -2.46038634e-29, -0.500000238, 0.866025388))
  572. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.0221500006, 0.0215000007, 0.0215000007),Enum.MeshType.FileMesh,"724806354")
  573. TailMesh.TextureId="rbxassetid://724806370"
  574. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  575. local TailWeld=welds(Tail,"TailWeld",tor3,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.036781311, 0.138829231, -2.40769577, 1, 4.92077027e-29, 0, 4.26151211e-29, 0.866025388, 0.500000238, -2.46038634e-29, -0.500000238, 0.866025388))
  576. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.0160000008, 0.0160000008, 0.0160000008),Enum.MeshType.FileMesh,"724808307")
  577. TailMesh.TextureId="rbxassetid://724808317"
  578.  
  579. elseif randomf==3 then
  580. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  581. local PartWeld=welds(Part,"PartWeld",tor3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.843925238, -2.62317848, -0.0257034302, -5.19999994e-05, -0.998480976, -0.0550980009, -3.30000003e-05, -0.0550980009, 0.998480976, -1, 5.37392407e-05, -3.00847751e-05))
  582. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11830735, 1.11830735, 1.11830723),Enum.MeshType.FileMesh,"45914920")
  583. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  584. local PartWeld=welds(Part,"PartWeld",tor3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.757294655, -2.78115463, 0.065372467, -2.90000116e-05, -0.707438231, -0.706775248, 2.90000116e-05, -0.706775248, 0.707438231, -1, 1.92257055e-08, 4.10122047e-05))
  585. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.30469191, 1.30469191, 1.30469179),Enum.MeshType.FileMesh,"45914920")
  586. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  587. local PartWeld=welds(Part,"PartWeld",tor3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.720067978, -2.85477448, 0.0653762817, -2.90000116e-05, -0.707438231, -0.706775248, 2.90000116e-05, -0.706775248, 0.707438231, -1, 1.92257055e-08, 4.10122047e-05))
  588. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11830735, 1.11830735, 1.11830723),Enum.MeshType.FileMesh,"45914920")
  589. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  590. local PartWeld=welds(Part,"PartWeld",tor3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0189476013, -0.456589699, 1.8042984, -1, 1.29999999e-05, -5.50000004e-05, -2.96785911e-05, 0.707399249, 0.706814229, 4.80955459e-05, 0.706814229, -0.707399249))
  591. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  592. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  593. local PartWeld=welds(Part,"PartWeld",tor3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.276143074, 0.920688629, 0.0188236237, -2.00000068e-05, 0.70742023, 0.706793249, 3.47796707e-29, 0.706793249, -0.70742023, -1, -1.41484097e-05, -1.41358678e-05))
  594. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11830735, 1.11830735, 1.11830723),Enum.MeshType.FileMesh,"45914920")
  595. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  596. local PartWeld=welds(Part,"PartWeld",tor3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0186405182, 0.456553459, 1.80430984, 1, 7.9999998e-05, -8.2999999e-05, -2.07128255e-06, -0.707413733, -0.706799746, -0.000115259318, 0.706799746, -0.707413733))
  597. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  598. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  599. local PartWeld=welds(Part,"PartWeld",tor3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0187950134, -0.456501961, -1.80432129, 1, 4.92077027e-29, -3.30000003e-05, 2.3323717e-05, 0.707434237, 0.706779242, 2.3345332e-05, -0.706779242, 0.707434237))
  600. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  601. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  602. local PartWeld=welds(Part,"PartWeld",tor3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.716974258, -2.00093269, 0.0491027832, 3.50000046e-05, -0.989940107, 0.141487017, -6.20000064e-05, 0.141487017, 0.989940107, -1, -4.34201065e-05, -5.64242473e-05))
  603. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11862481, 1.11862481, 0.771764338),Enum.MeshType.FileMesh,"45914920")
  604. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  605. local PartWeld=welds(Part,"PartWeld",tor3,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0189151764, 0.456376076, -1.80435181, -1, 7.00000019e-05, 0, -4.95238601e-05, -0.707483649, -0.70672965, -4.94710803e-05, -0.70672965, 0.707483649))
  606. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  607.  
  608. elseif randomf==4 then
  609. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  610. local TailWeld=welds(Tail,"TailWeld",tor3,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-06, -0.425635099, -1.28332019, 1, -2.76821957e-23, -1.62062088e-06, 4.19442472e-07, 0.965926647, 0.258815914, 1.56540091e-06, -0.258815914, 0.965926647))
  611. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.00860000029, 0.00860000029, 0.00860000029),Enum.MeshType.FileMesh,"1090461034")
  612. TailMesh.TextureId="rbxassetid://160671771"
  613.  
  614. elseif randomf==5 then
  615. local Tail=parts(m,"Tail",Vector3.new(1.54882455, 2.94931364, 1.82564664),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  616. local TailWeld=welds(Tail,"TailWeld",tor3,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0017407909, -3.09211588, -0.936053276, 0.999233186, -0.0207640063, -0.0331956297, 0.0261340197, -0.277635038, 0.960331082, -0.0291565899, -0.960462213, -0.276879489))
  617. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.926802099, 1.15850294, 0.926802874),Enum.MeshType.FileMesh,"1527559")
  618. local Tail=parts(m,"Tail",Vector3.new(2.15046096, 2.1504612, 2.53481174),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  619. local TailWeld=welds(Tail,"TailWeld",tor3,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0144351125, -1.92029297, 1.23408258, 0.999233305, -0.00478200195, -0.0388586335, 0.0145913921, -0.875523686, 0.48295477, -0.0363311395, -0.483151466, -0.874782622))
  620. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1.06126332, 1.32657969, 1.06126416),Enum.MeshType.FileMesh,"1527559")
  621. local Tail=parts(m,"Tail",Vector3.new(2.06805229, 2.06805229, 2.06805229),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  622. local TailWeld=welds(Tail,"TailWeld",tor3,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0245064758, 0.241568685, -1.52395749, 0.999233067, -0.00479500042, -0.0388636254, 0.00889976323, 0.994310737, 0.106145978, 0.0381335467, -0.106410436, 0.993590772))
  623. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1,1,1),Enum.MeshType.Sphere,"")
  624. local Tail=parts(m,"Tail",Vector3.new(1.79162455, 1.79162455, 1.79162455),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  625. local TailWeld=welds(Tail,"TailWeld",tor3,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0245280415, 0.0112080574, -1.01718163, 0.999233067, -0.00479500042, -0.0388636254, 0.00889976323, 0.994310737, 0.106145978, 0.0381335467, -0.106410436, 0.993590772))
  626. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1,1,1),Enum.MeshType.Sphere,"")
  627. local Tail=parts(m,"Tail",Vector3.new(1.68042839, 5.04128504, 1.6804297),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  628. local TailWeld=welds(Tail,"TailWeld",tor3,Tail,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.78932238, -3.62787461, 0.0801220536, 0.0121866129, 0.970601141, -0.240385041, 0.0372135676, 0.239796117, 0.970109761, 0.999233067, -0.0207679346, -0.0331972279))
  629. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.746856809, 0.746856987, 0.746857703),Enum.MeshType.FileMesh,"16215937")
  630.  
  631. end
  632. end
  633.  
  634. end
  635.  
  636. end
  637. end
  638. end))
  639. for i=1,14 do
  640. swait()
  641. Button.CFrame=Button.CFrame:Lerp(orig,.32)
  642. end
  643. doing=false
  644. end)
  645.  
  646. swait()
  647. script.Parent=Button
  648. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement