Advertisement
cobblecorn

Untitled

Jun 8th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.25 KB | None | 0 0
  1. wait(0.3)
  2.  
  3. local Player = game.Players.localPlayer
  4. local Character = Player.Character
  5. local Humanoid = Character.Humanoid
  6. local LeftArm = Character["Left Arm"]
  7. local RightArm = Character["Right Arm"]
  8. local LeftLeg = Character["Left Leg"]
  9. local RightLeg = Character["Right Leg"]
  10. local Head = Character.Head
  11. local Torso = Character.Torso
  12. local RootPart = Character.HumanoidRootPart
  13. local RootJoint = RootPart.RootJoint
  14. local txt = Instance.new("BillboardGui", Character)
  15. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  16. local velocity = RootPart.Velocity.y
  17. CV = "Maroon"
  18. Player = game.Players.LocalPlayer
  19. char = Player.Character
  20. local txt = Instance.new("BillboardGui", Character)
  21. txt.Adornee = Character.Head
  22. txt.Name = "_status"
  23. txt.Size = UDim2.new(2, 0, 1.2, 0)
  24. txt.StudsOffset = Vector3.new(-9, 8, 0)
  25. local text = Instance.new("TextLabel", txt)
  26. text.Size = UDim2.new(10, 0, 7, 0)
  27. text.FontSize = "Size24"
  28. text.TextScaled = true
  29. text.TextTransparency = 0
  30. text.BackgroundTransparency = 1
  31. text.TextTransparency = 0
  32. text.TextStrokeTransparency = 1
  33. text.Font = "Code"
  34. v = Instance.new("Part")
  35. v.Name = "ColorBrick"
  36. v.Parent = Player.Character
  37. v.FormFactor = "Symmetric"
  38. v.Anchored = true
  39. v.CanCollide = false
  40. v.BottomSurface = "Smooth"
  41. v.TopSurface = "Smooth"
  42. v.Size = Vector3.new(10, 5, 3)
  43. v.Transparency = 1
  44. v.CFrame = Character.Torso.CFrame
  45. v.BrickColor = BrickColor.new(CV)
  46. v.Transparency = 1
  47. touchCounter = 0
  48. local cR=255
  49. local cG=0
  50. local cB=0
  51. local flg5=1 local omgidk=1
  52. local add=15
  53. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  54. if omgidk>10000 then omgidk=0 end
  55. omgidk=omgidk+1
  56. if cR>=255 then flg5=1 end
  57. if cG>=255 then flg5=2 end
  58. if cB>=255 then flg5=3 end
  59. if flg5==1 then cR=cR-add cG=cG+add end
  60. if flg5==2 then cG=cG-add cB=cB+add end
  61. if flg5==3 then cB=cB-add cR=cR+add end
  62. color=Color3.fromRGB(cR,cG,cB)
  63. text.TextColor3 = color
  64. end)
  65. v.Shape = "Block"
  66. text.Text = Player.Name..", The Universal Guardian"
  67. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  68. for _, c in pairs(workspace:children()) do
  69. local hum = c:findFirstChild("Humanoid")
  70. if hum ~= nil then
  71. local head = hit
  72. if head ~= nil then
  73. local targ = head.Position - Part.Position
  74. local mag = targ.magnitude
  75. if Magnitude >= mag and c.Name ~= Player.Name then
  76. CFuncs.Sound.Create("324867021", head, 1, 1)
  77. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
  78. end
  79. end
  80. end
  81. end
  82. end
  83.  
  84. Parts={}
  85. function GetDiscoColor(hue)
  86. local section = hue % 1 * 3
  87. local secondary = 0.5 * math.pi * (section % 1)
  88. if section < 1 then
  89. return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  90. elseif section < 2 then
  91. return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  92. else
  93. return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  94. end
  95. end
  96. Part = function(x,y,z,color,tr,cc,an,parent)
  97. local p = Instance.new('Part',parent or Weapon)
  98. p.formFactor = 'Custom'
  99. p.Size = Vector3.new(x,y,z)
  100. p.BrickColor = BrickColor.new(color)
  101. p.CanCollide = cc
  102. p.Transparency = tr
  103. p.Anchored = an
  104. p.TopSurface,p.BottomSurface = 0,0
  105. p:BreakJoints''
  106. table.insert(Parts,p)
  107. return p
  108. end
  109. Weld = function(p0,p1)
  110. local w = Instance.new('Motor',p0)
  111. w.Part0 = p0
  112. w.Part1 = p1
  113. return w
  114. end
  115. Mesh = function(par,num,x,y,z)
  116. local msh = 0
  117. if num == 1 then
  118. msh = Instance.new("SpecialMesh",par)
  119. msh.MeshId='rbxasset://fonts/torso.mesh'
  120. msh.TextureId='rbxasset://25701026'
  121. end
  122. if num == 2 then
  123. msh = Instance.new("SpecialMesh",par)
  124. msh.MeshId='rbxasset://fonts/head.mesh'
  125. msh.TextureId='rbxassetid://25701026'
  126. end
  127. msh.Scale = Vector3.new(x,y,z)
  128. return msh
  129. end
  130. plr=Game.Players.LocalPlayer
  131. char=plr.Character
  132. for _,v in pairs(char:GetChildren()) do
  133. if v.ClassName=="Part" then
  134. v.Transparency=1
  135. elseif v.ClassName=="Hat" then
  136. v.Handle.Mesh.TextureId='rbxassetid://25701026'
  137. table.insert(Parts,v.Handle)
  138. end
  139. end
  140. t=Part(1,1,1,'',0,false,false,char)
  141. Mesh(t,1,1,1,1)
  142. Weld(char.Torso,t)
  143. a=Part(1,1,1,'',0,false,false,char)
  144. Mesh(a,1,.5,1,1)
  145. Weld(char['Right Arm'],a)
  146. a=Part(1,1,1,'',0,false,false,char)
  147. Mesh(a,1,.5,1,1)
  148. Weld(char['Left Arm'],a)
  149. l=Part(1,1,1,'',0,false,false,char)
  150. Mesh(l,1,.5,1,1)
  151. Weld(char['Right Leg'],l)
  152. l=Part(1,1,1,'',0,false,false,char)
  153. Mesh(l,1,.5,1,1)
  154. Weld(char['Left Leg'],l)
  155. h=Part(1,1,1,'',0,false,false,char)
  156. Mesh(h,2,1,1,1)
  157. Weld(char.Head,h)
  158. Spawn(function()
  159. while(coroutine.yield())do
  160. for i=1,#Parts do
  161. Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.8)--vertex 4 lyfe
  162. end
  163. end;
  164. end);
  165.  
  166. char.Head.face:Destroy()
  167.  
  168. for i,v in pairs(char:GetChildren()) do
  169. if v.ClassName == "Accessory" then
  170. v:Remove()
  171. elseif v.ClassName == "Shirt" then
  172. v:Remove()
  173. elseif v.ClassName == "Pants" then
  174. v:Remove()
  175. elseif v.ClassName == "ShirtGraphic" then
  176. v:Remove()
  177. end
  178. end
  179.  
  180. wait(0.3)
  181.  
  182. Player = game:GetService("Players").LocalPlayer
  183. PlayerGui = Player.PlayerGui
  184. Cam = workspace.CurrentCamera
  185. Backpack = Player.Backpack
  186. Character = Player.Character
  187. Humanoid = Character.Humanoid
  188. Mouse = Player:GetMouse()
  189. RootPart = Character["HumanoidRootPart"]
  190. Torso = Character["Torso"]
  191. Head = Character["Head"]
  192. RightArm = Character["Right Arm"]
  193. LeftArm = Character["Left Arm"]
  194. RightLeg = Character["Right Leg"]
  195. LeftLeg = Character["Left Leg"]
  196. RootJoint = RootPart["RootJoint"]
  197. Neck = Torso["Neck"]
  198. RightShoulder = Torso["Right Shoulder"]
  199. LeftShoulder = Torso["Left Shoulder"]
  200. RightHip = Torso["Right Hip"]
  201. LeftHip = Torso["Left Hip"]
  202. local sick = Instance.new("Sound",Character)
  203. sick.SoundId = "rbxassetid://427649630"
  204. sick.Looped = true
  205. sick.Pitch = 1
  206. sick.Volume = 86783
  207. sick:Play()
  208.  
  209. IT = Instance.new
  210. CF = CFrame.new
  211. VT = Vector3.new
  212. RAD = math.rad
  213. C3 = Color3.new
  214. UD2 = UDim2.new
  215. BRICKC = BrickColor.new
  216. ANGLES = CFrame.Angles
  217. EULER = CFrame.fromEulerAnglesXYZ
  218. COS = math.cos
  219. ACOS = math.acos
  220. SIN = math.sin
  221. ASIN = math.asin
  222. ABS = math.abs
  223. MRANDOM = math.random
  224. FLOOR = math.floor
  225.  
  226. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  227. local NEWMESH = IT(MESH)
  228. if MESH == "SpecialMesh" then
  229. NEWMESH.MeshType = MESHTYPE
  230. if MESHID ~= "nil" and MESHID ~= "" then
  231. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  232. end
  233. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  234. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  235. end
  236. end
  237. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  238. NEWMESH.Scale = SCALE
  239. NEWMESH.Parent = PARENT
  240. return NEWMESH
  241. end
  242.  
  243. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  244. local NEWPART = IT("Part")
  245. NEWPART.formFactor = FORMFACTOR
  246. NEWPART.Reflectance = REFLECTANCE
  247. NEWPART.Transparency = TRANSPARENCY
  248. NEWPART.CanCollide = false
  249. NEWPART.Locked = true
  250. NEWPART.Anchored = true
  251. if ANCHOR == false then
  252. NEWPART.Anchored = false
  253. end
  254. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  255. NEWPART.Name = NAME
  256. NEWPART.Size = SIZE
  257. NEWPART.Position = Torso.Position
  258. NEWPART.Material = MATERIAL
  259. NEWPART:BreakJoints()
  260. NEWPART.Parent = PARENT
  261. return NEWPART
  262. end
  263.  
  264.  
  265. function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
  266. local NEWPART = IT("Part")
  267. NEWPART.formFactor = FORMFACTOR
  268. NEWPART.Reflectance = REFLECTANCE
  269. NEWPART.Transparency = TRANSPARENCY
  270. NEWPART.CanCollide = false
  271. NEWPART.Locked = true
  272. NEWPART.Anchored = true
  273. if ANCHOR == false then
  274. NEWPART.Anchored = false
  275. end
  276. NEWPART.Name = NAME
  277. NEWPART.Size = SIZE
  278. NEWPART.Position = Torso.Position
  279. NEWPART.Material = MATERIAL
  280. NEWPART:BreakJoints()
  281. NEWPART.Parent = PARENT
  282. return NEWPART
  283. end
  284.  
  285. --//=================================\\
  286. --|| CUSTOMIZATION
  287. --\\=================================//
  288.  
  289. Player_Size = 1 --Size of the player.
  290. Animation_Speed = 6
  291. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  292.  
  293. local Speed = 500
  294. local Effects2 = {}
  295.  
  296. local Rainbow = { --This is the main color set. Try to use more than just a few, make it fade in order as well
  297. "Crimson",
  298. "Bright red",
  299. "Neon orange",
  300. "Deep orange",
  301. "Bright yellow",
  302. "New Yeller",
  303. "Br. yellowish green",
  304. "Lime green",
  305. "Sea green",
  306. "Bright bluish green",
  307. "Bright blue",
  308. "Lavender",
  309. "Royal purple",
  310. "Eggplant",
  311. "Hot pink"
  312. }
  313.  
  314. --//=================================\\
  315. --|| END OF CUSTOMIZATION
  316. --\\=================================//
  317.  
  318. local function weldBetween(a, b)
  319. local weldd = Instance.new("ManualWeld")
  320. weldd.Part0 = a
  321. weldd.Part1 = b
  322. weldd.C0 = CFrame.new()
  323. weldd.C1 = b.CFrame:inverse() * a.CFrame
  324. weldd.Parent = a
  325. return weldd
  326. end
  327.  
  328. --//=================================\\
  329. --|| USEFUL VALUES
  330. --\\=================================//
  331.  
  332.  
  333. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  334. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  335. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  336. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  337. local CHANGEDEFENSE = 0
  338. local CHANGEDAMAGE = 0
  339. local CHANGEMOVEMENT = 0
  340. local ANIM = "Idle"
  341. local ATTACK = false
  342. local EQUIPPED = false
  343. local HOLD = false
  344. local COMBO = 1
  345. local Rooted = false
  346. local SINE = 0
  347. local KEYHOLD = false
  348. local CHANGE = 2 / Animation_Speed
  349. local WALKINGANIM = false
  350. local WALK = 0
  351. local VALUE1 = false
  352. local VALUE2 = false
  353. local ROBLOXIDLEANIMATION = IT("Animation")
  354. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  355. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  356. --ROBLOXIDLEANIMATION.Parent = Humanoid
  357. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  358. WEAPONGUI.Name = "Weapon GUI"
  359. local Weapon = IT("Model")
  360. Weapon.Name = "Adds"
  361. local HITFLOOR = nil
  362. local Effects = IT("Folder", Weapon)
  363. Effects.Name = "Effects"
  364. local ANIMATOR = Humanoid.Animator
  365. local ANIMATE = Character.Animate
  366. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  367. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  368. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  369. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  370. local UNANCHOR = true
  371.  
  372. rainbowNumber = 1
  373.  
  374. local SKILLTEXTCOLOR = BrickColor.new(Rainbow[rainbowNumber]).Color
  375.  
  376. --//=================================\\
  377. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  378. --\\=================================//
  379.  
  380. local equipped = false
  381. local idle = 0
  382. local change = 1
  383. local val = 0
  384. local toim = 0
  385. local idleanim = 0.4
  386. hum.WalkSpeed = 8
  387. hum.JumpPower = 57
  388. hum.Animator.Parent = nil
  389. while true do
  390. swait()
  391. sine = sine + change
  392. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  393. local velderp = root.Velocity.y
  394. hitfloor, posfloor = rayCast(root.Position, CF(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  395. if equipped == true or equipped == false then
  396. if attack == false then
  397. idle = idle + 1
  398. else
  399. idle = 0
  400. end
  401. Aura(5, 0.3, "Add" , root.CFrame * CF(Mrandom(-9, 9), -6, Mrandom(-9, 9)) * angles(Rad(90), 0, 0), 1.5, 1.5, 10, -0.015, BrickColor.new("Really black"), 0, "Brick")
  402. BodyPosition.Position = hed.CFrame:pointToWorldSpace(Vector3.new(2, 1, 0))
  403. if 1 < root.Velocity.y and hitfloor == nil then
  404. Anim = "Jump"
  405. if attack == false then
  406. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  407. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  408. RH.C0 = clerp(RH.C0, CF(1, -.2 - 0.1 * Cos(sine / 20), -.3) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  409. LH.C0 = clerp(LH.C0, CF(-1, -.9 - 0.1 * Cos(sine / 20), -.5) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  410. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  411. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  412. end
  413. elseif -1 > root.Velocity.y and hitfloor == nil then
  414. Anim = "Fall"
  415. if attack == false then
  416. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  417. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  418. RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 20), -.3) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  419. LH.C0 = clerp(LH.C0, CF(-1, -.8 - 0.1 * Cos(sine / 20), -.3) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  420. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  421. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  422. end
  423. elseif torvel < 1 and hitfloor ~= nil then
  424. Anim = "Idle"
  425. change = .5
  426. if attack == false then
  427. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  428. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3)
  429. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  430. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  431. RW.C0 = clerp(RW.C0, CF(.9, 0.5 + 0.02 * Sin(sine / 20), -.4) * angles(Rad(90), Rad(-1), Rad(-75 + 4.5 * Sin(sine / 20))), 0.1)
  432. LW.C0 = clerp(LW.C0, CF(-.9, 0.5 + 0.02 * Sin(sine / 20), -.4) * angles(Rad(90), Rad(-.6), Rad(65 - 4.5 * Sin(sine / 20))), 0.1)
  433. end
  434. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  435. Anim = "Walk"
  436. change = .9
  437. if attack == false then
  438. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15)
  439. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  440. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  441. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  442. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  443. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  444. end
  445. elseif torvel >= 25 and hitfloor ~= nil then
  446. Anim = "Sprint"
  447. change = 1.35
  448. if attack == false then
  449. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  450. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  451. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  452. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  453. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  454. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  455. end
  456. end
  457. end
  458. if 0 < #Effects then
  459. for e = 1, #Effects do
  460. if Effects[e] ~= nil then
  461. local Thing = Effects[e]
  462. if Thing ~= nil then
  463. local Part = Thing[1]
  464. local Mode = Thing[2]
  465. local Delay = Thing[3]
  466. local IncX = Thing[4]
  467. local IncY = Thing[5]
  468. local IncZ = Thing[6]
  469. if 1 >= Thing[1].Transparency then
  470. if Thing[2] == "Block1" then
  471. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(Mrandom(-50, 50), Mrandom(-50, 50), Mrandom(-50, 50))
  472. local Mesh = Thing[1].Mesh
  473. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  474. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  475. elseif Thing[2] == "Block2" then
  476. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  477. local Mesh = Thing[7]
  478. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  479. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  480. elseif Thing[2] == "Block3" then
  481. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(Mrandom(-50, 50), Mrandom(-50, 50), Mrandom(-50, 50)) + Vector3.new(0, 0.15, 0)
  482. local Mesh = Thing[7]
  483. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  484. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  485. elseif Thing[2] == "Cylinder" then
  486. local Mesh = Thing[1].Mesh
  487. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  488. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  489. elseif Thing[2] == "Blood" then
  490. local Mesh = Thing[7]
  491. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  492. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  493. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  494. elseif Thing[2] == "Elec" then
  495. local Mesh = Thing[1].Mesh
  496. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  497. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  498. elseif Thing[2] == "Disappear" then
  499. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  500. elseif Thing[2] == "Shatter" then
  501. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  502. Thing[4] = Thing[4] * CF(0, Thing[7], 0)
  503. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  504. Thing[6] = Thing[6] + Thing[5]
  505. end
  506. else
  507. Part.Parent = nil
  508. table.remove(Effects, e)
  509. end
  510. end
  511. end
  512. end
  513. end
  514. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement