Advertisement
XDMANFROMXDWORLD

ROBLOX BooP FE

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