HuyEvilDumb

Untitled

Nov 16th, 2017
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.25 KB | None | 0 0
  1. Movemment = 1
  2. Walk = 0
  3.  
  4. Left_Shoulder = Instance.new("Weld", Torso)
  5. Left_Shoulder.Part0 = Torso
  6. Left_Shoulder.Part1 = Left_Arm
  7. Left_Shoulder.Name = "Left Shoulder"
  8. Left_Shoulder.C0 = CFrame.new(-1.5,0,0)
  9.  
  10. Right_Shoulder = Instance.new("Weld", Torso)
  11. Right_Shoulder.Part0 = Torso
  12. Right_Shoulder.Part1 = Right_Arm
  13. Right_Shoulder.Name = "Right Shoulder"
  14. Right_Shoulder.C0 = CFrame.new(1.5,0,0)
  15. wait()
  16. LeftShoulder.Parent = nil
  17. RightShoulder.Parent = nil
  18.  
  19.  
  20. wait(0.1)
  21. local HealthBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
  22. HealthBarGUI.Name = "HealthBarGUI"
  23.  
  24. local HealthBarP1 = Instance.new("Frame", HealthBarGUI)
  25. HealthBarP1.Name = "HealthBarPart1"
  26. HealthBarP1.Size = UDim2.new(0,300,0,40)
  27. HealthBarP1.Position = UDim2.new(0,350,0,550)
  28. HealthBarP1.Style = "RobloxRound"
  29.  
  30. local HealthBarP2 = Instance.new("Frame", HealthBarP1)
  31. HealthBarP2.Name = "HealthBarPart2"
  32. HealthBarP2.Size = UDim2.new(0,285,0,20)
  33. HealthBarP2.Position = UDim2.new(0,0,0,0)
  34.  
  35. local HealthBarText = Instance.new("TextLabel", HealthBarP1)
  36. HealthBarText.Name = "HealthBarText"
  37. HealthBarText.Size = UDim2.new(0,285,0,20)
  38. HealthBarText.Position = UDim2.new(0,0,0,0)
  39. HealthBarText.BackgroundColor3 = Color3.new(0,1,0)
  40. HealthBarText.TextScaled = true
  41. HealthBarText.Text = "Health"
  42. HealthBarText.TextTransparency = 0
  43. HealthBarText.TextStrokeTransparency = 0
  44. HealthBarText.BackgroundTransparency = 1
  45. HealthBarText.TextStrokeColor3 = Color3.new(1,1,1)
  46. HealthBarText.TextColor3 = Color3.new(0,0,0)
  47. HealthBarText.Font = "SciFi"
  48.  
  49. local CoolDownGUI = Instance.new("ScreenGui", Player.PlayerGui)
  50. CoolDownGUI.Name = "CoolDownGUI"
  51.  
  52. local CoolDowns = Instance.new("Frame", CoolDownGUI)
  53. CoolDowns.Name = "CoolDowns"
  54. CoolDowns.Size = UDim2.new(0,200,0,200)
  55. CoolDowns.Position = UDim2.new(0.81,0,0.68,0)
  56. CoolDowns.Style = "RobloxRound"
  57.  
  58. local CoolDown1Frame = Instance.new("Frame", CoolDowns)
  59. CoolDown1Frame.Name = "CoolDown1Frame"
  60. CoolDown1Frame.Size = UDim2.new(0,80,0,50)
  61. CoolDown1Frame.Position = UDim2.new(0,0,0,0)
  62. CoolDown1Frame.BackgroundTransparency = 0.5
  63. CoolDown1Frame.BackgroundColor3 = BrickColor.White().Color
  64.  
  65. local CoolDown1Bar = Instance.new("Frame", CoolDown1Frame)
  66. CoolDown1Bar.Name = "CoolDown1Bar"
  67. CoolDown1Bar.Size = UDim2.new(0,80,0,50)
  68. CoolDown1Bar.Position = UDim2.new(0,0,0,0)
  69. CoolDown1Bar.BackgroundColor3 = BrickColor.White().Color
  70.  
  71. local CoolDown1Text = Instance.new("TextLabel", CoolDown1Frame)
  72. CoolDown1Text.Name = "CoolDown1Text"
  73. CoolDown1Text.Size = UDim2.new(0,80,0,50)
  74. CoolDown1Text.Position = UDim2.new(0,0,0,0)
  75. CoolDown1Text.BackgroundTransparency = 1
  76. CoolDown1Text.TextScaled = true
  77. CoolDown1Text.Text = "z - WAKE ME UP INSIDE"
  78. CoolDown1Text.TextStrokeTransparency = 0
  79. CoolDown1Text.TextStrokeColor3 = Color3.new(1,1,1)
  80. CoolDown1Text.TextColor3 = Color3.new(0,0,0)
  81. CoolDown1Text.Font = "SciFi"
  82.  
  83. local CoolDown2Frame = Instance.new("Frame", CoolDowns)
  84. CoolDown2Frame.Name = "CoolDown2Frame"
  85. CoolDown2Frame.Size = UDim2.new(0,80,0,50)
  86. CoolDown2Frame.Position = UDim2.new(0.55,0,0,0)
  87. CoolDown2Frame.BackgroundTransparency = 0.5
  88. CoolDown2Frame.BackgroundColor3 = BrickColor.White().Color
  89.  
  90. local CoolDown2Bar = Instance.new("Frame", CoolDown2Frame)
  91. CoolDown2Bar.Name = "CoolDown2Bar"
  92. CoolDown2Bar.Size = UDim2.new(0,80,0,50)
  93. CoolDown2Bar.Position = UDim2.new(0,0,0,0)
  94. CoolDown2Bar.BackgroundColor3 = BrickColor.White().Color
  95.  
  96. local CoolDown2Text = Instance.new("TextLabel", CoolDown2Frame)
  97. CoolDown2Text.Name = "CoolDown2Text"
  98. CoolDown2Text.Size = UDim2.new(0,80,0,50)
  99. CoolDown2Text.Position = UDim2.new(0,0,0,0)
  100. CoolDown2Text.BackgroundTransparency = 1
  101. CoolDown2Text.TextScaled = true
  102. CoolDown2Text.Text = "x - meme launch"
  103. CoolDown2Text.TextStrokeTransparency = 0
  104. CoolDown2Text.TextStrokeColor3 = Color3.new(1,1,1)
  105. CoolDown2Text.TextColor3 = Color3.new(0,0,0)
  106. CoolDown2Text.Font = "SciFi"
  107.  
  108. local CoolDown3Frame = Instance.new("Frame", CoolDowns)
  109. CoolDown3Frame.Name = "CoolDown3Frame"
  110. CoolDown3Frame.Size = UDim2.new(0,80,0,50)
  111. CoolDown3Frame.Position = UDim2.new(0,0,0.4,0)
  112. CoolDown3Frame.BackgroundTransparency = 0.5
  113. CoolDown3Frame.BackgroundColor3 = BrickColor.White().Color
  114.  
  115. local CoolDown3Bar = Instance.new("Frame", CoolDown3Frame)
  116. CoolDown3Bar.Name = "CoolDown3Bar"
  117. CoolDown3Bar.Size = UDim2.new(0,80,0,50)
  118. CoolDown3Bar.Position = UDim2.new(0,0,0,0)
  119. CoolDown3Bar.BackgroundColor3 = BrickColor.White().Color
  120.  
  121. local CoolDown3Text = Instance.new("TextLabel", CoolDown3Frame)
  122. CoolDown3Text.Name = "CoolDown3Text"
  123. CoolDown3Text.Size = UDim2.new(0,80,0,50)
  124. CoolDown3Text.Position = UDim2.new(0,0,0,0)
  125. CoolDown3Text.BackgroundTransparency = 1
  126. CoolDown3Text.TextScaled = true
  127. CoolDown3Text.Text = "c - and his name is..."
  128. CoolDown3Text.TextStrokeTransparency = 0
  129. CoolDown3Text.TextStrokeColor3 = Color3.new(1,1,1)
  130. CoolDown3Text.TextColor3 = Color3.new(0,0,0)
  131. CoolDown3Text.Font = "SciFi"
  132.  
  133.  
  134. local CoolDown4Frame = Instance.new("Frame", CoolDowns)
  135. CoolDown4Frame.Name = "CoolDown4Frame"
  136. CoolDown4Frame.Size = UDim2.new(0,80,0,50)
  137. CoolDown4Frame.Position = UDim2.new(0.55,0,0.4,0)
  138. CoolDown4Frame.BackgroundTransparency = 0.5
  139. CoolDown4Frame.BackgroundColor3 = BrickColor.White().Color
  140.  
  141. local CoolDown4Bar = Instance.new("Frame", CoolDown4Frame)
  142. CoolDown4Bar.Name = "CoolDown4Bar"
  143. CoolDown4Bar.Size = UDim2.new(0,80,0,50)
  144. CoolDown4Bar.Position = UDim2.new(0,0,0,0)
  145. CoolDown4Bar.BackgroundColor3 = BrickColor.White().Color
  146.  
  147. local CoolDown4Text = Instance.new("TextLabel", CoolDown4Frame)
  148. CoolDown4Text.Name = "CoolDown4Text"
  149. CoolDown4Text.Size = UDim2.new(0,80,0,50)
  150. CoolDown4Text.Position = UDim2.new(0,0,0,0)
  151. CoolDown4Text.BackgroundTransparency = 1
  152. CoolDown4Text.TextScaled = true
  153. CoolDown4Text.Text = "v - allahuekber"
  154. CoolDown4Text.TextStrokeTransparency = 0
  155. CoolDown4Text.TextStrokeColor3 = Color3.new(1,1,1)
  156. CoolDown4Text.TextColor3 = Color3.new(0,0,0)
  157. CoolDown4Text.Font = "SciFi"
  158.  
  159. local CoolDownEFrame = Instance.new("Frame", CoolDowns)
  160. CoolDownEFrame.Name = "CoolDownEFrame"
  161. CoolDownEFrame.Size = UDim2.new(0,180,0,50)
  162. CoolDownEFrame.Position = UDim2.new(0,0,0.74,0)
  163. CoolDownEFrame.BackgroundTransparency = 0.5
  164. CoolDownEFrame.BackgroundColor3 = BrickColor.White().Color
  165.  
  166. local CoolDownEBar = Instance.new("Frame", CoolDownEFrame)
  167. CoolDownEBar.Name = "CoolDownEBar"
  168. CoolDownEBar.Size = UDim2.new(0,180,0,50)
  169. CoolDownEBar.Position = UDim2.new(0,0,0,0)
  170. CoolDownEBar.BackgroundColor3 = BrickColor.White().Color
  171.  
  172. local CoolDownEText = Instance.new("TextLabel", CoolDownEFrame)
  173. CoolDownEText.Name = "CoolDownEText"
  174. CoolDownEText.Size = UDim2.new(0,180,0,50)
  175. CoolDownEText.Position = UDim2.new(0,0,0,0)
  176. CoolDownEText.BackgroundTransparency = 1
  177. CoolDownEText.TextScaled = true
  178. CoolDownEText.Text = "e - aaaa"
  179. CoolDownEText.TextStrokeTransparency = 0
  180. CoolDownEText.TextStrokeColor3 = Color3.new(1,1,1)
  181. CoolDownEText.TextColor3 = Color3.new(0,0,0)
  182. CoolDownEText.Font = "SciFi"
  183.  
  184. --[[ transformixu ]]--
  185.  
  186. Head.face.Texture = "http://www.roblox.com/asset/?id=176699876"
  187.  
  188. for i,v in pairs(Character:children()) do
  189.  
  190. if v:IsA("Hat") then
  191.  
  192. v:Remove()
  193.  
  194. end
  195.  
  196. end
  197.  
  198.  
  199. --[[ perts andi effictiz fucktions ]]--
  200.  
  201. function NoOutlines(Part)
  202. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  203. end
  204.  
  205. local CreateVelocity = function(Parent,Velocity,Force)
  206.  
  207. local BodyVelocity = Instance.new("BodyVelocity", Parent)
  208. BodyVelocity.Velocity = Velocity
  209. BodyVelocity.MaxForce = Force
  210.  
  211.  
  212.  
  213. return BodyVelocity
  214.  
  215. end
  216.  
  217. local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape)
  218.  
  219. local Part = Instance.new("Part", Parent)
  220. Part.Name = Name
  221. Part.BrickColor = BrickColor.new(Color)
  222. Part.Size = Size
  223. Part.Material = Material
  224. Part.Transparency = Transparency
  225. Part.Shape = Shape
  226. Part.CanCollide = false
  227. NoOutlines(Part)
  228.  
  229. return Part
  230.  
  231. end
  232.  
  233. local MakeSFX = function(Parent, Id, Volume, Pitch)
  234.  
  235. local SFX = Instance.new("Sound", Parent)
  236. SFX.SoundId = "http://www.roblox.com/asset?id=" .. Id
  237. SFX.Name = "SFX"
  238. SFX:Play()
  239. SFX.Volume = Volume
  240. SFX.Pitch = Pitch
  241. SFX.PlayOnRemove = true
  242. SFX:Remove()
  243.  
  244. end
  245.  
  246.  
  247. CircleEffect = function(Position, Parent, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  248.  
  249. local Part = Instance.new("Part", Parent)
  250. Part.Transparency = Transparency
  251. Part.Name = "CircleEffect"
  252. Part.Size = Vector3.new()
  253. Part.Anchored = true
  254. Part.CanCollide = false
  255. Part.Position = Position
  256. Part.BrickColor = BrickColor.new(Brickcolor)
  257. Part.Material = Material
  258. NoOutlines(Part)
  259.  
  260. local Mesh = Instance.new("SpecialMesh", Part)
  261. Mesh.MeshType = "Sphere"
  262. Mesh.Scale = Vector3.new(0,0,0)
  263.  
  264. Services.Debris:AddItem(Part, Time)
  265.  
  266.  
  267. table.insert(Effects, {Part, "Circle", Time, SX, SY, SZ})
  268.  
  269.  
  270. end
  271.  
  272. BlockEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  273.  
  274. local Part = Instance.new("Part", Parent)
  275. Part.Transparency = Transparency
  276. Part.Name = "BlockEffect"
  277. Part.Size = Vector3.new()
  278. Part.Anchored = true
  279. Part.Position = Position
  280. Part.CanCollide = false
  281. Part.BrickColor = BrickColor.new(Brickcolor)
  282. Part.Material = Material
  283. NoOutlines(Part)
  284.  
  285. local Mesh = Instance.new("BlockMesh", Part)
  286. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  287.  
  288. Services.Debris:AddItem(Part, Time)
  289.  
  290. table.insert(Effects, {Part, "Block", Time, SX, SY, SZ})
  291.  
  292.  
  293. end
  294.  
  295. --[[ customiz ]]--
  296.  
  297.  
  298. if Player:FindFirstChild("Custom") and Player.Custom.Customized.Value == true then
  299.  
  300. CoolDown1Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  301. CoolDown2Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  302. CoolDown3Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  303. CoolDown4Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  304. CoolDownEBar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  305. Color = Player.Custom.Co1.Value
  306.  
  307. end
  308.  
  309.  
  310. --[[ soumdiz ]]--
  311.  
  312. WakeMeUpInside = Instance.new("Sound", Character)
  313. WakeMeUpInside.SoundId = "http://www.roblox.com/asset?id=326429386"
  314. WakeMeUpInside.Name = "WAKE ME UP INSIDE!111!"
  315. WakeMeUpInside.Looped = true
  316.  
  317. Sad = Instance.new("Sound", Character)
  318. Sad.SoundId = "http://www.roblox.com/asset?id=254352182"
  319. Sad.Name = "Sad"
  320. Sad.Volume = 10
  321. Sad.Looped = true
  322.  
  323. JOHNCENAh = Instance.new("Sound", Character)
  324. JOHNCENAh.SoundId = "http://www.roblox.com/asset?id=272322032"
  325. JOHNCENAh.Name = "JOHNCENAh"
  326.  
  327.  
  328.  
  329. --[[ crerp decaratius ]] --
  330. function clerp(a,b,t)
  331. local qa = {QuaternionFromCFrame(a)}
  332. local qb = {QuaternionFromCFrame(b)}
  333. local ax, ay, az = a.x, a.y, a.z
  334. local bx, by, bz = b.x, b.y, b.z
  335. local _t = 1-t
  336. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  337. end
  338.  
  339. function QuaternionFromCFrame(cf)
  340. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  341. local trace = m00 + m11 + m22
  342. if trace > 0 then
  343. local s = math.sqrt(1 + trace)
  344. local recip = 0.5/s
  345. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  346. else
  347. local i = 0
  348. if m11 > m00 then
  349. i = 1
  350. end
  351. if m22 > (i == 0 and m00 or m11) then
  352. i = 2
  353. end
  354. if i == 0 then
  355. local s = math.sqrt(m00-m11-m22+1)
  356. local recip = 0.5/s
  357. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  358. elseif i == 1 then
  359. local s = math.sqrt(m11-m22-m00+1)
  360. local recip = 0.5/s
  361. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  362. elseif i == 2 then
  363. local s = math.sqrt(m22-m00-m11+1)
  364. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  365. end
  366. end
  367. end
  368.  
  369. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  370. local xs, ys, zs = x + x, y + y, z + z
  371. local wx, wy, wz = w*xs, w*ys, w*zs
  372. local xx = x*xs
  373. local xy = x*ys
  374. local xz = x*zs
  375. local yy = y*ys
  376. local yz = y*zs
  377. local zz = z*zs
  378. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  379. end
  380.  
  381. function QuaternionSlerp(a, b, t)
  382. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  383. local startInterp, finishInterp;
  384. if cosTheta >= 0.0001 then
  385. if (1 - cosTheta) > 0.0001 then
  386. local theta = math.acos(cosTheta)
  387. local invSinTheta = 1/math.sin(theta)
  388. startInterp = math.sin((1-t)*theta)*invSinTheta
  389. finishInterp = math.sin(t*theta)*invSinTheta
  390. else
  391. startInterp = 1-t
  392. finishInterp = t
  393. end
  394. else
  395. if (1+cosTheta) > 0.0001 then
  396. local theta = math.acos(-cosTheta)
  397. local invSinTheta = 1/math.sin(theta)
  398. startInterp = math.sin((t-1)*theta)*invSinTheta
  399. finishInterp = math.sin(t*theta)*invSinTheta
  400. else
  401. startInterp = t-1
  402. finishInterp = t
  403. end
  404. end
  405. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  406. end
  407.  
  408. function RayCast(Pos, Dir, Max, Ignore)
  409. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  410. end
  411.  
  412. --[[ debeigi fucktion ]]--
  413.  
  414.  
  415.  
  416. function DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  417.  
  418. local HitHumanoid = Hit.Parent.Humanoid
  419.  
  420.  
  421. local Damage = math.random(Min, Max)
  422.  
  423.  
  424. coroutine.resume(coroutine.create(function()
  425. HitHumanoid:TakeDamage(Damage)
  426. end))
  427.  
  428. if Type == "Normal" then
  429.  
  430. local Push = CreateVelocity(Hit.Parent.Torso, Torso.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  431. Services.Debris:AddItem(Push, 0)
  432. DamageLabel(Hit.Parent, Damage)
  433.  
  434. elseif Type == "Ranged" then
  435. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  436. Services.Debris:AddItem(Push, 0)
  437. DamageLabel(Hit.Parent, Damage)
  438.  
  439. elseif Type == "Knockdown" then
  440.  
  441.  
  442. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  443. DamageLabel(Hit.Parent, Damage)
  444. Services.Debris:AddItem(Push, 0.3)
  445.  
  446. coroutine.resume(coroutine.create(function()
  447.  
  448. HitHumanoid.PlatformStand = true
  449. wait(1)
  450. HitHumanoid.PlatformStand = false
  451.  
  452.  
  453. end))
  454. end
  455.  
  456. if HitSFX == "Penetration" then
  457.  
  458. MakeSFX(Hit, 199149269, 1 , 1)
  459.  
  460. elseif HitSFX == "Punch" then
  461.  
  462. MakeSFX(Hit, 278062209, 1 , 1)
  463.  
  464.  
  465.  
  466.  
  467. end
  468. end
  469.  
  470. function DamageLabel(HitCharacter, DamageDealt)
  471.  
  472. local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Bright yellow", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
  473. DamageShowingPart.Position = HitCharacter.Head.Position
  474.  
  475. local DamageGui = Instance.new("BillboardGui", DamageShowingPart)
  476. DamageGui.Name = "Damage"
  477. DamageGui.AlwaysOnTop = true
  478. DamageGui.Size = UDim2.new(5, 0, 5, 0)
  479.  
  480. local DamageNumber = Instance.new("TextLabel", DamageGui)
  481. DamageNumber.Size = UDim2.new(1,0,1,0)
  482. DamageNumber.TextStrokeColor3 = BrickColor.White().Color
  483. DamageNumber.TextColor3 = BrickColor.Black().Color
  484. DamageNumber.TextStrokeTransparency = 0
  485. DamageNumber.BackgroundTransparency = 1
  486. DamageNumber.Font = "SciFi"
  487. DamageNumber.TextScaled = true
  488. DamageNumber.Text = DamageDealt
  489.  
  490. local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
  491. BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  492. BodyVelocity.Velocity = Vector3.new(0,2,0)
  493.  
  494. Services.Debris:AddItem(DamageShowingPart, 3)
  495.  
  496.  
  497. end
  498. function ValidateDamage(Part, Distance ,Min , Max, Type, HitSFX, Knockback)
  499. for _,WorkspaceChildren in pairs(workspace:children()) do
  500.  
  501. local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
  502.  
  503. if HitHumanoid ~= nil then
  504. local Hit = WorkspaceChildren:findFirstChild("Torso")
  505.  
  506. if Hit ~= nil then
  507.  
  508. local Target = Hit.Position - Part.Position
  509.  
  510. local Magnitude = Target.magnitude
  511.  
  512. if Magnitude <= Distance and WorkspaceChildren.Name ~= Player.Name then
  513.  
  514. local HitBlock = Hit.Parent:FindFirstChild("Block")
  515.  
  516. if HitBlock ~= nil and HitBlock:FindFirstChild("BlockDurability") and HitBlock.Value == true then
  517.  
  518. local HitBlock2 = Hit.Parent.Block.BlockDurability
  519.  
  520. if HitBlock2.Value > 15 then
  521.  
  522. local HitN = math.random(1,5)
  523.  
  524. HitBlock2.Value = HitBlock2.Value - 15
  525.  
  526.  
  527. if HitN == 1 then
  528. MakeSFX(Hit ,199148971, 0.5, 1)
  529. end
  530.  
  531. if HitN == 2 then
  532. MakeSFX(Hit ,199149025, 0.5, 1)
  533. end
  534.  
  535. if HitN == 3 then
  536. MakeSFX(Hit ,199149072, 0.5, 1)
  537. end
  538.  
  539. if HitN == 4 then
  540. MakeSFX(Hit ,199149109, 0.5, 1)
  541. end
  542.  
  543. if HitN == 5 then
  544. MakeSFX(Hit ,199149119, 0.5, 1)
  545. end
  546. return
  547. end
  548. end
  549.  
  550. DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  551.  
  552.  
  553.  
  554. end
  555. end
  556. end
  557. end
  558. end
  559.  
  560.  
  561. function Bars()
  562.  
  563. --[[ Cooldowns Bars ]]--
  564.  
  565. if Cooldown1 ~= MaxCooldown1 then
  566.  
  567. Cooldown1 = Cooldown1 + 1
  568.  
  569. end
  570.  
  571. if Cooldown1 >= MaxCooldown1 then
  572.  
  573. Cooldown1 = MaxCooldown1
  574.  
  575. end
  576.  
  577.  
  578.  
  579. if Cooldown2 ~= MaxCooldown2 then
  580.  
  581. Cooldown2 = Cooldown2 + 0.1
  582. end
  583.  
  584.  
  585. if Cooldown2 >= MaxCooldown2 then
  586.  
  587. Cooldown2 = MaxCooldown2
  588.  
  589. end
  590.  
  591.  
  592.  
  593. if Cooldown3 ~= MaxCooldown3 then
  594. Cooldown3 = Cooldown3 + 0.1
  595. end
  596.  
  597. if Cooldown3 >= MaxCooldown3 then
  598.  
  599. Cooldown3 = MaxCooldown3
  600.  
  601. end
  602.  
  603.  
  604.  
  605. if Cooldown4 ~= MaxCooldown4 then
  606. Cooldown4 = Cooldown4 + 0.1
  607. end
  608.  
  609. if Cooldown4 >= MaxCooldown4 then
  610.  
  611. Cooldown4 = MaxCooldown4
  612.  
  613. end
  614.  
  615.  
  616.  
  617. if CooldownE ~= MaxCooldownE then
  618. CooldownE = CooldownE + 0.1
  619. end
  620.  
  621. if CooldownE >= MaxCooldownE then
  622.  
  623. CooldownE = MaxCooldownE
  624.  
  625. end
  626.  
  627. --[[ Health Bar ]]--
  628.  
  629. local YellowZone = Humanoid.MaxHealth / 2
  630. local RedZone = Humanoid.MaxHealth / 4
  631.  
  632. if Humanoid.Health <= YellowZone then
  633.  
  634. HealthBarP2.BackgroundColor3 = BrickColor.new("Gold").Color
  635.  
  636. end
  637.  
  638. if Humanoid.Health <= RedZone then
  639.  
  640. HealthBarP2.BackgroundColor3 = BrickColor.new("Bright red").Color
  641.  
  642. end
  643.  
  644. if Humanoid.Health >= YellowZone then
  645.  
  646. HealthBarP2.BackgroundColor3 = BrickColor.new("Lime green").Color
  647.  
  648. end
  649.  
  650.  
  651. --[[ Resize All Bars ]]--
  652.  
  653.  
  654. CoolDown1Bar.Size = UDim2.new(Cooldown1 / MaxCooldown1,0,0,50)
  655. CoolDown2Bar.Size = UDim2.new(Cooldown2 / MaxCooldown2,0,0,50)
  656. CoolDown3Bar.Size = UDim2.new(Cooldown3 / MaxCooldown3,0,0,50)
  657. CoolDown4Bar.Size = UDim2.new(Cooldown4 / MaxCooldown4,0,0,50)
  658. CoolDownEBar.Size = UDim2.new(CooldownE / MaxCooldownE,0,0,50)
  659. HealthBarP2.Size = UDim2.new(Humanoid.Health / Humanoid.MaxHealth,0,0,25)
  660.  
  661. end
  662.  
  663. --[[ attakis ]]--
  664.  
  665. function WAKEMEUPINSIDE()
  666.  
  667. for i = 1,3 do
  668. wait()
  669. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(3,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  670. Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(10,20,3) * CFrame.Angles(-0.5,0,0),0.3)
  671. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(3, 10, 0) * CFrame.Angles(-0.23,0.5,0.2), 0.3)
  672. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(3, 0.1, 0) * CFrame.Angles(0.3,0.2,2), 0.3)
  673. Right_Hip.C0=clerp(Right_Hip.C0,cf(3,-2,9)*CFrame.Angles(2,1.6,-0.2),0.2)
  674. Left_Hip.C0=clerp(Left_Hip.C0,cf(-0,-0,5)*CFrame.Angles(5,-1.6,0.2),0.2)
  675. end
  676.  
  677. ValidateDamage(Torso, 20, 1, 5, "Normal", "Punch", 50)
  678.  
  679. for i = 1,3 do
  680. wait()
  681. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(3,30,0)* CFrame.Angles(-0.3452,0,0),0.2)
  682. Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(12,56,5) * CFrame.Angles(-0.5,0,30),0.3)
  683. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(10, 30, 5) * CFrame.Angles(-0.23,0.5,0.2), 0.3)
  684. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(34, 1, 32) * CFrame.Angles(0.3,0.2,22), 0.3)
  685. Right_Hip.C0=clerp(Right_Hip.C0,cf(5,-3,3)*CFrame.Angles(2,1.6,-0.342),0.2)
  686. Left_Hip.C0=clerp(Left_Hip.C0,cf(-53,-0,25)*CFrame.Angles(5,-41.6,0.52),0.2)
  687. end
  688. ValidateDamage(Torso, 50, 1, 5, "Normal", "Punch", 50)
  689.  
  690. for i = 1,3 do
  691. wait()
  692. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(-3,-30,0)* CFrame.Angles(0.3452,-0,-0),0.2)
  693. Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(-12,-56,5) * CFrame.Angles(0.5,-0,-30),0.3)
  694. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(-10, -30, -5) * CFrame.Angles(0.23,-0.5,-0.2), 0.3)
  695. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-34, -1, -32) * CFrame.Angles(-0.3,-0.2,-22), 0.3)
  696. Right_Hip.C0=clerp(Right_Hip.C0,cf(-5,3,-3)*CFrame.Angles(-2,-1.6,0.342),0.2)
  697. Left_Hip.C0=clerp(Left_Hip.C0,cf(53,0,-25)*CFrame.Angles(-5,41.6,-0.52),0.2)
  698. end
  699. ValidateDamage(Torso, 50, 1, 5, "Normal", "Punch", 50)
  700.  
  701. end
  702.  
  703. function MemeLaunch()
  704.  
  705. memis = {294841732,474498947,474494834,519973850,291736664,513363123,94349155,379915109,331385631,387197836,304460548,196819764}
  706.  
  707. local meme = Instance.new("Part",game.Workspace)
  708. meme.Anchored = true
  709. meme.Position = Torso.Position + Vector3.new(0,5,0)
  710. meme.Rotation = Torso.Rotation + Vector3.new(0,-1,0)
  711. meme.Size = Vector3.new(5, 5, 0.2)
  712. meme.Transparency = 1
  713.  
  714.  
  715. meme.Touched:connect(function(hit)
  716.  
  717.  
  718. ValidateDamage(meme, 10, 1, 1, "Knockdown", "Punch", 130)
  719.  
  720.  
  721. end)
  722.  
  723.  
  724. game:GetService("Debris"):AddItem(meme, 30)
  725.  
  726. local memedecal = Instance.new("Decal", meme)
  727. memedecal.Texture = "http://www.roblox.com/asset?id=" .. memis[math.random(1, #memis)]
  728.  
  729.  
  730. local memedecal2 = memedecal:Clone()
  731. memedecal2.Parent = meme
  732. memedecal2.Face = "Back"
  733.  
  734.  
  735.  
  736. for i = 1,30 do
  737.  
  738. wait()
  739.  
  740.  
  741. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  742. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  743. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.1), 0.3)
  744. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.1), 0.3)
  745. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  746. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  747.  
  748.  
  749. end
  750.  
  751. meme.Anchored = false
  752.  
  753. meme.CFrame = CFrame.new(meme.Position, Mouse.Hit.p)
  754. local memevilocity = CreateVelocity(meme,meme.CFrame.lookVector * 250,Vector3.new(math.huge,math.huge,math.huge))
  755.  
  756.  
  757. for i = 1,30 do
  758.  
  759. wait()
  760.  
  761. ValidateDamage(meme, 1, 1, 33, "Knockdown", "Punch", 5)
  762.  
  763. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(0.8,0,0),0.2)
  764. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  765. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.1), 0.3)
  766. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.1), 0.3)
  767. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,0.8),0.2)
  768. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,-0.8),0.2)
  769.  
  770.  
  771. end
  772.  
  773. Attacking = false
  774. end
  775.  
  776. function JOHNCENA()
  777.  
  778. JOHNCENAh:Play()
  779.  
  780. Humanoid.WalkSpeed = 0
  781. Humanoid.JumpPower = 0
  782.  
  783.  
  784. for i = 1,60 do
  785.  
  786. wait()
  787. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,10)* CFrame.Angles(1.6,1.6,1.6),0.8)
  788. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1),0.3)
  789. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.5), 0.3)
  790. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.3), 0.3)
  791. Right_Hip.C0=clerp(Right_Hip.C0,cf(0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
  792. Left_Hip.C0=clerp(Left_Hip.C0,cf(-0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
  793.  
  794.  
  795. end
  796.  
  797. for i = 1,6 do
  798.  
  799. wait()
  800. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,-2)* CFrame.Angles(1.6,1.6,1.6),0.8)
  801. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1),0.3)
  802. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.5), 0.3)
  803. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.3), 0.3)
  804. Right_Hip.C0=clerp(Right_Hip.C0,cf(0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
  805. Left_Hip.C0=clerp(Left_Hip.C0,cf(-0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
  806.  
  807.  
  808. end
  809.  
  810. local Explosion = Instance.new("Explosion")
  811. Explosion.Parent = game.workspace.Terrain
  812. Explosion.Position = Right_Arm.Position
  813. Explosion.Name = "Boom!"
  814. Explosion.BlastRadius = 0
  815. Explosion.BlastPressure = 0
  816. Explosion.DestroyJointRadiusPercent = 0
  817. Explosion.ExplosionType = "NoCraters"
  818.  
  819. local dmgreference = Instance.new("Part", Services.Workspace)
  820. dmgreference.CFrame = Torso.CFrame
  821. dmgreference.Transparency = 1
  822. dmgreference.Size = Vector3.new()
  823. dmgreference.CanCollide = false
  824.  
  825.  
  826.  
  827. ValidateDamage(dmgreference, 1000, 10, 20, "Knockdown", "Penetration", 100)
  828.  
  829. Humanoid.WalkSpeed = 16
  830. Humanoid.JumpPower = 50
  831.  
  832. Attacking = false
  833.  
  834.  
  835. end
  836.  
  837. function allahuekber()
  838. Attacking = true
  839.  
  840. Sad:Remove()
  841. MakeSFX(Character,433848566, 1, 1)
  842.  
  843. Humanoid.WalkSpeed = 0
  844. Humanoid.JumpPower = 0
  845. wait(5)
  846. MakeSFX(Character, 134854740, 1 , 0.4)
  847. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  848. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  849. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  850. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  851. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  852. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  853. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  854. ValidateDamage(Torso, 1000, 77, 89, "Knockdown", "Penetration", 0)
  855. wait(5)
  856. Character:BreakJoints()
  857.  
  858. end
  859.  
  860. Mouse.KeyDown:connect(function(kei)
  861. if not Attacking then
  862.  
  863. if kei == "z" then
  864.  
  865.  
  866. WakeMeUp = true
  867.  
  868. if JOHNCENAh.IsPlaying == false then
  869. WakeMeUpInside:Resume()
  870. end
  871.  
  872. while WakeMeUp do
  873. WakeMeUp = true
  874. Attacking = true
  875. WAKEMEUPINSIDE()
  876. end
  877.  
  878.  
  879. end
  880. if kei == "x" then
  881.  
  882. Attacking = true
  883.  
  884.  
  885. MemeLaunch()
  886.  
  887.  
  888. end
  889.  
  890. if kei == "c" and JOHNCENAh.IsPlaying == false then
  891.  
  892. Attacking = true
  893.  
  894.  
  895. JOHNCENA()
  896.  
  897. end
  898.  
  899. if kei == "v" then
  900.  
  901. allahuekber()
  902.  
  903. end
  904. end
  905. end)
  906.  
  907. Mouse.KeyUp:connect(function(kei)
  908.  
  909.  
  910. if kei == "z" and WakeMeUp then
  911. Attacking = false
  912. WakeMeUp = false
  913. WakeMeUpInside:Pause()
  914.  
  915.  
  916. end
  917.  
  918. end)
  919.  
  920. Humanoid.Died:connect(function ()
  921.  
  922. Sad:Play()
  923.  
  924. end)
  925.  
  926. --[[ crerp animaxius ]]--
  927. while true do
  928.  
  929. wait()
  930.  
  931. Bars()
  932.  
  933. local Torvel = (Root.Velocity*Vector3.new(1,0,1)).magnitude
  934. local Velderp = Root.Velocity.y
  935. HitFloor,PosFloor = RayCast(Root.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  936.  
  937. if Torvel < 1 and HitFloor ~= nil and Attacking == false then
  938. Anim = "Idle"
  939.  
  940. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  941. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  942. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
  943. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
  944. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  945. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  946.  
  947. end
  948.  
  949.  
  950. if 2 < Torvel and Torvel < 22 and HitFloor ~= nil and Attacking == false then
  951. Anim = "Walking"
  952. WalkForward = true
  953. Walk = Walk + 1
  954. if 15 - 5 * Movemment <= Walk then
  955. Walk = 0
  956. if WalkForward == true then
  957. WalkForward = false
  958. else
  959. if WalkForward == false then
  960. WalkForward = true
  961. end
  962. end
  963. end
  964.  
  965. if Attacking == false then
  966. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  967. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  968. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 0.5, 0.6) * CFrame.Angles(-1.6,0,0.2), 0.3)
  969. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.5, 0.6) * CFrame.Angles(-1.6,0,-0.2), 0.3)
  970. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  971. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  972.  
  973. end
  974.  
  975.  
  976. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0) * CFrame.Angles(0,1.6,0),0.2)
  977. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0) * CFrame.Angles(0,-1.6,0),0.2)
  978. end
  979.  
  980. if Root.Velocity.y > 1 and HitFloor == nil and Attacking == false then
  981. Anim = "Jump"
  982.  
  983. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  984. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  985. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.2), 0.3)
  986. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.2), 0.3)
  987. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  988. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  989.  
  990.  
  991. end
  992.  
  993. if Root.Velocity.y < -1 and HitFloor == nil and Attacking == false then
  994. Anim = "Fall"
  995.  
  996. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  997. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
  998. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.2), 0.3)
  999. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.2), 0.3)
  1000. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  1001. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  1002.  
  1003. end
  1004.  
  1005. if #Effects > 0 then
  1006. for E = 1, #Effects do
  1007. if Effects[E]~=nil then
  1008. local Effect = Effects[E]
  1009.  
  1010. if Effect ~= nil then
  1011.  
  1012. local Part = Effect[1]
  1013. local Mode = Effect[2]
  1014. local Time = Effect[3]
  1015. local SizeX = Effect[4]
  1016. local SizeY = Effect[5]
  1017. local SizeZ = Effect[6]
  1018.  
  1019. if Effect[1].Transparency <= 1 then
  1020. if Effect[2] == "Block" then
  1021. Effect[1].CFrame = Effect[1].CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1022.  
  1023. Mesh = Effect[1]:FindFirstChild("Mesh")
  1024. if Mesh ~= nil then
  1025. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1026. end
  1027.  
  1028. elseif Effect[2] == "Circle" then
  1029.  
  1030. if Effect[1]:FindFirstChild("Mesh") ~= nil then
  1031. Mesh=Effect[1].Mesh
  1032. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1033. end
  1034.  
  1035. else
  1036.  
  1037. Part.Parent=nil
  1038.  
  1039. table.remove(Effects, E)
  1040.  
  1041. end
  1042. end
  1043. end
  1044. end
  1045. end
  1046. end
  1047. end
Advertisement
Add Comment
Please, Sign In to add comment