Advertisement
5325325325

Untitled

Oct 17th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.94 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = owner
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local h,t
  75. --Give the server mouse data 30 times every second, but only if the values changed
  76. --If player is not moving their mouse, client won't fire events
  77. while wait(1/30) do
  78. if h~=Mouse.Hit or t~=Mouse.Target then
  79. h,t=Mouse.Hit,Mouse.Target
  80. Event:FireServer({isMouse=true,Target=t,Hit=h})
  81. end
  82. end]==],Player.Character)
  83. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  84. end
  85.  
  86. --[[Salvo_Starly[Salvy].Thingy_2018.7]]--
  87. --[[Project Name: https://cdn.discordapp.com/attachments/459898357855420417/470482392667389972/unknown.png ]]--
  88. --[[help]]--
  89. --[[Run in Non-local btw]]--
  90. --[[and i can't even find fox shirt/pants because]]--
  91. chr=game:GetService("Players").the770zone.Character
  92. Rooot=chr.HumanoidRootPart
  93. create=LoadLibrary("RbxUtility").Create
  94.  
  95. ArtificialHB=create("BindableEvent"){
  96. Parent=script,
  97. Name="Heartbeat"}
  98.  
  99. script:WaitForChild("Heartbeat")
  100.  
  101. frame=0.0166666666666666667
  102. tf=0
  103. allowframeloss=false
  104. tossremainder=false
  105. lastframe=tick()
  106. script.Heartbeat:Fire()
  107.  
  108. game:GetService("RunService").Heartbeat:connect(function(s,p)
  109. tf=tf+s
  110. if tf >=frame then
  111. if allowframeloss then
  112. script.Heartbeat:Fire()
  113. lastframe=tick()
  114. else
  115. for i=1,math.floor(tf/frame) do
  116. script.Heartbeat:Fire()
  117. end
  118. lastframe=tick()
  119. end
  120. if tossremainder then
  121. tf=0
  122. else
  123. tf=tf-frame*math.floor(tf/frame)
  124. end
  125. end
  126. end)
  127.  
  128. function swait(num)
  129. if num==0 or num==nil then
  130. ArtificialHB.Event:wait()
  131. else
  132. for i=0,num do
  133. ArtificialHB.Event:wait()
  134. end
  135. end
  136. end
  137.  
  138.  
  139. function rayCast(Position,Direction,Range,Ignore)
  140. return game:service("Workspace"):FindPartOnRay(Ray.new(Position,Direction.unit*(Range or 999.999)),Ignore)
  141. end
  142.  
  143. function NoOutline(Part)
  144. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface=10,10,10,10,10,10
  145. end
  146.  
  147. function parts2(Par,name,size,color,mat,ref,tra)
  148. local part=create("Part"){
  149. Parent=Par,
  150. Name=name,
  151. Size=size,
  152. CanCollide=true,
  153. Anchored=true,
  154. BrickColor=BrickColor.new(color),
  155. Material=mat,
  156. Reflectance=ref,
  157. Transparency=tra}
  158. --Position=Torso.Position}
  159. NoOutline(part)
  160. part:BreakJoints()
  161. return part
  162. end
  163.  
  164. function parts(Par,name,size,color,mat,ref,tra)
  165. local part=create("Part"){
  166. Parent=Par,
  167. Name=name,
  168. Size=size,
  169. CanCollide=false,
  170. Anchored=false,
  171. BrickColor=BrickColor.new(color),
  172. Material=mat,
  173. Reflectance=ref,
  174. Transparency=tra}
  175. --Position=Torso.Position}
  176. NoOutline(part)
  177. part:BreakJoints()
  178. return part
  179. end
  180.  
  181. function meshs(Par,name,scale,mtype,id)
  182. local mesh=create("SpecialMesh"){
  183. Parent=Par,
  184. Name=name,
  185. Scale=scale,
  186. MeshType=mtype}
  187. if id~="" then
  188. mesh.MeshId="rbxassetid://"..id
  189. end
  190. return mesh
  191. end
  192.  
  193. function welds(Par,name,p0,p1,c0,c1)
  194. local weld=create("Weld"){
  195. Parent=Par,
  196. Name=name,
  197. Part0=p0,
  198. Part1=p1,
  199. C0=c0,
  200. C1=c1}
  201. return weld
  202. end
  203.  
  204. function sounds(Par,id,vol,pit)
  205. local sound=create("Sound"){
  206. Parent=Par,
  207. SoundId="rbxassetid://"..id,
  208. Volume=vol,
  209. PlaybackSpeed=pit}
  210. sound:Play()
  211. game:GetService("Debris"):AddItem(sound,10)
  212. return sound
  213. end
  214.  
  215. function pssounds(Par,id,vol,pit,octave,pri)
  216. local psound=create("Sound"){
  217. Parent=Par,
  218. SoundId="rbxassetid://"..id,
  219. Volume=vol,
  220. PlaybackSpeed=pit,
  221. MaxDistance=66666666}
  222. psound:Play()
  223. local pitch=create("PitchShiftSoundEffect"){
  224. Parent=psound,
  225. Octave=octave,
  226. Priority=2,
  227. Enabled=true
  228. }
  229. game:GetService("Debris"):AddItem(psound,10)
  230. return psound
  231. end
  232.  
  233. function particles(par,zoff,color,id,lemi,linf,direct,sizmin,sizmax,tramin,tramax,lifemin,lifemax,rotmin,rotmax,speed,velocity,lock,timelimit)
  234. local aaa=NumberSequence.new({NumberSequenceKeypoint.new(0, sizmin),NumberSequenceKeypoint.new(1, sizmax)})
  235. local bbb=NumberSequence.new({NumberSequenceKeypoint.new(0, tramin),NumberSequenceKeypoint.new(1, tramax)})
  236. local parti=create("ParticleEmitter"){
  237. Color=ColorSequence.new(BrickColor.new(color).Color),
  238. LightEmission=lemi,
  239. LightInfluence=linf,
  240. Texture="rbxassetid://"..id,
  241. Transparency=bbb,
  242. Size=aaa,
  243. ZOffset=zoff,
  244. --Acceleration=Vector3.new(0, 2, 0),
  245. LockedToPart=lock,
  246. EmissionDirection=direct,
  247. Lifetime=NumberRange.new(lifemin,lifemax),
  248. Rate=12000,
  249. Rotation=NumberRange.new(-360, 360),
  250. RotSpeed=NumberRange.new(-rotmin, rotmax),
  251. Speed=NumberRange.new(speed),
  252. VelocitySpread=velocity,
  253. Enabled=true,
  254. Parent=par
  255. }
  256. if timelimit~=nil then
  257. coroutine.resume(coroutine.create(function(p)
  258. swait(timelimit)
  259. parti.Enabled=false
  260. end),parti)
  261. game:GetService("Debris"):AddItem(parti,10)
  262. end
  263. return parti
  264. end
  265.  
  266. mh=Instance.new("Model",workspace)
  267. mh.Name="Sh"
  268.  
  269. ref=parts2(mh,"ha",Vector3.new(.2,.2,.2),"Dark green",Enum.Material.SmoothPlastic,0,1)
  270. ref.Anchored=true
  271. ref.CFrame=Rooot.CFrame*CFrame.new(0,0,-15)
  272. local hit=nil
  273. local pos
  274. repeat
  275. swait()
  276. ref.CFrame=Rooot.CFrame*CFrame.new(0,0,-15)
  277. hit,pos=rayCast(ref.Position,-ref.CFrame.upVector,300,chr)
  278. until hit~=nil
  279.  
  280. if hit~=nil then
  281. ref.CFrame=CFrame.new(pos)
  282. Ground=parts2(mh,"Ground",Vector3.new(16, 0.300000001, 16),"Dark green",Enum.Material.SmoothPlastic,0,0)
  283. --Ground.CFrame=Ground.CFrame*CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  284. Ground.CFrame=ref.CFrame*CFrame.Angles(0,math.rad(math.random(-360,360)),0)
  285. Ground.BrickColor=hit.BrickColor
  286. Ground.Material=hit.Material
  287. Ground.BackSurface=hit.BackSurface
  288. Ground.BottomSurface=hit.BottomSurface
  289. Ground.FrontSurface=hit.FrontSurface
  290. Ground.LeftSurface=hit.LeftSurface
  291. Ground.RightSurface=hit.RightSurface
  292. Ground.TopSurface=hit.TopSurface
  293. Part=parts2(mh,"Part",Vector3.new(1.00000095, 4.19999838, 1.19999981),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
  294. Part.CFrame=Ground.CFrame*CFrame.new(0, 2.05000019, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  295. BM=create("BlockMesh"){
  296. Parent=Part,
  297. Scale=Vector3.new(.99,.99,.99)
  298. }
  299. Part=parts2(mh,"Part",Vector3.new(2.40000081, 0.99999845, 2.59999943),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
  300. 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)
  301. BM=create("BlockMesh"){
  302. Parent=Part,
  303. Scale=Vector3.new(.99,.99,.99)
  304. }
  305. Part=parts2(mh,"Part",Vector3.new(0.100000001, 4.19999838, 0.0999996886),"Really black",Enum.Material.SmoothPlastic,0,0)
  306. Part.CFrame=Ground.CFrame*CFrame.new(-0.450000763, 2.05000019, -0.550002098, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  307. Part=parts2(mh,"Part",Vector3.new(0.100000001, 4.19999838, 0.0999996886),"Really black",Enum.Material.SmoothPlastic,0,0)
  308. Part.CFrame=Ground.CFrame*CFrame.new(-0.450000763, 2.05000019, 0.550002098, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  309. Part=parts2(mh,"Part",Vector3.new(0.100000001, 4.19999838, 0.0999996886),"Really black",Enum.Material.SmoothPlastic,0,0)
  310. Part.CFrame=Ground.CFrame*CFrame.new(0.449998379, 2.05000019, 0.550002098, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  311. Part=parts2(mh,"Part",Vector3.new(0.100000001, 4.19999838, 0.0999996886),"Really black",Enum.Material.SmoothPlastic,0,0)
  312. Part.CFrame=Ground.CFrame*CFrame.new(0.449998379, 2.05000019, -0.550002098, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  313. Part=parts2(mh,"Part",Vector3.new(0.100000001, 0.0999981984, 2.60000014),"Really black",Enum.Material.SmoothPlastic,0,0)
  314. 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)
  315. Part=parts2(mh,"Part",Vector3.new(1.00000012, 0.0999981984, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  316. 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)
  317. Part=parts2(mh,"Part",Vector3.new(0.100000001, 0.0999981984, 2.60000014),"Really black",Enum.Material.SmoothPlastic,0,0)
  318. 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)
  319. Part=parts2(mh,"Part",Vector3.new(1.00000012, 0.0999981984, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  320. 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)
  321. Part=parts2(mh,"Part",Vector3.new(0.100000001, 0.0999981984, 2.60000014),"Really black",Enum.Material.SmoothPlastic,0,0)
  322. 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)
  323. Part=parts2(mh,"Part",Vector3.new(0.100000001, 0.0999981984, 2.60000014),"Really black",Enum.Material.SmoothPlastic,0,0)
  324. 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)
  325. Part=parts2(mh,"Part",Vector3.new(1.00000012, 0.0999981984, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  326. 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)
  327. Part=parts2(mh,"Part",Vector3.new(1.00000012, 0.0999981984, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  328. 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)
  329. Part=parts2(mh,"Part",Vector3.new(0.100000001, 2.39999819, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  330. 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)
  331. Part=parts2(mh,"Part",Vector3.new(0.100000001, 2.39999819, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  332. 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)
  333. Part=parts2(mh,"Part",Vector3.new(0.100000001, 2.39999819, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  334. 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)
  335. Part=parts2(mh,"Part",Vector3.new(0.100000001, 2.39999819, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
  336. 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)
  337. Button=parts2(mh,"Button",Vector3.new(1, 0.400000006, 1),"Persimmon",Enum.Material.SmoothPlastic,0,0)
  338. 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)
  339. CM=create("CylinderMesh"){
  340. Parent=Button,
  341. }
  342. SG=create("SurfaceGui"){
  343. Parent=Button,
  344. CanvasSize=Vector2.new(220,220),
  345. LightInfluence=0,
  346. Face="Top"
  347. }
  348. TL=create("TextLabel"){
  349. Parent=SG,
  350. AnchorPoint=Vector2.new(.5,.5),
  351. Size=UDim2.new(1,0,1,0),
  352. Position=UDim2.new(.5,0,.5,0),
  353. BackgroundTransparency=1,
  354. Text="BooP",
  355. Font="SourceSansBold",
  356. TextScaled=true,
  357. TextWrapped=true
  358. }
  359.  
  360. CD=create("ClickDetector"){
  361. Parent=Button,
  362. MaxActivationDistance=5
  363. }
  364. local doing=false
  365. CD.MouseClick:connect(function(plr)
  366. if doing then return end
  367. doing=true
  368. print(plr.Name)
  369. local orig=Button.CFrame
  370. pssounds(Button,"190411970",1.3,1,1.7,3)
  371.  
  372. for i=1,15 do
  373. swait()
  374. Button.CFrame=Button.CFrame:Lerp(orig*CFrame.new(0,-.22,0),.2)
  375. end
  376. coroutine.resume(coroutine.create(function()
  377. swait(20)
  378. local chr=plr.Character
  379. if not chr:findFirstChild("hfyuhhhh") then
  380. local turning=create("ObjectValue"){
  381. Parent=chr,
  382. Name="hfyuhhhh",}
  383. game:GetService("Debris"):AddItem(turning,4)
  384. if not chr:findFirstChild("furrified") or chr:findFirstChild("furrified").Value~="amidoneyet" then
  385. local heed=chr:findFirstChild("Head")
  386. if heed then
  387. sounds(heed,"1274525620",2,1)
  388. swait(120)
  389. sounds(heed,"1042362525",1.5,1)
  390. local isfurrifiedornot=create("StringValue"){
  391. Parent=chr,
  392. Name="furrified",
  393. Value="amidoneyet"
  394. }
  395.  
  396. local shirt
  397. local pants
  398. local bcolor
  399. if chr:findFirstChildOfClass("Shirt") then
  400. shirt=chr:findFirstChildOfClass("Shirt")
  401. else
  402. shirt=create("Shirt"){
  403. Parent=chr}
  404. end
  405.  
  406. if chr:findFirstChildOfClass("Pants") then
  407. pants=chr:findFirstChildOfClass("Pants")
  408. else
  409. pants=create("Pants"){
  410. Parent=chr}
  411. end
  412.  
  413. if chr:findFirstChildOfClass("BodyColors") then
  414. bcolor=chr:findFirstChildOfClass("BodyColors")
  415. end
  416.  
  417. if chr:findFirstChildOfClass("ShirtGraphic") then
  418. chr:findFirstChildOfClass("ShirtGraphic"):Remove()
  419. end
  420.  
  421. for _,c in pairs(chr:children()) do
  422. local ha1=string.match(c.Name,"Ear")
  423. local ha2=string.match(c.Name,"Tail")
  424. if ha1 then
  425. c:Remove()
  426. end
  427. if ha2 then
  428. c:Remove()
  429. end
  430. end
  431.  
  432. local m=Instance.new("Model",chr)
  433. m.Name="enjoy"
  434.  
  435. local bc={}
  436. local asset="rbxassetid://"
  437. local randomf=math.random(1,5)
  438. if randomf==1 then
  439. shirt.ShirtTemplate=asset.."22600739"
  440. pants.PantsTemplate=asset.."22601914"
  441. bc={1,1,1}
  442. local Ear=parts(m,"Ear",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  443. 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))
  444. local EarMesh=meshs(Ear,"Mesh",Vector3.new(0.5, 0.5, 0.5),Enum.MeshType.FileMesh,"361948302")
  445. EarMesh.TextureId="rbxassetid://32447680"
  446.  
  447.  
  448. elseif randomf==2 then
  449. shirt.ShirtTemplate=asset.."85870930"
  450. pants.PantsTemplate=asset.."85856446"
  451. bc={218/255,154/255,90/255}
  452. local Ear=parts(m,"Ear",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  453. 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))
  454. local EarMesh=meshs(Ear,"Mesh",Vector3.new(0.5, 0.5, 0.5),Enum.MeshType.FileMesh,"361948302")
  455. EarMesh.TextureId="rbxassetid://382112958"
  456.  
  457. elseif randomf==3 then
  458. shirt.ShirtTemplate=asset.."115316811"
  459. pants.PantsTemplate=asset.."115316833"
  460. bc={253/255,229/255,154/255}
  461. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  462. 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))
  463. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  464. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  465. 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))
  466. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  467. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  468. 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))
  469. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  470. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  471. 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))
  472. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  473. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  474. 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))
  475. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  476. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  477. 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))
  478. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  479. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  480. 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))
  481. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  482. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.81210357, 0.81210345),"Bright red",Enum.Material.SmoothPlastic,0,0)
  483. 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))
  484. local HairMesh=meshs(Hair,"Mesh",Vector3.new(0.406051725, 2.43631077, 0.812103391),Enum.MeshType.FileMesh,"9944765")
  485. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.81210357, 0.81210345),"Bright red",Enum.Material.SmoothPlastic,0,0)
  486. 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))
  487. local HairMesh=meshs(Hair,"Mesh",Vector3.new(0.406051725, 2.43631077, 0.812103391),Enum.MeshType.FileMesh,"9944765")
  488. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  489. 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))
  490. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  491. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  492. 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))
  493. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  494. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.32484144, 0.81210345),"Navy blue",Enum.Material.SmoothPlastic,0,0)
  495. 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))
  496. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  497. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.81210357, 0.81210345),"Bright red",Enum.Material.SmoothPlastic,0,0)
  498. 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))
  499. local HairMesh=meshs(Hair,"Mesh",Vector3.new(0.406051725, 2.43631077, 0.812103391),Enum.MeshType.FileMesh,"9944765")
  500. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.81210357, 0.81210345),"Bright red",Enum.Material.SmoothPlastic,0,0)
  501. 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))
  502. local HairMesh=meshs(Hair,"Mesh",Vector3.new(0.406051725, 2.43631077, 0.812103391),Enum.MeshType.FileMesh,"9944765")
  503. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 0.81210357, 0.81210345),"Bright red",Enum.Material.SmoothPlastic,0,0)
  504. 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))
  505. local HairMesh=meshs(Hair,"Mesh",Vector3.new(0.406051725, 2.43631077, 0.812103391),Enum.MeshType.FileMesh,"9944765")
  506. local Hair=parts(m,"Hair",Vector3.new(0.81210357, 2.92357278, 1.6242069),"Bright red",Enum.Material.SmoothPlastic,0,0)
  507. 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))
  508. local HairMesh=meshs(Hair,"Mesh",Vector3.new(1.5, 1, 1),Enum.MeshType.Sphere,"")
  509.  
  510. elseif randomf==4 then
  511. shirt.ShirtTemplate=asset.."1439583280"
  512. pants.PantsTemplate=asset.."1439568311"
  513. bc={99/255,95/255,98/255}
  514. local Hair=parts(m,"Hair",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  515. 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))
  516. local HairMesh=meshs(Hair,"Mesh",Vector3.new(0.00400000019, 0.00400000019, 0.00400000019),Enum.MeshType.FileMesh,"1090451665")
  517. HairMesh.TextureId="rbxassetid://1089187398"
  518. local Ear=parts(m,"Ear",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  519. 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))
  520. local EarMesh=meshs(Ear,"Mesh",Vector3.new(0.699999988, 0.699999988, 0.699999988),Enum.MeshType.FileMesh,"2038789971")
  521. EarMesh.TextureId="rbxassetid://160671771"
  522. local Ear=parts(m,"Ear",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Black",Enum.Material.Plastic,0,0)
  523. 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))
  524. local EarMesh=meshs(Ear,"Mesh",Vector3.new(0.550000012, 0.400000006, 0.600000024),Enum.MeshType.FileMesh,"2038789971")
  525.  
  526. elseif randomf==5 then
  527. shirt.ShirtTemplate=asset.."170964235"
  528. pants.PantsTemplate=asset.."170962374"
  529. bc={248/255,220/255,116/255}
  530. local EarFur=parts(m,"EarFur",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Br. reddish orange",Enum.Material.Plastic,0,0)
  531. 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))
  532. local EarFurMesh=meshs(EarFur,"Mesh",Vector3.new(0.0450000018, 0.0399999991, 0.0299999993),Enum.MeshType.FileMesh,"1902315254")
  533. local Ear=parts(m,"Ear",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  534. 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))
  535. local EarMesh=meshs(Ear,"Mesh",Vector3.new(0.600000024, 0.600000024, 1),Enum.MeshType.FileMesh,"361948302")
  536. EarMesh.TextureId="rbxassetid://382107464"
  537.  
  538. end
  539.  
  540. bcolor.HeadColor3=Color3.new(bc[1],bc[2],bc[3])
  541. bcolor.LeftArmColor3=Color3.new(bc[1],bc[2],bc[3])
  542. bcolor.RightArmColor3=Color3.new(bc[1],bc[2],bc[3])
  543. bcolor.LeftLegColor3=Color3.new(bc[1],bc[2],bc[3])
  544. bcolor.RightLegColor3=Color3.new(bc[1],bc[2],bc[3])
  545. bcolor.TorsoColor3=Color3.new(bc[1],bc[2],bc[3])
  546.  
  547.  
  548. local tor1=chr:findFirstChild("Torso")
  549. local tor2=chr:findFirstChild("UpperTorso")
  550. local tor3=chr:findFirstChild("LowerTorso")
  551. if tor1 then
  552. local p1=particles(tor1,1.8,"Black","390022172",.3,0,"Top",13,.1,0,1,1,1.2,-55,55,26,10000,false,15)
  553. p1.Acceleration=Vector3.new(0, 15, 0)
  554. p1.Color=ColorSequence.new(Color3.new(bc[1],bc[2],bc[3]))
  555. p1.Speed=NumberRange.new(-26,26)
  556. local p2=particles(tor1,1.5,"Black","390022172",.3,0,"Top",13,.1,0,1,1,1.2,-55,55,26,10000,false,15)
  557. p2.Acceleration=Vector3.new(0, 15, 0)
  558. p2.Color=ColorSequence.new(Color3.new(bc[1],bc[2],bc[3]))
  559. p2.Speed=NumberRange.new(-26,26)
  560. local p3=particles(tor1,1.2,"Black","390022172",.3,0,"Top",13,.1,0,1,1,1.2,-55,55,26,10000,false,15)
  561. p3.Acceleration=Vector3.new(0, 15, 0)
  562. p3.Color=ColorSequence.new(Color3.new(bc[1],bc[2],bc[3]))
  563. p3.Speed=NumberRange.new(-26,26)
  564. local p4=particles(tor1,.9,"Black","390022172",.3,0,"Top",13,.1,0,1,1,1.2,-55,55,26,10000,false,15)
  565. p4.Acceleration=Vector3.new(0, 15, 0)
  566. p4.Color=ColorSequence.new(Color3.new(bc[1],bc[2],bc[3]))
  567. p4.Speed=NumberRange.new(-26,26)
  568. if randomf==1 then
  569. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  570. 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))
  571. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1.29999995, 1.29999995, 1.29999995),Enum.MeshType.FileMesh,"791316026")
  572. TailMesh.TextureId="rbxassetid://32447680"
  573.  
  574. elseif randomf==2 then
  575. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  576. 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))
  577. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.0199900009, 0.0199900009, 0.0199900009),Enum.MeshType.FileMesh,"724804409")
  578. TailMesh.TextureId="rbxassetid://724804426"
  579.  
  580. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  581. 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))
  582. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.0221500006, 0.0215000007, 0.0215000007),Enum.MeshType.FileMesh,"724806354")
  583. TailMesh.TextureId="rbxassetid://724806370"
  584.  
  585. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  586. 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))
  587. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.0160000008, 0.0160000008, 0.0160000008),Enum.MeshType.FileMesh,"724808307")
  588. TailMesh.TextureId="rbxassetid://724808317"
  589.  
  590. elseif randomf==3 then
  591. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  592. 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))
  593. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11830735, 1.11830735, 1.11830723),Enum.MeshType.FileMesh,"45914920")
  594. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  595. 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))
  596. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.30469191, 1.30469191, 1.30469179),Enum.MeshType.FileMesh,"45914920")
  597. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  598. 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))
  599. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11830735, 1.11830735, 1.11830723),Enum.MeshType.FileMesh,"45914920")
  600. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  601. 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))
  602. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  603. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  604. 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))
  605. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11830735, 1.11830735, 1.11830723),Enum.MeshType.FileMesh,"45914920")
  606. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  607. 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))
  608. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  609. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  610. 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))
  611. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  612. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  613. 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))
  614. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11862481, 1.11862481, 0.771764338),Enum.MeshType.FileMesh,"45914920")
  615. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  616. 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))
  617. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  618.  
  619. elseif randomf==4 then
  620. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  621. 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))
  622. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.00860000029, 0.00860000029, 0.00860000029),Enum.MeshType.FileMesh,"1090461034")
  623. TailMesh.TextureId="rbxassetid://160671771"
  624.  
  625. elseif randomf==5 then
  626. local Tail=parts(m,"Tail",Vector3.new(1.54882455, 2.94931364, 1.82564664),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  627. 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))
  628. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.926802099, 1.15850294, 0.926802874),Enum.MeshType.FileMesh,"1527559")
  629. local Tail=parts(m,"Tail",Vector3.new(2.15046096, 2.1504612, 2.53481174),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  630. 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))
  631. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1.06126332, 1.32657969, 1.06126416),Enum.MeshType.FileMesh,"1527559")
  632. local Tail=parts(m,"Tail",Vector3.new(2.06805229, 2.06805229, 2.06805229),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  633. 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))
  634. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1,1,1),Enum.MeshType.Sphere,"")
  635. local Tail=parts(m,"Tail",Vector3.new(1.79162455, 1.79162455, 1.79162455),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  636. 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))
  637. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1,1,1),Enum.MeshType.Sphere,"")
  638. local Tail=parts(m,"Tail",Vector3.new(1.68042839, 5.04128504, 1.6804297),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  639. 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))
  640. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.746856809, 0.746856987, 0.746857703),Enum.MeshType.FileMesh,"16215937")
  641.  
  642. end
  643. elseif tor2 and tor3 then
  644. if randomf==1 then
  645. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  646. 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))
  647. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1.29999995, 1.29999995, 1.29999995),Enum.MeshType.FileMesh,"791316026")
  648. TailMesh.TextureId="rbxassetid://32447680"
  649.  
  650. elseif randomf==2 then
  651. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  652. 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))
  653. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.0199900009, 0.0199900009, 0.0199900009),Enum.MeshType.FileMesh,"724804409")
  654. TailMesh.TextureId="rbxassetid://724804426"
  655. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  656. 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))
  657. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.0221500006, 0.0215000007, 0.0215000007),Enum.MeshType.FileMesh,"724806354")
  658. TailMesh.TextureId="rbxassetid://724806370"
  659. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  660. 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))
  661. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.0160000008, 0.0160000008, 0.0160000008),Enum.MeshType.FileMesh,"724808307")
  662. TailMesh.TextureId="rbxassetid://724808317"
  663.  
  664. elseif randomf==3 then
  665. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  666. 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))
  667. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11830735, 1.11830735, 1.11830723),Enum.MeshType.FileMesh,"45914920")
  668. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  669. 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))
  670. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.30469191, 1.30469191, 1.30469179),Enum.MeshType.FileMesh,"45914920")
  671. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  672. 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))
  673. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11830735, 1.11830735, 1.11830723),Enum.MeshType.FileMesh,"45914920")
  674. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  675. 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))
  676. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  677. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  678. 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))
  679. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11830735, 1.11830735, 1.11830723),Enum.MeshType.FileMesh,"45914920")
  680. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  681. 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))
  682. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  683. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  684. 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))
  685. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  686. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Cyan",Enum.Material.SmoothPlastic,0,0)
  687. 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))
  688. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.11862481, 1.11862481, 0.771764338),Enum.MeshType.FileMesh,"45914920")
  689. local Part=parts(m,"Part",Vector3.new(0.931922793, 0.931922793, 0.931922674),"Bright blue",Enum.Material.SmoothPlastic,0,0)
  690. 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))
  691. local PartMesh=meshs(Part,"Mesh",Vector3.new(1.86384571, 1.86384571, 0.931922734),Enum.MeshType.FileMesh,"9944765")
  692.  
  693. elseif randomf==4 then
  694. local Tail=parts(m,"Tail",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Plastic,0,0)
  695. 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))
  696. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.00860000029, 0.00860000029, 0.00860000029),Enum.MeshType.FileMesh,"1090461034")
  697. TailMesh.TextureId="rbxassetid://160671771"
  698.  
  699. elseif randomf==5 then
  700. local Tail=parts(m,"Tail",Vector3.new(1.54882455, 2.94931364, 1.82564664),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  701. 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))
  702. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.926802099, 1.15850294, 0.926802874),Enum.MeshType.FileMesh,"1527559")
  703. local Tail=parts(m,"Tail",Vector3.new(2.15046096, 2.1504612, 2.53481174),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  704. 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))
  705. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1.06126332, 1.32657969, 1.06126416),Enum.MeshType.FileMesh,"1527559")
  706. local Tail=parts(m,"Tail",Vector3.new(2.06805229, 2.06805229, 2.06805229),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  707. 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))
  708. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1,1,1),Enum.MeshType.Sphere,"")
  709. local Tail=parts(m,"Tail",Vector3.new(1.79162455, 1.79162455, 1.79162455),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  710. 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))
  711. local TailMesh=meshs(Tail,"Mesh",Vector3.new(1,1,1),Enum.MeshType.Sphere,"")
  712. local Tail=parts(m,"Tail",Vector3.new(1.68042839, 5.04128504, 1.6804297),"Daisy orange",Enum.Material.SmoothPlastic,0,0)
  713. 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))
  714. local TailMesh=meshs(Tail,"Mesh",Vector3.new(0.746856809, 0.746856987, 0.746857703),Enum.MeshType.FileMesh,"16215937")
  715.  
  716. end
  717. end
  718.  
  719. end
  720.  
  721. end
  722. end
  723. end))
  724. for i=1,14 do
  725. swait()
  726. Button.CFrame=Button.CFrame:Lerp(orig,.32)
  727. end
  728. doing=false
  729. end)
  730.  
  731. swait()
  732. script.Parent=Button
  733. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement