Advertisement
HenloMyDude

egg (wip)

Dec 30th, 2019
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.61 KB | None | 0 0
  1.  
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("hi")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6.  
  7. plr = owner
  8. char = plr.Character
  9. ra = char["Right Arm"]
  10. la = char["Left Arm"]
  11. hed = char.Head
  12. root = char.HumanoidRootPart
  13. hum = char.Humanoid
  14. dancin = false
  15.  
  16. clerp = function(toclerp, cf, number)
  17. local joint = toclerp
  18. joint.C0 = joint.C0:Lerp(cf, number)
  19. end
  20.  
  21. clerp2 = function(toclerp, cf)
  22. local joint = toclerp
  23. joint.C0 = cf
  24. end
  25.  
  26. clerp3 = function(toclerp, cf, number)
  27. local joint = toclerp
  28. joint.C1 = joint.C1:Lerp(cf, number)
  29. end
  30.  
  31. Swait,swait = function(number)
  32. if number == 0 or number == nil then
  33. game:GetService("RunService").Heartbeat:Wait()
  34. else
  35. for i = 1,number do
  36. game:GetService("RunService").Heartbeat:Wait()
  37. end
  38. end
  39. end
  40.  
  41. ezweld = function(p, a, b, cf)
  42. local weld = Instance.new("Weld",p)
  43. weld.Part0 = a
  44. weld.Part1 = b
  45. weld.C0 = cf
  46. return weld
  47. end
  48.  
  49. NewSound = function(p, id, pit, vol, loop)
  50. local Sound = Instance.new("Sound",p)
  51. Sound.Pitch = pit
  52. Sound.Volume = vol
  53. Sound.SoundId = "rbxassetid://" ..id
  54. Sound.Looped = loop
  55. Sound:Play()
  56. return Sound
  57. end
  58.  
  59. IT = Instance.new
  60. Rad = math.rad
  61. Cos = math.cos
  62. Sin = math.sin
  63. BrickC = BrickColor.new
  64. C3 = Color3.new
  65. VT = Vector3.new
  66.  
  67. anim = "Idle"
  68. attack = false
  69. local RS = char.Torso["Right Shoulder"]
  70. local LS = char.Torso["Left Shoulder"]
  71. local RH = char.Torso["Right Hip"]
  72. local LH = char.Torso["Left Hip"]
  73. local neck = char.Torso["Neck"]
  74. local animate = char.Animate
  75. local root = char.HumanoidRootPart
  76. local rootj = root.RootJoint
  77. local sine = 0
  78. local RSnor = RS.C0
  79. local LSnor = LS.C0
  80. local RHnor = RH.C0
  81. local LHnor = LH.C0
  82. local rootjnor = rootj.C0
  83. local necknor = neck.C0
  84. local tors = char.Torso
  85. hum.Animator:remove()
  86. mouse = plr:GetMouse()
  87. hold = false
  88. Debris = game:GetService("Debris")
  89.  
  90. local halocolor = BrickColor.new("Pastel light blue")
  91. local larm = la
  92. local rarm = ra
  93. maincolor = BrickColor.new("Really red")
  94.  
  95. function RayCast(Position, Direction, Range, Ignore)
  96. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  97. end
  98.  
  99. local m = Instance.new("Model",char)
  100. local m2 = Instance.new("Model",char)
  101. local m3 = Instance.new("Model",char)
  102. local mw1 = Instance.new("Model",char)
  103. local mw2 = Instance.new("Model",char)
  104.  
  105. local extrawingmod1 = Instance.new("Model",char)
  106. local extrawingmod2 = Instance.new("Model",char)
  107.  
  108. New = function(Object, Parent, Name, Data)
  109. local Object = Instance.new(Object)
  110. for Index, Value in pairs(Data or {}) do
  111. Object[Index] = Value
  112. end
  113. Object.Parent = Parent
  114. Object.Name = Name
  115. return Object
  116. end
  117. local halocolor = BrickColor.new("Pastel light blue")
  118. local halocolor2 = BrickColor.new("Cool yellow")
  119. local starcolor = BrickColor.new("Bright yellow")
  120. local lunacolor = BrickColor.new("Navy blue")
  121. local lunacolor2 = BrickColor.new("Bright blue")
  122. local wepcolor = BrickColor.new("Really black")
  123. local maincolor = BrickColor.new("Really black")
  124. local m = Instance.new("Model",char)
  125. local m2 = Instance.new("Model",char)
  126. local m3 = Instance.new("Model",char)
  127. local mw1 = Instance.new("Model",char)
  128. local mw2 = Instance.new("Model",char)
  129.  
  130. local extrawingmod1 = Instance.new("Model",char)
  131. local extrawingmod2 = Instance.new("Model",char)
  132.  
  133. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  134. local p = Instance.new("Part")
  135. p.TopSurface = 0
  136. p.BottomSurface = 0
  137. p.Parent = parent
  138. p.Size = Vector3.new(0.1,0.1,0.1)
  139. p.Transparency = transparency
  140. p.Reflectance = reflectance
  141. p.CanCollide = false
  142. p.Locked = true
  143. p.BrickColor = brickcolor
  144. p.Material = material
  145. return p
  146. end
  147.  
  148. function CreateMesh(parent,meshtype,x1,y1,z1)
  149. local mesh = Instance.new("SpecialMesh",parent)
  150. mesh.MeshType = meshtype
  151. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  152. return mesh
  153. end
  154.  
  155. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  156. local mesh = Instance.new("SpecialMesh",parent)
  157. mesh.MeshType = "FileMesh"
  158. mesh.MeshId = meshid
  159. mesh.Scale = Vector3.new(x1,y1,z1)
  160. return mesh
  161. end
  162.  
  163.  
  164. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  165. local mesh = Instance.new("SpecialMesh",parent)
  166. mesh.MeshType = "FileMesh"
  167. mesh.MeshId = meshid
  168. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  169. mesh.Scale = Vector3.new(x1,y1,z1)
  170. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  171. return mesh
  172. end
  173.  
  174. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  175. local weld = Instance.new("Weld")
  176. weld.Parent = parent
  177. weld.Part0 = part0
  178. weld.Part1 = part1
  179. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  180. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  181. return weld
  182. end
  183.  
  184. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  185. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  186. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  187. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  188.  
  189. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  190. CreateMesh(handle,"Brick",0,0,0)
  191. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  192. local valuaring = 10
  193. for i = 0, 49 do
  194. valuaring = valuaring + 10
  195. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  196. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  197. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  198. end
  199.  
  200. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  201. CreateMesh(handle,"Brick",0,0,0)
  202. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  203. local valuaring = 10
  204. for i = 0, 49 do
  205. valuaring = valuaring + 10
  206. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  207. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  208. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  209. end
  210.  
  211.  
  212. local handle = CreateParta(m,1,1,"Neon",maincolor)
  213. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  214. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  215.  
  216. --- Left wing.
  217.  
  218. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  219. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  220. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  221.  
  222. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  223. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  224. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  225. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  226. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  227. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  228. A0 = Instance.new('Attachment',wed)
  229. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  230. CreateMesh(wed,"Wedge",0.05,0.5,3)
  231. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  232. A1 = Instance.new('Attachment',wed)
  233. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  234. CreateMesh(wed,"Wedge",0.05,3,0.5)
  235. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  236.  
  237. tl1 = Instance.new('Trail',wed)
  238. tl1.Attachment0 = A0
  239. tl1.Attachment1 = A1
  240. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  241. tl1.LightEmission = 1
  242. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  243. tl1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  244. tl1.Lifetime = 0.6
  245.  
  246.  
  247. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  248. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  249. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  250.  
  251. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  252. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  253. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  254. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  255. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  256. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  257. A0 = Instance.new('Attachment',wed)
  258. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  259. CreateMesh(wed,"Wedge",0.05,0.5,3)
  260. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  261. A1 = Instance.new('Attachment',wed)
  262. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  263. CreateMesh(wed,"Wedge",0.05,3,0.5)
  264. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  265.  
  266. tl2 = Instance.new('Trail',wed)
  267. tl2.Attachment0 = A0
  268. tl2.Attachment1 = A1
  269. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  270. tl2.LightEmission = 1
  271. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  272. tl2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  273. tl2.Lifetime = 0.6
  274.  
  275. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  276. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  277. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  278.  
  279. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  280. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  281. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  282. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  283. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  284. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  285. A0 = Instance.new('Attachment',wed)
  286. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  287. CreateMesh(wed,"Wedge",0.05,0.5,3)
  288. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  289. A1 = Instance.new('Attachment',wed)
  290. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  291. CreateMesh(wed,"Wedge",0.05,3,0.5)
  292. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  293.  
  294. tl3 = Instance.new('Trail',wed)
  295. tl3.Attachment0 = A0
  296. tl3.Attachment1 = A1
  297. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  298. tl3.LightEmission = 1
  299. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  300. tl3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  301. tl3.Lifetime = 0.6
  302.  
  303. tl1.Enabled = false
  304. tl2.Enabled = false
  305. tl3.Enabled = false
  306. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  307. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  308. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  309.  
  310. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  311. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  312. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  313. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  314. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  315. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  316. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  317. CreateMesh(wed,"Wedge",0.05,0.5,3)
  318. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  319. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  320. CreateMesh(wed,"Wedge",0.05,3,0.5)
  321. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  322.  
  323. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  324. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  325. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  326.  
  327. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  328. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  329. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  330. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  331. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  332. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  333. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  334. CreateMesh(wed,"Wedge",0.05,0.5,3)
  335. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  336. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  337. CreateMesh(wed,"Wedge",0.05,3,0.5)
  338. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  339.  
  340. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  341. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  342. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  343.  
  344. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  345. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  346. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  347. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  348. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  349. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  350. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  351. CreateMesh(wed,"Wedge",0.05,0.5,3)
  352. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  353. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  354. CreateMesh(wed,"Wedge",0.05,3,0.5)
  355. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  356.  
  357. -- Right wing.
  358.  
  359. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  360. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  361. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  362.  
  363. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  364. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  365. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  366. A0 = Instance.new('Attachment',wed)
  367. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  368. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  369. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  370. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  371. CreateMesh(wed,"Wedge",0.05,0.5,3)
  372. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  373. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  374. CreateMesh(wed,"Wedge",0.05,3,0.5)
  375. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  376. A1 = Instance.new('Attachment',wed)
  377.  
  378. tr1 = Instance.new('Trail',wed)
  379. tr1.Attachment0 = A0
  380. tr1.Attachment1 = A1
  381. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  382. tr1.LightEmission = 1
  383. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  384. tr1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  385. tr1.Lifetime = 0.6
  386.  
  387. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  388. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  389. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  390.  
  391. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  392. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  393. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  394. A0 = Instance.new('Attachment',wed)
  395. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  396. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  397. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  398. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  399. CreateMesh(wed,"Wedge",0.05,0.5,3)
  400. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  401. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  402. CreateMesh(wed,"Wedge",0.05,3,0.5)
  403. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  404. A1 = Instance.new('Attachment',wed)
  405.  
  406. tr2 = Instance.new('Trail',wed)
  407. tr2.Attachment0 = A0
  408. tr2.Attachment1 = A1
  409. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  410. tr2.LightEmission = 1
  411. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  412. tr2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  413. tr2.Lifetime = 0.6
  414.  
  415. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  416. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  417. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  418.  
  419. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  420. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  421. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  422. A0 = Instance.new('Attachment',wed)
  423. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  424. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  425. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  426. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  427. CreateMesh(wed,"Wedge",0.05,0.5,3)
  428. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  429. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  430. CreateMesh(wed,"Wedge",0.05,3,0.5)
  431. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  432. A1 = Instance.new('Attachment',wed)
  433.  
  434. tr3 = Instance.new('Trail',wed)
  435. tr3.Attachment0 = A0
  436. tr3.Attachment1 = A1
  437. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  438. tr3.LightEmission = 1
  439. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  440. tr3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  441. tr3.Lifetime = 0.6
  442.  
  443.  
  444. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  445. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  446. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  447.  
  448. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  449. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  450. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  451. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  452. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  453. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  454. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  455. CreateMesh(wed,"Wedge",0.05,0.5,3)
  456. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  457. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  458. CreateMesh(wed,"Wedge",0.05,3,0.5)
  459. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  460.  
  461. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  462. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  463. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  464.  
  465. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  466. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  467. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  468. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  469. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  470. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  471. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  472. CreateMesh(wed,"Wedge",0.05,0.5,3)
  473. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  474. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  475. CreateMesh(wed,"Wedge",0.05,3,0.5)
  476. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  477.  
  478. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  479. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  480. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  481.  
  482. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  483. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  484. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  485. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  486. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  487. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  488. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  489. CreateMesh(wed,"Wedge",0.05,0.5,3)
  490. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  491. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  492. CreateMesh(wed,"Wedge",0.05,3,0.5)
  493. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  494.  
  495. ---- HERES THE RING
  496.  
  497.  
  498. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  499. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  500. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  501. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  502. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  503. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  504. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  505. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  506. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  507.  
  508.  
  509. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  510. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  511. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  512.  
  513. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  514. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  515. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  516.  
  517.  
  518.  
  519. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  520. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  521. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  522.  
  523. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  524. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  525. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  526.  
  527. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  528. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  529. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  530.  
  531. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  532. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  533. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  534. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  535. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  536. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  537.  
  538. -- S section A
  539.  
  540. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  541. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  542. CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  543. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  544. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  545. CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  546. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  547. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  548. CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  549.  
  550. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  551. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  552. CreateWeld(dotsec,larm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  553. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  554. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  555. CreateWeld(dotseca,larm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  556. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  557. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  558. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  559.  
  560. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  561. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  562. CreateWeld(dotsec,larm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  563. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  564. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  565. CreateWeld(dotseca,larm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  566. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  567. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  568. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  569.  
  570. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  571. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  572. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  573. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  574. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  575. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  576. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  577. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  578. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  579.  
  580. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  581. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  582. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  583. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  584. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  585. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  586. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  587. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  588. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  589.  
  590. -- S section B
  591.  
  592. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  593. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  594. CreateWeld(dotsec,larm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  595. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  596. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  597. CreateWeld(dotseca,larm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  598. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  599. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  600. CreateWeld(dotsecb,larm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  601.  
  602. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  603. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  604. CreateWeld(dotsec,larm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  605. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  606. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  607. CreateWeld(dotseca,larm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  608. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  609. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  610. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  611.  
  612. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  613. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  614. CreateWeld(dotsec,larm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  615. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  616. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  617. CreateWeld(dotseca,larm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  618. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  619. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  620. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  621.  
  622. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  623. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  624. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  625. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  626. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  627. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  628. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  629. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  630. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  631.  
  632. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  633. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  634. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  635. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  636. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  637. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  638. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  639. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  640. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  641.  
  642. --- second ring
  643.  
  644. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  645. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  646. CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  647. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  648. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  649. CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  650. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  651. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  652. CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  653.  
  654. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  655. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  656. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  657.  
  658. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  659. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  660. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  661.  
  662.  
  663.  
  664. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  665. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  666. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  667.  
  668. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  669. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  670. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  671.  
  672. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  673. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  674. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  675.  
  676. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  677. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  678. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  679. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  680. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  681. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  682.  
  683. -- S section A
  684.  
  685. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  686. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  687. CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  688. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  689. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  690. CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  691. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  692. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  693. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  694.  
  695. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  696. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  697. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  698. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  699. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  700. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  701. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  702. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  703. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  704.  
  705. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  706. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  707. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  708. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  709. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  710. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  711. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  712. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  713. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  714.  
  715. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  716. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  717. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  718. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  719. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  720. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  721. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  722. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  723. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  724.  
  725. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  726. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  727. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  728. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  729. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  730. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  731. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  732. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  733. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  734.  
  735. -- S section B
  736.  
  737. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  738. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  739. CreateWeld(dotsec,rarm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  740. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  741. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  742. CreateWeld(dotseca,rarm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  743. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  744. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  745. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  746.  
  747. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  748. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  749. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  750. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  751. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  752. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  753. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  754. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  755. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  756.  
  757. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  758. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  759. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  760. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  761. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  762. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  763. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  764. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  765. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  766.  
  767. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  768. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  769. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  770. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  771. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  772. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  773. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  774. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  775. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  776.  
  777. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  778. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  779. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  780. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  781. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  782. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  783. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  784. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  785. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  786.  
  787. local eg = Instance.new("SpecialMesh", tors)
  788. eg.MeshId = "http://www.roblox.com/asset/?id=1527559"
  789. eg.Offset = Vector3.new(0, -1.25, 0)
  790. eg.Scale = Vector3.new(1.5, 1.5, 1.5)
  791. tors.Color = Color3.new(1, 1, 1)
  792.  
  793. for i,v in pairs (char:children()) do
  794. if v:IsA("Hat") or v:IsA("Accessory") then
  795. v:remove()
  796. elseif v:IsA("Part") then
  797. if v ~= tors then
  798. v.Transparency = 1
  799. end
  800. end
  801. end
  802.  
  803. hed.face:remove()
  804.  
  805. function clerp2(a, b, t)
  806. return a:lerp(b, t)
  807. end
  808.  
  809. cf = CFrame.new
  810. angles = CFrame.Angles
  811. MAINRUINCOLOR = BrickColor.new("White")
  812.  
  813. local txt = Instance.new("BillboardGui", hed)
  814. txt.Adornee = nil
  815. txt.Name = "NameDetect"
  816. txt.Size = UDim2.new(4, 0, 1.2, 0)
  817. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  818. local text = Instance.new("TextBox", txt)
  819. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  820. text.FontSize = "Size8"
  821. text.TextScaled = true
  822. text.TextTransparency = 0
  823. text.BackgroundTransparency = 1
  824. text.TextTransparency = 0
  825. text.TextStrokeTransparency = 0
  826. text.Font = "Bodoni"
  827. text.TextStrokeColor3 = Color3.new(0,0,0)
  828. text.TextColor3 = Color3.new(1,1,1)
  829. text.Text = "EGG"
  830.  
  831. for i, v in pairs(mw2:GetChildren()) do
  832. if v:IsA("Part") then
  833. v.BrickColor = MAINRUINCOLOR
  834. v.Material = "Neon"
  835. end
  836. end
  837. for i, v in pairs(mw1:GetChildren()) do
  838. if v:IsA("Part") then
  839. v.Transparency = 1
  840. v.BrickColor = MAINRUINCOLOR
  841. v.Material = "Neon"
  842. end
  843. end
  844. for i, v in pairs(m:GetChildren()) do
  845. if v:IsA("Part") then
  846. v.BrickColor = BrickColor.new("White")
  847. v.Material = "Ice"
  848. end
  849. end
  850. for i, v in pairs(m2:GetChildren()) do
  851. if v:IsA("Part") then
  852. v.BrickColor = BrickColor.new("Pastel light blue")
  853. v.Material = "Glass"
  854. end
  855. end
  856. for i, v in pairs(m3:GetChildren()) do
  857. if v:IsA("Part") then
  858. v.BrickColor = BrickColor.new("Toothpaste")
  859. v.Material = "Neon"
  860. end
  861. end
  862. for i, v in pairs(extrawingmod1:GetChildren()) do
  863. if v:IsA("Part") then
  864. v.Transparency = 1
  865. v.BrickColor = BrickColor.new("White")
  866. v.Material = "Neon"
  867. end
  868. end
  869. for i, v in pairs(extrawingmod2:GetChildren()) do
  870. if v:IsA("Part") then
  871. v.Transparency = 1
  872. v.BrickColor = BrickColor.new("White")
  873. v.Material = "Neon"
  874. end
  875. end
  876.  
  877. MAINRUINCOLOR = BrickColor.new("White")
  878. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  879. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  880. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  881.  
  882. while true do
  883. Swait()
  884. lwing1weld.C1=clerp2(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  885. lwing2weld.C1=clerp2(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  886. lwing3weld.C1=clerp2(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  887. lwing4weld.C1=clerp2(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  888. lwing5weld.C1=clerp2(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  889. lwing6weld.C1=clerp2(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  890.  
  891. rwing1weld.C1=clerp2(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  892. rwing2weld.C1=clerp2(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  893. rwing3weld.C1=clerp2(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  894. rwing4weld.C1=clerp2(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  895. rwing5weld.C1=clerp2(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  896. rwing6weld.C1=clerp2(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  897. sine = sine + 1
  898. hum.WalkSpeed = sped
  899. local TiltVelocity = CFrame.new(root.CFrame:vectorToObjectSpace(root.Velocity/1.6))
  900. local TORSOVELOCITY = (root.Velocity * VT(1, 0, 1)).magnitude
  901. local WALKSPEEDVALUE = 7 / (hum.WalkSpeed / 17)
  902. torsverticalvel = root.Velocity.y
  903. hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
  904. if TORSOVELOCITY < 1 and hitfloor ~= nil then
  905. anim = "Idle"
  906. if attack == false then
  907. sped = 10
  908. clerp(rootj, rootjnor * CFrame.new(0, 0, 0), 0.3)
  909. clerp(neck, necknor * CFrame.new(0, 0, 0), 0.3)
  910. clerp(RH, RHnor * CFrame.new(0, 0, 0), 0.3)
  911. clerp(LH, LHnor * CFrame.new(0, 0, 0), 0.3)
  912. clerp(RS, RSnor * CFrame.new(0, 0, 0), 0.3)
  913. clerp(LS, LSnor * CFrame.new(0, 0, 0), 0.3)
  914. end
  915. elseif TORSOVELOCITY > 1 and hitfloor ~= nil then
  916. anim = "Walk"
  917. if attack == false then
  918. sped = 16
  919. clerp(rootj, rootjnor * CFrame.new(0, 0, 0), 0.3)
  920. clerp(neck, necknor * CFrame.new(0, 0, 0), 0.3)
  921. clerp(RH, RHnor * CFrame.new(0, 0, 0), 0.3)
  922. clerp(LH, LHnor * CFrame.new(0, 0, 0), 0.3)
  923. clerp(RS, RSnor * CFrame.new(0, 0, 0), 0.3)
  924. clerp(LS, LSnor * CFrame.new(0, 0, 0), 0.3)
  925. end
  926. elseif torsverticalvel > 0.05 and hitfloor == nil then
  927. anim = "Jump"
  928. if attack == false then
  929. sped = 16
  930. clerp(rootj, rootjnor * CFrame.new(0, 0, 0), 0.3)
  931. clerp(neck, necknor * CFrame.new(0, 0, 0), 0.3)
  932. clerp(RH, RHnor * CFrame.new(0, 0, 0), 0.3)
  933. clerp(LH, LHnor * CFrame.new(0, 0, 0), 0.3)
  934. clerp(RS, RSnor * CFrame.new(0, 0, 0), 0.3)
  935. clerp(LS, LSnor * CFrame.new(0, 0, 0), 0.3)
  936. end
  937. elseif torsverticalvel < 0.05 and hitfloor == nil then
  938. anim = "Fall"
  939. if attack == false then
  940. sped = 16
  941. clerp(rootj, rootjnor * CFrame.new(0, 0, 0), 0.3)
  942. clerp(neck, necknor * CFrame.new(0, 0, 0), 0.3)
  943. clerp(RH, RHnor * CFrame.new(0, 0, 0), 0.3)
  944. clerp(LH, LHnor * CFrame.new(0, 0, 0), 0.3)
  945. clerp(RS, RSnor * CFrame.new(0, 0, 0), 0.3)
  946. clerp(LS, LSnor * CFrame.new(0, 0, 0), 0.3)
  947. end
  948. end
  949. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement