Advertisement
Guest User

Untitled

a guest
Oct 5th, 2018
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 234.04 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local SUPREMEGUI = Instance.new("TextLabel")
  6. local lenny = Instance.new("TextButton")
  7. local TextButton = Instance.new("TextButton")
  8. local TextButton_2 = Instance.new("TextButton")
  9. local liam = Instance.new("TextButton")
  10.  
  11. -- Properties
  12.  
  13. ScreenGui.Parent = game.Player.LocalPlayer.PlayerGui
  14.  
  15. Frame.Parent = ScreenGui
  16. Frame.BackgroundColor3 = Color3.new(1, 0.00392157, 0.0196078)
  17. Frame.Size = UDim2.new(0, 404, 0, 221)
  18.  
  19. SUPREMEGUI.Name = "SUPREME GUI"
  20. SUPREMEGUI.Parent = Frame
  21. SUPREMEGUI.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  22. SUPREMEGUI.Size = UDim2.new(0, 404, 0, 50)
  23. SUPREMEGUI.Font = Enum.Font.SourceSans
  24. SUPREMEGUI.Text = "SUPREME GUI"
  25. SUPREMEGUI.TextColor3 = Color3.new(1, 1, 1)
  26. SUPREMEGUI.TextScaled = true
  27. SUPREMEGUI.TextSize = 14
  28. SUPREMEGUI.TextWrapped = true
  29.  
  30. lenny.Name = "lenny"
  31. lenny.Parent = ScreenGui
  32. lenny.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  33. lenny.Position = UDim2.new(0, 0, 0.0613496937, 0)
  34. lenny.Size = UDim2.new(0, 200, 0, 67)
  35. lenny.Font = Enum.Font.SourceSans
  36. lenny.Text = "Lenny"
  37. lenny.TextColor3 = Color3.new(1, 1, 1)
  38. lenny.TextScaled = true
  39. lenny.TextSize = 14
  40. lenny.TextWrapped = true
  41.  
  42. lenny.MouseButton1Down:connect(function()
  43. local Player = game:GetService("Players").LocalPlayer
  44. local Character = Player.Character
  45. local Head = Character.Head
  46. local Torso = Character.Torso
  47. local Right_Arm = Character["Right Arm"]
  48. local Right_Leg = Character["Right Leg"]
  49. local Left_Arm = Character["Left Arm"]
  50. local Left_Leg = Character["Left Leg"]
  51. local Humanoid = Character.Humanoid
  52. local Animation = "Idle"
  53. local Damage = 0
  54. local Mouse = Player:GetMouse()
  55. local LeftShoulder = Torso["Left Shoulder"]
  56. local Left_Hip = Torso["Left Hip"]
  57. local RightShoulder = Torso["Right Shoulder"]
  58. local Right_Hip = Torso["Right Hip"]
  59. local Root = Character.HumanoidRootPart
  60. local RootJoint = Root.RootJoint
  61. local Attacking = false
  62. local RootCFrame = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)
  63. local WakeMeUp = false
  64. local cf = CFrame.new
  65. local WalkForward = false
  66. local Effects = {}
  67. local Color = "White"
  68.  
  69. Necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  70. Necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  71. Right_Hip_C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  72. Left_Hip_C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  73.  
  74. Movemment = 1
  75. Walk = 0
  76.  
  77.  
  78. local Services = {
  79.  
  80. SoundService = game:GetService("SoundService");
  81. Players = game:GetService("Players");
  82. Debris = game:GetService("Debris");
  83. Workspace = game:GetService("Workspace");
  84. Lighting = game:GetService("Lighting");
  85. HttpService = game:GetService("HttpService");
  86. InsertService = game:GetService("InsertService");
  87.  
  88. }
  89.  
  90. MaxCooldown1 = 1
  91. MaxCooldown2 = 1
  92. MaxCooldown3 = 1
  93. MaxCooldown4 = 1
  94. MaxCooldownE = 1
  95.  
  96. Cooldown1 = MaxCooldown1
  97. Cooldown2 = MaxCooldown2
  98. Cooldown3 = MaxCooldown3
  99. Cooldown4 = MaxCooldown4
  100. CooldownE = MaxCooldownE
  101.  
  102. cf = CFrame.new
  103.  
  104. local RootCFrame = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)
  105. Necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  106. Necko2 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  107. Right_Hip_C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  108. Left_Hip_C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  109.  
  110. Movemment = 1
  111. Walk = 0
  112.  
  113. Left_Shoulder = Instance.new("Weld", Torso)
  114. Left_Shoulder.Part0 = Torso
  115. Left_Shoulder.Part1 = Left_Arm
  116. Left_Shoulder.Name = "Left Shoulder"
  117. Left_Shoulder.C0 = CFrame.new(-1.5,0,0)
  118.  
  119. Right_Shoulder = Instance.new("Weld", Torso)
  120. Right_Shoulder.Part0 = Torso
  121. Right_Shoulder.Part1 = Right_Arm
  122. Right_Shoulder.Name = "Right Shoulder"
  123. Right_Shoulder.C0 = CFrame.new(1.5,0,0)
  124. wait()
  125. LeftShoulder.Parent = nil
  126. RightShoulder.Parent = nil
  127.  
  128.  
  129. wait(0.1)
  130. local HealthBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
  131. HealthBarGUI.Name = "HealthBarGUI"
  132.  
  133. local HealthBarP1 = Instance.new("Frame", HealthBarGUI)
  134. HealthBarP1.Name = "HealthBarPart1"
  135. HealthBarP1.Size = UDim2.new(0,300,0,40)
  136. HealthBarP1.Position = UDim2.new(0,350,0,550)
  137. HealthBarP1.Style = "RobloxRound"
  138.  
  139. local HealthBarP2 = Instance.new("Frame", HealthBarP1)
  140. HealthBarP2.Name = "HealthBarPart2"
  141. HealthBarP2.Size = UDim2.new(0,285,0,20)
  142. HealthBarP2.Position = UDim2.new(0,0,0,0)
  143.  
  144. local HealthBarText = Instance.new("TextLabel", HealthBarP1)
  145. HealthBarText.Name = "HealthBarText"
  146. HealthBarText.Size = UDim2.new(0,285,0,20)
  147. HealthBarText.Position = UDim2.new(0,0,0,0)
  148. HealthBarText.BackgroundColor3 = Color3.new(0,1,0)
  149. HealthBarText.TextScaled = true
  150. HealthBarText.Text = "Health"
  151. HealthBarText.TextTransparency = 0
  152. HealthBarText.TextStrokeTransparency = 0
  153. HealthBarText.BackgroundTransparency = 1
  154. HealthBarText.TextStrokeColor3 = Color3.new(1,1,1)
  155. HealthBarText.TextColor3 = Color3.new(0,0,0)
  156. HealthBarText.Font = "SciFi"
  157.  
  158. local CoolDownGUI = Instance.new("ScreenGui", Player.PlayerGui)
  159. CoolDownGUI.Name = "CoolDownGUI"
  160.  
  161. local CoolDowns = Instance.new("Frame", CoolDownGUI)
  162. CoolDowns.Name = "CoolDowns"
  163. CoolDowns.Size = UDim2.new(0,200,0,200)
  164. CoolDowns.Position = UDim2.new(0.81,0,0.68,0)
  165. CoolDowns.Style = "RobloxRound"
  166.  
  167. local CoolDown1Frame = Instance.new("Frame", CoolDowns)
  168. CoolDown1Frame.Name = "CoolDown1Frame"
  169. CoolDown1Frame.Size = UDim2.new(0,80,0,50)
  170. CoolDown1Frame.Position = UDim2.new(0,0,0,0)
  171. CoolDown1Frame.BackgroundTransparency = 0.5
  172. CoolDown1Frame.BackgroundColor3 = BrickColor.White().Color
  173.  
  174. local CoolDown1Bar = Instance.new("Frame", CoolDown1Frame)
  175. CoolDown1Bar.Name = "CoolDown1Bar"
  176. CoolDown1Bar.Size = UDim2.new(0,80,0,50)
  177. CoolDown1Bar.Position = UDim2.new(0,0,0,0)
  178. CoolDown1Bar.BackgroundColor3 = BrickColor.White().Color
  179.  
  180. local CoolDown1Text = Instance.new("TextLabel", CoolDown1Frame)
  181. CoolDown1Text.Name = "CoolDown1Text"
  182. CoolDown1Text.Size = UDim2.new(0,80,0,50)
  183. CoolDown1Text.Position = UDim2.new(0,0,0,0)
  184. CoolDown1Text.BackgroundTransparency = 1
  185. CoolDown1Text.TextScaled = true
  186. CoolDown1Text.Text = "z - WAKE ME UP INSIDE"
  187. CoolDown1Text.TextStrokeTransparency = 0
  188. CoolDown1Text.TextStrokeColor3 = Color3.new(1,1,1)
  189. CoolDown1Text.TextColor3 = Color3.new(0,0,0)
  190. CoolDown1Text.Font = "SciFi"
  191.  
  192. local CoolDown2Frame = Instance.new("Frame", CoolDowns)
  193. CoolDown2Frame.Name = "CoolDown2Frame"
  194. CoolDown2Frame.Size = UDim2.new(0,80,0,50)
  195. CoolDown2Frame.Position = UDim2.new(0.55,0,0,0)
  196. CoolDown2Frame.BackgroundTransparency = 0.5
  197. CoolDown2Frame.BackgroundColor3 = BrickColor.White().Color
  198.  
  199. local CoolDown2Bar = Instance.new("Frame", CoolDown2Frame)
  200. CoolDown2Bar.Name = "CoolDown2Bar"
  201. CoolDown2Bar.Size = UDim2.new(0,80,0,50)
  202. CoolDown2Bar.Position = UDim2.new(0,0,0,0)
  203. CoolDown2Bar.BackgroundColor3 = BrickColor.White().Color
  204.  
  205. local CoolDown2Text = Instance.new("TextLabel", CoolDown2Frame)
  206. CoolDown2Text.Name = "CoolDown2Text"
  207. CoolDown2Text.Size = UDim2.new(0,80,0,50)
  208. CoolDown2Text.Position = UDim2.new(0,0,0,0)
  209. CoolDown2Text.BackgroundTransparency = 1
  210. CoolDown2Text.TextScaled = true
  211. CoolDown2Text.Text = "x - meme launch"
  212. CoolDown2Text.TextStrokeTransparency = 0
  213. CoolDown2Text.TextStrokeColor3 = Color3.new(1,1,1)
  214. CoolDown2Text.TextColor3 = Color3.new(0,0,0)
  215. CoolDown2Text.Font = "SciFi"
  216.  
  217. local CoolDown3Frame = Instance.new("Frame", CoolDowns)
  218. CoolDown3Frame.Name = "CoolDown3Frame"
  219. CoolDown3Frame.Size = UDim2.new(0,80,0,50)
  220. CoolDown3Frame.Position = UDim2.new(0,0,0.4,0)
  221. CoolDown3Frame.BackgroundTransparency = 0.5
  222. CoolDown3Frame.BackgroundColor3 = BrickColor.White().Color
  223.  
  224. local CoolDown3Bar = Instance.new("Frame", CoolDown3Frame)
  225. CoolDown3Bar.Name = "CoolDown3Bar"
  226. CoolDown3Bar.Size = UDim2.new(0,80,0,50)
  227. CoolDown3Bar.Position = UDim2.new(0,0,0,0)
  228. CoolDown3Bar.BackgroundColor3 = BrickColor.White().Color
  229.  
  230. local CoolDown3Text = Instance.new("TextLabel", CoolDown3Frame)
  231. CoolDown3Text.Name = "CoolDown3Text"
  232. CoolDown3Text.Size = UDim2.new(0,80,0,50)
  233. CoolDown3Text.Position = UDim2.new(0,0,0,0)
  234. CoolDown3Text.BackgroundTransparency = 1
  235. CoolDown3Text.TextScaled = true
  236. CoolDown3Text.Text = "c - and his name is..."
  237. CoolDown3Text.TextStrokeTransparency = 0
  238. CoolDown3Text.TextStrokeColor3 = Color3.new(1,1,1)
  239. CoolDown3Text.TextColor3 = Color3.new(0,0,0)
  240. CoolDown3Text.Font = "SciFi"
  241.  
  242.  
  243. local CoolDown4Frame = Instance.new("Frame", CoolDowns)
  244. CoolDown4Frame.Name = "CoolDown4Frame"
  245. CoolDown4Frame.Size = UDim2.new(0,80,0,50)
  246. CoolDown4Frame.Position = UDim2.new(0.55,0,0.4,0)
  247. CoolDown4Frame.BackgroundTransparency = 0.5
  248. CoolDown4Frame.BackgroundColor3 = BrickColor.White().Color
  249.  
  250. local CoolDown4Bar = Instance.new("Frame", CoolDown4Frame)
  251. CoolDown4Bar.Name = "CoolDown4Bar"
  252. CoolDown4Bar.Size = UDim2.new(0,80,0,50)
  253. CoolDown4Bar.Position = UDim2.new(0,0,0,0)
  254. CoolDown4Bar.BackgroundColor3 = BrickColor.White().Color
  255.  
  256. local CoolDown4Text = Instance.new("TextLabel", CoolDown4Frame)
  257. CoolDown4Text.Name = "CoolDown4Text"
  258. CoolDown4Text.Size = UDim2.new(0,80,0,50)
  259. CoolDown4Text.Position = UDim2.new(0,0,0,0)
  260. CoolDown4Text.BackgroundTransparency = 1
  261. CoolDown4Text.TextScaled = true
  262. CoolDown4Text.Text = "v - allahuekber"
  263. CoolDown4Text.TextStrokeTransparency = 0
  264. CoolDown4Text.TextStrokeColor3 = Color3.new(1,1,1)
  265. CoolDown4Text.TextColor3 = Color3.new(0,0,0)
  266. CoolDown4Text.Font = "SciFi"
  267.  
  268. local CoolDownEFrame = Instance.new("Frame", CoolDowns)
  269. CoolDownEFrame.Name = "CoolDownEFrame"
  270. CoolDownEFrame.Size = UDim2.new(0,180,0,50)
  271. CoolDownEFrame.Position = UDim2.new(0,0,0.74,0)
  272. CoolDownEFrame.BackgroundTransparency = 0.5
  273. CoolDownEFrame.BackgroundColor3 = BrickColor.White().Color
  274.  
  275. local CoolDownEBar = Instance.new("Frame", CoolDownEFrame)
  276. CoolDownEBar.Name = "CoolDownEBar"
  277. CoolDownEBar.Size = UDim2.new(0,180,0,50)
  278. CoolDownEBar.Position = UDim2.new(0,0,0,0)
  279. CoolDownEBar.BackgroundColor3 = BrickColor.White().Color
  280.  
  281. local CoolDownEText = Instance.new("TextLabel", CoolDownEFrame)
  282. CoolDownEText.Name = "CoolDownEText"
  283. CoolDownEText.Size = UDim2.new(0,180,0,50)
  284. CoolDownEText.Position = UDim2.new(0,0,0,0)
  285. CoolDownEText.BackgroundTransparency = 1
  286. CoolDownEText.TextScaled = true
  287. CoolDownEText.Text = "e - aaaa"
  288. CoolDownEText.TextStrokeTransparency = 0
  289. CoolDownEText.TextStrokeColor3 = Color3.new(1,1,1)
  290. CoolDownEText.TextColor3 = Color3.new(0,0,0)
  291. CoolDownEText.Font = "SciFi"
  292.  
  293. --[[ transformixu ]]--
  294.  
  295. Head.face.Texture = "http://www.roblox.com/asset/?id=176699876"
  296.  
  297. for i,v in pairs(Character:children()) do
  298.  
  299. if v:IsA("Hat") then
  300.  
  301. v:Remove()
  302.  
  303. end
  304.  
  305. end
  306.  
  307.  
  308. --[[ perts andi effictiz fucktions ]]--
  309.  
  310. function NoOutlines(Part)
  311. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  312. end
  313.  
  314. local CreateVelocity = function(Parent,Velocity,Force)
  315.  
  316. local BodyVelocity = Instance.new("BodyVelocity", Parent)
  317. BodyVelocity.Velocity = Velocity
  318. BodyVelocity.MaxForce = Force
  319.  
  320.  
  321.  
  322. return BodyVelocity
  323.  
  324. end
  325.  
  326. local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape)
  327.  
  328. local Part = Instance.new("Part", Parent)
  329. Part.Name = Name
  330. Part.BrickColor = BrickColor.new(Color)
  331. Part.Size = Size
  332. Part.Material = Material
  333. Part.Transparency = Transparency
  334. Part.Shape = Shape
  335. Part.CanCollide = false
  336. NoOutlines(Part)
  337.  
  338. return Part
  339.  
  340. end
  341.  
  342. local MakeSFX = function(Parent, Id, Volume, Pitch)
  343.  
  344. local SFX = Instance.new("Sound", Parent)
  345. SFX.SoundId = "http://www.roblox.com/asset?id=" .. Id
  346. SFX.Name = "SFX"
  347. SFX:Play()
  348. SFX.Volume = Volume
  349. SFX.Pitch = Pitch
  350. SFX.PlayOnRemove = true
  351. SFX:Remove()
  352.  
  353. end
  354.  
  355.  
  356. CircleEffect = function(Position, Parent, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  357.  
  358. local Part = Instance.new("Part", Parent)
  359. Part.Transparency = Transparency
  360. Part.Name = "CircleEffect"
  361. Part.Size = Vector3.new()
  362. Part.Anchored = true
  363. Part.CanCollide = false
  364. Part.Position = Position
  365. Part.BrickColor = BrickColor.new(Brickcolor)
  366. Part.Material = Material
  367. NoOutlines(Part)
  368.  
  369. local Mesh = Instance.new("SpecialMesh", Part)
  370. Mesh.MeshType = "Sphere"
  371. Mesh.Scale = Vector3.new(0,0,0)
  372.  
  373. Services.Debris:AddItem(Part, Time)
  374.  
  375.  
  376. table.insert(Effects, {Part, "Circle", Time, SX, SY, SZ})
  377.  
  378.  
  379. end
  380.  
  381. BlockEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  382.  
  383. local Part = Instance.new("Part", Parent)
  384. Part.Transparency = Transparency
  385. Part.Name = "BlockEffect"
  386. Part.Size = Vector3.new()
  387. Part.Anchored = true
  388. Part.Position = Position
  389. Part.CanCollide = false
  390. Part.BrickColor = BrickColor.new(Brickcolor)
  391. Part.Material = Material
  392. NoOutlines(Part)
  393.  
  394. local Mesh = Instance.new("BlockMesh", Part)
  395. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  396.  
  397. Services.Debris:AddItem(Part, Time)
  398.  
  399. table.insert(Effects, {Part, "Block", Time, SX, SY, SZ})
  400.  
  401.  
  402. end
  403.  
  404. --[[ customiz ]]--
  405.  
  406.  
  407. if Player:FindFirstChild("Custom") and Player.Custom.Customized.Value == true then
  408.  
  409. CoolDown1Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  410. CoolDown2Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  411. CoolDown3Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  412. CoolDown4Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  413. CoolDownEBar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
  414. Color = Player.Custom.Co1.Value
  415.  
  416. end
  417.  
  418.  
  419. --[[ soumdiz ]]--
  420.  
  421. WakeMeUpInside = Instance.new("Sound", Character)
  422. WakeMeUpInside.SoundId = "http://www.roblox.com/asset?id=326429386"
  423. WakeMeUpInside.Name = "WAKE ME UP INSIDE!111!"
  424. WakeMeUpInside.Looped = true
  425.  
  426. Sad = Instance.new("Sound", Character)
  427. Sad.SoundId = "http://www.roblox.com/asset?id=254352182"
  428. Sad.Name = "Sad"
  429. Sad.Looped = true
  430.  
  431. JOHNCENAh = Instance.new("Sound", Character)
  432. JOHNCENAh.SoundId = "http://www.roblox.com/asset?id=272322032"
  433. JOHNCENAh.Name = "JOHNCENAh"
  434.  
  435.  
  436.  
  437. --[[ crerp decaratius ]] --
  438. function clerp(a,b,t)
  439. local qa = {QuaternionFromCFrame(a)}
  440. local qb = {QuaternionFromCFrame(b)}
  441. local ax, ay, az = a.x, a.y, a.z
  442. local bx, by, bz = b.x, b.y, b.z
  443. local _t = 1-t
  444. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  445. end
  446.  
  447. function QuaternionFromCFrame(cf)
  448. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  449. local trace = m00 + m11 + m22
  450. if trace > 0 then
  451. local s = math.sqrt(1 + trace)
  452. local recip = 0.5/s
  453. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  454. else
  455. local i = 0
  456. if m11 > m00 then
  457. i = 1
  458. end
  459. if m22 > (i == 0 and m00 or m11) then
  460. i = 2
  461. end
  462. if i == 0 then
  463. local s = math.sqrt(m00-m11-m22+1)
  464. local recip = 0.5/s
  465. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  466. elseif i == 1 then
  467. local s = math.sqrt(m11-m22-m00+1)
  468. local recip = 0.5/s
  469. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  470. elseif i == 2 then
  471. local s = math.sqrt(m22-m00-m11+1)
  472. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  473. end
  474. end
  475. end
  476.  
  477. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  478. local xs, ys, zs = x + x, y + y, z + z
  479. local wx, wy, wz = w*xs, w*ys, w*zs
  480. local xx = x*xs
  481. local xy = x*ys
  482. local xz = x*zs
  483. local yy = y*ys
  484. local yz = y*zs
  485. local zz = z*zs
  486. 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))
  487. end
  488.  
  489. function QuaternionSlerp(a, b, t)
  490. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  491. local startInterp, finishInterp;
  492. if cosTheta >= 0.0001 then
  493. if (1 - cosTheta) > 0.0001 then
  494. local theta = math.acos(cosTheta)
  495. local invSinTheta = 1/math.sin(theta)
  496. startInterp = math.sin((1-t)*theta)*invSinTheta
  497. finishInterp = math.sin(t*theta)*invSinTheta
  498. else
  499. startInterp = 1-t
  500. finishInterp = t
  501. end
  502. else
  503. if (1+cosTheta) > 0.0001 then
  504. local theta = math.acos(-cosTheta)
  505. local invSinTheta = 1/math.sin(theta)
  506. startInterp = math.sin((t-1)*theta)*invSinTheta
  507. finishInterp = math.sin(t*theta)*invSinTheta
  508. else
  509. startInterp = t-1
  510. finishInterp = t
  511. end
  512. end
  513. 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
  514. end
  515.  
  516. function RayCast(Pos, Dir, Max, Ignore)
  517. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  518. end
  519.  
  520. --[[ debeigi fucktion ]]--
  521.  
  522.  
  523.  
  524. function DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  525.  
  526. local HitHumanoid = Hit.Parent.Humanoid
  527.  
  528.  
  529. local Damage = math.random(Min, Max)
  530.  
  531.  
  532. coroutine.resume(coroutine.create(function()
  533. HitHumanoid:TakeDamage(Damage)
  534. end))
  535.  
  536. if Type == "Normal" then
  537.  
  538. local Push = CreateVelocity(Hit.Parent.Torso, Torso.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  539. Services.Debris:AddItem(Push, 0)
  540. DamageLabel(Hit.Parent, Damage)
  541.  
  542. elseif Type == "Ranged" then
  543. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  544. Services.Debris:AddItem(Push, 0)
  545. DamageLabel(Hit.Parent, Damage)
  546.  
  547. elseif Type == "Knockdown" then
  548.  
  549.  
  550. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  551. DamageLabel(Hit.Parent, Damage)
  552. Services.Debris:AddItem(Push, 0.3)
  553.  
  554. coroutine.resume(coroutine.create(function()
  555.  
  556. HitHumanoid.PlatformStand = true
  557. wait(1)
  558. HitHumanoid.PlatformStand = false
  559.  
  560.  
  561. end))
  562. end
  563.  
  564. if HitSFX == "Penetration" then
  565.  
  566. MakeSFX(Hit, 199149269, 1 , 1)
  567.  
  568. elseif HitSFX == "Punch" then
  569.  
  570. MakeSFX(Hit, 278062209, 1 , 1)
  571.  
  572.  
  573.  
  574.  
  575. end
  576. end
  577.  
  578. function DamageLabel(HitCharacter, DamageDealt)
  579.  
  580. local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Bright yellow", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
  581. DamageShowingPart.Position = HitCharacter.Head.Position
  582.  
  583. local DamageGui = Instance.new("BillboardGui", DamageShowingPart)
  584. DamageGui.Name = "Damage"
  585. DamageGui.AlwaysOnTop = true
  586. DamageGui.Size = UDim2.new(5, 0, 5, 0)
  587.  
  588. local DamageNumber = Instance.new("TextLabel", DamageGui)
  589. DamageNumber.Size = UDim2.new(1,0,1,0)
  590. DamageNumber.TextStrokeColor3 = BrickColor.White().Color
  591. DamageNumber.TextColor3 = BrickColor.Black().Color
  592. DamageNumber.TextStrokeTransparency = 0
  593. DamageNumber.BackgroundTransparency = 1
  594. DamageNumber.Font = "SciFi"
  595. DamageNumber.TextScaled = true
  596. DamageNumber.Text = DamageDealt
  597.  
  598. local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
  599. BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  600. BodyVelocity.Velocity = Vector3.new(0,2,0)
  601.  
  602. Services.Debris:AddItem(DamageShowingPart, 3)
  603.  
  604.  
  605. end
  606. function ValidateDamage(Part, Distance ,Min , Max, Type, HitSFX, Knockback)
  607. for _,WorkspaceChildren in pairs(workspace:children()) do
  608.  
  609. local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
  610.  
  611. if HitHumanoid ~= nil then
  612. local Hit = WorkspaceChildren:findFirstChild("Torso")
  613.  
  614. if Hit ~= nil then
  615.  
  616. local Target = Hit.Position - Part.Position
  617.  
  618. local Magnitude = Target.magnitude
  619.  
  620. if Magnitude <= Distance and WorkspaceChildren.Name ~= Player.Name then
  621.  
  622. local HitBlock = Hit.Parent:FindFirstChild("Block")
  623.  
  624. if HitBlock ~= nil and HitBlock:FindFirstChild("BlockDurability") and HitBlock.Value == true then
  625.  
  626. local HitBlock2 = Hit.Parent.Block.BlockDurability
  627.  
  628. if HitBlock2.Value > 15 then
  629.  
  630. local HitN = math.random(1,5)
  631.  
  632. HitBlock2.Value = HitBlock2.Value - 15
  633.  
  634.  
  635. if HitN == 1 then
  636. MakeSFX(Hit ,199148971, 0.5, 1)
  637. end
  638.  
  639. if HitN == 2 then
  640. MakeSFX(Hit ,199149025, 0.5, 1)
  641. end
  642.  
  643. if HitN == 3 then
  644. MakeSFX(Hit ,199149072, 0.5, 1)
  645. end
  646.  
  647. if HitN == 4 then
  648. MakeSFX(Hit ,199149109, 0.5, 1)
  649. end
  650.  
  651. if HitN == 5 then
  652. MakeSFX(Hit ,199149119, 0.5, 1)
  653. end
  654. return
  655. end
  656. end
  657.  
  658. DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  659.  
  660.  
  661.  
  662. end
  663. end
  664. end
  665. end
  666. end
  667.  
  668.  
  669. function Bars()
  670.  
  671. --[[ Cooldowns Bars ]]--
  672.  
  673. if Cooldown1 ~= MaxCooldown1 then
  674.  
  675. Cooldown1 = Cooldown1 + 1
  676.  
  677. end
  678.  
  679. if Cooldown1 >= MaxCooldown1 then
  680.  
  681. Cooldown1 = MaxCooldown1
  682.  
  683. end
  684.  
  685.  
  686.  
  687. if Cooldown2 ~= MaxCooldown2 then
  688.  
  689. Cooldown2 = Cooldown2 + 0.1
  690. end
  691.  
  692.  
  693. if Cooldown2 >= MaxCooldown2 then
  694.  
  695. Cooldown2 = MaxCooldown2
  696.  
  697. end
  698.  
  699.  
  700.  
  701. if Cooldown3 ~= MaxCooldown3 then
  702. Cooldown3 = Cooldown3 + 0.1
  703. end
  704.  
  705. if Cooldown3 >= MaxCooldown3 then
  706.  
  707. Cooldown3 = MaxCooldown3
  708.  
  709. end
  710.  
  711.  
  712.  
  713. if Cooldown4 ~= MaxCooldown4 then
  714. Cooldown4 = Cooldown4 + 0.1
  715. end
  716.  
  717. if Cooldown4 >= MaxCooldown4 then
  718.  
  719. Cooldown4 = MaxCooldown4
  720.  
  721. end
  722.  
  723.  
  724.  
  725. if CooldownE ~= MaxCooldownE then
  726. CooldownE = CooldownE + 0.1
  727. end
  728.  
  729. if CooldownE >= MaxCooldownE then
  730.  
  731. CooldownE = MaxCooldownE
  732.  
  733. end
  734.  
  735. --[[ Health Bar ]]--
  736.  
  737. local YellowZone = Humanoid.MaxHealth / 2
  738. local RedZone = Humanoid.MaxHealth / 4
  739.  
  740. if Humanoid.Health <= YellowZone then
  741.  
  742. HealthBarP2.BackgroundColor3 = BrickColor.new("Gold").Color
  743.  
  744. end
  745.  
  746. if Humanoid.Health <= RedZone then
  747.  
  748. HealthBarP2.BackgroundColor3 = BrickColor.new("Bright red").Color
  749.  
  750. end
  751.  
  752. if Humanoid.Health >= YellowZone then
  753.  
  754. HealthBarP2.BackgroundColor3 = BrickColor.new("Lime green").Color
  755.  
  756. end
  757.  
  758.  
  759. --[[ Resize All Bars ]]--
  760.  
  761.  
  762. CoolDown1Bar.Size = UDim2.new(Cooldown1 / MaxCooldown1,0,0,50)
  763. CoolDown2Bar.Size = UDim2.new(Cooldown2 / MaxCooldown2,0,0,50)
  764. CoolDown3Bar.Size = UDim2.new(Cooldown3 / MaxCooldown3,0,0,50)
  765. CoolDown4Bar.Size = UDim2.new(Cooldown4 / MaxCooldown4,0,0,50)
  766. CoolDownEBar.Size = UDim2.new(CooldownE / MaxCooldownE,0,0,50)
  767. HealthBarP2.Size = UDim2.new(Humanoid.Health / Humanoid.MaxHealth,0,0,25)
  768.  
  769. end
  770.  
  771. --[[ attakis ]]--
  772.  
  773. function WAKEMEUPINSIDE()
  774.  
  775. for i = 1,3 do
  776. wait()
  777. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(3,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  778. Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(10,20,3) * CFrame.Angles(-0.5,0,0),0.3)
  779. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(3, 10, 0) * CFrame.Angles(-0.23,0.5,0.2), 0.3)
  780. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(3, 0.1, 0) * CFrame.Angles(0.3,0.2,2), 0.3)
  781. Right_Hip.C0=clerp(Right_Hip.C0,cf(3,-2,9)*CFrame.Angles(2,1.6,-0.2),0.2)
  782. Left_Hip.C0=clerp(Left_Hip.C0,cf(-0,-0,5)*CFrame.Angles(5,-1.6,0.2),0.2)
  783. end
  784.  
  785. ValidateDamage(Torso, 20, 1, 5, "Normal", "Punch", 50)
  786.  
  787. for i = 1,3 do
  788. wait()
  789. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(3,30,0)* CFrame.Angles(-0.3452,0,0),0.2)
  790. Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(12,56,5) * CFrame.Angles(-0.5,0,30),0.3)
  791. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(10, 30, 5) * CFrame.Angles(-0.23,0.5,0.2), 0.3)
  792. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(34, 1, 32) * CFrame.Angles(0.3,0.2,22), 0.3)
  793. Right_Hip.C0=clerp(Right_Hip.C0,cf(5,-3,3)*CFrame.Angles(2,1.6,-0.342),0.2)
  794. Left_Hip.C0=clerp(Left_Hip.C0,cf(-53,-0,25)*CFrame.Angles(5,-41.6,0.52),0.2)
  795. end
  796. ValidateDamage(Torso, 50, 1, 5, "Normal", "Punch", 50)
  797.  
  798. for i = 1,3 do
  799. wait()
  800. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(-3,-30,0)* CFrame.Angles(0.3452,-0,-0),0.2)
  801. Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(-12,-56,5) * CFrame.Angles(0.5,-0,-30),0.3)
  802. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(-10, -30, -5) * CFrame.Angles(0.23,-0.5,-0.2), 0.3)
  803. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-34, -1, -32) * CFrame.Angles(-0.3,-0.2,-22), 0.3)
  804. Right_Hip.C0=clerp(Right_Hip.C0,cf(-5,3,-3)*CFrame.Angles(-2,-1.6,0.342),0.2)
  805. Left_Hip.C0=clerp(Left_Hip.C0,cf(53,0,-25)*CFrame.Angles(-5,41.6,-0.52),0.2)
  806. end
  807. ValidateDamage(Torso, 50, 1, 5, "Normal", "Punch", 50)
  808.  
  809. end
  810.  
  811. function MemeLaunch()
  812.  
  813. memis = {294841732,474498947,474494834,519973850,291736664,513363123,94349155,379915109,331385631,387197836,304460548,196819764}
  814.  
  815. local meme = Instance.new("Part",game.Workspace)
  816. meme.Anchored = true
  817. meme.Position = Torso.Position + Vector3.new(0,5,0)
  818. meme.Rotation = Torso.Rotation + Vector3.new(0,-1,0)
  819. meme.Size = Vector3.new(5, 5, 0.2)
  820. meme.Transparency = 1
  821.  
  822.  
  823. meme.Touched:connect(function(hit)
  824.  
  825.  
  826. ValidateDamage(meme, 10, 1, 1, "Knockdown", "Punch", 130)
  827.  
  828.  
  829. end)
  830.  
  831.  
  832. game:GetService("Debris"):AddItem(meme, 30)
  833.  
  834. local memedecal = Instance.new("Decal", meme)
  835. memedecal.Texture = "http://www.roblox.com/asset?id=" .. memis[math.random(1, #memis)]
  836.  
  837.  
  838. local memedecal2 = memedecal:Clone()
  839. memedecal2.Parent = meme
  840. memedecal2.Face = "Back"
  841.  
  842.  
  843.  
  844. for i = 1,30 do
  845.  
  846. wait()
  847.  
  848.  
  849. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  850. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  851. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.1), 0.3)
  852. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.1), 0.3)
  853. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  854. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  855.  
  856.  
  857. end
  858.  
  859. meme.Anchored = false
  860.  
  861. meme.CFrame = CFrame.new(meme.Position, Mouse.Hit.p)
  862. local memevilocity = CreateVelocity(meme,meme.CFrame.lookVector * 250,Vector3.new(math.huge,math.huge,math.huge))
  863.  
  864.  
  865. for i = 1,30 do
  866.  
  867. wait()
  868.  
  869. ValidateDamage(meme, 1, 1, 33, "Knockdown", "Punch", 5)
  870.  
  871. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(0.8,0,0),0.2)
  872. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  873. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.1), 0.3)
  874. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.1), 0.3)
  875. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,0.8),0.2)
  876. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,-0.8),0.2)
  877.  
  878.  
  879. end
  880.  
  881. Attacking = false
  882. end
  883.  
  884. function JOHNCENA()
  885.  
  886. JOHNCENAh:Play()
  887.  
  888. Humanoid.WalkSpeed = 0
  889. Humanoid.JumpPower = 0
  890.  
  891.  
  892. for i = 1,60 do
  893.  
  894. wait()
  895. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,10)* CFrame.Angles(1.6,1.6,1.6),0.8)
  896. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1),0.3)
  897. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.5), 0.3)
  898. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.3), 0.3)
  899. Right_Hip.C0=clerp(Right_Hip.C0,cf(0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
  900. Left_Hip.C0=clerp(Left_Hip.C0,cf(-0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
  901.  
  902.  
  903. end
  904.  
  905. for i = 1,6 do
  906.  
  907. wait()
  908. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,-2)* CFrame.Angles(1.6,1.6,1.6),0.8)
  909. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1),0.3)
  910. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.5), 0.3)
  911. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.3), 0.3)
  912. Right_Hip.C0=clerp(Right_Hip.C0,cf(0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
  913. Left_Hip.C0=clerp(Left_Hip.C0,cf(-0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
  914.  
  915.  
  916. end
  917.  
  918. local Explosion = Instance.new("Explosion")
  919. Explosion.Parent = game.workspace.Terrain
  920. Explosion.Position = Right_Arm.Position
  921. Explosion.Name = "Boom!"
  922. Explosion.BlastRadius = 0
  923. Explosion.BlastPressure = 0
  924. Explosion.DestroyJointRadiusPercent = 0
  925. Explosion.ExplosionType = "NoCraters"
  926.  
  927. local dmgreference = Instance.new("Part", Services.Workspace)
  928. dmgreference.CFrame = Torso.CFrame
  929. dmgreference.Transparency = 1
  930. dmgreference.Size = Vector3.new()
  931. dmgreference.CanCollide = false
  932.  
  933.  
  934.  
  935. ValidateDamage(dmgreference, 1000, 10, 20, "Knockdown", "Penetration", 100)
  936.  
  937. Humanoid.WalkSpeed = 16
  938. Humanoid.JumpPower = 50
  939.  
  940. Attacking = false
  941.  
  942.  
  943. end
  944.  
  945. function allahuekber()
  946. Attacking = true
  947.  
  948. Sad:Remove()
  949. MakeSFX(Character,433848566, 1, 1)
  950.  
  951. Humanoid.WalkSpeed = 0
  952. Humanoid.JumpPower = 0
  953. wait(5)
  954. MakeSFX(Character, 134854740, 1 , 0.4)
  955. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  956. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  957. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  958. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  959. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  960. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  961. BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
  962. ValidateDamage(Torso, 1000, 77, 89, "Knockdown", "Penetration", 0)
  963. wait(5)
  964. Character:BreakJoints()
  965.  
  966. end
  967.  
  968. Mouse.KeyDown:connect(function(kei)
  969. if not Attacking then
  970.  
  971. if kei == "z" then
  972.  
  973.  
  974. WakeMeUp = true
  975.  
  976. if JOHNCENAh.IsPlaying == false then
  977. WakeMeUpInside:Resume()
  978. end
  979.  
  980. while WakeMeUp do
  981. WakeMeUp = true
  982. Attacking = true
  983. WAKEMEUPINSIDE()
  984. end
  985.  
  986.  
  987. end
  988. if kei == "x" then
  989.  
  990. Attacking = true
  991.  
  992.  
  993. MemeLaunch()
  994.  
  995.  
  996. end
  997.  
  998. if kei == "c" and JOHNCENAh.IsPlaying == false then
  999.  
  1000. Attacking = true
  1001.  
  1002.  
  1003. JOHNCENA()
  1004.  
  1005. end
  1006.  
  1007. if kei == "v" then
  1008.  
  1009. allahuekber()
  1010.  
  1011. end
  1012. end
  1013. end)
  1014.  
  1015. Mouse.KeyUp:connect(function(kei)
  1016.  
  1017.  
  1018. if kei == "z" and WakeMeUp then
  1019. Attacking = false
  1020. WakeMeUp = false
  1021. WakeMeUpInside:Pause()
  1022.  
  1023.  
  1024. end
  1025.  
  1026. end)
  1027.  
  1028. Humanoid.Died:connect(function ()
  1029.  
  1030. Sad:Play()
  1031.  
  1032. end)
  1033.  
  1034. --[[ crerp animaxius ]]--
  1035. while true do
  1036.  
  1037. wait()
  1038.  
  1039. Bars()
  1040.  
  1041. local Torvel = (Root.Velocity*Vector3.new(1,0,1)).magnitude
  1042. local Velderp = Root.Velocity.y
  1043. HitFloor,PosFloor = RayCast(Root.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1044.  
  1045. if Torvel < 1 and HitFloor ~= nil and Attacking == false then
  1046. Anim = "Idle"
  1047.  
  1048. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  1049. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1050. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
  1051. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
  1052. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  1053. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  1054.  
  1055. end
  1056.  
  1057.  
  1058. if 2 < Torvel and Torvel < 22 and HitFloor ~= nil and Attacking == false then
  1059. Anim = "Walking"
  1060. WalkForward = true
  1061. Walk = Walk + 1
  1062. if 15 - 5 * Movemment <= Walk then
  1063. Walk = 0
  1064. if WalkForward == true then
  1065. WalkForward = false
  1066. else
  1067. if WalkForward == false then
  1068. WalkForward = true
  1069. end
  1070. end
  1071. end
  1072.  
  1073. if Attacking == false then
  1074. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  1075. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1076. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 0.5, 0.6) * CFrame.Angles(-1.6,0,0.2), 0.3)
  1077. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.5, 0.6) * CFrame.Angles(-1.6,0,-0.2), 0.3)
  1078. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  1079. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  1080.  
  1081. end
  1082.  
  1083.  
  1084. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0) * CFrame.Angles(0,1.6,0),0.2)
  1085. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0) * CFrame.Angles(0,-1.6,0),0.2)
  1086. end
  1087.  
  1088. if Root.Velocity.y > 1 and HitFloor == nil and Attacking == false then
  1089. Anim = "Jump"
  1090.  
  1091. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  1092. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1093. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.2), 0.3)
  1094. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.2), 0.3)
  1095. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  1096. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  1097.  
  1098.  
  1099. end
  1100.  
  1101. if Root.Velocity.y < -1 and HitFloor == nil and Attacking == false then
  1102. Anim = "Fall"
  1103.  
  1104. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
  1105. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
  1106. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.2), 0.3)
  1107. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.2), 0.3)
  1108. Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
  1109. Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
  1110.  
  1111. end
  1112.  
  1113. if #Effects > 0 then
  1114. for E = 1, #Effects do
  1115. if Effects[E]~=nil then
  1116. local Effect = Effects[E]
  1117.  
  1118. if Effect ~= nil then
  1119.  
  1120. local Part = Effect[1]
  1121. local Mode = Effect[2]
  1122. local Time = Effect[3]
  1123. local SizeX = Effect[4]
  1124. local SizeY = Effect[5]
  1125. local SizeZ = Effect[6]
  1126.  
  1127. if Effect[1].Transparency <= 1 then
  1128. if Effect[2] == "Block" then
  1129. Effect[1].CFrame = Effect[1].CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1130.  
  1131. Mesh = Effect[1]:FindFirstChild("Mesh")
  1132. if Mesh ~= nil then
  1133. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1134. end
  1135.  
  1136. elseif Effect[2] == "Circle" then
  1137.  
  1138. if Effect[1]:FindFirstChild("Mesh") ~= nil then
  1139. Mesh=Effect[1].Mesh
  1140. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1141. end
  1142.  
  1143. else
  1144.  
  1145. Part.Parent=nil
  1146.  
  1147. table.remove(Effects, E)
  1148.  
  1149. end
  1150. end
  1151. end
  1152. end
  1153. end
  1154. end
  1155. end
  1156. end)
  1157.  
  1158. TextButton.Parent = ScreenGui
  1159. TextButton.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  1160. TextButton.Position = UDim2.new(0.151515156, 0, 0.143558279, 0)
  1161. TextButton.Size = UDim2.new(0, 204, 0, 104)
  1162. TextButton.Font = Enum.Font.SourceSans
  1163. TextButton.Text = "GCBC(EDIT BY FG)"
  1164. TextButton.TextColor3 = Color3.new(1, 1, 1)
  1165. TextButton.TextScaled = true
  1166. TextButton.TextSize = 14
  1167. TextButton.TextWrapped = true
  1168.  
  1169. TextButton.MouseButton1Down:connect(function()
  1170. --//====================================================\\--
  1171. --|| GOOD COP BAD COP BY SHACKLUSTER
  1172. --\\====================================================//--
  1173.  
  1174. wait(0.2)
  1175.  
  1176. Player = game:GetService("Players").LocalPlayer
  1177. PlayerGui = Player.PlayerGui
  1178. Cam = workspace.CurrentCamera
  1179. Backpack = Player.Backpack
  1180. Character = Player.Character
  1181. Humanoid = Character.Humanoid
  1182. Mouse = Player:GetMouse()
  1183. RootPart = Character["HumanoidRootPart"]
  1184. Torso = Character["Torso"]
  1185. Head = Character["Head"]
  1186. RightArm = Character["Right Arm"]
  1187. LeftArm = Character["Left Arm"]
  1188. RightLeg = Character["Right Leg"]
  1189. LeftLeg = Character["Left Leg"]
  1190. RootJoint = RootPart["RootJoint"]
  1191. Neck = Torso["Neck"]
  1192. RightShoulder = Torso["Right Shoulder"]
  1193. LeftShoulder = Torso["Left Shoulder"]
  1194. RightHip = Torso["Right Hip"]
  1195. LeftHip = Torso["Left Hip"]
  1196. local sick = Instance.new("Sound",RootPart)
  1197.  
  1198. IT = Instance.new
  1199. CF = CFrame.new
  1200. VT = Vector3.new
  1201. RAD = math.rad
  1202. C3 = Color3.new
  1203. UD2 = UDim2.new
  1204. BRICKC = BrickColor.new
  1205. ANGLES = CFrame.Angles
  1206. EULER = CFrame.fromEulerAnglesXYZ
  1207. COS = math.cos
  1208. ACOS = math.acos
  1209. SIN = math.sin
  1210. ASIN = math.asin
  1211. ABS = math.abs
  1212. MRANDOM = math.random
  1213. FLOOR = math.floor
  1214.  
  1215. --//=================================\\
  1216. --|| USEFUL VALUES
  1217. --\\=================================//
  1218.  
  1219. Animation_Speed = 3
  1220. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1221. local Speed = 20
  1222. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1223. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1224. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1225. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1226. local DAMAGEMULTIPLIER = 1
  1227. local ANIM = "Idle"
  1228. local ATTACK = false
  1229. local EQUIPPED = false
  1230. local HOLD = false
  1231. local COMBO = 1
  1232. local Rooted = false
  1233. local SINE = 0
  1234. local KEYHOLD = false
  1235. local CHANGE = 2 / Animation_Speed
  1236. local WALKINGANIM = false
  1237. local VALUE1 = false
  1238. local VALUE2 = false
  1239. local ROBLOXIDLEANIMATION = IT("Animation")
  1240. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1241. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1242. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1243. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1244. WEAPONGUI.Name = "Weapon GUI"
  1245. local Weapon = IT("Model")
  1246. Weapon.Name = "Adds"
  1247. local Effects = IT("Folder", Weapon)
  1248. Effects.Name = "Effects"
  1249. local ANIMATOR = Humanoid.Animator
  1250. local ANIMATE = Character.Animate
  1251. local UNANCHOR = true
  1252. local MODE = "GoodCop"
  1253.  
  1254. --//=================================\\
  1255. --\\=================================//
  1256.  
  1257.  
  1258. --//=================================\\
  1259. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1260. --\\=================================//
  1261.  
  1262. ArtificialHB = Instance.new("BindableEvent", script)
  1263. ArtificialHB.Name = "ArtificialHB"
  1264.  
  1265. script:WaitForChild("ArtificialHB")
  1266.  
  1267. frame = Frame_Speed
  1268. tf = 0
  1269. allowframeloss = false
  1270. tossremainder = false
  1271. lastframe = tick()
  1272. script.ArtificialHB:Fire()
  1273.  
  1274. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1275. tf = tf + s
  1276. if tf >= frame then
  1277. if allowframeloss then
  1278. script.ArtificialHB:Fire()
  1279. lastframe = tick()
  1280. else
  1281. for i = 1, math.floor(tf / frame) do
  1282. script.ArtificialHB:Fire()
  1283. end
  1284. lastframe = tick()
  1285. end
  1286. if tossremainder then
  1287. tf = 0
  1288. else
  1289. tf = tf - frame * math.floor(tf / frame)
  1290. end
  1291. end
  1292. end)
  1293.  
  1294. --//=================================\\
  1295. --\\=================================//
  1296.  
  1297. --//=================================\\
  1298. --|| SOME FUNCTIONS
  1299. --\\=================================//
  1300.  
  1301. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1302. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1303. end
  1304.  
  1305. function PositiveAngle(NUMBER)
  1306. if NUMBER >= 0 then
  1307. NUMBER = 0
  1308. end
  1309. return NUMBER
  1310. end
  1311.  
  1312. function NegativeAngle(NUMBER)
  1313. if NUMBER <= 0 then
  1314. NUMBER = 0
  1315. end
  1316. return NUMBER
  1317. end
  1318.  
  1319. function Swait(NUMBER)
  1320. if NUMBER == 0 or NUMBER == nil then
  1321. ArtificialHB.Event:wait()
  1322. else
  1323. for i = 1, NUMBER do
  1324. ArtificialHB.Event:wait()
  1325. end
  1326. end
  1327. end
  1328.  
  1329. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1330. local NEWMESH = IT(MESH)
  1331. if MESH == "SpecialMesh" then
  1332. NEWMESH.MeshType = MESHTYPE
  1333. if MESHID ~= "nil" and MESHID ~= "" then
  1334. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1335. end
  1336. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1337. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1338. end
  1339. end
  1340. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1341. NEWMESH.Scale = SCALE
  1342. NEWMESH.Parent = PARENT
  1343. return NEWMESH
  1344. end
  1345.  
  1346. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1347. local NEWPART = IT("Part")
  1348. NEWPART.formFactor = FORMFACTOR
  1349. NEWPART.Reflectance = REFLECTANCE
  1350. NEWPART.Transparency = TRANSPARENCY
  1351. NEWPART.CanCollide = false
  1352. NEWPART.Locked = true
  1353. NEWPART.Anchored = true
  1354. if ANCHOR == false then
  1355. NEWPART.Anchored = false
  1356. end
  1357. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1358. NEWPART.Name = NAME
  1359. NEWPART.Size = SIZE
  1360. NEWPART.Position = Torso.Position
  1361. NEWPART.Material = MATERIAL
  1362. NEWPART:BreakJoints()
  1363. NEWPART.Parent = PARENT
  1364. return NEWPART
  1365. end
  1366.  
  1367. local function weldBetween(a, b)
  1368. local weldd = Instance.new("ManualWeld")
  1369. weldd.Part0 = a
  1370. weldd.Part1 = b
  1371. weldd.C0 = CFrame.new()
  1372. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1373. weldd.Parent = a
  1374. return weldd
  1375. end
  1376.  
  1377.  
  1378. function QuaternionFromCFrame(cf)
  1379. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1380. local trace = m00 + m11 + m22
  1381. if trace > 0 then
  1382. local s = math.sqrt(1 + trace)
  1383. local recip = 0.5 / s
  1384. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1385. else
  1386. local i = 0
  1387. if m11 > m00 then
  1388. i = 1
  1389. end
  1390. if m22 > (i == 0 and m00 or m11) then
  1391. i = 2
  1392. end
  1393. if i == 0 then
  1394. local s = math.sqrt(m00 - m11 - m22 + 1)
  1395. local recip = 0.5 / s
  1396. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1397. elseif i == 1 then
  1398. local s = math.sqrt(m11 - m22 - m00 + 1)
  1399. local recip = 0.5 / s
  1400. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1401. elseif i == 2 then
  1402. local s = math.sqrt(m22 - m00 - m11 + 1)
  1403. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1404. end
  1405. end
  1406. end
  1407.  
  1408. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1409. local xs, ys, zs = x + x, y + y, z + z
  1410. local wx, wy, wz = w * xs, w * ys, w * zs
  1411. local xx = x * xs
  1412. local xy = x * ys
  1413. local xz = x * zs
  1414. local yy = y * ys
  1415. local yz = y * zs
  1416. local zz = z * zs
  1417. 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))
  1418. end
  1419.  
  1420. function QuaternionSlerp(a, b, t)
  1421. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1422. local startInterp, finishInterp;
  1423. if cosTheta >= 0.0001 then
  1424. if (1 - cosTheta) > 0.0001 then
  1425. local theta = ACOS(cosTheta)
  1426. local invSinTheta = 1 / SIN(theta)
  1427. startInterp = SIN((1 - t) * theta) * invSinTheta
  1428. finishInterp = SIN(t * theta) * invSinTheta
  1429. else
  1430. startInterp = 1 - t
  1431. finishInterp = t
  1432. end
  1433. else
  1434. if (1 + cosTheta) > 0.0001 then
  1435. local theta = ACOS(-cosTheta)
  1436. local invSinTheta = 1 / SIN(theta)
  1437. startInterp = SIN((t - 1) * theta) * invSinTheta
  1438. finishInterp = SIN(t * theta) * invSinTheta
  1439. else
  1440. startInterp = t - 1
  1441. finishInterp = t
  1442. end
  1443. end
  1444. 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
  1445. end
  1446.  
  1447. function Clerp(a, b, t)
  1448. local qa = {QuaternionFromCFrame(a)}
  1449. local qb = {QuaternionFromCFrame(b)}
  1450. local ax, ay, az = a.x, a.y, a.z
  1451. local bx, by, bz = b.x, b.y, b.z
  1452. local _t = 1 - t
  1453. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1454. end
  1455.  
  1456. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1457. local frame = IT("Frame")
  1458. frame.BackgroundTransparency = TRANSPARENCY
  1459. frame.BorderSizePixel = BORDERSIZEPIXEL
  1460. frame.Position = POSITION
  1461. frame.Size = SIZE
  1462. frame.BackgroundColor3 = COLOR
  1463. frame.BorderColor3 = BORDERCOLOR
  1464. frame.Name = NAME
  1465. frame.Parent = PARENT
  1466. return frame
  1467. end
  1468.  
  1469. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1470. local label = IT("TextLabel")
  1471. label.BackgroundTransparency = 1
  1472. label.Size = UD2(1, 0, 1, 0)
  1473. label.Position = UD2(0, 0, 0, 0)
  1474. label.TextColor3 = TEXTCOLOR
  1475. label.TextStrokeTransparency = STROKETRANSPARENCY
  1476. label.TextTransparency = TRANSPARENCY
  1477. label.FontSize = TEXTFONTSIZE
  1478. label.Font = TEXTFONT
  1479. label.BorderSizePixel = BORDERSIZEPIXEL
  1480. label.TextScaled = false
  1481. label.Text = TEXT
  1482. label.Name = NAME
  1483. label.Parent = PARENT
  1484. return label
  1485. end
  1486.  
  1487. function NoOutlines(PART)
  1488. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1489. end
  1490.  
  1491. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1492. local NEWWELD = IT(TYPE)
  1493. NEWWELD.Part0 = PART0
  1494. NEWWELD.Part1 = PART1
  1495. NEWWELD.C0 = C0
  1496. NEWWELD.C1 = C1
  1497. NEWWELD.Parent = PARENT
  1498. return NEWWELD
  1499. end
  1500.  
  1501. local S = IT("Sound")
  1502. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1503. local NEWSOUND = nil
  1504. coroutine.resume(coroutine.create(function()
  1505. NEWSOUND = S:Clone()
  1506. NEWSOUND.Parent = PARENT
  1507. NEWSOUND.Volume = VOLUME
  1508. NEWSOUND.Pitch = PITCH
  1509. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1510. NEWSOUND:play()
  1511. if DOESLOOP == true then
  1512. NEWSOUND.Looped = true
  1513. else
  1514. repeat wait(1) until NEWSOUND.Playing == false
  1515. NEWSOUND:remove()
  1516. end
  1517. end))
  1518. return NEWSOUND
  1519. end
  1520.  
  1521. function CFrameFromTopBack(at, top, back)
  1522. local right = top:Cross(back)
  1523. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1524. end
  1525.  
  1526. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1527. function WACKYEFFECT(Table)
  1528. local TYPE = (Table.EffectType or "Sphere")
  1529. local SIZE = (Table.Size or VT(1,1,1))
  1530. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1531. local TRANSPARENCY = (Table.Transparency or 0)
  1532. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1533. local CFRAME = (Table.CFrame or Torso.CFrame)
  1534. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1535. local ROTATION1 = (Table.RotationX or 0)
  1536. local ROTATION2 = (Table.RotationY or 0)
  1537. local ROTATION3 = (Table.RotationZ or 0)
  1538. local MATERIAL = (Table.Material or "Neon")
  1539. local COLOR = (Table.Color or C3(1,1,1))
  1540. local TIME = (Table.Time or 45)
  1541. local SOUNDID = (Table.SoundID or nil)
  1542. local SOUNDPITCH = (Table.SoundPitch or nil)
  1543. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1544. coroutine.resume(coroutine.create(function()
  1545. local PLAYSSOUND = false
  1546. local SOUND = nil
  1547. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1548. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1549. PLAYSSOUND = true
  1550. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1551. end
  1552. EFFECT.Color = COLOR
  1553. local MSH = nil
  1554. if TYPE == "Sphere" then
  1555. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1556. elseif TYPE == "Block" or TYPE == "Box" then
  1557. MSH = IT("BlockMesh",EFFECT)
  1558. MSH.Scale = SIZE
  1559. elseif TYPE == "Wave" then
  1560. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1561. elseif TYPE == "Ring" then
  1562. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1563. elseif TYPE == "Slash" then
  1564. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1565. elseif TYPE == "Round Slash" then
  1566. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1567. elseif TYPE == "Swirl" then
  1568. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1569. elseif TYPE == "Skull" then
  1570. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1571. elseif TYPE == "Crystal" then
  1572. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1573. end
  1574. if MSH ~= nil then
  1575. local MOVESPEED = nil
  1576. if MOVEDIRECTION ~= nil then
  1577. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1578. end
  1579. local GROWTH = SIZE - ENDSIZE
  1580. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1581. if TYPE == "Block" then
  1582. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1583. else
  1584. EFFECT.CFrame = CFRAME
  1585. end
  1586. for LOOP = 1, TIME+1 do
  1587. Swait()
  1588. MSH.Scale = MSH.Scale - GROWTH/TIME
  1589. if TYPE == "Wave" then
  1590. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1591. end
  1592. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1593. if TYPE == "Block" then
  1594. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1595. else
  1596. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1597. end
  1598. if MOVEDIRECTION ~= nil then
  1599. local ORI = EFFECT.Orientation
  1600. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1601. EFFECT.Orientation = ORI
  1602. end
  1603. end
  1604. if PLAYSSOUND == false then
  1605. EFFECT:remove()
  1606. else
  1607. repeat Swait() until SOUND.Playing == false
  1608. EFFECT:remove()
  1609. end
  1610. else
  1611. if PLAYSSOUND == false then
  1612. EFFECT:remove()
  1613. else
  1614. repeat Swait() until SOUND.Playing == false
  1615. EFFECT:remove()
  1616. end
  1617. end
  1618. end))
  1619. end
  1620.  
  1621. function MakeForm(PART,TYPE)
  1622. if TYPE == "Cyl" then
  1623. local MSH = IT("CylinderMesh",PART)
  1624. elseif TYPE == "Ball" then
  1625. local MSH = IT("SpecialMesh",PART)
  1626. MSH.MeshType = "Sphere"
  1627. elseif TYPE == "Wedge" then
  1628. local MSH = IT("SpecialMesh",PART)
  1629. MSH.MeshType = "Wedge"
  1630. elseif TYPE == "Head" then
  1631. local MSH = IT("SpecialMesh",PART)
  1632. MSH.Scale = VT(1.25,1.25,1.25)
  1633. end
  1634. end
  1635.  
  1636. Debris = game:GetService("Debris")
  1637.  
  1638. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1639. local DIRECTION = CF(StartPos,EndPos).lookVector
  1640. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1641. end
  1642.  
  1643. function CharacterFade(COLOR,TIMER)
  1644. coroutine.resume(coroutine.create(function()
  1645. local FADE = IT("Model",Effects)
  1646. FADE.Name = "FadingEffect"
  1647. for _, c in pairs(Character:GetChildren()) do
  1648. if c.ClassName == "Part" and c ~= RootPart then
  1649. local FADER = c:Clone()
  1650. FADER.Color = COLOR
  1651. FADER.CFrame = c.CFrame
  1652. FADER.Parent = FADE
  1653. FADER.Anchored = true
  1654. FADER.Transparency = 0.25+c.Transparency
  1655. FADER:BreakJoints()
  1656. FADER.Material = "Neon"
  1657. if FADER.Name == "Head" then
  1658. FADER:ClearAllChildren()
  1659. FADER.Size = VT(1,1,1)
  1660. end
  1661. FADER.CanCollide = false
  1662. end
  1663. end
  1664. local TRANS = 0.75/TIMER
  1665. for i = 1, TIMER do
  1666. Swait()
  1667. for _, c in pairs(FADE:GetChildren()) do
  1668. if c.ClassName == "Part" then
  1669. c.Transparency = c.Transparency + TRANS
  1670. end
  1671. end
  1672. end
  1673. FADE:remove()
  1674. end))
  1675. end
  1676.  
  1677. function Chatter(Text,Timer)
  1678. local chat = coroutine.wrap(function()
  1679. if Character:FindFirstChild("SpeechBoard")~= nil then
  1680. Character:FindFirstChild("SpeechBoard"):destroy()
  1681. end
  1682. local naeeym2 = IT("BillboardGui",Character)
  1683. naeeym2.Size = UD2(0,100,0,40)
  1684. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1685. naeeym2.Adornee = Character.Head
  1686. naeeym2.Name = "SpeechBoard"
  1687. naeeym2.AlwaysOnTop = true
  1688. local tecks2 = IT("TextLabel",naeeym2)
  1689. tecks2.BackgroundTransparency = 1
  1690. tecks2.BorderSizePixel = 0
  1691. tecks2.Text = ""
  1692. tecks2.Font = "Legacy"
  1693. tecks2.TextSize = 15
  1694. tecks2.TextStrokeTransparency = 0
  1695. tecks2.TextColor3 = Color3.new(1,1,1)
  1696. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1697. tecks2.Size = UDim2.new(1,0,0.5,0)
  1698. for i = 1,string.len(Text),1 do
  1699. CreateSound(418252437, Head, 3, MRANDOM(8,12)/15, false)
  1700. tecks2.Text = string.sub(Text,1,i)
  1701. wait(Timer)
  1702. end
  1703. wait(1)
  1704. naeeym2:Destroy()
  1705. end)
  1706. chat()
  1707. end
  1708.  
  1709. --//=================================\\
  1710. --|| WEAPON CREATION
  1711. --\\=================================//
  1712.  
  1713. local FACE = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Face mask", VT(1.001,1.001,1.001),false)
  1714. CreateWeldOrSnapOrMotor("Weld", FACE, Head, FACE, CF(0.02,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1715. MakeForm(FACE,"Head")
  1716. local EYE = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.1,0.25,0.2),false)
  1717. CreateWeldOrSnapOrMotor("Weld", EYE, Head, EYE, CF(0.15,0.25,-0.53) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1718. MakeForm(EYE,"Ball")
  1719. local top = Instance.new("Shirt")
  1720. top.ShirtTemplate = "rbxassetid://269003887"
  1721. top.Parent = Character
  1722. top.Name = "Cloth"
  1723. local bottom = Instance.new("Pants")
  1724. bottom.PantsTemplate = "rbxassetid://268832352"
  1725. bottom.Parent = Character
  1726. bottom.Name = "Cloth"
  1727. local BATON = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Baton", VT(1, 0.8, 3),false)
  1728. CreateMesh("SpecialMesh", BATON, "FileMesh", "11820238", "", VT(1,1,1), VT(0,0,0))
  1729. local BATONWELD = CreateWeldOrSnapOrMotor("Weld", BATON, Torso, BATON, CF(1,-0.8,0.75) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1730. local A = IT("Attachment",BATON)
  1731. local B = IT("Attachment",BATON)
  1732. B.Position = VT(0,0,-0.4)
  1733. A.Position = VT(0,0,1)
  1734. local Trail = IT("Trail",BATON)
  1735. Trail.Attachment0 = A
  1736. Trail.Attachment1 = B
  1737. Trail.Lifetime = 0.1
  1738. Trail.Color = ColorSequence.new(C3(0,0,0))
  1739. Trail.Transparency = NumberSequence.new(0, 1)
  1740. Trail.Enabled = false
  1741. Trail.Texture = "http://www.roblox.com/asset/?id=1831500579"
  1742. local GUN = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
  1743. CreateMesh("SpecialMesh", GUN, "FileMesh", "623102664", "623102879", VT(0.01, 0.01, 0.01), VT(0,0,0))
  1744. local GUNWELD = CreateWeldOrSnapOrMotor("Weld", GUN, Torso, GUN, CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  1745.  
  1746. for _, c in pairs(Weapon:GetChildren()) do
  1747. if c.ClassName == "Part" then
  1748. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1749. end
  1750. end
  1751.  
  1752. Weapon.Parent = Character
  1753.  
  1754. local SKILLTEXTCOLOR = C3(1,1,1)
  1755. local SKILLFONT = "Legacy"
  1756. local SKILLTEXTSIZE = 4
  1757.  
  1758. local ATTACKSGOODCOP = {"Mouse - Warning","Q - Baton Stun","E - Cuffs"}
  1759. local ATTACKSBADCOP = {"Mouse - Silence","Q - Baton Breaker","E - The Right to remain silent"}
  1760. local GOODUI = {}
  1761. local BADUI = {}
  1762.  
  1763. for i = 1, #ATTACKSGOODCOP do
  1764. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.73, 0, 0.7-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  1765. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKSGOODCOP[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
  1766. SKILLTEXT.TextXAlignment = "Right"
  1767. table.insert(GOODUI,SKILLTEXT)
  1768. end
  1769.  
  1770. for i = 1, #ATTACKSBADCOP do
  1771. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.01, 0, 0.7-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  1772. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKSBADCOP[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Skill text")
  1773. SKILLTEXT.TextXAlignment = "Left"
  1774. table.insert(BADUI,SKILLTEXT)
  1775. end
  1776.  
  1777. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  1778. local SKILLTEXT = CreateLabel(SKILLFRAME, "[F - Switch]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
  1779.  
  1780. --//=================================\\
  1781. --|| DAMAGING
  1782. --\\=================================//
  1783.  
  1784. function ApplyDamage(Humanoid,Damage)
  1785. Damage = Damage * DAMAGEMULTIPLIER
  1786. local DEAD = false
  1787. if Humanoid.Health < 2000 then
  1788. if Humanoid.Health - Damage > 0 then
  1789. Humanoid.Health = Humanoid.Health - Damage
  1790. else
  1791. DEAD = true
  1792. Humanoid.Parent:BreakJoints()
  1793. end
  1794. else
  1795. DEAD = true
  1796. Humanoid.Parent:BreakJoints()
  1797. end
  1798. if DEAD == true then
  1799. if MODE == "GoodCop" then
  1800. local TEXTS = {"I'm simply laying down the law.","You should've taken account of the law.","Another criminal down."}
  1801. Chatter(TEXTS[MRANDOM(1,#TEXTS)],0)
  1802. elseif MODE == "BadCop" then
  1803. local TEXTS = {"Criminals should leave this world!","You should've taken account of the law!","And stay down!"}
  1804. Chatter(TEXTS[MRANDOM(1,#TEXTS)],0)
  1805. end
  1806. end
  1807. end
  1808.  
  1809. --//=================================\\
  1810. --|| TRANSFORMATIONS
  1811. --\\=================================//
  1812.  
  1813. function Switch()
  1814. ATTACK = true
  1815. Rooted = true
  1816. if MODE == "GoodCop" then
  1817. for i=0, 0.3, 0.1 / Animation_Speed do
  1818. Swait()
  1819. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1820. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1821. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1822. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1823. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1824. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1825. end
  1826. for i=0, 1, 0.1 / Animation_Speed do
  1827. Swait()
  1828. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1829. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1830. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1831. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1832. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1833. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1834. end
  1835. CreateSound(363808674, Torso, 6, 1, false)
  1836. for i=0, 0.6, 0.1 / Animation_Speed do
  1837. Swait()
  1838. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1839. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  1840. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1841. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1842. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1843. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1844. end
  1845. CreateSound(363808674, Torso, 6, 1, false)
  1846. for i=0, 0.6, 0.1 / Animation_Speed do
  1847. Swait()
  1848. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1849. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  1850. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1851. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1852. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1853. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1854. end
  1855. MODE = "BadCop"
  1856. elseif MODE == "BadCop" then
  1857. CreateSound(147722227, Torso, 4, 1.3, false)
  1858. for i=0, 0.3, 0.1 / Animation_Speed do
  1859. Swait()
  1860. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1861. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1862. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1863. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1864. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1865. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1866. end
  1867. MODE = "GoodCop"
  1868. end
  1869. ATTACK = false
  1870. Rooted = false
  1871. end
  1872.  
  1873. --//=================================\\
  1874. --|| ATTACK GOOD COP
  1875. --\\=================================//
  1876.  
  1877. function Warning()
  1878. local TARGET = Mouse.Target
  1879. if TARGET ~= nil then
  1880. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  1881. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  1882. local LEG = TARGET.Parent:FindFirstChild("Right Leg") or TARGET.Parent:FindFirstChild("RightLowerLeg")
  1883. if LEG and HUM.Health > 0 then
  1884. Speed = 6
  1885. ATTACK = true
  1886. Rooted = false
  1887. local GYRO = IT("BodyGyro",RootPart)
  1888. GYRO.D = 2
  1889. GYRO.P = 2000
  1890. GYRO.MaxTorque = VT(0,4000000,0)
  1891. coroutine.resume(coroutine.create(function()
  1892. repeat
  1893. Swait()
  1894. GYRO.CFrame = CF(RootPart.Position,LEG.Position)
  1895. until ATTACK == false
  1896. GYRO:Remove()
  1897. end))
  1898. local HIT,POS = CastProperRay(RootPart.Position,LEG.Position,1000,Character)
  1899. local PASS = true
  1900. for i=0, 0.2, 0.1 / Animation_Speed do
  1901. Swait()
  1902. HIT,POS = CastProperRay(RootPart.Position,LEG.Position,1000,Character)
  1903. if HIT == nil then
  1904. PASS = false
  1905. break
  1906. else
  1907. if HIT.Parent ~= TARGET.Parent then
  1908. PASS = false
  1909. break
  1910. end
  1911. end
  1912. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1913. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  1914. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1915. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1916. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1917. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1918. end
  1919. CreateSound(147722227, GUN, 6, 1.3, false)
  1920. GUNWELD.Part0 = LeftArm
  1921. GUNWELD.C0 = CF(0,-1.5,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
  1922. for i=0, 0.4, 0.1 / Animation_Speed do
  1923. Swait()
  1924. HIT,POS = CastProperRay(RootPart.Position,LEG.Position,1000,Character)
  1925. if HIT == nil then
  1926. PASS = false
  1927. break
  1928. else
  1929. if HIT.Parent ~= TARGET.Parent then
  1930. PASS = false
  1931. break
  1932. end
  1933. end
  1934. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1935. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1936. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1937. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1938. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1939. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1940. end
  1941. if PASS == true then
  1942. local GUNPOS = GUN.CFrame*CF(1.2, 0.5, 0).p
  1943. local DISTANCE = (LEG.Position - GUNPOS).Magnitude
  1944. CreateSound(160432334, LEG, 10, 1, false)
  1945. local HEAD = HUM.Parent:FindFirstChild("Head")
  1946. if HEAD then
  1947. CreateSound(535690488, HEAD, 7, 1, false)
  1948. end
  1949. ApplyDamage(HUM,15)
  1950. HUM.WalkSpeed = HUM.WalkSpeed - 3
  1951. HUM.PlatformStand = true
  1952. coroutine.resume(coroutine.create(function()
  1953. wait(0.1)
  1954. if HUM.WalkSpeed > 0 then
  1955. HUM.PlatformStand = false
  1956. end
  1957. end))
  1958. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0.3,0.3,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = 330704232, SoundPitch = 1, SoundVolume = 4})
  1959. WACKYEFFECT({Time = 6, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.1,0.1,DISTANCE), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS,LEG.Position)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1960. for i=0, 1, 0.1 / Animation_Speed do
  1961. Swait()
  1962. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1963. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 1 / Animation_Speed)
  1964. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1965. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1966. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1967. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1968. end
  1969. end
  1970. for i=0, 0.3, 0.1 / Animation_Speed do
  1971. Swait()
  1972. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1973. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  1974. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1975. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1976. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1977. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1978. end
  1979. GUNWELD.Part0 = Torso
  1980. GUNWELD.C0 = CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
  1981. ATTACK = false
  1982. Rooted = false
  1983. Speed = 20
  1984. end
  1985. end
  1986. end
  1987. end
  1988. function BatonStun()
  1989. ATTACK = true
  1990. Rooted = false
  1991. Speed = 4
  1992. for i=0, 0.2, 0.1 / Animation_Speed do
  1993. Swait()
  1994. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1995. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1996. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1997. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1998. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1999. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2000. end
  2001. BATONWELD.Part0 = RightArm
  2002. BATONWELD.C0 = CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * CF(0,0,1)
  2003. for i=0, 0.2, 0.1 / Animation_Speed do
  2004. Swait()
  2005. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2006. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(25)), 1 / Animation_Speed)
  2007. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.1) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2008. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2009. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2010. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2011. end
  2012. Speed = 25
  2013. CreateSound(147722227, BATON, 6, 1.2, false)
  2014. Trail.Enabled = true
  2015. BATON.CanCollide = true
  2016. local SPEAKING = false
  2017. local HITS = {}
  2018. local TOUCH = BATON.Touched:Connect(function(hit)
  2019. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  2020. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  2021. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2022. if TORSO and HUM.Health > 0 then
  2023. local PASS = true
  2024. for i = 1, #HITS do
  2025. if HITS[i] == hit.Parent then
  2026. PASS = false
  2027. end
  2028. end
  2029. table.insert(HITS,hit.Parent)
  2030. if PASS == true then
  2031. HUM.PlatformStand = true
  2032. ApplyDamage(HUM,20)
  2033. local bv = Instance.new("BodyVelocity",TORSO)
  2034. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2035. bv.velocity = CF(Torso.Position-VT(0,5,0),TORSO.Position).lookVector*70
  2036. Debris:AddItem(bv,0.05)
  2037. CreateSound(260430079, BATON, 6, 1, false)
  2038. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,BATON.Position)*CF(0,0,-0.5), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Glass = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 4})
  2039. coroutine.resume(coroutine.create(function()
  2040. wait(1)
  2041. if HUM.WalkSpeed > 0 then
  2042. HUM.PlatformStand = false
  2043. end
  2044. end))
  2045. if SPEAKING == false and MRANDOM(1,5) == 1 then
  2046. SPEAKING = true
  2047. Chatter("Let that be a warning.",0)
  2048. end
  2049. end
  2050. end
  2051. end
  2052. end)
  2053. for i=0, 0.35, 0.1 / Animation_Speed do
  2054. Swait()
  2055. BATONWELD.C0 = Clerp(BATONWELD.C0,CF(0,-1,0) * ANGLES(RAD(120), RAD(0), RAD(0)) * CF(0,0,1), 1 / Animation_Speed)
  2056. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  2057. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2058. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.6) * ANGLES(RAD(140), RAD(0), RAD(-31)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2059. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2060. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2061. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2062. end
  2063. TOUCH:Disconnect()
  2064. BATON.CanCollide = false
  2065. Speed = 20
  2066. Trail.Enabled = false
  2067. for i=0, 0.2, 0.1 / Animation_Speed do
  2068. Swait()
  2069. BATONWELD.C0 = Clerp(BATONWELD.C0,CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * CF(0,0,1), 2 / Animation_Speed)
  2070. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2071. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2072. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2073. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2074. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2075. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2076. end
  2077. BATONWELD.Part0 = Torso
  2078. BATONWELD.C0 = CF(1,-0.8,0.75) * ANGLES(RAD(0), RAD(0), RAD(0))
  2079. ATTACK = false
  2080. Rooted = false
  2081. end
  2082. function Cuffs()
  2083. local TARGET = Mouse.Target
  2084. if TARGET ~= nil then
  2085. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  2086. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  2087. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  2088. if ROOT and HUM.Health > 0 then
  2089. local FOE = Mouse.Target.Parent
  2090. ATTACK = true
  2091. Rooted = true
  2092. CharacterFade(C3(1,1,1),70)
  2093. RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
  2094. ROOT.Anchored = true
  2095. CreateSound(289556450, RootPart, 5, 1.4, false)
  2096. Chatter("You have the right to remain silent.",0)
  2097. for i=0, 2, 0.1 / Animation_Speed do
  2098. Swait()
  2099. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2100. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2101. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2102. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2103. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2104. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2105. end
  2106. local RIGHTCUFF = nil
  2107. local LEFTCUFF = nil
  2108. local ChainLink = nil
  2109. CreateSound(1279090548, ROOT, 10, 1.4, false)
  2110. for _, c in pairs(FOE:GetChildren()) do
  2111. if c.Name == "Left Arm" or c.Name == "LeftLowerArm" then
  2112. LEFTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
  2113. LEFTCUFF.CFrame = c.CFrame
  2114. weldBetween(c,LEFTCUFF)
  2115. end
  2116. end
  2117. for _, c in pairs(FOE:GetChildren()) do
  2118. if c.Name == "Right Arm" or c.Name == "RightLowerArm" then
  2119. RIGHTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
  2120. RIGHTCUFF.CFrame = c.CFrame
  2121. weldBetween(c,RIGHTCUFF)
  2122. end
  2123. end
  2124. if RIGHTCUFF and LEFTCUFF then
  2125. local A = IT("Attachment",RIGHTCUFF)
  2126. local B = IT("Attachment",LEFTCUFF)
  2127. ChainLink = IT("Beam",FOE)
  2128. ChainLink.Texture = "rbxassetid://73042633"
  2129. ChainLink.Color = ColorSequence.new(C3(0.8,0.8,0.8))
  2130. ChainLink.TextureSpeed = 0
  2131. ChainLink.Width0 = 1
  2132. ChainLink.Width1 = 1
  2133. ChainLink.Segments = 25
  2134. ChainLink.TextureLength = 3
  2135. ChainLink.Attachment0 = B
  2136. ChainLink.Attachment1 = A
  2137. ChainLink.FaceCamera = true
  2138. ChainLink.Transparency = NumberSequence.new(0)
  2139. end
  2140. coroutine.resume(coroutine.create(function()
  2141. wait(4)
  2142. if RIGHTCUFF and LEFTCUFF then
  2143. RIGHTCUFF:remove()
  2144. LEFTCUFF:remove()
  2145. ChainLink:remove()
  2146. local bv = Instance.new("BodyVelocity",ROOT)
  2147. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2148. bv.velocity = CF(ROOT.Position-VT(0,5,0),ROOT.Position).lookVector*70
  2149. Debris:AddItem(bv,0.05)
  2150. ApplyDamage(HUM,70)
  2151. HUM.PlatformStand = false
  2152. WACKYEFFECT({Time = 50, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = CF(RIGHTCUFF.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Glass = C3(1,1,1), SoundID = 174580476, SoundPitch = 1, SoundVolume = 7})
  2153. WACKYEFFECT({Time = 50, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = CF(LEFTCUFF.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Glass = C3(1,1,1), SoundID = 174580476, SoundPitch = 1, SoundVolume = 7})
  2154. end
  2155. end))
  2156. for i=0, 1.5, 0.1 / Animation_Speed do
  2157. Swait()
  2158. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2159. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(5), RAD(0)), 1 / Animation_Speed)
  2160. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2161. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2162. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2163. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2164. end
  2165. HUM.PlatformStand = true
  2166. ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(15), RAD(0), RAD(0))
  2167. ROOT.Anchored = false
  2168. Chatter("Anything you say can and WILL be used against you.",0)
  2169. for i=0, 3, 0.1 / Animation_Speed do
  2170. Swait()
  2171. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(-35)), 1 / Animation_Speed)
  2172. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  2173. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(3)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2174. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2175. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-12), RAD(80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2176. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2177. end
  2178. ATTACK = false
  2179. Rooted = false
  2180. end
  2181. end
  2182. end
  2183. end
  2184.  
  2185. --//=================================\\
  2186. --|| ATTACK BAD COP
  2187. --\\=================================//
  2188.  
  2189. function Silence()
  2190. Speed = 6
  2191. ATTACK = true
  2192. Rooted = false
  2193. local GYRO = IT("BodyGyro",RootPart)
  2194. GYRO.D = 2
  2195. GYRO.P = 20000
  2196. GYRO.MaxTorque = VT(0,4000000,0)
  2197. coroutine.resume(coroutine.create(function()
  2198. repeat
  2199. Swait()
  2200. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  2201. until ATTACK == false
  2202. GYRO:Remove()
  2203. end))
  2204. for i=0, 0.2, 0.1 / Animation_Speed do
  2205. Swait()
  2206. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2207. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  2208. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2209. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2210. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2211. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2212. end
  2213. local AMMO = 6
  2214. local FIRING = true
  2215. local SHOOTING = false
  2216. local TIMER = 70
  2217. CreateSound(147722227, GUN, 6, 1.3, false)
  2218. GUNWELD.Part0 = LeftArm
  2219. GUNWELD.C0 = CF(0,-1.5,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
  2220. local MOUSE = Mouse.Button1Down:connect(function(NEWKEY)
  2221. if SHOOTING == false and AMMO > 0 then
  2222. SHOOTING = true
  2223. AMMO = AMMO - 1
  2224. local GUNPOS = GUN.CFrame*CF(1.2, 0.5, 0).p
  2225. local HIT,POS = CastProperRay(GUNPOS,Mouse.Hit.p,1000,Character)
  2226. local DISTANCE = (POS - GUNPOS).Magnitude
  2227. if HIT then
  2228. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  2229. if HIT.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
  2230. CreateSound(160432334, HIT, 10, 1, false)
  2231. ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"),35)
  2232. end
  2233. end
  2234. end
  2235. TIMER = 55
  2236. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0.3,0.3,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = 330704232, SoundPitch = 1, SoundVolume = 4})
  2237. WACKYEFFECT({Time = 6, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.1,0.1,DISTANCE), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2238. for i=0, 0.3, 0.1 / Animation_Speed do
  2239. Swait()
  2240. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2241. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2242. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2243. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(100), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2244. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2245. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2246. end
  2247. if AMMO <= 0 then
  2248. FIRING = false
  2249. end
  2250. SHOOTING = false
  2251. end
  2252. end)
  2253. repeat
  2254. Swait()
  2255. if SHOOTING == false then
  2256. TIMER = TIMER - 1
  2257. if TIMER <= 0 then
  2258. FIRING = false
  2259. end
  2260. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2261. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2262. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2263. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2264. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2265. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2266. end
  2267. until FIRING == false and SHOOTING == false
  2268. MOUSE:Disconnect()
  2269. for i=0, 0.3, 0.1 / Animation_Speed do
  2270. Swait()
  2271. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2272. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  2273. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2274. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2275. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2276. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2277. end
  2278. GUNWELD.Part0 = Torso
  2279. GUNWELD.C0 = CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
  2280. Speed = 20
  2281. ATTACK = false
  2282. Rooted = false
  2283. end
  2284. function BatonBreaker()
  2285. ATTACK = true
  2286. Rooted = false
  2287. Speed = 4
  2288. Chatter("I'll break you!",0)
  2289. for i=0, 0.2, 0.1 / Animation_Speed do
  2290. Swait()
  2291. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2292. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2293. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2294. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2295. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2296. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2297. end
  2298. BATONWELD.Part0 = RightArm
  2299. BATONWELD.C0 = CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * CF(0,0,1)
  2300. for i=0, 0.5, 0.1 / Animation_Speed do
  2301. Swait()
  2302. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2303. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(25)), 1 / Animation_Speed)
  2304. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.1) * ANGLES(RAD(-20), RAD(-40), RAD(25)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2305. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2306. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2307. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2308. end
  2309. Speed = 30
  2310. CreateSound(147722227, BATON, 6, 1, false)
  2311. Trail.Enabled = true
  2312. BATON.CanCollide = true
  2313. local SPEAKING = false
  2314. local HITS = {}
  2315. local TOUCH = BATON.Touched:Connect(function(hit)
  2316. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  2317. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  2318. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2319. if TORSO and HUM.Health > 0 then
  2320. local PASS = true
  2321. for i = 1, #HITS do
  2322. if HITS[i] == hit.Parent then
  2323. PASS = false
  2324. end
  2325. end
  2326. table.insert(HITS,hit.Parent)
  2327. if PASS == true then
  2328. CreateSound(260430079, BATON, 6, 0.8, false)
  2329. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,BATON.Position)*CF(0,0,-0.5), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Glass = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 4})
  2330. TORSO.Anchored = true
  2331. local POS = TORSO.CFrame
  2332. coroutine.resume(coroutine.create(function()
  2333. for i = 1, 15 do
  2334. Swait()
  2335. TORSO.CFrame = POS*CF(MRANDOM(-2,2)/10,MRANDOM(-2,2)/10,MRANDOM(-2,2)/10)
  2336. end
  2337. local HEAD = HUM.Parent:FindFirstChild("Head")
  2338. HUM.Parent:BreakJoints()
  2339. if HEAD then
  2340. CreateSound(363808674, HEAD, 10, 0.8, false)
  2341. local bv = Instance.new("BodyVelocity",TORSO)
  2342. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2343. bv.velocity = CF(Torso.Position-VT(0,5,0),HEAD.Position).lookVector*70
  2344. Debris:AddItem(bv,0.05)
  2345. local TEXTS = {"Criminals should leave this world!","And stay down!"}
  2346. Chatter(TEXTS[MRANDOM(1,#TEXTS)],0)
  2347. end
  2348. TORSO.Anchored = false
  2349. end))
  2350. end
  2351. end
  2352. end
  2353. end)
  2354. for i=0, 0.45, 0.1 / Animation_Speed do
  2355. Swait()
  2356. RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.15)
  2357. BATONWELD.C0 = Clerp(BATONWELD.C0,CF(0,-1,0) * ANGLES(RAD(120), RAD(0), RAD(0)) * CF(0,0,1), 1 / Animation_Speed)
  2358. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
  2359. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2360. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.6) * ANGLES(RAD(140), RAD(-25), RAD(-41)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2361. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2362. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2363. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2364. end
  2365. TOUCH:Disconnect()
  2366. BATON.CanCollide = false
  2367. Speed = 20
  2368. Trail.Enabled = false
  2369. for i=0, 0.2, 0.1 / Animation_Speed do
  2370. Swait()
  2371. BATONWELD.C0 = Clerp(BATONWELD.C0,CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * CF(0,0,1), 2 / Animation_Speed)
  2372. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2373. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2374. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2375. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2376. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2377. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2378. end
  2379. BATONWELD.Part0 = Torso
  2380. BATONWELD.C0 = CF(1,-0.8,0.75) * ANGLES(RAD(0), RAD(0), RAD(0))
  2381. ATTACK = false
  2382. Rooted = false
  2383. end
  2384. function TheRightToRemainSilent()
  2385. local TARGET = Mouse.Target
  2386. if TARGET ~= nil then
  2387. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  2388. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  2389. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  2390. if ROOT and HUM.Health > 0 then
  2391. local FOE = Mouse.Target.Parent
  2392. ATTACK = true
  2393. Rooted = true
  2394. CharacterFade(C3(1,1,1),70)
  2395. RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
  2396. ROOT.Anchored = true
  2397. CreateSound(289556450, RootPart, 5, 1.4, false)
  2398. Chatter("You are to remain silent and DEAD!",0)
  2399. for i=0, 0.4, 0.1 / Animation_Speed do
  2400. Swait()
  2401. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2402. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2403. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2404. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2405. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2406. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2407. end
  2408. HUM.PlatformStand = true
  2409. ROOT.CFrame = ROOT.CFrame * CF(0,-2*ROOT.Size.Z,0) * ANGLES(RAD(-90), RAD(0), RAD(0))
  2410. CreateSound(260430117, ROOT, 6, 1.3, false)
  2411. coroutine.resume(coroutine.create(function()
  2412. Swait()
  2413. ROOT.Anchored = true
  2414. end))
  2415. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
  2416. for i=0, 0.2, 0.1 / Animation_Speed do
  2417. Swait()
  2418. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  2419. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2420. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2421. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2422. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2423. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2424. end
  2425. local OOFS = {1106908323,1080610827,1080614222,565424701,565424177,1080611063}
  2426. CreateSound(OOFS[MRANDOM(1,#OOFS)], ROOT, 6, 1, false)
  2427. for i=0, 0.2, 0.1 / Animation_Speed do
  2428. Swait()
  2429. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.65) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
  2430. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
  2431. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(80), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2432. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2433. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.45) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2434. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2435. end
  2436. local AMMO = 6
  2437. local FIRING = true
  2438. local SHOOTING = false
  2439. local TIMER = 70
  2440. CreateSound(147722227, GUN, 6, 1.3, false)
  2441. GUNWELD.Part0 = LeftArm
  2442. GUNWELD.C0 = CF(0,-1.5,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
  2443. for i=0, 0.2, 0.1 / Animation_Speed do
  2444. Swait()
  2445. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.65) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
  2446. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
  2447. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(80), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2448. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.4, 0.55, 0.4) * ANGLES(RAD(100), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2449. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.45) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2450. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2451. end
  2452. for i = 1, 6 do
  2453. local GUNPOS = GUN.CFrame*CF(1.2, 0.5, 0).p
  2454. local DISTANCE = (FOE.Head.Position - GUNPOS).Magnitude
  2455. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0.3,0.3,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = 330704232, SoundPitch = 1, SoundVolume = 4})
  2456. WACKYEFFECT({Time = 6, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.1,0.1,DISTANCE), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS,FOE.Head.Position)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2457. HUM.Health = HUM.Health/1.5
  2458. for i=0, 0.2, 0.1 / Animation_Speed do
  2459. Swait()
  2460. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.65) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
  2461. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
  2462. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(80), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2463. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.4, 0.55, 0.6) * ANGLES(RAD(130), RAD(0), RAD(20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2464. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.45) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2465. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2466. end
  2467. for i=0, 0.2, 0.1 / Animation_Speed do
  2468. Swait()
  2469. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.65) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
  2470. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
  2471. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(80), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2472. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.4, 0.55, 0.6) * ANGLES(RAD(100), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2473. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.45) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2474. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2475. end
  2476. end
  2477. FOE:BreakJoints()
  2478. ROOT.Anchored = false
  2479. for i=0, 0.3, 0.1 / Animation_Speed do
  2480. Swait()
  2481. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2482. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  2483. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2484. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2485. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2486. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2487. end
  2488. GUNWELD.Part0 = Torso
  2489. GUNWELD.C0 = CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
  2490. ATTACK = false
  2491. Rooted = false
  2492. end
  2493. end
  2494. end
  2495. end
  2496.  
  2497. --//=================================\\
  2498. --|| ASSIGN THINGS TO KEYS
  2499. --\\=================================//
  2500.  
  2501. function MouseDown(Mouse)
  2502. if ATTACK == false then
  2503. if MODE == "GoodCop" then
  2504. Warning()
  2505. elseif MODE == "BadCop" then
  2506. Silence()
  2507. end
  2508. end
  2509. end
  2510.  
  2511. function MouseUp(Mouse)
  2512. HOLD = false
  2513. end
  2514.  
  2515. function KeyDown(Key)
  2516. KEYHOLD = true
  2517. if Key == "q" and ATTACK == false then
  2518. if MODE == "GoodCop" then
  2519. BatonStun()
  2520. elseif MODE == "BadCop" then
  2521. BatonBreaker()
  2522. end
  2523. end
  2524.  
  2525. if Key == "e" and ATTACK == false then
  2526. if MODE == "GoodCop" then
  2527. Cuffs()
  2528. elseif MODE == "BadCop" then
  2529. TheRightToRemainSilent()
  2530. end
  2531. end
  2532.  
  2533. if Key == "t" and ATTACK == false then
  2534. if MODE == "GoodCop" then
  2535. Chatter("You should obey the law.",0.01)
  2536. elseif MODE == "BadCop" then
  2537. Chatter("I don't think so, Criminal!",0.01)
  2538. end
  2539. end
  2540.  
  2541. if Key == "f" and ATTACK == false then
  2542. Switch()
  2543. end
  2544.  
  2545. if Key == "0" and ATTACK == false then
  2546. if sick.Parent ~= RootPart then
  2547. sick = IT("Sound",RootPart)
  2548. end
  2549. end
  2550. end
  2551.  
  2552. function KeyUp(Key)
  2553. KEYHOLD = false
  2554. end
  2555.  
  2556. Mouse.Button1Down:connect(function(NEWKEY)
  2557. MouseDown(NEWKEY)
  2558. end)
  2559. Mouse.Button1Up:connect(function(NEWKEY)
  2560. MouseUp(NEWKEY)
  2561. end)
  2562. Mouse.KeyDown:connect(function(NEWKEY)
  2563. KeyDown(NEWKEY)
  2564. end)
  2565. Mouse.KeyUp:connect(function(NEWKEY)
  2566. KeyUp(NEWKEY)
  2567. end)
  2568.  
  2569. --//=================================\\
  2570. --\\=================================//
  2571.  
  2572. function unanchor()
  2573. for _, c in pairs(Character:GetChildren()) do
  2574. if c:IsA("BasePart") and c ~= RootPart then
  2575. c.Anchored = false
  2576. end
  2577. end
  2578. for _, c in pairs(Weapon:GetChildren()) do
  2579. if c:IsA("BasePart") and c ~= RootPart then
  2580. c.Anchored = false
  2581. end
  2582. end
  2583. if UNANCHOR == true then
  2584. RootPart.Anchored = false
  2585. else
  2586. RootPart.Anchored = true
  2587. end
  2588. end
  2589.  
  2590. --//=================================\\
  2591. --|| WRAP THE WHOLE SCRIPT UP
  2592. --\\=================================//
  2593.  
  2594. Humanoid.Changed:connect(function(Jump)
  2595. if Jump == "Jump" and (Disable_Jump == true) then
  2596. Humanoid.Jump = false
  2597. end
  2598. end)
  2599.  
  2600. while true do
  2601. Swait()
  2602. script.Parent = WEAPONGUI
  2603. ANIMATE.Parent = nil
  2604. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2605. v:Stop();
  2606. end
  2607. SINE = SINE + CHANGE
  2608. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2609. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2610. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2611. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2612. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2613. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.05 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2614. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2615. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  2616. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  2617. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2618. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2619. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2620. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  2621. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  2622. end
  2623. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2624. ANIM = "Jump"
  2625. if ATTACK == false then
  2626. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2627. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2628. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2629. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2630. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2631. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2632. end
  2633. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2634. ANIM = "Fall"
  2635. if ATTACK == false then
  2636. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2637. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2638. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2639. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2640. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2641. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2642. end
  2643. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2644. ANIM = "Idle"
  2645. if ATTACK == false then
  2646. if MODE == "GoodCop" then
  2647. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.05 * COS(SINE / 12), 0, 0 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2648. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2649. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0.3) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2650. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2651. RightHip.C0 = Clerp(RightHip.C0, CF(1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2652. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2653. elseif MODE == "BadCop" then
  2654. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2655. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  2656. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2657. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9, 0.25 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2658. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2659. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2660. end
  2661. end
  2662. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2663. ANIM = "Walk"
  2664. if ATTACK == false then
  2665. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2666. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2667. if MODE == "GoodCop" then
  2668. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), 0.3) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2669. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2670. elseif MODE == "BadCop" then
  2671. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2672. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9, 0.25 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2673. end
  2674. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 2 / Animation_Speed)
  2675. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5)), 2 / Animation_Speed)
  2676. end
  2677. end
  2678. unanchor()
  2679. Humanoid.MaxHealth = 3e3
  2680. Humanoid.Health = 3e3
  2681. if Rooted == false then
  2682. Disable_Jump = false
  2683. Humanoid.WalkSpeed = Speed
  2684. elseif Rooted == true then
  2685. Disable_Jump = true
  2686. Humanoid.WalkSpeed = 0
  2687. end
  2688. for _, c in pairs(Character:GetChildren()) do
  2689. if (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2690. c:remove()
  2691. end
  2692. end
  2693. sick.SoundId = "rbxassetid://259554386"
  2694. sick.Looped = true
  2695. sick.Pitch = 1
  2696. sick.Volume = 4
  2697. sick.Playing = true
  2698. if MODE == "GoodCop" then
  2699. for E = 1, #GOODUI do
  2700. GOODUI[E].TextStrokeTransparency = 0
  2701. GOODUI[E].TextTransparency = 0
  2702. end
  2703. for E = 1, #BADUI do
  2704. BADUI[E].TextStrokeTransparency = 1
  2705. BADUI[E].TextTransparency = 0.5
  2706. end
  2707. elseif MODE == "BadCop" then
  2708. for E = 1, #GOODUI do
  2709. GOODUI[E].TextStrokeTransparency = 1
  2710. GOODUI[E].TextTransparency = 0.5
  2711. end
  2712. for E = 1, #BADUI do
  2713. BADUI[E].TextStrokeTransparency = 0
  2714. BADUI[E].TextTransparency = 0
  2715. end
  2716. end
  2717. end
  2718.  
  2719. --//=================================\\
  2720. --\\=================================//
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726. --//====================================================\\--
  2727. --|| END OF SCRIPT
  2728. --\\====================================================//--
  2729. end)
  2730.  
  2731. TextButton_2.Parent = ScreenGui
  2732. TextButton_2.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  2733. TextButton_2.Position = UDim2.new(0.151515156, 0, 0.0613496937, 0)
  2734. TextButton_2.Size = UDim2.new(0, 204, 0, 67)
  2735. TextButton_2.Font = Enum.Font.SourceSans
  2736. TextButton_2.Text = "VAN CANDY"
  2737. TextButton_2.TextColor3 = Color3.new(1, 1, 1)
  2738. TextButton_2.TextScaled = true
  2739. TextButton_2.TextSize = 14
  2740. TextButton_2.TextWrapped = true
  2741.  
  2742. TextButton_2.MouseButton1Down:connect(function()
  2743. -- Objects
  2744.  
  2745. local VanGui = Instance.new("ScreenGui")
  2746. local Opener = Instance.new("Frame")
  2747. local Open = Instance.new("TextButton")
  2748. local DaGui = Instance.new("Frame")
  2749. local Frame = Instance.new("Frame")
  2750. local Close = Instance.new("TextButton")
  2751. local Username = Instance.new("TextBox")
  2752. local VanDaPlayer = Instance.new("TextButton")
  2753. local TextLabel = Instance.new("TextLabel")
  2754.  
  2755. -- Properties
  2756.  
  2757. VanGui.Name = "VanGui"
  2758. VanGui.Parent = game.Players.LocalPlayer.PlayerGui
  2759.  
  2760. Opener.Name = "Opener"
  2761. Opener.Parent = VanGui
  2762. Opener.BackgroundColor3 = Color3.new(0, 0, 0)
  2763. Opener.BackgroundTransparency = 0.5
  2764. Opener.Position = UDim2.new(0, 19, 0, 564)
  2765. Opener.Size = UDim2.new(0, 224, 0, 40)
  2766.  
  2767. Open.Name = "Open"
  2768. Open.Parent = Opener
  2769. Open.BackgroundColor3 = Color3.new(0, 0, 0)
  2770. Open.BackgroundTransparency = 0.5
  2771. Open.Size = UDim2.new(0, 224, 0, 40)
  2772. Open.Font = Enum.Font.SciFi
  2773. Open.FontSize = Enum.FontSize.Size42
  2774. Open.Text = "Open"
  2775. Open.TextColor3 = Color3.new(0, 1, 1)
  2776. Open.TextSize = 42
  2777.  
  2778. DaGui.Name = "DaGui"
  2779. DaGui.Parent = VanGui
  2780. DaGui.BackgroundColor3 = Color3.new(0, 0, 0)
  2781. DaGui.BackgroundTransparency = 0.5
  2782. DaGui.Draggable = true
  2783. DaGui.Position = UDim2.new(0, 0, 0, 311)
  2784. DaGui.Size = UDim2.new(0, 343, 0, 197)
  2785. DaGui.Visible = false
  2786.  
  2787. Frame.Parent = DaGui
  2788. Frame.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  2789. Frame.Position = UDim2.new(0, 313, 0, 0)
  2790. Frame.Size = UDim2.new(0, 30, 0, 26)
  2791.  
  2792. Close.Name = "Close"
  2793. Close.Parent = Frame
  2794. Close.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  2795. Close.Size = UDim2.new(0, 30, 0, 26)
  2796. Close.Font = Enum.Font.SciFi
  2797. Close.FontSize = Enum.FontSize.Size14
  2798. Close.Text = "X"
  2799. Close.TextColor3 = Color3.new(1, 1, 1)
  2800. Close.TextSize = 14
  2801. Close.TextStrokeTransparency = 5
  2802.  
  2803. Username.Name = "Username"
  2804. Username.Parent = DaGui
  2805. Username.BackgroundColor3 = Color3.new(0, 0, 0)
  2806. Username.BackgroundTransparency = 0.5
  2807. Username.Position = UDim2.new(0, 72, 0, 76)
  2808. Username.Size = UDim2.new(0, 200, 0.0999999866, 24)
  2809. Username.Font = Enum.Font.SciFi
  2810. Username.FontSize = Enum.FontSize.Size18
  2811. Username.Text = "Username"
  2812. Username.TextColor3 = Color3.new(0, 1, 1)
  2813. Username.TextSize = 18
  2814.  
  2815. VanDaPlayer.Name = "VanDaPlayer"
  2816. VanDaPlayer.Parent = DaGui
  2817. VanDaPlayer.BackgroundColor3 = Color3.new(0, 0, 0)
  2818. VanDaPlayer.BackgroundTransparency = 0.5
  2819. VanDaPlayer.Position = UDim2.new(0.0199999996, 90, 0.00999999978, 138)
  2820. VanDaPlayer.Size = UDim2.new(0, 150, 0, 26)
  2821. VanDaPlayer.Font = Enum.Font.SciFi
  2822. VanDaPlayer.FontSize = Enum.FontSize.Size14
  2823. VanDaPlayer.Text = "Van Player"
  2824. VanDaPlayer.TextColor3 = Color3.new(0, 1, 1)
  2825. VanDaPlayer.TextSize = 14
  2826.  
  2827. TextLabel.Parent = DaGui
  2828. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  2829. TextLabel.BackgroundTransparency = 0.5
  2830. TextLabel.Position = UDim2.new(0, 48, 0, 22)
  2831. TextLabel.Size = UDim2.new(0, 246, 0, 19)
  2832. TextLabel.Font = Enum.Font.SciFi
  2833. TextLabel.FontSize = Enum.FontSize.Size18
  2834. TextLabel.Text = "Van Player Gui by 345678 (Talha)"
  2835. TextLabel.TextColor3 = Color3.new(0, 1, 1)
  2836. TextLabel.TextSize = 17
  2837.  
  2838. Open.MouseButton1Down:connect(function()
  2839. game.Players.LocalPlayer.PlayerGui.VanGui.DaGui.Visible = true
  2840. game.Players.LocalPlayer.PlayerGui.VanGui.Opener.Visible = false
  2841.  
  2842. end)
  2843.  
  2844. Close.MouseButton1Down:connect(function()
  2845. game.Players.LocalPlayer.PlayerGui.VanGui.DaGui.Visible = false
  2846. game.Players.LocalPlayer.PlayerGui.VanGui.Opener.Visible = true
  2847. end)
  2848.  
  2849. VanDaPlayer.MouseButton1Down:connect(function()
  2850. Victim = Username.Text
  2851. o1 = Instance.new("Model")
  2852. o2 = Instance.new("Part")
  2853. o3 = Instance.new("CylinderMesh")
  2854. o4 = Instance.new("Part")
  2855. o5 = Instance.new("SpecialMesh")
  2856. o6 = Instance.new("Part")
  2857. o7 = Instance.new("SpecialMesh")
  2858. o8 = Instance.new("Part")
  2859. o9 = Instance.new("BlockMesh")
  2860. o10 = Instance.new("Part")
  2861. o11 = Instance.new("BlockMesh")
  2862. o12 = Instance.new("Part")
  2863. o13 = Instance.new("Part")
  2864. o14 = Instance.new("BlockMesh")
  2865. o15 = Instance.new("Part")
  2866. o16 = Instance.new("SpecialMesh")
  2867. o17 = Instance.new("Part")
  2868. o18 = Instance.new("SpecialMesh")
  2869. o19 = Instance.new("Part")
  2870. o20 = Instance.new("SpecialMesh")
  2871. o21 = Instance.new("Sound")
  2872. o22 = Instance.new("Part")
  2873. o23 = Instance.new("BlockMesh")
  2874. o24 = Instance.new("Part")
  2875. o25 = Instance.new("SpecialMesh")
  2876. o26 = Instance.new("Part")
  2877. o27 = Instance.new("BlockMesh")
  2878. o28 = Instance.new("Part")
  2879. o29 = Instance.new("SpecialMesh")
  2880. o30 = Instance.new("Part")
  2881. o31 = Instance.new("BlockMesh")
  2882. o32 = Instance.new("Part")
  2883. o33 = Instance.new("BlockMesh")
  2884. o34 = Instance.new("Part")
  2885. o35 = Instance.new("BlockMesh")
  2886. o36 = Instance.new("Part")
  2887. o37 = Instance.new("BlockMesh")
  2888. o38 = Instance.new("Part")
  2889. o39 = Instance.new("Part")
  2890. o40 = Instance.new("BlockMesh")
  2891. o41 = Instance.new("Part")
  2892. o42 = Instance.new("BlockMesh")
  2893. o43 = Instance.new("Part")
  2894. o44 = Instance.new("BlockMesh")
  2895. o45 = Instance.new("Part")
  2896. o46 = Instance.new("SpecialMesh")
  2897. o47 = Instance.new("Part")
  2898. o48 = Instance.new("BlockMesh")
  2899. o49 = Instance.new("Part")
  2900. o50 = Instance.new("BlockMesh")
  2901. o51 = Instance.new("Part")
  2902. o52 = Instance.new("BlockMesh")
  2903. o53 = Instance.new("Part")
  2904. o54 = Instance.new("SpecialMesh")
  2905. o55 = Instance.new("Part")
  2906. o56 = Instance.new("SpecialMesh")
  2907. o57 = Instance.new("Part")
  2908. o58 = Instance.new("BlockMesh")
  2909. o59 = Instance.new("Part")
  2910. o60 = Instance.new("BlockMesh")
  2911. o61 = Instance.new("Part")
  2912. o62 = Instance.new("BlockMesh")
  2913. o63 = Instance.new("Part")
  2914. o64 = Instance.new("Part")
  2915. o65 = Instance.new("Part")
  2916. o66 = Instance.new("BlockMesh")
  2917. o67 = Instance.new("Part")
  2918. o68 = Instance.new("BlockMesh")
  2919. o69 = Instance.new("Part")
  2920. o70 = Instance.new("BlockMesh")
  2921. o71 = Instance.new("Part")
  2922. o72 = Instance.new("BlockMesh")
  2923. o73 = Instance.new("Part")
  2924. o74 = Instance.new("SpecialMesh")
  2925. o75 = Instance.new("Decal")
  2926. o76 = Instance.new("Part")
  2927. o77 = Instance.new("Part")
  2928. o78 = Instance.new("BlockMesh")
  2929. o79 = Instance.new("Part")
  2930. o80 = Instance.new("SpecialMesh")
  2931. o81 = Instance.new("Decal")
  2932. o82 = Instance.new("Part")
  2933. o83 = Instance.new("SpecialMesh")
  2934. o84 = Instance.new("Humanoid")
  2935. o85 = Instance.new("Part")
  2936. o86 = Instance.new("Part")
  2937. o87 = Instance.new("Part")
  2938. o88 = Instance.new("Decal")
  2939. o89 = Instance.new("Motor6D")
  2940. o90 = Instance.new("Motor6D")
  2941. o91 = Instance.new("Motor6D")
  2942. o92 = Instance.new("Motor6D")
  2943. o93 = Instance.new("Motor6D")
  2944. o94 = Instance.new("Part")
  2945. o95 = Instance.new("Part")
  2946. o96 = Instance.new("Part")
  2947. o97 = Instance.new("Part")
  2948. o98 = Instance.new("Part")
  2949. o99 = Instance.new("Decal")
  2950. o100 = Instance.new("Motor6D")
  2951. o101 = Instance.new("Motor6D")
  2952. o102 = Instance.new("Motor6D")
  2953. o103 = Instance.new("Part")
  2954. o104 = Instance.new("Part")
  2955. o105 = Instance.new("Part")
  2956. o106 = Instance.new("Part")
  2957. o107 = Instance.new("Part")
  2958. o108 = Instance.new("CylinderMesh")
  2959. o109 = Instance.new("Part")
  2960. o110 = Instance.new("CylinderMesh")
  2961. o111 = Instance.new("Part")
  2962. o112 = Instance.new("CylinderMesh")
  2963. o113 = Instance.new("Part")
  2964. o114 = Instance.new("CylinderMesh")
  2965. o115 = Instance.new("Part")
  2966. o116 = Instance.new("CylinderMesh")
  2967. o117 = Instance.new("Part")
  2968. o118 = Instance.new("CylinderMesh")
  2969. o119 = Instance.new("Part")
  2970. o120 = Instance.new("CylinderMesh")
  2971. o121 = Instance.new("Part")
  2972. o122 = Instance.new("SpecialMesh")
  2973. o123 = Instance.new("Part")
  2974. o124 = Instance.new("Decal")
  2975. o1.Name = " "
  2976. o1.Parent = workspace
  2977. o2.Parent = o1
  2978. o2.Position = Vector3.new(95.3486252, 1.50001001, 18.4564877)
  2979. o2.Rotation = Vector3.new(-90, 1.20620803e-006, -180)
  2980. o2.Anchored = true
  2981. o2.FormFactor = Enum.FormFactor.Symmetric
  2982. o2.Size = Vector3.new(2.39999986, 1.31000006, 2.39999986)
  2983. o2.CFrame = CFrame.new(95.3486252, 1.50001001, 18.4564877, -1, 2.98044895e-008, 2.10523012e-008, 2.10523012e-008, 7.54615499e-008, 1, 2.9804486e-008, 1, -7.54615499e-008)
  2984. o3.Parent = o2
  2985. o4.Parent = o1
  2986. o4.BrickColor = BrickColor.new("Institutional white")
  2987. o4.Position = Vector3.new(96.3181839, 7.00000668, 9.31151104)
  2988. o4.Rotation = Vector3.new(90, 89.9314728, -90)
  2989. o4.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  2990. o4.Velocity = Vector3.new(-0.000346515269, 0.00201798417, -0.00195027643)
  2991. o4.Anchored = true
  2992. o4.FormFactor = Enum.FormFactor.Plate
  2993. o4.Size = Vector3.new(1, 2.4000001, 2)
  2994. o4.CFrame = CFrame.new(96.3181839, 7.00000668, 9.31151104, 0, 3.96052044e-008, 0.999999285, 0, 1, -3.97634246e-008, -1, 0, 0)
  2995. o4.BackSurface = Enum.SurfaceType.Weld
  2996. o4.BottomSurface = Enum.SurfaceType.Weld
  2997. o4.LeftSurface = Enum.SurfaceType.Weld
  2998. o4.TopSurface = Enum.SurfaceType.Weld
  2999. o4.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3000. o5.Parent = o4
  3001. o5.MeshType = Enum.MeshType.Wedge
  3002. o6.Parent = o1
  3003. o6.Material = Enum.Material.SmoothPlastic
  3004. o6.BrickColor = BrickColor.new("Really black")
  3005. o6.Transparency = 0.5
  3006. o6.Position = Vector3.new(96.3181839, 7.00000668, 13.8115101)
  3007. o6.Rotation = Vector3.new(90, 89.9440536, -90)
  3008. o6.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3009. o6.Velocity = Vector3.new(0.000965324172, 0.00135755131, -0.00195027643)
  3010. o6.Anchored = true
  3011. o6.FormFactor = Enum.FormFactor.Plate
  3012. o6.Size = Vector3.new(8, 2.4000001, 1.99999976)
  3013. o6.CFrame = CFrame.new(96.3181839, 7.00000668, 13.8115101, 0, 3.96315798e-008, 0.999999523, 0, 1, -3.97370599e-008, -1, 0, 0)
  3014. o6.BackSurface = Enum.SurfaceType.Weld
  3015. o6.BottomSurface = Enum.SurfaceType.Weld
  3016. o6.LeftSurface = Enum.SurfaceType.Weld
  3017. o6.RightSurface = Enum.SurfaceType.Weld
  3018. o6.TopSurface = Enum.SurfaceType.Weld
  3019. o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3020. o7.Parent = o6
  3021. o7.MeshType = Enum.MeshType.Wedge
  3022. o8.Parent = o1
  3023. o8.BrickColor = BrickColor.new("Br. yellowish orange")
  3024. o8.Position = Vector3.new(92.2182083, 4.00000715, 9.61151409)
  3025. o8.Rotation = Vector3.new(-0, 0, -2.26619136e-006)
  3026. o8.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3027. o8.Velocity = Vector3.new(-0.000475873821, 0.00227026758, -0.00119533995)
  3028. o8.Anchored = true
  3029. o8.FormFactor = Enum.FormFactor.Custom
  3030. o8.Size = Vector3.new(0.200000003, 0.800000012, 0.799999714)
  3031. o8.CFrame = CFrame.new(92.2182083, 4.00000715, 9.61151409, 0.999998808, 3.95524538e-008, 0, -3.98161575e-008, 1, 0, 0, 0, 1)
  3032. o8.BackSurface = Enum.SurfaceType.Weld
  3033. o8.BottomSurface = Enum.SurfaceType.Weld
  3034. o8.FrontSurface = Enum.SurfaceType.Weld
  3035. o8.LeftSurface = Enum.SurfaceType.Weld
  3036. o8.RightSurface = Enum.SurfaceType.Weld
  3037. o8.TopSurface = Enum.SurfaceType.Weld
  3038. o8.Color = Color3.new(0.886275, 0.607843, 0.25098)
  3039. o9.Parent = o8
  3040. o10.Parent = o1
  3041. o10.BrickColor = BrickColor.new("Institutional white")
  3042. o10.Position = Vector3.new(105.317894, 8.40004158, 9.31151295)
  3043. o10.Rotation = Vector3.new(-0, 0, -2.21330401e-006)
  3044. o10.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3045. o10.Velocity = Vector3.new(-0.000245332019, 0.00136755884, -0.00436839834)
  3046. o10.Anchored = true
  3047. o10.CanCollide = false
  3048. game.Players[Victim].Character.Humanoid.WalkSpeed = 0
  3049. game.Players[Victim].Character.Humanoid.JumpPower = 0
  3050. o10.FormFactor = Enum.FormFactor.Plate
  3051. o10.Size = Vector3.new(14, 0.400000006, 1)
  3052. o10.CFrame = CFrame.new(105.317894, 8.40004158, 9.31151295, 0.999999762, 3.86294303e-008, 0, -3.86821704e-008, 1, 0, 0, 0, 1)
  3053. o10.BackSurface = Enum.SurfaceType.Weld
  3054. o10.BottomSurface = Enum.SurfaceType.Weld
  3055. o10.FrontSurface = Enum.SurfaceType.Weld
  3056. o10.LeftSurface = Enum.SurfaceType.Weld
  3057. o10.RightSurface = Enum.SurfaceType.Weld
  3058. o10.TopSurface = Enum.SurfaceType.Weld
  3059. o10.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3060. o11.Parent = o10
  3061. o12.Name = "DOOR"
  3062. o12.Parent = o1
  3063. o12.BrickColor = BrickColor.new("Institutional white")
  3064. o12.Position = Vector3.new(103.708466, 5.81500626, 9.31151104)
  3065. o12.Rotation = Vector3.new(-0, 0, -4.43210411e-006)
  3066. o12.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3067. o12.Velocity = Vector3.new(-0.000432157307, 0.00148387556, -0.00427860441)
  3068. o12.Anchored = true
  3069. o12.CanCollide = false
  3070. o12.FormFactor = Enum.FormFactor.Plate
  3071. o12.Size = Vector3.new(5.22000027, 4.82999992, 1)
  3072. o12.CFrame = CFrame.new(103.708466, 5.81500626, 9.31151104, 1, 7.73548052e-008, 0, -7.73548052e-008, 1, 0, 0, 0, 1)
  3073. o12.BottomSurface = Enum.SurfaceType.Weld
  3074. o12.LeftSurface = Enum.SurfaceType.Weld
  3075. o12.RightSurface = Enum.SurfaceType.Weld
  3076. o12.TopSurface = Enum.SurfaceType.Weld
  3077. o12.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3078. o13.Parent = o1
  3079. o13.BrickColor = BrickColor.new("White")
  3080. o13.Position = Vector3.new(109.818169, 5.80000877, 9.31151104)
  3081. o13.Rotation = Vector3.new(-0, 0, -2.25410599e-006)
  3082. o13.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3083. o13.Velocity = Vector3.new(-0.00043324125, 0.00104231632, -0.006061906)
  3084. o13.Anchored = true
  3085. o13.FormFactor = Enum.FormFactor.Plate
  3086. o13.Size = Vector3.new(7, 4.80000019, 1)
  3087. o13.CFrame = CFrame.new(109.818169, 5.80000877, 9.31151104, 0.999996901, 3.9341451e-008, 0, -4.00270856e-008, 1, 0, 0, 0, 1)
  3088. o13.BackSurface = Enum.SurfaceType.Weld
  3089. o13.BottomSurface = Enum.SurfaceType.Weld
  3090. o13.FrontSurface = Enum.SurfaceType.Weld
  3091. o13.LeftSurface = Enum.SurfaceType.Weld
  3092. o13.RightSurface = Enum.SurfaceType.Weld
  3093. o13.TopSurface = Enum.SurfaceType.Weld
  3094. o13.Color = Color3.new(0.94902, 0.952941, 0.952941)
  3095. o14.Parent = o13
  3096. o15.Parent = o1
  3097. o15.BrickColor = BrickColor.new("Institutional white")
  3098. o15.Position = Vector3.new(97.817894, 8.40000725, 13.8115139)
  3099. o15.Rotation = Vector3.new(90, 89.960434, -90)
  3100. o15.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3101. o15.Velocity = Vector3.new(0.00106650498, 0.00124916411, -0.00218200427)
  3102. o15.Anchored = true
  3103. o15.CanCollide = false
  3104. o15.FormFactor = Enum.FormFactor.Plate
  3105. o15.Size = Vector3.new(10, 0.400000006, 1)
  3106. o15.CFrame = CFrame.new(97.817894, 8.40000725, 13.8115139, 0, 3.86294303e-008, 0.999999762, 0, 1, -3.86821704e-008, -1, 0, 0)
  3107. o15.BackSurface = Enum.SurfaceType.Weld
  3108. o15.BottomSurface = Enum.SurfaceType.Weld
  3109. o15.TopSurface = Enum.SurfaceType.Weld
  3110. o15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3111. o16.Parent = o15
  3112. o16.MeshType = Enum.MeshType.Wedge
  3113. o17.Parent = o1
  3114. o17.BrickColor = BrickColor.new("Institutional white")
  3115. o17.Position = Vector3.new(96.3181839, 7.00000668, 18.3115101)
  3116. o17.Rotation = Vector3.new(90, 89.9314728, -90)
  3117. o17.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3118. o17.Velocity = Vector3.new(0.00227716356, 0.000697118347, -0.00195027643)
  3119. o17.Anchored = true
  3120. o17.FormFactor = Enum.FormFactor.Plate
  3121. o17.Size = Vector3.new(1, 2.4000001, 2)
  3122. o17.CFrame = CFrame.new(96.3181839, 7.00000668, 18.3115101, 0, 3.96052044e-008, 0.999999285, 0, 1, -3.97634246e-008, -1, 0, 0)
  3123. o17.BackSurface = Enum.SurfaceType.Weld
  3124. o17.BottomSurface = Enum.SurfaceType.Weld
  3125. o17.RightSurface = Enum.SurfaceType.Weld
  3126. o17.TopSurface = Enum.SurfaceType.Weld
  3127. o17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3128. o18.Parent = o17
  3129. o18.MeshType = Enum.MeshType.Wedge
  3130. o19.Parent = o1
  3131. o19.BrickColor = BrickColor.new("Institutional white")
  3132. o19.Position = Vector3.new(93.8181839, 5.20000744, 13.8115101)
  3133. o19.Rotation = Vector3.new(90, 89.8573456, -90)
  3134. o19.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3135. o19.Velocity = Vector3.new(0.000835234998, 0.00153823046, -0.00148565089)
  3136. o19.Anchored = true
  3137. o19.FormFactor = Enum.FormFactor.Plate
  3138. o19.Size = Vector3.new(10, 1.20000005, 3)
  3139. o19.CFrame = CFrame.new(93.8181839, 5.20000744, 13.8115101, 0, 3.77325726e-008, 0.999996901, 0, 1, -3.84182002e-008, -1, 0, 0)
  3140. o19.BackSurface = Enum.SurfaceType.Weld
  3141. o19.BottomSurface = Enum.SurfaceType.Weld
  3142. o19.TopSurface = Enum.SurfaceType.Weld
  3143. o19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3144. o20.Parent = o19
  3145. o20.MeshType = Enum.MeshType.Wedge
  3146. o21.Parent = o19
  3147. o21.SoundId = "rbxassetid://532147820"
  3148. o21.Looped = true
  3149. o22.Parent = o1
  3150. o22.BrickColor = BrickColor.new("Institutional white")
  3151. o22.Position = Vector3.new(96.3182907, 4.60000753, 9.31151104)
  3152. o22.Rotation = Vector3.new(-0, 0, -2.23446773e-006)
  3153. o22.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3154. o22.Velocity = Vector3.new(-0.000519967522, 0.00201797695, -0.00230253674)
  3155. o22.Anchored = true
  3156. o22.FormFactor = Enum.FormFactor.Plate
  3157. o22.Size = Vector3.new(2, 2.4000001, 1)
  3158. o22.CFrame = CFrame.new(96.3182907, 4.60000753, 9.31151104, 0.999993801, 3.8998575e-008, 0, -4.03698408e-008, 1, 0, 0, 0, 1)
  3159. o22.BackSurface = Enum.SurfaceType.Weld
  3160. o22.BottomSurface = Enum.SurfaceType.Weld
  3161. o22.FrontSurface = Enum.SurfaceType.Weld
  3162. o22.LeftSurface = Enum.SurfaceType.Weld
  3163. o22.RightSurface = Enum.SurfaceType.Weld
  3164. o22.TopSurface = Enum.SurfaceType.Weld
  3165. o22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3166. o23.Parent = o22
  3167. o24.Parent = o1
  3168. o24.BrickColor = BrickColor.new("Institutional white")
  3169. o24.Position = Vector3.new(113.817245, 6.80000734, 18.3115101)
  3170. o24.Rotation = Vector3.new(-0, -90, 0)
  3171. o24.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3172. o24.Velocity = Vector3.new(0.00226270943, -0.000567569688, -0.00708095264)
  3173. o24.Anchored = true
  3174. o24.FormFactor = Enum.FormFactor.Plate
  3175. o24.Size = Vector3.new(1, 2.79999995, 1)
  3176. o24.CFrame = CFrame.new(113.817245, 6.80000734, 18.3115101, 0, 5.54578605e-008, -1, 0, 1, 5.54578605e-008, 1, 0, 0)
  3177. o24.BackSurface = Enum.SurfaceType.Weld
  3178. o24.BottomSurface = Enum.SurfaceType.Weld
  3179. o24.TopSurface = Enum.SurfaceType.Weld
  3180. o24.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3181. o25.Parent = o24
  3182. o25.MeshType = Enum.MeshType.Wedge
  3183. o26.Parent = o1
  3184. o26.BrickColor = BrickColor.new("Institutional white")
  3185. o26.Position = Vector3.new(93.0181885, 2.60000825, 13.8115101)
  3186. o26.Rotation = Vector3.new(-0, 0, -2.27223404e-006)
  3187. o26.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3188. o26.Velocity = Vector3.new(0.000647328445, 0.00159604801, -0.00163401756)
  3189. o26.Anchored = true
  3190. o26.FormFactor = Enum.FormFactor.Plate
  3191. o26.Size = Vector3.new(1.39999998, 1.60000002, 10)
  3192. o26.CFrame = CFrame.new(93.0181885, 2.60000825, 13.8115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1)
  3193. o26.BackSurface = Enum.SurfaceType.Weld
  3194. o26.BottomSurface = Enum.SurfaceType.Weld
  3195. o26.FrontSurface = Enum.SurfaceType.Weld
  3196. o26.LeftSurface = Enum.SurfaceType.Weld
  3197. o26.RightSurface = Enum.SurfaceType.Weld
  3198. o26.TopSurface = Enum.SurfaceType.Weld
  3199. o26.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3200. o27.Parent = o26
  3201. o28.Parent = o1
  3202. o28.BrickColor = BrickColor.new("Institutional white")
  3203. o28.Position = Vector3.new(113.818176, 6.80000877, 9.31151104)
  3204. o28.Rotation = Vector3.new(-90, -89.7982635, -90)
  3205. o28.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3206. o28.Velocity = Vector3.new(-0.000360969483, 0.000753228669, -0.00708122458)
  3207. o28.Anchored = true
  3208. o28.FormFactor = Enum.FormFactor.Plate
  3209. o28.Size = Vector3.new(1, 2.79999995, 1)
  3210. o28.CFrame = CFrame.new(113.818176, 6.80000877, 9.31151104, 0, 3.89985715e-008, -0.999993801, 0, 1, 4.03698408e-008, 1, 0, 0)
  3211. o28.BackSurface = Enum.SurfaceType.Weld
  3212. o28.BottomSurface = Enum.SurfaceType.Weld
  3213. o28.TopSurface = Enum.SurfaceType.Weld
  3214. o28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3215. o29.Parent = o28
  3216. o29.MeshType = Enum.MeshType.Wedge
  3217. o30.Parent = o1
  3218. o30.BrickColor = BrickColor.new("Institutional white")
  3219. o30.Position = Vector3.new(96.3181992, 4.60000753, 18.3115101)
  3220. o30.Rotation = Vector3.new(-0, 0, -2.26770203e-006)
  3221. o30.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3222. o30.Velocity = Vector3.new(0.00210371148, 0.000697117415, -0.0023025109)
  3223. o30.Anchored = true
  3224. o30.FormFactor = Enum.FormFactor.Plate
  3225. o30.Size = Vector3.new(2, 2.4000001, 1)
  3226. o30.CFrame = CFrame.new(96.3181992, 4.60000753, 18.3115101, 0.999999046, 3.95788291e-008, 0, -3.97897928e-008, 1, 0, 0, 0, 1)
  3227. o30.BackSurface = Enum.SurfaceType.Weld
  3228. o30.BottomSurface = Enum.SurfaceType.Weld
  3229. o30.FrontSurface = Enum.SurfaceType.Weld
  3230. o30.LeftSurface = Enum.SurfaceType.Weld
  3231. o30.RightSurface = Enum.SurfaceType.Weld
  3232. o30.TopSurface = Enum.SurfaceType.Weld
  3233. o30.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3234. o31.Parent = o30
  3235. o32.Parent = o1
  3236. o32.BrickColor = BrickColor.new("Dark stone grey")
  3237. o32.Position = Vector3.new(95.8181839, 4.60000753, 13.8115101)
  3238. o32.Rotation = Vector3.new(90, 89.960434, -90)
  3239. o32.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3240. o32.Velocity = Vector3.new(0.000791871978, 0.00139368721, -0.00215674727)
  3241. o32.Anchored = true
  3242. o32.FormFactor = Enum.FormFactor.Plate
  3243. o32.Size = Vector3.new(8, 2.4000001, 1)
  3244. o32.CFrame = CFrame.new(95.8181839, 4.60000753, 13.8115101, 0, 3.96579551e-008, 0.999999762, 0, 1, -3.97106952e-008, -1, 0, 0)
  3245. o32.BottomSurface = Enum.SurfaceType.Weld
  3246. o32.TopSurface = Enum.SurfaceType.Weld
  3247. o32.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3248. o33.Parent = o32
  3249. o33.Offset = Vector3.new(0, 0, 0.5)
  3250. o33.Scale = Vector3.new(1, 1, 2)
  3251. o34.Parent = o1
  3252. o34.BrickColor = BrickColor.new("Institutional white")
  3253. o34.Position = Vector3.new(93.8181992, 4.00000715, 13.8115101)
  3254. o34.Rotation = Vector3.new(-0, 0, -2.26770203e-006)
  3255. o34.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3256. o34.Velocity = Vector3.new(0.000748508843, 0.00153822941, -0.00166177051)
  3257. o34.Anchored = true
  3258. o34.FormFactor = Enum.FormFactor.Plate
  3259. o34.Size = Vector3.new(3, 1.20000005, 10)
  3260. o34.CFrame = CFrame.new(93.8181992, 4.00000715, 13.8115101, 0.999999046, 3.95788291e-008, 0, -3.97897928e-008, 1, 0, 0, 0, 1)
  3261. o34.BackSurface = Enum.SurfaceType.Weld
  3262. o34.BottomSurface = Enum.SurfaceType.Weld
  3263. o34.FrontSurface = Enum.SurfaceType.Weld
  3264. o34.LeftSurface = Enum.SurfaceType.Weld
  3265. o34.RightSurface = Enum.SurfaceType.Weld
  3266. o34.TopSurface = Enum.SurfaceType.Weld
  3267. o34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3268. o35.Parent = o34
  3269. o36.Parent = o1
  3270. o36.BrickColor = BrickColor.new("Br. yellowish orange")
  3271. o36.Position = Vector3.new(92.2181854, 4.00000715, 18.211504)
  3272. o36.Rotation = Vector3.new(-0, 0, -2.2601489e-006)
  3273. o36.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3274. o36.Velocity = Vector3.new(0.00203119451, 0.00100810977, -0.00119533355)
  3275. o36.Anchored = true
  3276. o36.FormFactor = Enum.FormFactor.Custom
  3277. o36.Size = Vector3.new(0.200000003, 0.800000012, 0.799999714)
  3278. o36.CFrame = CFrame.new(92.2181854, 4.00000715, 18.211504, 0.999997854, 3.94469524e-008, 0, -3.99216233e-008, 1, 0, 0, 0, 1)
  3279. o36.BackSurface = Enum.SurfaceType.Weld
  3280. o36.BottomSurface = Enum.SurfaceType.Weld
  3281. o36.FrontSurface = Enum.SurfaceType.Weld
  3282. o36.LeftSurface = Enum.SurfaceType.Weld
  3283. o36.RightSurface = Enum.SurfaceType.Weld
  3284. o36.TopSurface = Enum.SurfaceType.Weld
  3285. o36.Color = Color3.new(0.886275, 0.607843, 0.25098)
  3286. o37.Parent = o36
  3287. o38.Parent = o1
  3288. o38.BrickColor = BrickColor.new("Institutional white")
  3289. o38.Position = Vector3.new(99.0602112, 4.60000706, 18.3115101)
  3290. o38.Rotation = Vector3.new(-0, 0, -4.84935117e-006)
  3291. o38.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3292. o38.Velocity = Vector3.new(0.00210371148, 0.000498947338, -0.0031018618)
  3293. o38.Anchored = true
  3294. o38.CanCollide = false
  3295. o38.FormFactor = Enum.FormFactor.Plate
  3296. o38.Size = Vector3.new(3.48000026, 2.4000001, 1)
  3297. o38.CFrame = CFrame.new(99.0602112, 4.60000706, 18.3115101, 1, 8.46371435e-008, 0, -8.46371435e-008, 1, 0, 0, 0, 1)
  3298. o38.BottomSurface = Enum.SurfaceType.Weld
  3299. o38.LeftSurface = Enum.SurfaceType.Weld
  3300. o38.RightSurface = Enum.SurfaceType.Weld
  3301. o38.TopSurface = Enum.SurfaceType.Weld
  3302. o38.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3303. o39.Parent = o1
  3304. o39.BrickColor = BrickColor.new("Really red")
  3305. o39.Position = Vector3.new(113.818176, 4.80000877, 9.31151104)
  3306. o39.Rotation = Vector3.new(-0, 0, -2.2344675e-006)
  3307. o39.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3308. o39.Velocity = Vector3.new(-0.000505513046, 0.000753228669, -0.00737475045)
  3309. o39.Anchored = true
  3310. o39.FormFactor = Enum.FormFactor.Plate
  3311. o39.Size = Vector3.new(1, 1.20000005, 1)
  3312. o39.CFrame = CFrame.new(113.818176, 4.80000877, 9.31151104, 0.999993801, 3.89985715e-008, 0, -4.03698408e-008, 1, 0, 0, 0, 1)
  3313. o39.BackSurface = Enum.SurfaceType.Weld
  3314. o39.BottomSurface = Enum.SurfaceType.Weld
  3315. o39.FrontSurface = Enum.SurfaceType.Weld
  3316. o39.LeftSurface = Enum.SurfaceType.Weld
  3317. o39.RightSurface = Enum.SurfaceType.Weld
  3318. o39.TopSurface = Enum.SurfaceType.Weld
  3319. o39.Color = Color3.new(1, 0, 0)
  3320. o40.Parent = o39
  3321. o41.Parent = o1
  3322. o41.BrickColor = BrickColor.new("Institutional white")
  3323. o41.Position = Vector3.new(113.818054, 3.80000734, 9.31151104)
  3324. o41.Rotation = Vector3.new(-0, 0, -2.23295706e-006)
  3325. o41.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3326. o41.Velocity = Vector3.new(-0.000577784958, 0.000753237749, -0.00752147706)
  3327. o41.Anchored = true
  3328. o41.FormFactor = Enum.FormFactor.Plate
  3329. o41.Size = Vector3.new(1, 0.800000012, 1)
  3330. o41.CFrame = CFrame.new(113.818054, 3.80000734, 9.31151104, 0.999993563, 3.89721997e-008, 0, -4.03962055e-008, 1, 0, 0, 0, 1)
  3331. o41.BackSurface = Enum.SurfaceType.Weld
  3332. o41.BottomSurface = Enum.SurfaceType.Weld
  3333. o41.FrontSurface = Enum.SurfaceType.Weld
  3334. o41.LeftSurface = Enum.SurfaceType.Weld
  3335. o41.RightSurface = Enum.SurfaceType.Weld
  3336. o41.TopSurface = Enum.SurfaceType.Weld
  3337. o41.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3338. o42.Parent = o41
  3339. o43.Parent = o1
  3340. o43.BrickColor = BrickColor.new("Institutional white")
  3341. o43.Position = Vector3.new(105.317894, 8.40000725, 13.8115139)
  3342. o43.Rotation = Vector3.new(-0, 0, -2.21481446e-006)
  3343. o43.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3344. o43.Velocity = Vector3.new(0.00106650498, 0.000707125873, -0.00436840346)
  3345. o43.Anchored = true
  3346. o43.CanCollide = false
  3347. o43.FormFactor = Enum.FormFactor.Plate
  3348. o43.Size = Vector3.new(14, 0.400000006, 8)
  3349. o43.CFrame = CFrame.new(105.317894, 8.40000725, 13.8115139, 1, 3.86558057e-008, 0, -3.86558057e-008, 1, 0, 0, 0, 1)
  3350. o43.BackSurface = Enum.SurfaceType.Weld
  3351. o43.BottomSurface = Enum.SurfaceType.Weld
  3352. o43.FrontSurface = Enum.SurfaceType.Weld
  3353. o43.LeftSurface = Enum.SurfaceType.Weld
  3354. o43.RightSurface = Enum.SurfaceType.Weld
  3355. o43.TopSurface = Enum.SurfaceType.Weld
  3356. o43.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3357. o44.Parent = o43
  3358. o45.Parent = o1
  3359. o45.BrickColor = BrickColor.new("Really black")
  3360. o45.Position = Vector3.new(113.818176, 6.80000782, 11.311511)
  3361. o45.Rotation = Vector3.new(-90, -89.9314728, -90)
  3362. o45.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3363. o45.Velocity = Vector3.new(0.000222070201, 0.000459702482, -0.00708122645)
  3364. o45.Anchored = true
  3365. o45.CanCollide = false
  3366. o45.FormFactor = Enum.FormFactor.Plate
  3367. o45.Size = Vector3.new(3, 2.79999995, 1)
  3368. o45.CFrame = CFrame.new(113.818176, 6.80000782, 11.311511, 0, 3.96052044e-008, -0.999999285, 0, 1, 3.97634281e-008, 1, 0, 0)
  3369. o45.BackSurface = Enum.SurfaceType.Weld
  3370. o45.BottomSurface = Enum.SurfaceType.Weld
  3371. o45.TopSurface = Enum.SurfaceType.Weld
  3372. o45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3373. o46.Parent = o45
  3374. o46.MeshType = Enum.MeshType.Wedge
  3375. o47.Parent = o1
  3376. o47.BrickColor = BrickColor.new("Institutional white")
  3377. o47.Position = Vector3.new(103.118179, 2.40000772, 13.8115101)
  3378. o47.Rotation = Vector3.new(-0, 0, -2.27223404e-006)
  3379. o47.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3380. o47.Velocity = Vector3.new(0.000632874086, 0.000866103393, -0.0046077203)
  3381. o47.Anchored = true
  3382. o47.FormFactor = Enum.FormFactor.Plate
  3383. o47.Size = Vector3.new(12.3999996, 1.20000005, 10)
  3384. o47.CFrame = CFrame.new(103.118179, 2.40000772, 13.8115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1)
  3385. o47.BackSurface = Enum.SurfaceType.Weld
  3386. o47.BottomSurface = Enum.SurfaceType.Weld
  3387. o47.FrontSurface = Enum.SurfaceType.Weld
  3388. o47.LeftSurface = Enum.SurfaceType.Weld
  3389. o47.RightSurface = Enum.SurfaceType.Weld
  3390. o47.TopSurface = Enum.SurfaceType.Weld
  3391. o47.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3392. o48.Parent = o47
  3393. o49.Parent = o1
  3394. o49.BrickColor = BrickColor.new("White")
  3395. o49.Position = Vector3.new(104.018181, 3.20000815, 13.8115101)
  3396. o49.Rotation = Vector3.new(-0, 0, -2.27374471e-006)
  3397. o49.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3398. o49.Velocity = Vector3.new(0.000690691522, 0.000801058719, -0.00475267787)
  3399. o49.Anchored = true
  3400. o49.FormFactor = Enum.FormFactor.Plate
  3401. o49.Size = Vector3.new(20.6000004, 0.400000006, 10)
  3402. o49.CFrame = CFrame.new(104.018181, 3.20000815, 13.8115101, 1, 3.96843305e-008, 0, -3.96843305e-008, 1, 0, 0, 0, 1)
  3403. o49.BackSurface = Enum.SurfaceType.Weld
  3404. o49.BottomSurface = Enum.SurfaceType.Weld
  3405. o49.FrontSurface = Enum.SurfaceType.Weld
  3406. o49.LeftSurface = Enum.SurfaceType.Weld
  3407. o49.RightSurface = Enum.SurfaceType.Weld
  3408. o49.TopSurface = Enum.SurfaceType.Weld
  3409. o49.Color = Color3.new(0.94902, 0.952941, 0.952941)
  3410. o50.Parent = o49
  3411. o51.Parent = o1
  3412. o51.BrickColor = BrickColor.new("Institutional white")
  3413. o51.Position = Vector3.new(107.167747, 5.80000782, 18.3115101)
  3414. o51.Rotation = Vector3.new(-0, 0, -3.14727777e-006)
  3415. o51.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3416. o51.Velocity = Vector3.new(0.00219043763, -8.69987416e-005, -0.00528925471)
  3417. o51.Anchored = true
  3418. o51.FormFactor = Enum.FormFactor.Plate
  3419. o51.Size = Vector3.new(12.3000002, 4.80000019, 1)
  3420. o51.CFrame = CFrame.new(107.167747, 5.80000782, 18.3115101, 1, 5.49303607e-008, 0, -5.49303607e-008, 1, 0, 0, 0, 1)
  3421. o51.BackSurface = Enum.SurfaceType.Weld
  3422. o51.BottomSurface = Enum.SurfaceType.Weld
  3423. o51.FrontSurface = Enum.SurfaceType.Weld
  3424. o51.LeftSurface = Enum.SurfaceType.Weld
  3425. o51.RightSurface = Enum.SurfaceType.Weld
  3426. o51.TopSurface = Enum.SurfaceType.Weld
  3427. o51.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3428. o52.Parent = o51
  3429. o53.Parent = o1
  3430. o53.BrickColor = BrickColor.new("Institutional white")
  3431. o53.Position = Vector3.new(113.818176, 6.80000782, 13.8115101)
  3432. o53.Rotation = Vector3.new(-90, -89.9314728, -90)
  3433. o53.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3434. o53.Velocity = Vector3.new(0.000950869871, 9.27953006e-005, -0.00708122645)
  3435. o53.Anchored = true
  3436. o53.CanCollide = false
  3437. o53.FormFactor = Enum.FormFactor.Plate
  3438. o53.Size = Vector3.new(2, 2.79999995, 1)
  3439. o53.CFrame = CFrame.new(113.818176, 6.80000782, 13.8115101, 0, 3.96052044e-008, -0.999999285, 0, 1, 3.97634281e-008, 1, 0, 0)
  3440. o53.BackSurface = Enum.SurfaceType.Weld
  3441. o53.BottomSurface = Enum.SurfaceType.Weld
  3442. o53.TopSurface = Enum.SurfaceType.Weld
  3443. o53.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3444. o54.Parent = o53
  3445. o54.MeshType = Enum.MeshType.Wedge
  3446. o55.Parent = o1
  3447. o55.BrickColor = BrickColor.new("Really black")
  3448. o55.Position = Vector3.new(113.818176, 6.80000782, 16.3115101)
  3449. o55.Rotation = Vector3.new(-90, -89.9314728, -90)
  3450. o55.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3451. o55.Velocity = Vector3.new(0.0016796696, -0.000274111895, -0.00708122645)
  3452. o55.Anchored = true
  3453. o55.CanCollide = false
  3454. o55.FormFactor = Enum.FormFactor.Plate
  3455. o55.Size = Vector3.new(3, 2.79999995, 1)
  3456. o55.CFrame = CFrame.new(113.818176, 6.80000782, 16.3115101, 0, 3.96052044e-008, -0.999999285, 0, 1, 3.97634281e-008, 1, 0, 0)
  3457. o55.BackSurface = Enum.SurfaceType.Weld
  3458. o55.BottomSurface = Enum.SurfaceType.Weld
  3459. o55.TopSurface = Enum.SurfaceType.Weld
  3460. o55.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3461. o56.Parent = o55
  3462. o56.MeshType = Enum.MeshType.Wedge
  3463. o57.Parent = o1
  3464. o57.BrickColor = BrickColor.new("Institutional white")
  3465. o57.Position = Vector3.new(113.818176, 4.40000582, 13.8115101)
  3466. o57.Rotation = Vector3.new(-0, 0, -2.27223404e-006)
  3467. o57.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3468. o57.Velocity = Vector3.new(0.000777417503, 9.27956426e-005, -0.00743345637)
  3469. o57.Anchored = true
  3470. o57.CanCollide = false
  3471. o57.FormFactor = Enum.FormFactor.Plate
  3472. o57.Size = Vector3.new(1, 2, 8)
  3473. o57.CFrame = CFrame.new(113.818176, 4.40000582, 13.8115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1)
  3474. o57.BackSurface = Enum.SurfaceType.Weld
  3475. o57.BottomSurface = Enum.SurfaceType.Weld
  3476. o57.FrontSurface = Enum.SurfaceType.Weld
  3477. o57.LeftSurface = Enum.SurfaceType.Weld
  3478. o57.RightSurface = Enum.SurfaceType.Weld
  3479. o57.TopSurface = Enum.SurfaceType.Weld
  3480. o57.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3481. o58.Parent = o57
  3482. o59.Parent = o1
  3483. o59.BrickColor = BrickColor.new("Institutional white")
  3484. o59.Position = Vector3.new(113.818176, 3.80000734, 18.3115101)
  3485. o59.Rotation = Vector3.new(-0, 0, -2.27223404e-006)
  3486. o59.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3487. o59.Velocity = Vector3.new(0.00204589404, -0.000567637384, -0.00752151385)
  3488. o59.Anchored = true
  3489. o59.FormFactor = Enum.FormFactor.Plate
  3490. o59.Size = Vector3.new(1, 0.800000012, 1)
  3491. o59.CFrame = CFrame.new(113.818176, 3.80000734, 18.3115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1)
  3492. o59.BackSurface = Enum.SurfaceType.Weld
  3493. o59.BottomSurface = Enum.SurfaceType.Weld
  3494. o59.FrontSurface = Enum.SurfaceType.Weld
  3495. o59.LeftSurface = Enum.SurfaceType.Weld
  3496. o59.RightSurface = Enum.SurfaceType.Weld
  3497. o59.TopSurface = Enum.SurfaceType.Weld
  3498. o59.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3499. o60.Parent = o59
  3500. o61.Parent = o1
  3501. o61.BrickColor = BrickColor.new("Institutional white")
  3502. o61.Position = Vector3.new(105.317894, 8.40000725, 18.3115101)
  3503. o61.Rotation = Vector3.new(-0, 0, -2.21330401e-006)
  3504. o61.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3505. o61.Velocity = Vector3.new(0.00237834454, 4.6692905e-005, -0.00436840346)
  3506. o61.Anchored = true
  3507. o61.CanCollide = false
  3508. o61.FormFactor = Enum.FormFactor.Plate
  3509. o61.Size = Vector3.new(14, 0.400000006, 1)
  3510. o61.CFrame = CFrame.new(105.317894, 8.40000725, 18.3115101, 0.999999762, 3.86294303e-008, 0, -3.86821704e-008, 1, 0, 0, 0, 1)
  3511. o61.BackSurface = Enum.SurfaceType.Weld
  3512. o61.BottomSurface = Enum.SurfaceType.Weld
  3513. o61.FrontSurface = Enum.SurfaceType.Weld
  3514. o61.LeftSurface = Enum.SurfaceType.Weld
  3515. o61.RightSurface = Enum.SurfaceType.Weld
  3516. o61.TopSurface = Enum.SurfaceType.Weld
  3517. o61.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3518. o62.Parent = o61
  3519. o63.Parent = o1
  3520. o63.BrickColor = BrickColor.new("Institutional white")
  3521. o63.Position = Vector3.new(97.8181839, 5.79500866, 9.31151104)
  3522. o63.Rotation = Vector3.new(-0, 0, -2.36894834e-006)
  3523. o63.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3524. o63.Velocity = Vector3.new(-0.000433602603, 0.00190957636, -0.00256440602)
  3525. o63.Anchored = true
  3526. o63.CanCollide = false
  3527. o63.FormFactor = Enum.FormFactor.Plate
  3528. o63.Size = Vector3.new(1, 4.80999994, 1)
  3529. o63.CFrame = CFrame.new(97.8181839, 5.79500866, 9.31151104, 1, 4.13459489e-008, 0, -4.13459489e-008, 1, 0, 0, 0, 1)
  3530. o63.BottomSurface = Enum.SurfaceType.Weld
  3531. o63.LeftSurface = Enum.SurfaceType.Weld
  3532. o63.RightSurface = Enum.SurfaceType.Weld
  3533. o63.TopSurface = Enum.SurfaceType.Weld
  3534. o63.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3535. o64.Parent = o1
  3536. o64.BrickColor = BrickColor.new("Institutional white")
  3537. o64.Position = Vector3.new(97.8178101, 7.00000858, 18.3115101)
  3538. o64.Rotation = Vector3.new(-0, 0, -2.14529973e-006)
  3539. o64.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3540. o64.Velocity = Vector3.new(0.00227716402, 0.00058873737, -0.00238744705)
  3541. o64.Anchored = true
  3542. o64.CanCollide = false
  3543. o64.FormFactor = Enum.FormFactor.Plate
  3544. o64.Size = Vector3.new(1, 2.4000001, 1)
  3545. o64.CFrame = CFrame.new(97.8178101, 7.00000858, 18.3115101, 0.999999762, 3.74425326e-008, 0, -3.74952727e-008, 1, 0, 0, 0, 1)
  3546. o64.BottomSurface = Enum.SurfaceType.Weld
  3547. o64.LeftSurface = Enum.SurfaceType.Weld
  3548. o64.RightSurface = Enum.SurfaceType.Weld
  3549. o64.TopSurface = Enum.SurfaceType.Weld
  3550. o64.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3551. o65.Parent = o1
  3552. o65.BrickColor = BrickColor.new("Institutional white")
  3553. o65.Position = Vector3.new(113.418167, 2.40000749, 13.8115101)
  3554. o65.Rotation = Vector3.new(-0, 0, -2.27223404e-006)
  3555. o65.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3556. o65.Velocity = Vector3.new(0.000632874086, 0.000121704477, -0.0076103732)
  3557. o65.Anchored = true
  3558. o65.FormFactor = Enum.FormFactor.Plate
  3559. o65.Size = Vector3.new(1.80000007, 1.20000005, 10)
  3560. o65.CFrame = CFrame.new(113.418167, 2.40000749, 13.8115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1)
  3561. o65.BackSurface = Enum.SurfaceType.Weld
  3562. o65.BottomSurface = Enum.SurfaceType.Weld
  3563. o65.FrontSurface = Enum.SurfaceType.Weld
  3564. o65.LeftSurface = Enum.SurfaceType.Weld
  3565. o65.RightSurface = Enum.SurfaceType.Weld
  3566. o65.TopSurface = Enum.SurfaceType.Weld
  3567. o65.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3568. o66.Parent = o65
  3569. o67.Parent = o1
  3570. o67.BrickColor = BrickColor.new("Really red")
  3571. o67.Position = Vector3.new(113.817245, 4.80000687, 18.3115101)
  3572. o67.Rotation = Vector3.new(-0, 0, -3.17145691e-006)
  3573. o67.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3574. o67.Velocity = Vector3.new(0.00211816584, -0.000567570096, -0.0073744799)
  3575. o67.Anchored = true
  3576. o67.FormFactor = Enum.FormFactor.Plate
  3577. o67.Size = Vector3.new(1, 1.20000005, 1)
  3578. o67.CFrame = CFrame.new(113.817245, 4.80000687, 18.3115101, 1, 5.53523627e-008, 0, -5.53523627e-008, 1, 0, 0, 0, 1)
  3579. o67.BackSurface = Enum.SurfaceType.Weld
  3580. o67.BottomSurface = Enum.SurfaceType.Weld
  3581. o67.FrontSurface = Enum.SurfaceType.Weld
  3582. o67.LeftSurface = Enum.SurfaceType.Weld
  3583. o67.RightSurface = Enum.SurfaceType.Weld
  3584. o67.TopSurface = Enum.SurfaceType.Weld
  3585. o67.Color = Color3.new(1, 0, 0)
  3586. o68.Parent = o67
  3587. o69.Parent = o1
  3588. o69.BrickColor = BrickColor.new("Institutional white")
  3589. o69.Position = Vector3.new(112.817894, 8.40000725, 13.8115139)
  3590. o69.Rotation = Vector3.new(-0, 0, -2.21330401e-006)
  3591. o69.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3592. o69.Velocity = Vector3.new(0.00106650498, 0.000165087578, -0.00655480288)
  3593. o69.Anchored = true
  3594. o69.CanCollide = false
  3595. o69.FormFactor = Enum.FormFactor.Plate
  3596. o69.Size = Vector3.new(1, 0.400000006, 10)
  3597. o69.CFrame = CFrame.new(112.817894, 8.40000725, 13.8115139, 0.999999762, 3.86294303e-008, 0, -3.86821704e-008, 1, 0, 0, 0, 1)
  3598. o69.BackSurface = Enum.SurfaceType.Weld
  3599. o69.BottomSurface = Enum.SurfaceType.Weld
  3600. o69.FrontSurface = Enum.SurfaceType.Weld
  3601. o69.LeftSurface = Enum.SurfaceType.Weld
  3602. o69.RightSurface = Enum.SurfaceType.Weld
  3603. o69.TopSurface = Enum.SurfaceType.Weld
  3604. o69.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3605. o70.Parent = o69
  3606. o71.Parent = o1
  3607. o71.BrickColor = BrickColor.new("Really black")
  3608. o71.Position = Vector3.new(92.2181854, 3.8000083, 13.8115101)
  3609. o71.Rotation = Vector3.new(-0, 0, -2.2601489e-006)
  3610. o71.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3611. o71.Velocity = Vector3.new(0.0007340546, 0.00165386556, -0.00122468593)
  3612. o71.Anchored = true
  3613. o71.FormFactor = Enum.FormFactor.Custom
  3614. o71.Size = Vector3.new(0.200000003, 0.800000012, 6)
  3615. o71.CFrame = CFrame.new(92.2181854, 3.8000083, 13.8115101, 0.999997854, 3.94469524e-008, 0, -3.99216233e-008, 1, 0, 0, 0, 1)
  3616. o71.BackSurface = Enum.SurfaceType.Weld
  3617. o71.BottomSurface = Enum.SurfaceType.Weld
  3618. o71.FrontSurface = Enum.SurfaceType.Weld
  3619. o71.LeftSurface = Enum.SurfaceType.Weld
  3620. o71.RightSurface = Enum.SurfaceType.Weld
  3621. o71.TopSurface = Enum.SurfaceType.Weld
  3622. o71.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3623. o72.Parent = o71
  3624. o73.Name = "Head"
  3625. o73.Parent = o1
  3626. o73.Material = Enum.Material.SmoothPlastic
  3627. o73.BrickColor = BrickColor.new("Institutional white")
  3628. o73.Position = Vector3.new(99.207077, 7.026577, 15.2047167)
  3629. o73.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005)
  3630. o73.Anchored = true
  3631. o73.FormFactor = Enum.FormFactor.Symmetric
  3632. o73.Size = Vector3.new(2, 1, 1)
  3633. o73.CFrame = CFrame.new(99.207077, 7.026577, 15.2047167, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915)
  3634. o73.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3635. o73.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3636. o73.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3637. o73.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3638. o73.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3639. o73.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3640. o73.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3641. o74.Parent = o73
  3642. o74.Scale = Vector3.new(1.25, 1.25, 1.25)
  3643. o75.Name = "face"
  3644. o75.Parent = o73
  3645. o75.Texture = "rbxasset://textures/face.png"
  3646. o76.Parent = o1
  3647. o76.BrickColor = BrickColor.new("Institutional white")
  3648. o76.Position = Vector3.new(99.6954269, 5.81500673, 9.31151104)
  3649. o76.Rotation = Vector3.new(-0, 0, -8.82515178e-006)
  3650. o76.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3651. o76.Velocity = Vector3.new(-0.000432157307, 0.00177390513, -0.00310872309)
  3652. o76.Anchored = true
  3653. o76.CanCollide = false
  3654. o76.FormFactor = Enum.FormFactor.Plate
  3655. o76.Size = Vector3.new(2.76000023, 4.82999992, 1)
  3656. o76.CFrame = CFrame.new(99.6954269, 5.81500673, 9.31151104, 1, 1.54027958e-007, 0, -1.54027958e-007, 1, 0, 0, 0, 1)
  3657. o76.BottomSurface = Enum.SurfaceType.Weld
  3658. o76.LeftSurface = Enum.SurfaceType.Weld
  3659. o76.RightSurface = Enum.SurfaceType.Weld
  3660. o76.TopSurface = Enum.SurfaceType.Weld
  3661. o76.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3662. o77.Parent = o1
  3663. o77.BrickColor = BrickColor.new("Institutional white")
  3664. o77.Position = Vector3.new(100.909996, 5.80000877, 14.2915134)
  3665. o77.Rotation = Vector3.new(-0, 0, -7.89941078e-006)
  3666. o77.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
  3667. o77.Velocity = Vector3.new(0.0010185279, 0.000955246738, -0.00346499542)
  3668. o77.Anchored = true
  3669. o77.FormFactor = Enum.FormFactor.Plate
  3670. o77.Size = Vector3.new(0.200000003, 4.80000019, 9.0199995)
  3671. o77.CFrame = CFrame.new(100.909996, 5.80000877, 14.2915134, 1, 1.37870728e-007, 0, -1.37870728e-007, 1, 0, 0, 0, 1)
  3672. o77.BackSurface = Enum.SurfaceType.Weld
  3673. o77.BottomSurface = Enum.SurfaceType.Weld
  3674. o77.FrontSurface = Enum.SurfaceType.Weld
  3675. o77.LeftSurface = Enum.SurfaceType.Weld
  3676. o77.RightSurface = Enum.SurfaceType.Weld
  3677. o77.TopSurface = Enum.SurfaceType.Weld
  3678. o77.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3679. o78.Parent = o77
  3680. o79.Name = "Head"
  3681. o79.Parent = o1
  3682. o79.Material = Enum.Material.SmoothPlastic
  3683. o79.BrickColor = BrickColor.new("Institutional white")
  3684. o79.Position = Vector3.new(103.10894, 7.49666739, 15.2047167)
  3685. o79.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006)
  3686. o79.Anchored = true
  3687. o79.FormFactor = Enum.FormFactor.Symmetric
  3688. o79.Size = Vector3.new(2, 1, 1)
  3689. o79.CFrame = CFrame.new(103.10894, 7.49666739, 15.2047167, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942)
  3690. o79.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3691. o79.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3692. o79.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3693. o79.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3694. o79.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3695. o79.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3696. o79.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3697. o80.Parent = o79
  3698. o80.Scale = Vector3.new(1.25, 1.25, 1.25)
  3699. o81.Name = "face"
  3700. o81.Parent = o79
  3701. o81.Texture = "rbxasset://textures/face.png"
  3702. o82.Name = "Handle"
  3703. o82.Parent = o1
  3704. o82.Material = Enum.Material.SmoothPlastic
  3705. o82.Position = Vector3.new(103.10894, 7.34666729, 15.2047167)
  3706. o82.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006)
  3707. o82.Anchored = true
  3708. o82.CanCollide = false
  3709. o82.FormFactor = Enum.FormFactor.Symmetric
  3710. o82.Size = Vector3.new(2, 2, 2)
  3711. o82.CFrame = CFrame.new(103.10894, 7.34666729, 15.2047167, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942)
  3712. o82.BottomSurface = Enum.SurfaceType.Smooth
  3713. o82.TopSurface = Enum.SurfaceType.Smooth
  3714. o83.Parent = o82
  3715. o83.MeshId = "http://www.roblox.com/asset/?id=15393031"
  3716. o83.TextureId = "http://www.roblox.com/asset/?id=15393013"
  3717. o83.MeshType = Enum.MeshType.FileMesh
  3718. o84.Parent = o1
  3719. o84.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  3720. o84.RightLeg = o94
  3721. o84.LeftLeg = o96
  3722. o84.Torso = o87
  3723. o84.Health = 0
  3724. o84.MaxHealth = 0
  3725. o85.Name = "TPPART"
  3726. o85.Parent = o1
  3727. o85.Transparency = 1
  3728. o85.Position = Vector3.new(104.155182, 4.24109221, 12.6003485)
  3729. o85.Rotation = Vector3.new(-0, 0, -3.5910773e-006)
  3730. o85.Anchored = true
  3731. o85.CanCollide = false
  3732. o85.Size = Vector3.new(4, 1, 2)
  3733. o85.CFrame = CFrame.new(104.155182, 4.24109221, 12.6003485, 1, 6.26761221e-008, 0, -6.26761221e-008, 1, 0, 0, 0, 1)
  3734. o86.Name = "TPPART2"
  3735. o86.Parent = o1
  3736. o86.Transparency = 1
  3737. o86.Position = Vector3.new(104.155182, 5.40188599, 6.32408237)
  3738. o86.Rotation = Vector3.new(-0, 0, -3.5910773e-006)
  3739. o86.Anchored = true
  3740. o86.CanCollide = false
  3741. o86.Size = Vector3.new(4, 1, 2)
  3742. o86.CFrame = CFrame.new(104.155182, 5.40188599, 6.32408237, 1, 6.26761221e-008, 0, -6.26761221e-008, 1, 0, 0, 0, 1)
  3743. o87.Name = "Torso"
  3744. o87.Parent = o1
  3745. o87.Material = Enum.Material.SmoothPlastic
  3746. o87.BrickColor = BrickColor.new("Navy blue")
  3747. o87.Position = Vector3.new(99.207077, 5.526577, 15.2047167)
  3748. o87.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005)
  3749. o87.Anchored = true
  3750. o87.FormFactor = Enum.FormFactor.Symmetric
  3751. o87.Size = Vector3.new(2, 2, 1)
  3752. o87.CFrame = CFrame.new(99.207077, 5.526577, 15.2047167, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915)
  3753. o87.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3754. o87.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3755. o87.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3756. o87.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3757. o87.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3758. o87.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3759. o87.Color = Color3.new(0, 0.12549, 0.376471)
  3760. o88.Name = "roblox"
  3761. o88.Parent = o87
  3762. o89.Name = "Right Shoulder"
  3763. o89.Parent = o87
  3764. o89.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3765. o89.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3766. o89.Part0 = o87
  3767. o89.Part1 = o95
  3768. o89.DesiredAngle = -0.062025275081396
  3769. o89.MaxVelocity = 0.15000000596046
  3770. o90.Name = "Left Shoulder"
  3771. o90.Parent = o87
  3772. o90.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3773. o90.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3774. o90.Part0 = o87
  3775. o90.Part1 = o97
  3776. o90.DesiredAngle = -0.062025275081396
  3777. o90.MaxVelocity = 0.15000000596046
  3778. o91.Name = "Right Hip"
  3779. o91.Parent = o87
  3780. o91.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3781. o91.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3782. o91.Part0 = o87
  3783. o91.Part1 = o94
  3784. o91.DesiredAngle = 0.062025275081396
  3785. o91.MaxVelocity = 0.10000000149012
  3786. o92.Name = "Left Hip"
  3787. o92.Parent = o87
  3788. o92.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3789. o92.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3790. o92.Part0 = o87
  3791. o92.Part1 = o96
  3792. o92.DesiredAngle = 0.062025275081396
  3793. o92.MaxVelocity = 0.10000000149012
  3794. o93.Name = "Neck"
  3795. o93.Parent = o87
  3796. o93.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3797. o93.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3798. o93.Part0 = o87
  3799. o93.Part1 = o73
  3800. o93.MaxVelocity = 0.10000000149012
  3801. o94.Name = "Right Leg"
  3802. o94.Parent = o1
  3803. o94.Material = Enum.Material.SmoothPlastic
  3804. o94.BrickColor = BrickColor.new("Navy blue")
  3805. o94.Position = Vector3.new(99.215416, 3.526577, 14.7047863)
  3806. o94.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005)
  3807. o94.Anchored = true
  3808. o94.CanCollide = false
  3809. o94.FormFactor = Enum.FormFactor.Symmetric
  3810. o94.Size = Vector3.new(1, 2, 1)
  3811. o94.CFrame = CFrame.new(99.215416, 3.526577, 14.7047863, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915)
  3812. o94.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3813. o94.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3814. o94.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3815. o94.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3816. o94.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3817. o94.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3818. o94.Color = Color3.new(0, 0.12549, 0.376471)
  3819. o95.Name = "Right Arm"
  3820. o95.Parent = o1
  3821. o95.Material = Enum.Material.SmoothPlastic
  3822. o95.BrickColor = BrickColor.new("Maroon")
  3823. o95.Position = Vector3.new(99.2321014, 5.526577, 13.7049236)
  3824. o95.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005)
  3825. o95.Anchored = true
  3826. o95.CanCollide = false
  3827. o95.FormFactor = Enum.FormFactor.Symmetric
  3828. o95.Size = Vector3.new(1, 2, 1)
  3829. o95.CFrame = CFrame.new(99.2321014, 5.526577, 13.7049236, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915)
  3830. o95.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3831. o95.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3832. o95.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3833. o95.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3834. o95.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3835. o95.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3836. o95.Color = Color3.new(0.458824, 0, 0)
  3837. o96.Name = "Left Leg"
  3838. o96.Parent = o1
  3839. o96.Material = Enum.Material.SmoothPlastic
  3840. o96.BrickColor = BrickColor.new("Navy blue")
  3841. o96.Position = Vector3.new(99.1987381, 3.526577, 15.7046452)
  3842. o96.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005)
  3843. o96.Anchored = true
  3844. o96.CanCollide = false
  3845. o96.FormFactor = Enum.FormFactor.Symmetric
  3846. o96.Size = Vector3.new(1, 2, 1)
  3847. o96.CFrame = CFrame.new(99.1987381, 3.526577, 15.7046452, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915)
  3848. o96.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3849. o96.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3850. o96.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3851. o96.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3852. o96.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3853. o96.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3854. o96.Color = Color3.new(0, 0.12549, 0.376471)
  3855. o97.Name = "Left Arm"
  3856. o97.Parent = o1
  3857. o97.Material = Enum.Material.SmoothPlastic
  3858. o97.BrickColor = BrickColor.new("Maroon")
  3859. o97.Position = Vector3.new(99.1820602, 5.526577, 16.7045078)
  3860. o97.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005)
  3861. o97.Anchored = true
  3862. o97.CanCollide = false
  3863. o97.FormFactor = Enum.FormFactor.Symmetric
  3864. o97.Size = Vector3.new(1, 2, 1)
  3865. o97.CFrame = CFrame.new(99.1820602, 5.526577, 16.7045078, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915)
  3866. o97.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3867. o97.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3868. o97.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3869. o97.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3870. o97.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3871. o97.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3872. o97.Color = Color3.new(0.458824, 0, 0)
  3873. o98.Name = "Torso"
  3874. o98.Parent = o1
  3875. o98.Material = Enum.Material.SmoothPlastic
  3876. o98.BrickColor = BrickColor.new("Navy blue")
  3877. o98.Position = Vector3.new(103.10894, 5.99666739, 15.2047167)
  3878. o98.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006)
  3879. o98.Anchored = true
  3880. o98.FormFactor = Enum.FormFactor.Symmetric
  3881. o98.Size = Vector3.new(2, 2, 1)
  3882. o98.CFrame = CFrame.new(103.10894, 5.99666739, 15.2047167, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942)
  3883. o98.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3884. o98.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3885. o98.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3886. o98.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3887. o98.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3888. o98.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3889. o98.Color = Color3.new(0, 0.12549, 0.376471)
  3890. o99.Name = "roblox"
  3891. o99.Parent = o98
  3892. o100.Name = "Right Hip"
  3893. o100.Parent = o98
  3894. o100.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3895. o100.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3896. o100.Part0 = o98
  3897. o100.Part1 = o103
  3898. o100.DesiredAngle = 0.062025275081396
  3899. o100.MaxVelocity = 0.10000000149012
  3900. o101.Name = "Left Hip"
  3901. o101.Parent = o98
  3902. o101.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3903. o101.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3904. o101.Part0 = o98
  3905. o101.Part1 = o105
  3906. o101.DesiredAngle = 0.062025275081396
  3907. o101.MaxVelocity = 0.10000000149012
  3908. o102.Name = "Neck"
  3909. o102.Parent = o98
  3910. o102.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3911. o102.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3912. o102.Part0 = o98
  3913. o102.Part1 = o79
  3914. o102.MaxVelocity = 0.10000000149012
  3915. o103.Name = "Right Leg"
  3916. o103.Parent = o1
  3917. o103.Material = Enum.Material.SmoothPlastic
  3918. o103.BrickColor = BrickColor.new("Really black")
  3919. o103.Position = Vector3.new(103.608864, 3.99666739, 15.2130556)
  3920. o103.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006)
  3921. o103.Anchored = true
  3922. o103.CanCollide = false
  3923. o103.FormFactor = Enum.FormFactor.Symmetric
  3924. o103.Size = Vector3.new(1, 2, 1)
  3925. o103.CFrame = CFrame.new(103.608864, 3.99666739, 15.2130556, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942)
  3926. o103.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3927. o103.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3928. o103.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3929. o103.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3930. o103.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3931. o103.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3932. o103.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3933. o104.Name = "Right Arm"
  3934. o104.Parent = o1
  3935. o104.Material = Enum.Material.SmoothPlastic
  3936. o104.BrickColor = BrickColor.new("Maroon")
  3937. o104.Position = Vector3.new(104.615349, 5.89646101, 14.8330393)
  3938. o104.Rotation = Vector3.new(45.0039597, -0.675833881, 0.675880313)
  3939. o104.Anchored = true
  3940. o104.CanCollide = false
  3941. o104.FormFactor = Enum.FormFactor.Symmetric
  3942. o104.Size = Vector3.new(1, 2, 1)
  3943. o104.CFrame = CFrame.new(104.615349, 5.89646101, 14.8330393, 0.999860883, -0.0117952423, -0.0117952526, 0, 0.707107067, -0.707106411, 0.0166809987, 0.707008064, 0.707008719)
  3944. o104.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3945. o104.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3946. o104.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3947. o104.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3948. o104.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3949. o104.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3950. o104.Color = Color3.new(0.458824, 0, 0)
  3951. o105.Name = "Left Leg"
  3952. o105.Parent = o1
  3953. o105.Material = Enum.Material.SmoothPlastic
  3954. o105.BrickColor = BrickColor.new("Really black")
  3955. o105.Position = Vector3.new(102.609009, 3.99666739, 15.1963739)
  3956. o105.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006)
  3957. o105.Anchored = true
  3958. o105.CanCollide = false
  3959. o105.FormFactor = Enum.FormFactor.Symmetric
  3960. o105.Size = Vector3.new(1, 2, 1)
  3961. o105.CFrame = CFrame.new(102.609009, 3.99666739, 15.1963739, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942)
  3962. o105.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3963. o105.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3964. o105.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3965. o105.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3966. o105.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3967. o105.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3968. o105.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3969. o106.Name = "Left Arm"
  3970. o106.Parent = o1
  3971. o106.Material = Enum.Material.SmoothPlastic
  3972. o106.BrickColor = BrickColor.new("Maroon")
  3973. o106.Position = Vector3.new(101.617271, 5.96075201, 14.6924496)
  3974. o106.Rotation = Vector3.new(45.0039597, -0.675833881, 0.675880313)
  3975. o106.Anchored = true
  3976. o106.CanCollide = false
  3977. o106.FormFactor = Enum.FormFactor.Symmetric
  3978. o106.Size = Vector3.new(1, 2, 1)
  3979. o106.CFrame = CFrame.new(101.617271, 5.96075201, 14.6924496, 0.999860883, -0.0117952423, -0.0117952526, 0, 0.707107067, -0.707106411, 0.0166809987, 0.707008064, 0.707008719)
  3980. o106.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3981. o106.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3982. o106.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3983. o106.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3984. o106.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3985. o106.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3986. o106.Color = Color3.new(0.458824, 0, 0)
  3987. o107.Parent = o1
  3988. o107.Position = Vector3.new(110.917458, 1.50000954, 18.4564953)
  3989. o107.Rotation = Vector3.new(-90, 1.20620803e-006, -180)
  3990. o107.Anchored = true
  3991. o107.FormFactor = Enum.FormFactor.Symmetric
  3992. o107.Size = Vector3.new(2.39999986, 1.31000006, 2.39999986)
  3993. o107.CFrame = CFrame.new(110.917458, 1.50000954, 18.4564953, -1, 2.98044895e-008, 2.10523012e-008, 2.10523012e-008, 7.54615499e-008, 1, 2.9804486e-008, 1, -7.54615499e-008)
  3994. o108.Parent = o107
  3995. o109.Parent = o1
  3996. o109.BrickColor = BrickColor.new("Really black")
  3997. o109.Position = Vector3.new(110.917442, 1.50002527, 9.1665411)
  3998. o109.Rotation = Vector3.new(-90, 6.45824184e-006, 2.56150702e-006)
  3999. o109.Anchored = true
  4000. o109.FormFactor = Enum.FormFactor.Symmetric
  4001. o109.Size = Vector3.new(3, 1.20000005, 3)
  4002. o109.CFrame = CFrame.new(110.917442, 1.50002527, 9.1665411, 1, -4.47067308e-008, 1.12717586e-007, -1.12717586e-007, -5.51334445e-009, 1, -4.47067308e-008, -1, -5.51334933e-009)
  4003. o109.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4004. o110.Parent = o109
  4005. o111.Parent = o1
  4006. o111.BrickColor = BrickColor.new("Really black")
  4007. o111.Position = Vector3.new(110.917458, 1.50000954, 18.4564953)
  4008. o111.Rotation = Vector3.new(-90, 1.20620803e-006, -180)
  4009. o111.Anchored = true
  4010. o111.FormFactor = Enum.FormFactor.Symmetric
  4011. o111.Size = Vector3.new(3, 1.20000005, 3)
  4012. o111.CFrame = CFrame.new(110.917458, 1.50000954, 18.4564953, -1, 2.98044895e-008, 2.10523012e-008, 2.10523012e-008, 7.54615499e-008, 1, 2.9804486e-008, 1, -7.54615499e-008)
  4013. o111.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4014. o112.Parent = o111
  4015. o113.Parent = o1
  4016. o113.Position = Vector3.new(95.3486252, 1.50002623, 9.1665411)
  4017. o113.Rotation = Vector3.new(-90, 6.45824184e-006, 2.56150702e-006)
  4018. o113.Anchored = true
  4019. o113.FormFactor = Enum.FormFactor.Symmetric
  4020. o113.Size = Vector3.new(2.39999986, 1.31000006, 2.39999986)
  4021. o113.CFrame = CFrame.new(95.3486252, 1.50002623, 9.1665411, 1, -4.47067308e-008, 1.12717586e-007, -1.12717586e-007, -5.51334445e-009, 1, -4.47067308e-008, -1, -5.51334933e-009)
  4022. o114.Parent = o113
  4023. o115.Parent = o1
  4024. o115.BrickColor = BrickColor.new("Really black")
  4025. o115.Position = Vector3.new(95.3486252, 1.50002623, 9.1665411)
  4026. o115.Rotation = Vector3.new(-90, 6.45824184e-006, 2.56150702e-006)
  4027. o115.Anchored = true
  4028. o115.FormFactor = Enum.FormFactor.Symmetric
  4029. o115.Size = Vector3.new(3, 1.20000005, 3)
  4030. o115.CFrame = CFrame.new(95.3486252, 1.50002623, 9.1665411, 1, -4.47067308e-008, 1.12717586e-007, -1.12717586e-007, -5.51334445e-009, 1, -4.47067308e-008, -1, -5.51334933e-009)
  4031. o115.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4032. o116.Parent = o115
  4033. o117.Parent = o1
  4034. o117.BrickColor = BrickColor.new("Really black")
  4035. o117.Position = Vector3.new(95.3486252, 1.50001001, 18.4564877)
  4036. o117.Rotation = Vector3.new(-90, 1.20620803e-006, -180)
  4037. o117.Anchored = true
  4038. o117.FormFactor = Enum.FormFactor.Symmetric
  4039. o117.Size = Vector3.new(3, 1.20000005, 3)
  4040. o117.CFrame = CFrame.new(95.3486252, 1.50001001, 18.4564877, -1, 2.98044895e-008, 2.10523012e-008, 2.10523012e-008, 7.54615499e-008, 1, 2.9804486e-008, 1, -7.54615499e-008)
  4041. o117.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4042. o118.Parent = o117
  4043. o119.Parent = o1
  4044. o119.Position = Vector3.new(110.917442, 1.50002527, 9.1665411)
  4045. o119.Rotation = Vector3.new(-90, 6.45824184e-006, 2.56150702e-006)
  4046. o119.Anchored = true
  4047. o119.FormFactor = Enum.FormFactor.Symmetric
  4048. o119.Size = Vector3.new(2.39999986, 1.31000006, 2.39999986)
  4049. o119.CFrame = CFrame.new(110.917442, 1.50002527, 9.1665411, 1, -4.47067308e-008, 1.12717586e-007, -1.12717586e-007, -5.51334445e-009, 1, -4.47067308e-008, -1, -5.51334933e-009)
  4050. o120.Parent = o119
  4051. o121.Name = "Handle"
  4052. o121.Parent = o1
  4053. o121.Material = Enum.Material.SmoothPlastic
  4054. o121.Position = Vector3.new(99.207077, 6.8765769, 15.2047167)
  4055. o121.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005)
  4056. o121.Anchored = true
  4057. o121.CanCollide = false
  4058. o121.FormFactor = Enum.FormFactor.Symmetric
  4059. o121.Size = Vector3.new(2, 2, 2)
  4060. o121.CFrame = CFrame.new(99.207077, 6.8765769, 15.2047167, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915)
  4061. o121.BottomSurface = Enum.SurfaceType.Smooth
  4062. o121.TopSurface = Enum.SurfaceType.Smooth
  4063. o122.Parent = o121
  4064. o122.MeshId = "http://www.roblox.com/asset/?id=15393031"
  4065. o122.TextureId = "http://www.roblox.com/asset/?id=15393013"
  4066. o122.MeshType = Enum.MeshType.FileMesh
  4067. o123.Name = "RPPART"
  4068. o123.Parent = o1
  4069. o123.Transparency = 1
  4070. o123.Position = Vector3.new(103.454132, 5.33460093, 13.0707426)
  4071. o123.Rotation = Vector3.new(-90, 0, -0)
  4072. o123.Anchored = true
  4073. o123.CanCollide = false
  4074. o123.Size = Vector3.new(4, 1, 2)
  4075. o123.CFrame = CFrame.new(103.454132, 5.33460093, 13.0707426, 1, 0, 0, 0, 0, 1, 0, -1, 0)
  4076. o124.Parent = o12
  4077. o124.Texture = "http://roblox.com/asset/?id=112031763"
  4078. function MoveY(model, Position)
  4079. for _,part in pairs (model:GetChildren()) do
  4080. if part.ClassName == "Part" then
  4081. part.CFrame = part.CFrame + Vector3.new(0,Position,0)
  4082. end
  4083. end
  4084. end
  4085. function MoveX(model, Position)
  4086. for _,part in pairs (model:GetChildren()) do
  4087. if part.ClassName == "Part" then
  4088. part.CFrame = part.CFrame + Vector3.new(Position,0,0)
  4089. end
  4090. end
  4091. end
  4092. function MoveSpawn(model, PLAYERPOS)
  4093. for _,part in pairs (model:GetChildren()) do
  4094. if part.ClassName == "Part" then
  4095. part.CFrame = part.CFrame + PLAYERPOS + Vector3.new(50,-2.7,-5)
  4096. end
  4097. end
  4098. end
  4099. function MoveZ(model, Position)
  4100. for _,part in pairs (model:GetChildren()) do
  4101. if part.ClassName == "Part" then
  4102. part.CFrame = part.CFrame + Vector3.new(0,0,Position)
  4103. end
  4104. end
  4105. end
  4106. function MoveZPart(Part, Position)
  4107. Part.CFrame = Part.CFrame + Vector3.new(0,0,Position)
  4108. end
  4109. function MoveXPart(Part, Position)
  4110. Part.CFrame = Part.CFrame + Vector3.new(Position,0,0)
  4111. end
  4112. game.Players[Victim].Character.HumanoidRootPart.Anchored = true
  4113. OMGCREEPY = Instance.new("Sound")
  4114. OMGCREEPY.Parent = o1
  4115. OMGCREEPY.Volume = 10
  4116. OMGCREEPY.SoundId = "rbxassetid://177775134"
  4117. for i,v in pairs (o1:GetChildren()) do
  4118. if v:IsA("Part") then
  4119. v.Material = "SmoothPlastic"
  4120. v.BackSurface = "SmoothNoOutlines"
  4121. v.FrontSurface = "SmoothNoOutlines"
  4122. v.BottomSurface = "SmoothNoOutlines"
  4123. v.LeftSurface = "SmoothNoOutlines"
  4124. v.RightSurface = "SmoothNoOutlines"
  4125. v.TopSurface = "SmoothNoOutlines"
  4126. end
  4127. end
  4128. OMGCREEPY:Play()
  4129. o21:Play()
  4130. MoveSpawn(o1,game.Players[Victim].Character.HumanoidRootPart.Position)
  4131. for i=1,51 do
  4132. MoveX(o1,-3)
  4133. wait(.05)
  4134. end
  4135. wait(.5)
  4136. MoveZPart(o12,-1)
  4137. wait(.2)
  4138. for i=1,6 do
  4139. MoveXPart(o12,1)
  4140. wait(.1)
  4141. end
  4142. wait(.5)
  4143. game.Players[Victim].Character.HumanoidRootPart.CFrame = o86.CFrame
  4144. wait(.5)
  4145. game.Players[Victim].Character.HumanoidRootPart.CFrame = o85.CFrame
  4146. wait(.5)
  4147. MoveZPart(o12,1)
  4148. wait(.2)
  4149.  
  4150. for i=1,6 do
  4151. MoveXPart(o12,-1)
  4152. wait(.1)
  4153. end
  4154. for i=1,50 do
  4155. MoveX(o1,-3)
  4156. game.Players[Victim].Character.HumanoidRootPart.CFrame = o85.CFrame
  4157. wait(.05)
  4158. end
  4159. game.Players[Victim].Character.Head.face.Texture = "rbxassetid://629925029"
  4160. game.Players[Victim].Character.HumanoidRootPart.CFrame = o123.CFrame
  4161. SCREAM = Instance.new("Sound")
  4162. SCREAM.Parent = game.Players[Victim].Character.Head
  4163. SCREAM.SoundId = "rbxassetid://138167455"
  4164. SCREAM:Play()
  4165. wait(2.5)
  4166. game.Players[Victim].Character.Head.BrickColor = BrickColor.new("Maroon")
  4167. MoveZPart(o12,-1)
  4168. wait(.2)
  4169. for i=1,6 do
  4170. MoveXPart(o12,1)
  4171. wait(.1)
  4172. end
  4173. wait(.5)
  4174. game.Players[Victim].Character.HumanoidRootPart.CFrame = o86.CFrame
  4175. wait(.5)
  4176. MoveZPart(o12,1)
  4177. wait(.2)
  4178. for i=1,6 do
  4179. MoveXPart(o12,-1)
  4180. wait(.1)
  4181. end
  4182. game.Players[Victim].Character.Humanoid.Health = 0
  4183. player = game.Players[Victim]
  4184. char = player.Character
  4185. char.Archivable = true
  4186. local rg = char:Clone()
  4187. rg.HumanoidRootPart:Destroy()
  4188. rg.Name = ""
  4189. rg.Humanoid.MaxHealth = 0
  4190. for i, v in pairs(rg.Torso:GetChildren()) do
  4191. if v:IsA("Motor6D") then
  4192. v:Destroy()
  4193. end
  4194. end
  4195.  
  4196. local n = Instance.new("Glue", rg.Torso)
  4197. n.Name = "Neck"
  4198. n.Part0 = rg.Torso
  4199. n.Part1 = rg.Head
  4200. n.C0 = CFrame.new(0, 1, 0)
  4201. n.C1 = CFrame.new(0, -0.5, 0)
  4202.  
  4203. local rs = Instance.new("Glue", rg.Torso)
  4204. rs.Name = "Right Shoulder"
  4205. rs.Part0 = rg.Torso
  4206. rs.Part1 = rg["Right Arm"]
  4207. rs.C0 = CFrame.new(1.5, 0.5, 0)
  4208. rs.C1 = CFrame.new(0, 0.5, 0)
  4209. local ls = Instance.new("Glue", rg.Torso)
  4210. ls.Name = "Left Shoulder"
  4211. ls.Part0 = rg.Torso
  4212. ls.Part1 = rg["Left Arm"]
  4213. ls.C0 = CFrame.new(-1.5, 0.5, 0)
  4214. ls.C1 = CFrame.new(0, 0.5, 0)
  4215.  
  4216. local rh = Instance.new("Glue", rg.Torso)
  4217. rh.Name = "Right Hip"
  4218. rh.Part0 = rg.Torso
  4219. rh.Part1 = rg["Right Leg"]
  4220. rh.C0 = CFrame.new(0.5, -1, 0)
  4221. rh.C1 = CFrame.new(0, 1, 0)
  4222. local lh = Instance.new("Glue", rg.Torso)
  4223. lh.Name = "Left Hip"
  4224. lh.Part0 = rg.Torso
  4225. lh.Part1 = rg["Left Leg"]
  4226. lh.C0 = CFrame.new(-0.5, -1, 0)
  4227. lh.C1 = CFrame.new(0, 1, 0)
  4228. char.Torso:Destroy()
  4229. char.Head:Destroy()
  4230. char["Left Leg"]:Destroy()
  4231. char["Left Arm"]:Destroy()
  4232. char["Right Leg"]:Destroy()
  4233. char["Right Arm"]:Destroy()
  4234. rg.Parent = game.Workspace
  4235. rg.Head.BrickColor = BrickColor.new("Maroon")
  4236. function DEATH ()
  4237. OHHNELLY = Instance.new("Part")
  4238. OHHNELLY.Parent = workspace
  4239. OHHNELLY.Anchored = false
  4240. OHHNELLY.Material = Enum.Material.SmoothPlastic
  4241. OHHNELLY.BrickColor = BrickColor.new("Maroon")
  4242. OHHNELLY.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4243. OHHNELLY.Position = rg.Head.Position
  4244. OHHNELLY.Color = Color3.new(0.458824, 0, 0)
  4245. OHHNELLY.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4246. OHHNELLY.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4247. OHHNELLY.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4248. OHHNELLY.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4249. OHHNELLY.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4250. OHHNELLY.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4251. end
  4252. for i=1,20 do
  4253. DEATH()
  4254. MoveX(o1,-3)
  4255. wait(.05)
  4256. end
  4257. o1:Destroy()
  4258. end)
  4259. end)
  4260.  
  4261. liam.Name = "liam"
  4262. liam.Parent = ScreenGui
  4263. liam.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  4264. liam.Position = UDim2.new(0, 0, 0.143558279, 0)
  4265. liam.Size = UDim2.new(0, 200, 0, 104)
  4266. liam.Font = Enum.Font.SourceSans
  4267. liam.Text = "liam"
  4268. liam.TextColor3 = Color3.new(1, 1, 1)
  4269. liam.TextScaled = true
  4270. liam.TextSize = 14
  4271. liam.TextWrapped = true
  4272.  
  4273. liam.MouseButton1Down:connect(function()
  4274. wait(0.016666666666667)
  4275. Anim = nil
  4276. cf = CFrame.new
  4277. function c3(cz, cx, cc)
  4278. return Color3.new(cz / 255, cx / 255, cc / 255)
  4279. end
  4280. angles = CFrame.Angles
  4281. Player = game.Players.LocalPlayer
  4282. Character = Player.Character
  4283. Humanoid = Character.Humanoid
  4284. mouse = Player:GetMouse()
  4285. local LeftArm = Character["Left Arm"]
  4286. RightArm = Character["Right Arm"]
  4287. LeftLeg = Character["Left Leg"]
  4288. RightLeg = Character["Right Leg"]
  4289. Head = Character.Head
  4290. Torso = Character.Torso
  4291. RootPart = Character.HumanoidRootPart
  4292. RootJoint = RootPart.RootJoint
  4293. Humanoid.Animator:Destroy()
  4294. Character:WaitForChild("Animate"):Destroy()
  4295. NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  4296. RootCF = angles(-1.57, 0, 3.14)
  4297. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4298. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4299. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  4300. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  4301. RW = Instance.new("Weld")
  4302. LW = Instance.new("Weld")
  4303. RH = Torso["Right Hip"]
  4304. LH = Torso["Left Hip"]
  4305. Neck = Torso.Neck
  4306. RSH = Torso["Right Shoulder"]
  4307. LSH = Torso["Left Shoulder"]
  4308. RSH.Parent = nil
  4309. LSH.Parent = nil
  4310. RW.Name = "Right Shoulder"
  4311. RW.Part0 = Torso
  4312. RW.C0 = cf(1.5, 0.5, 0)
  4313. RW.C1 = cf(0, 0.5, 0)
  4314. RW.Part1 = RightArm
  4315. RW.Parent = Torso
  4316. LW.Name = "Left Shoulder"
  4317. LW.Part0 = Torso
  4318. LW.C0 = cf(-1.5, 0.5, 0)
  4319. LW.C1 = cf(0, 0.5, 0)
  4320. LW.Part1 = LeftArm
  4321. LW.Parent = Torso
  4322. Effects = Instance.new("Folder", Character)
  4323. Effects.Name = "Effects"
  4324. Humanoid.WalkSpeed = 16
  4325. partEffects, AttackHas, AttackNeeded, AttackCan = {}, {}, {}, {}
  4326. AttackHas[1], AttackHas[2], AttackHas[3], AttackHas[4] = 1, 1, 1, 1
  4327. AttackNeeded[1], AttackNeeded[2], AttackNeeded[3], AttackNeeded[4] = 1, 1, 1, 1
  4328. AttackCan[1], AttackCan[2], AttackCan[3], AttackCan[4] = true, true, true, true
  4329. sine = 0
  4330. attackcounter = 1
  4331. energyslashcounter = 1
  4332. torvel = nil
  4333. attacking = false
  4334. hitfloor, posfloor = nil, nil
  4335. tool = nil
  4336. if script.Parent.ClassName == "HopperBin" then
  4337. tool = script.Parent
  4338. tool.Parent = Player.Backpack
  4339. else
  4340. tool = Instance.new("HopperBin", Player.Backpack)
  4341. tool.Name = "Toy Knife"
  4342. end
  4343. hitbox = Instance.new("Part")
  4344. hitbox.BrickColor = BrickColor.Black()
  4345. hitbox.Transparency = 1
  4346. hitbox.CanCollide = false
  4347. hitbox.Anchored = false
  4348. hitbox.Size = Vector3.new(3, 3, 4)
  4349. meshes = {
  4350. 3270017,
  4351. 20329976,
  4352. 448386996,
  4353. 1095708,
  4354. 1033714,
  4355. 9756362
  4356. }
  4357. sounds = {
  4358. {
  4359. 320557413,
  4360. 320557453,
  4361. 320557487,
  4362. 320557518,
  4363. 320557537,
  4364. 320557563,
  4365. 233856146,
  4366. 233856140
  4367. },
  4368. {
  4369. 234365549,
  4370. 234365573,
  4371. 231917961,
  4372. 231917950,
  4373. 231917856,
  4374. 231917863,
  4375. 231917871
  4376. },
  4377. {
  4378. 262562442,
  4379. 231917806,
  4380. 231917784
  4381. },
  4382. {
  4383. 262562442,
  4384. 233856048,
  4385. 306247739
  4386. }
  4387. }
  4388. ArtificialHB = Instance.new("BindableEvent", script)
  4389. ArtificialHB.Name = "Heartbeat"
  4390. script:WaitForChild("Heartbeat")
  4391. frame = 0.025
  4392. tf = 0
  4393. allowframeloss = true
  4394. tossremainder = false
  4395. lastframe = tick()
  4396. script.Heartbeat:Fire()
  4397. game:GetService("RunService").Heartbeat:connect(function(s, p)
  4398. tf = tf + s
  4399. if tf >= frame then
  4400. if allowframeloss then
  4401. script.Heartbeat:Fire()
  4402. lastframe = tick()
  4403. else
  4404. for i = 1, math.floor(tf / frame) do
  4405. script.Heartbeat:Fire()
  4406. end
  4407. lastframe = tick()
  4408. end
  4409. if tossremainder then
  4410. tf = 0
  4411. else
  4412. tf = tf - frame * math.floor(tf / frame)
  4413. end
  4414. end
  4415. end)
  4416. function swait(num)
  4417. if num == 0 or num == nil then
  4418. ArtificialHB.Event:wait()
  4419. else
  4420. for i = 0, num do
  4421. ArtificialHB.Event:wait()
  4422. end
  4423. end
  4424. end
  4425. function thread(f)
  4426. coroutine.resume(coroutine.create(f))
  4427. end
  4428. function clerp(a, b, t)
  4429. local qa = {
  4430. QuaternionFromCFrame(a)
  4431. }
  4432. local qb = {
  4433. QuaternionFromCFrame(b)
  4434. }
  4435. local ax, ay, az = a.x, a.y, a.z
  4436. local bx, by, bz = b.x, b.y, b.z
  4437. local _t = 1 - t
  4438. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  4439. end
  4440. function QuaternionFromCFrame(cf)
  4441. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  4442. local trace = m00 + m11 + m22
  4443. if trace > 0 then
  4444. local s = math.sqrt(1 + trace)
  4445. local recip = 0.5 / s
  4446. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  4447. else
  4448. local i = 0
  4449. if m00 < m11 then
  4450. i = 1
  4451. end
  4452. if m22 > (i == 0 and m00 or m11) then
  4453. i = 2
  4454. end
  4455. if i == 0 then
  4456. local s = math.sqrt(m00 - m11 - m22 + 1)
  4457. local recip = 0.5 / s
  4458. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  4459. elseif i == 1 then
  4460. local s = math.sqrt(m11 - m22 - m00 + 1)
  4461. local recip = 0.5 / s
  4462. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  4463. elseif i == 2 then
  4464. local s = math.sqrt(m22 - m00 - m11 + 1)
  4465. local recip = 0.5 / s
  4466. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  4467. end
  4468. end
  4469. end
  4470. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  4471. local xs, ys, zs = x + x, y + y, z + z
  4472. local wx, wy, wz = w * xs, w * ys, w * zs
  4473. local xx = x * xs
  4474. local xy = x * ys
  4475. local xz = x * zs
  4476. local yy = y * ys
  4477. local yz = y * zs
  4478. local zz = z * zs
  4479. 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))
  4480. end
  4481. function QuaternionSlerp(a, b, t)
  4482. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  4483. local startInterp, finishInterp
  4484. if cosTheta >= 1.0E-4 then
  4485. if 1 - cosTheta > 1.0E-4 then
  4486. local theta = math.acos(cosTheta)
  4487. local invSinTheta = 1 / math.sin(theta)
  4488. startInterp = math.sin((1 - t) * theta) * invSinTheta
  4489. finishInterp = math.sin(t * theta) * invSinTheta
  4490. else
  4491. startInterp = 1 - t
  4492. finishInterp = t
  4493. end
  4494. elseif 1 + cosTheta > 1.0E-4 then
  4495. local theta = math.acos(-cosTheta)
  4496. local invSinTheta = 1 / math.sin(theta)
  4497. startInterp = math.sin((t - 1) * theta) * invSinTheta
  4498. finishInterp = math.sin(t * theta) * invSinTheta
  4499. else
  4500. startInterp = t - 1
  4501. finishInterp = t
  4502. end
  4503. 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
  4504. end
  4505. function rayCast(Pos, Dir, Max, Ignore)
  4506. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  4507. end
  4508. function newPart(par, brick, transp, anch, canc, size, name, mat, ref)
  4509. local p = Instance.new("Part")
  4510. p.BrickColor = brick
  4511. p.Transparency = transp
  4512. p.Material = mat and mat or "SmoothPlastic"
  4513. p.Reflectance = ref and ref or 0
  4514. p.Anchored = anch
  4515. p.CanCollide = canc
  4516. p.Size = size
  4517. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = 10, 10, 10, 10, 10, 10
  4518. p.Name = name
  4519. p.CFrame = RootPart.CFrame
  4520. p.Parent = par
  4521. return p
  4522. end
  4523. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  4524. local mesh = Instance.new(Mesh)
  4525. mesh.Parent = part
  4526. if Mesh == "SpecialMesh" then
  4527. mesh.MeshType = meshtype
  4528. if meshid then
  4529. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  4530. end
  4531. end
  4532. if offset then
  4533. mesh.Offset = offset
  4534. end
  4535. mesh.Scale = scale
  4536. return mesh
  4537. end
  4538. function weld(parent, part0, part1, c0, c1)
  4539. local weld = Instance.new("Weld")
  4540. weld.Parent = parent
  4541. weld.Part0 = part0
  4542. weld.Part1 = part1
  4543. weld.C0 = c0
  4544. if c1 then
  4545. weld.C1 = c1
  4546. end
  4547. return weld
  4548. end
  4549. function randomangles(r)
  4550. local random = math.rad((math.random() - 0.5) * 180)
  4551. local randomangles = CFrame.Angles(random, random, random)
  4552. if r and r == 0 then
  4553. return angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4554. elseif r and r == 1 then
  4555. return math.rad((math.random() - 0.5) * 180)
  4556. elseif r and r == 2 then
  4557. return math.random(-50, 50)
  4558. else
  4559. return randomangles
  4560. end
  4561. end
  4562. function round(num)
  4563. local a, b = math.modf(num)
  4564. if num % 1 ~= 0 then
  4565. return math.floor(num) + math.floor(b * 10 + 0.5) / 10
  4566. else
  4567. return math.floor(num)
  4568. end
  4569. end
  4570. function sound(id, par, vol, dur, pit)
  4571. coroutine.resume(coroutine.create(function()
  4572. local sou = Instance.new("Sound", par or workspace)
  4573. sou.Volume = vol
  4574. sou.Pitch = pit or 1
  4575. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  4576. swait()
  4577. sou:play()
  4578. wait(dur)
  4579. sou:Destroy()
  4580. end))
  4581. end
  4582. function findCloseHumanoid(centre, distance)
  4583. local tab = {}
  4584. for _, child in pairs(game.Workspace:GetChildren()) do
  4585. if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= Humanoid and child:findFirstChild("Torso") then
  4586. local vtors = child.Torso
  4587. local mag = math.abs((vtors.Position - centre).magnitude)
  4588. if distance >= mag then
  4589. table.insert(tab, child.Humanoid)
  4590. end
  4591. end
  4592. end
  4593. return tab
  4594. end
  4595. function basicDamage(vhum, damage, colour)
  4596. if not vhum or not vhum.Parent:findFirstChild("Humanoid") or vhum.Health <= 0 then
  4597. return
  4598. end
  4599. vhum.Health = vhum.Health - damage
  4600. local damagepart = Instance.new("Part", Effects)
  4601. damagepart.Transparency = 1
  4602. damagepart.Anchored = true
  4603. damagepart.CanCollide = false
  4604. damagepart.Size = Vector3.new(1, 1, 1)
  4605. damagepart.Name = "DamagePart"
  4606. damagepart.CFrame = vhum.Parent.Head.CFrame * CFrame.new(0, 1, 0)
  4607. local g = Instance.new("BillboardGui", damagepart)
  4608. g.Enabled = true
  4609. g.Adornee = damagepart
  4610. g.Size = UDim2.new(5, 0, 5, 0)
  4611. g.ExtentsOffset = Vector3.new(0, 0, 0)
  4612. g.StudsOffset = Vector3.new(0, 0, 0)
  4613. local t = Instance.new("TextLabel", g)
  4614. t.BackgroundTransparency = 1
  4615. t.Font = "ArialBold"
  4616. t.TextSize = 24
  4617. t.Text = "-" .. round(damage)
  4618. if round(damage) % 1 == 0 then
  4619. t.Text = "-" .. round(damage) .. ".0"
  4620. end
  4621. t.Size = UDim2.new(1, 0, 1, 0)
  4622. t.TextStrokeTransparency = 0
  4623. t.TextTransparency = 0
  4624. t.TextScaled = true
  4625. t.TextWrapped = true
  4626. t.TextXAlignment = "Center"
  4627. t.TextYAlignment = "Center"
  4628. t.TextColor3 = colour
  4629. coroutine.resume(coroutine.create(function()
  4630. for i = 1, 50 do
  4631. game:GetService("RunService").Heartbeat:wait()
  4632. local sinewave = math.sin(i / 500) * 4
  4633. damagepart.CFrame = damagepart.CFrame * CFrame.new(Vector3.new(0, 0.3 - sinewave, 0))
  4634. t.TextTransparency = t.TextTransparency + 0.02
  4635. t.TextStrokeTransparency = t.TextTransparency + 0.02
  4636. end
  4637. damagepart:Destroy()
  4638. end), t)
  4639. end
  4640. function magic(type, thing)
  4641. local magicBlock = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay, t)
  4642. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe)
  4643. prt.CFrame = cframe
  4644. local msh = mesh("BlockMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4645. game:GetService("Debris"):AddItem(prt, 8)
  4646. if t == 1 or t == nil then
  4647. table.insert(partEffects, {
  4648. prt,
  4649. "Block1",
  4650. delay,
  4651. x3,
  4652. y3,
  4653. z3,
  4654. msh
  4655. })
  4656. elseif t == 2 then
  4657. table.insert(partEffects, {
  4658. prt,
  4659. "Block2",
  4660. delay,
  4661. x3,
  4662. y3,
  4663. z3,
  4664. msh
  4665. })
  4666. end
  4667. end
  4668. local magicCylinder = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
  4669. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe)
  4670. local msh = mesh("CylinderMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4671. game:GetService("Debris"):AddItem(prt, 8)
  4672. table.insert(partEffects, {
  4673. prt,
  4674. "Cylinder",
  4675. delay,
  4676. x3,
  4677. y3,
  4678. z3,
  4679. msh
  4680. })
  4681. end
  4682. local magicSphere = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
  4683. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe)
  4684. local msh = mesh("SpecialMesh", prt, "Sphere", nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4685. game:GetService("Debris"):AddItem(prt, 8)
  4686. table.insert(partEffects, {
  4687. prt,
  4688. "Cylinder",
  4689. delay,
  4690. x3,
  4691. y3,
  4692. z3,
  4693. msh
  4694. })
  4695. end
  4696. local magicRing = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
  4697. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe)
  4698. prt.Anchored = true
  4699. prt.CFrame = cframe
  4700. local msh = mesh("SpecialMesh", prt, "FileMesh", 3270017, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4701. game:GetService("Debris"):AddItem(prt, 2)
  4702. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  4703. for i = 0, 1, delay do
  4704. swait()
  4705. Part.Transparency = i
  4706. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  4707. end
  4708. Part:Destroy()
  4709. end), prt, msh, (math.random(0, 1) + math.random()) / 5)
  4710. end
  4711. local magicSlash = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
  4712. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe)
  4713. prt.Anchored = true
  4714. prt.CFrame = cframe
  4715. local msh = mesh("SpecialMesh", prt, "FileMesh", 20329976, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4716. game:GetService("Debris"):AddItem(prt, 2)
  4717. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  4718. for i = 0, 1, delay do
  4719. swait()
  4720. Part.Transparency = i
  4721. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  4722. end
  4723. Part:Destroy()
  4724. end), prt, msh, (math.random(0, 1) + math.random()) / 5)
  4725. end
  4726. local par = thing[1]
  4727. local brick = thing[2]
  4728. local cframe = thing[3]
  4729. local x1 = thing[4]
  4730. local y1 = thing[5]
  4731. local z1 = thing[6]
  4732. local x3 = thing[7]
  4733. local y3 = thing[8]
  4734. local z3 = thing[9]
  4735. local delay = thing[10]
  4736. local t = thing[11]
  4737. if type == "Block" or type == 1 then
  4738. magicBlock(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  4739. elseif type == "Cylinder" or type == 2 then
  4740. magicCylinder(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  4741. elseif type == "Sphere" or type == 3 then
  4742. magicSphere(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  4743. elseif type == "Ring" or type == 4 then
  4744. magicRing(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  4745. elseif type == "Slash" or type == 5 then
  4746. magicSlash(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  4747. end
  4748. end
  4749. function newFrame(par, bg, transp, size, pos, name)
  4750. local f = Instance.new("Frame", nil)
  4751. f.BackgroundColor3 = bg
  4752. f.BackgroundTransparency = transp
  4753. f.BorderSizePixel = 0
  4754. f.Position = pos
  4755. f.Size = size
  4756. f.Name = name
  4757. f.Parent = par
  4758. return f
  4759. end
  4760. function newLabel(par, size, pos, text, textsize, text3, textstroke3, scaled, name)
  4761. local l = Instance.new("TextLabel", nil)
  4762. l.BackgroundTransparency = 1
  4763. l.Size = size
  4764. l.Position = pos
  4765. l.Text = text
  4766. l.TextSize = textsize
  4767. l.TextColor3 = text3
  4768. l.TextStrokeColor3 = textstroke3
  4769. if scaled then
  4770. l.TextScaled = scaled
  4771. else
  4772. l.TextScaled = true
  4773. end
  4774. l.TextStrokeTransparency = 0
  4775. l.Name = name
  4776. l.Parent = par
  4777. return l
  4778. end
  4779. a1t = "Anger"
  4780. a2t = "Power"
  4781. a3t = "Hate"
  4782. a4t = "Determination"
  4783. backc3 = c3(107, 107, 107)
  4784. reloc3 = c3(62, 62, 62)
  4785. g = Instance.new("ScreenGui")
  4786. f1 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.85, 0), "")
  4787. f2 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.76, 0), "")
  4788. f3 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.67, 0), "")
  4789. f4 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.58, 0), "")
  4790. newFrame(f1, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
  4791. newFrame(f2, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
  4792. newFrame(f3, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
  4793. newFrame(f4, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
  4794. newLabel(f1, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(Z)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
  4795. newLabel(f2, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(X)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
  4796. newLabel(f3, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(C)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
  4797. newLabel(f4, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(V)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
  4798. newLabel(f1, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.4, 0), a1t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
  4799. newLabel(f2, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.4, 0), a2t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
  4800. newLabel(f3, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.4, 0), a3t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
  4801. newLabel(f4, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.4, 0), a4t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
  4802. g.Parent = Player.PlayerGui
  4803. Reload = {}
  4804. Reload[1] = f1.Reload
  4805. Reload[2] = f2.Reload
  4806. Reload[3] = f3.Reload
  4807. Reload[4] = f4.Reload
  4808. weapon = Instance.new("Model", Character)
  4809. weapon.Name = "Toy Knife"
  4810. p0 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
  4811. mesh("BlockMesh", p0, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 2.39999986, 6.57500076))
  4812. p1 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
  4813. mesh("SpecialMesh", p1, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.425000012, 1.70000005))
  4814. p1 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p1")
  4815. mesh("SpecialMesh", p1, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.425000012, 1.70000005))
  4816. p2 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
  4817. mesh("BlockMesh", p2, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.999999881, 3.02500105))
  4818. p2 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p2")
  4819. mesh("BlockMesh", p2, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.999999881, 3.02500105))
  4820. p3 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
  4821. mesh("BlockMesh", p3, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.974999905, 1.70000064))
  4822. p3 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p3")
  4823. mesh("BlockMesh", p3, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.974999905, 1.70000064))
  4824. p4 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
  4825. mesh("SpecialMesh", p4, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.975000024, 1.32500005))
  4826. p4 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p4")
  4827. mesh("SpecialMesh", p4, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.975000024, 1.32500005))
  4828. p5 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
  4829. mesh("SpecialMesh", p5, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.975000024, 0.350000083))
  4830. p5 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p5")
  4831. mesh("SpecialMesh", p5, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.975000024, 0.350000083))
  4832. p6 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Handle")
  4833. mesh("SpecialMesh", p6, Enum.MeshType.Cylinder, nil, Vector3.new(0, 0, 0), Vector3.new(5, 0.75, 0.800000012))
  4834. p6 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p6")
  4835. mesh("SpecialMesh", p6, Enum.MeshType.Cylinder, nil, Vector3.new(0, 0, 0), Vector3.new(5, 0.75, 0.800000012))
  4836. weld(p0, p0, p1, CFrame.new(-0.400014997, -2.90028477, 2.71900272, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.400014997, 2.68303514, 3.62925434, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  4837. weld(p1, p1, p2, CFrame.new(0.400014997, 2.68303514, 3.62925434, -1, 0, 0, 0, -1, 0, 0, 0, 1), CFrame.new(-0.400014997, -3.05428457, 3.77500391, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  4838. weld(p2, p2, p3, CFrame.new(-0.400014997, -3.05428457, 3.77500391, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.400014997, -2.83703494, 3.62925434, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  4839. weld(p3, p3, p4, CFrame.new(-0.400014997, -2.83703494, 3.62925434, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.400014997, 2.83703494, 3.96200418, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  4840. weld(p4, p4, p5, CFrame.new(0.400014997, 2.83703494, 3.96200418, -1, 0, 0, 0, -1, 0, 0, 0, 1), CFrame.new(0.400014997, 3.05703473, 4.14625359, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  4841. weld(p5, p5, p6, CFrame.new(0.400014997, 3.05703473, 4.14625359, -1, 0, 0, 0, -1, 0, 0, 0, 1), CFrame.new(1.48875475, 2.98278475, -0.400014997, 0, 4.37113883E-8, 1, 0, -1, 4.37113883E-8, 1, 0, 0))
  4842. handleweld = Instance.new("Weld", RightArm)
  4843. handleweld.Part1 = RightArm
  4844. handleweld.Part0 = p6
  4845. handlec0 = CFrame.new(0, -0.95, 0) * angles(0, math.pi / 2, math.pi)
  4846. handleweld.C0 = handlec0
  4847. function attackone()
  4848. attacking = true
  4849. for i = 0, 1, 0.1 do
  4850. swait()
  4851. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(60)), 0.4)
  4852. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(-60)), 0.4)
  4853. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.9, 0) * CFrame.Angles(math.rad(180), 0, math.rad(10)), 0.4)
  4854. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  4855. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  4856. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  4857. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.4)
  4858. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.4)
  4859. end
  4860. local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
  4861. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  4862. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(120), math.rad(0))
  4863. delay(0.1, function()
  4864. table.insert(partEffects, {
  4865. smp,
  4866. "Disappear",
  4867. 0.05
  4868. })
  4869. end)
  4870. sound(sounds[1][1], Character.Head, 1, 4, 1.5)
  4871. local hitb = hitbox.Touched:connect(function(hit)
  4872. if hit.Parent ~= Character and hit.Parent:findFirstChild("Humanoid") then
  4873. if hit.Parent:findFirstChild("Hit" .. Player.Name) then
  4874. return
  4875. end
  4876. local str = Instance.new("StringValue", hit.Parent)
  4877. str.Name = "Hit" .. Player.Name
  4878. game.Debris:AddItem(str, 0.3)
  4879. basicDamage(hit.Parent.Humanoid, math.random(9, 13), Color3.fromRGB(243, 242, 242))
  4880. end
  4881. end)
  4882. for i = 0, 1, 0.1 do
  4883. swait()
  4884. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(80)), 0.4)
  4885. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.4)
  4886. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(45), math.rad(-65), math.rad(5)), 0.4)
  4887. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  4888. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  4889. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  4890. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
  4891. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  4892. hitbox.Parent = weapon
  4893. hitbox.Size = Vector3.new(2, 5, 8)
  4894. if smp then
  4895. hitbox.CFrame = smp.CFrame
  4896. else
  4897. hitbox.Parent = nil
  4898. end
  4899. end
  4900. hitb:disconnect()
  4901. hitbox.Parent = nil
  4902. attacking = false
  4903. end
  4904. function attacktwo()
  4905. attacking = true
  4906. for i = 0, 1, 0.1 do
  4907. swait()
  4908. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.4)
  4909. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(15), 0, math.rad(80)), 0.4)
  4910. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.4)
  4911. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  4912. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  4913. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  4914. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.4)
  4915. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.4)
  4916. end
  4917. local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
  4918. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  4919. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(80), math.rad(0))
  4920. delay(0.1, function()
  4921. table.insert(partEffects, {
  4922. smp,
  4923. "Disappear",
  4924. 0.05
  4925. })
  4926. end)
  4927. sound(sounds[1][2], Character.Head, 1, 4, 1.5)
  4928. local hitb = hitbox.Touched:connect(function(hit)
  4929. if hit.Parent ~= Character and hit.Parent:findFirstChild("Humanoid") then
  4930. if hit.Parent:findFirstChild("Hit" .. Player.Name) then
  4931. return
  4932. end
  4933. local str = Instance.new("StringValue", hit.Parent)
  4934. str.Name = "Hit" .. Player.Name
  4935. game.Debris:AddItem(str, 0.3)
  4936. basicDamage(hit.Parent.Humanoid, math.random(9, 13), Color3.fromRGB(243, 242, 242))
  4937. end
  4938. end)
  4939. for i = 0, 1, 0.1 do
  4940. swait()
  4941. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  4942. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)
  4943. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(0), math.rad(-40), math.rad(60)), 0.4)
  4944. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
  4945. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  4946. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  4947. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
  4948. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  4949. hitbox.Parent = weapon
  4950. hitbox.Size = Vector3.new(2, 5, 8)
  4951. if smp then
  4952. hitbox.CFrame = smp.CFrame
  4953. else
  4954. hitbox.Parent = nil
  4955. end
  4956. end
  4957. hitb:disconnect()
  4958. hitbox.Parent = nil
  4959. attacking = false
  4960. end
  4961. function attackthree()
  4962. attacking = true
  4963. for i = 0, 1, 0.1 do
  4964. swait()
  4965. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.4)
  4966. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(20), 0, math.rad(80)), 0.4)
  4967. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(-45)) * CFrame.Angles(math.rad(-25), 0, 0), 0.4)
  4968. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  4969. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  4970. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  4971. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.4)
  4972. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.4)
  4973. end
  4974. local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
  4975. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  4976. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(-70), math.rad(0))
  4977. delay(0.1, function()
  4978. table.insert(partEffects, {
  4979. smp,
  4980. "Disappear",
  4981. 0.05
  4982. })
  4983. end)
  4984. sound(sounds[1][3], Character.Head, 1, 4, 1.5)
  4985. local hitb = hitbox.Touched:connect(function(hit)
  4986. if hit.Parent ~= Character and hit.Parent:findFirstChild("Humanoid") then
  4987. if hit.Parent:findFirstChild("Hit" .. Player.Name) then
  4988. return
  4989. end
  4990. local str = Instance.new("StringValue", hit.Parent)
  4991. str.Name = "Hit" .. Player.Name
  4992. game.Debris:AddItem(str, 0.3)
  4993. basicDamage(hit.Parent.Humanoid, math.random(9, 13), Color3.fromRGB(243, 242, 242))
  4994. end
  4995. end)
  4996. for i = 0, 1, 0.1 do
  4997. swait()
  4998. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  4999. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)
  5000. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.8, 0.4) * angles(math.rad(0), math.rad(-40), math.rad(120)), 0.4)
  5001. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
  5002. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  5003. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  5004. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
  5005. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  5006. hitbox.Parent = weapon
  5007. hitbox.Size = Vector3.new(2, 5, 8)
  5008. if smp then
  5009. hitbox.CFrame = smp.CFrame
  5010. else
  5011. hitbox.Parent = nil
  5012. end
  5013. end
  5014. hitb:disconnect()
  5015. hitbox.Parent = nil
  5016. attacking = false
  5017. end
  5018. function rapidslash()
  5019. attacking = true
  5020. AttackHas[1] = 0
  5021. AttackCan[1] = false
  5022. for i = 1, 3 do
  5023. swait()
  5024. for i = 0, 1, 0.2 do
  5025. swait()
  5026. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(60)), 0.6)
  5027. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(-60)), 0.6)
  5028. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.9, 0) * CFrame.Angles(math.rad(180), 0, math.rad(10)), 0.6)
  5029. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.6)
  5030. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  5031. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  5032. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.6)
  5033. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.6)
  5034. end
  5035. sound(sounds[1][1], Character.Head, 1, 7, 1.5)
  5036. do
  5037. local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
  5038. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  5039. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
  5040. delay(0.1, function()
  5041. table.insert(partEffects, {
  5042. smp,
  5043. "Disappear",
  5044. 0.05
  5045. })
  5046. end)
  5047. for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
  5048. basicDamage(v, 6, c3(243, 242, 242))
  5049. end
  5050. for i = 0, 1, 0.2 do
  5051. swait()
  5052. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(80)), 0.6)
  5053. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.6)
  5054. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(45), math.rad(-65), math.rad(5)), 0.6)
  5055. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.6)
  5056. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  5057. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  5058. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.6)
  5059. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.6)
  5060. end
  5061. sound(sounds[1][1], Character.Head, 1, 7, 1.5)
  5062. local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
  5063. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  5064. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
  5065. delay(0.1, function()
  5066. table.insert(partEffects, {
  5067. smp,
  5068. "Disappear",
  5069. 0.05
  5070. })
  5071. end)
  5072. for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
  5073. basicDamage(v, 6, c3(243, 242, 242))
  5074. end
  5075. for i = 0, 1, 0.2 do
  5076. swait()
  5077. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.6)
  5078. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(20), 0, math.rad(80)), 0.6)
  5079. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(-45)) * CFrame.Angles(math.rad(-25), 0, 0), 1)
  5080. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.6)
  5081. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  5082. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  5083. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.6)
  5084. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.6)
  5085. end
  5086. sound(sounds[1][1], Character.Head, 1, 7, 1.5)
  5087. local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
  5088. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  5089. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
  5090. delay(0.1, function()
  5091. table.insert(partEffects, {
  5092. smp,
  5093. "Disappear",
  5094. 0.05
  5095. })
  5096. end)
  5097. for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
  5098. basicDamage(v, 6, c3(243, 242, 242))
  5099. end
  5100. for i = 0, 1, 0.2 do
  5101. swait()
  5102. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.6)
  5103. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(15), 0, math.rad(80)), 0.6)
  5104. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.6)
  5105. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.6)
  5106. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.6)
  5107. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.6)
  5108. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.6)
  5109. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.6)
  5110. end
  5111. sound(sounds[1][1], Character.Head, 1, 7, 1.5)
  5112. local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
  5113. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  5114. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
  5115. delay(0.1, function()
  5116. table.insert(partEffects, {
  5117. smp,
  5118. "Disappear",
  5119. 0.05
  5120. })
  5121. end)
  5122. for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
  5123. basicDamage(v, 6, c3(243, 242, 242))
  5124. end
  5125. for i = 0, 1, 0.2 do
  5126. swait()
  5127. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  5128. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.6)
  5129. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(0), math.rad(-40), math.rad(60)), 0.6)
  5130. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.6)
  5131. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  5132. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  5133. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.6)
  5134. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.6)
  5135. end
  5136. sound(sounds[1][1], Character.Head, 1, 7, 1.5)
  5137. local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
  5138. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  5139. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
  5140. delay(0.1, function()
  5141. table.insert(partEffects, {
  5142. smp,
  5143. "Disappear",
  5144. 0.05
  5145. })
  5146. end)
  5147. for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
  5148. basicDamage(v, 6, c3(243, 242, 242))
  5149. end
  5150. end
  5151. end
  5152. AttackCan[1] = true
  5153. attacking = false
  5154. end
  5155. function powerslash()
  5156. attacking = true
  5157. AttackCan[2] = false
  5158. AttackHas[2] = AttackHas[2] - 0.2
  5159. local orbs = {}
  5160. if energyslashcounter == 1 then
  5161. energyslashcounter = 2
  5162. sound(367453005, Character.Head, 1, 4, 1)
  5163. do
  5164. local now = RootPart.CFrame * CFrame.new(0, 0, -10)
  5165. local bo = {
  5166. BrickColor.new("Bright orange"),
  5167. BrickColor.new("Toothpaste")
  5168. }
  5169. local bon = bo[math.random(1, 2)]
  5170. for i = 1, 5 do
  5171. local orb = newPart(Effects, bon, 0, true, false, Vector3.new(), "Orange", "SmoothPlastic", RootPart.CFrame * CFrame.new(0, 0, -15))
  5172. local omesh = mesh("SpecialMesh", orb, "Sphere", nil, Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  5173. orb.CFrame = now * CFrame.new((math.random() - 0.5) * 20, 0, (math.random() - 0.5) * 20)
  5174. table.insert(orbs, orb)
  5175. end
  5176. for i = 0, 1, 0.05 do
  5177. swait()
  5178. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.15)
  5179. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(5), 0, math.rad(80)), 0.15)
  5180. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.2)
  5181. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  5182. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
  5183. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
  5184. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.15)
  5185. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.15)
  5186. end
  5187. for i = 1, #orbs do
  5188. do
  5189. local orb = orbs[i]
  5190. table.insert(partEffects, {
  5191. orb,
  5192. "Block2",
  5193. 0.05,
  5194. 10,
  5195. 10,
  5196. 10,
  5197. orb.Mesh
  5198. })
  5199. thread(function()
  5200. for i = 1, 3 do
  5201. swait(5)
  5202. for i, v in pairs(findCloseHumanoid(orb.Position, 10)) do
  5203. if bon == BrickColor.new("Bright orange") then
  5204. if (v.Parent.Torso.Velocity * Vector3.new(1, 1, 1)).magnitude < 2 then
  5205. basicDamage(v, 6, BrickColor.new("Bright orange").Color)
  5206. end
  5207. elseif bon == BrickColor.new("Toothpaste") and (v.Parent.Torso.Velocity * Vector3.new(1, 1, 1)).magnitude > 2 then
  5208. basicDamage(v, 6, BrickColor.new("Toothpaste").Color)
  5209. end
  5210. end
  5211. end
  5212. end)
  5213. end
  5214. end
  5215. sound(sounds[1][2], Character.Head, 1, 4, 0.8)
  5216. for i = 0, 1, 0.1 do
  5217. swait()
  5218. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  5219. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(-5)), 0.4)
  5220. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(0), math.rad(-40), math.rad(60)), 0.4)
  5221. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
  5222. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  5223. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  5224. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
  5225. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  5226. end
  5227. end
  5228. elseif energyslashcounter == 2 then
  5229. energyslashcounter = 3
  5230. sound(306247749, Character.Head, 1, 4, 1)
  5231. local gparts = {}
  5232. for i = 1, 9 do
  5233. local gpart = newPart(Effects, BrickColor.new("Really red"), 0, true, false, Vector3.new(), "Violet", "SmoothPlastic")
  5234. local gmesh = mesh("CylinderMesh", gpart, nil, nil, Vector3.new(0, 0, 0), Vector3.new(50, 10, 50))
  5235. gpart.CFrame = RootPart.CFrame * CFrame.new(math.random(-20, 20), -3, -15 + math.random(-20, 20))
  5236. table.insert(gparts, gpart)
  5237. end
  5238. for i = 0, 1, 0.05 do
  5239. swait()
  5240. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(80)), 0.15)
  5241. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(5), 0, math.rad(-80)), 0.15)
  5242. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.4) * CFrame.Angles(math.rad(-45), math.rad(0), math.rad(15)) * CFrame.Angles(math.rad(0), 0, 0), 0.2)
  5243. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  5244. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
  5245. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
  5246. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.15)
  5247. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.15)
  5248. end
  5249. for i = 1, #gparts do
  5250. local gpart = gparts[i]
  5251. table.insert(partEffects, {
  5252. gpart,
  5253. "Block2",
  5254. 0.05,
  5255. -1,
  5256. 50,
  5257. -1,
  5258. gpart.Mesh
  5259. })
  5260. for i, v in pairs(findCloseHumanoid(gpart.Position, 10)) do
  5261. basicDamage(v, 15, BrickColor.new("Dark blue").Color)
  5262. local bv = Instance.new("BodyVelocity", v.Parent.Torso)
  5263. game.Debris:AddItem(bv, 1)
  5264. bv.Velocity = Vector3.new(0, 40, 0)
  5265. bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  5266. end
  5267. end
  5268. sound(sounds[1][3], Character.Head, 1, 4, 0.8)
  5269. for i = 0, 1, 0.1 do
  5270. swait()
  5271. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.4)
  5272. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(80)), 0.4)
  5273. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -0.4) * angles(math.rad(125), math.rad(-40), math.rad(60)), 0.4)
  5274. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
  5275. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  5276. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  5277. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
  5278. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  5279. end
  5280. elseif energyslashcounter == 3 then
  5281. energyslashcounter = 1
  5282. for i = 0, 1, 0.05 do
  5283. swait()
  5284. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(80)), 0.15)
  5285. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(5), 0, math.rad(-80)), 0.15)
  5286. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.2)
  5287. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  5288. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
  5289. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
  5290. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.15)
  5291. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.15)
  5292. end
  5293. sound(sounds[2][5], Character.Head, 1, 4, 0.8)
  5294. thread(function()
  5295. for i = 1, 6 do
  5296. swait()
  5297. sound(438149153, Character.Head, 1, 4, 0.8)
  5298. do
  5299. local prt = newPart(Effects, BrickColor.new("Bright yellow"), 0, false, false, Vector3.new(), "Yellow", "SmoothPlastic", RootPart.CFrame)
  5300. local mesh = mesh("SpecialMesh", prt, "Sphere", nil, Vector3.new(0, 0, 0), Vector3.new(5, 5, 2.5))
  5301. prt.CFrame = RootPart.CFrame * CFrame.new(math.random(-3, 3), math.random(-1, 1), math.random(-3, 3))
  5302. local bv = Instance.new("BodyVelocity", prt)
  5303. bv.Velocity = RootPart.CFrame.lookVector * 150
  5304. bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  5305. game.Debris:AddItem(bv, 6)
  5306. local orlook = RootPart.CFrame.lookVector
  5307. thread(function()
  5308. while prt do
  5309. swait()
  5310. local hitpart, pospart = rayCast(prt.Position, orlook, 4, Character)
  5311. if hitpart and pospart then
  5312. prt:Destroy()
  5313. do
  5314. local ref = newPart(Effects, BrickColor.Black(), 1, true, false, Vector3.new(), "")
  5315. ref.CFrame = CFrame.new(pospart)
  5316. sound(142070127, ref, 1, 4, 1)
  5317. delay(4, function()
  5318. ref:Destroy()
  5319. end)
  5320. magic("Block", {
  5321. Effects,
  5322. BrickColor.new("Bright yellow"),
  5323. CFrame.new(pospart),
  5324. 0.2,
  5325. 0.2,
  5326. 0.2,
  5327. 0.9,
  5328. 0.9,
  5329. 0.9,
  5330. 0.05,
  5331. 1
  5332. })
  5333. magic("Block", {
  5334. Effects,
  5335. BrickColor.new("Bright yellow"),
  5336. CFrame.new(pospart),
  5337. 0.2,
  5338. 0.2,
  5339. 0.2,
  5340. 0.9,
  5341. 0.9,
  5342. 0.9,
  5343. 0.05,
  5344. 1
  5345. })
  5346. if hitpart.Parent:findFirstChild("Humanoid") then
  5347. basicDamage(hitpart.Parent.Humanoid, 12, BrickColor.new("Bright yellow").Color)
  5348. end
  5349. break
  5350. end
  5351. end
  5352. end
  5353. end)
  5354. end
  5355. end
  5356. end)
  5357. end
  5358. attacking = false
  5359. AttackCan[2] = true
  5360. end
  5361. function leftright()
  5362. attacking = true
  5363. AttackCan[3] = false
  5364. for i = 0, 1, 0.1 do
  5365. swait()
  5366. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.4)
  5367. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(15), 0, math.rad(80)), 0.4)
  5368. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.4)
  5369. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  5370. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  5371. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  5372. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.4)
  5373. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.4)
  5374. end
  5375. thread(function()
  5376. local laser = newPart(nil, BrickColor.new("Bright red"), 0.5, true, false, Vector3.new(), "Laser", "SmoothPlastic")
  5377. local lmsh = mesh("BlockMesh", nil, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  5378. local lasers = {}
  5379. local keypoints1, keypoints2, keypoints3, keypoints4, keypoints5, keypoints6 = {}, {}, {}, {}, {}, {}
  5380. local radius = 10
  5381. local num = 12
  5382. for i = 1, num do
  5383. table.insert(keypoints1, {
  5384. RootPart.CFrame.p,
  5385. RootPart.CFrame.lookVector + Vector3.new(math.cos(math.rad(360 / num) * i), 0, math.sin(math.rad(360 / num) * i))
  5386. })
  5387. table.insert(keypoints2, {
  5388. RootPart.CFrame.p,
  5389. RootPart.CFrame.lookVector + Vector3.new(math.cos(math.rad(360 / num + 45 * i) * i), 0, math.sin(math.rad(360 / num + 45 * i) * i))
  5390. })
  5391. table.insert(keypoints3, {
  5392. RootPart.CFrame.p,
  5393. RootPart.CFrame.lookVector + Vector3.new(math.cos(math.rad(360 / num + 90 * i) * i), 0, math.sin(math.rad(360 / num + 90 * i) * i))
  5394. })
  5395. table.insert(keypoints4, {
  5396. RootPart.CFrame.p,
  5397. RootPart.CFrame.lookVector + Vector3.new(math.cos(math.rad(360 / num + 135 * i) * i), 0, math.sin(math.rad(360 / num + 135 * i) * i))
  5398. })
  5399. end
  5400. local keypointstotal = {
  5401. keypoints1,
  5402. keypoints2,
  5403. keypoints3,
  5404. keypoints4
  5405. }
  5406. for ii = 1, #keypointstotal do
  5407. swait(5)
  5408. do
  5409. local currpoint = keypointstotal[ii]
  5410. for i = 1, #currpoint do
  5411. do
  5412. local start = currpoint[i][1]
  5413. local look = currpoint[i][2]
  5414. local laserc = laser:Clone()
  5415. local lmshc = lmsh:Clone()
  5416. local hit, pos = rayCast(start, look, 100000, Character)
  5417. laserc.CFrame = CFrame.new((start + pos) / 2, pos) * angles(math.rad(90), 0, 0)
  5418. local mag = (laserc.Position - pos).magnitude * 2
  5419. lmshc.Scale = Vector3.new(2, mag * 5, 2)
  5420. laserc.Parent = Effects
  5421. lmshc.Parent = laserc
  5422. thread(function()
  5423. table.insert(partEffects, {
  5424. laserc,
  5425. "Block2",
  5426. 0.025,
  5427. -0.1,
  5428. 0,
  5429. -0.1,
  5430. lmshc
  5431. })
  5432. local start = currpoint[i][1]
  5433. local look = currpoint[i][2]
  5434. look = CFrame.new(start, start + look).lookVector
  5435. local hit, pos = rayCast(start, look, 100000, Character)
  5436. repeat
  5437. swait()
  5438. until laserc.Parent == nil
  5439. local lpart = newPart(Effects, BrickColor.new("Black"), 0.5, true, false, Vector3.new(), "Cut", "SmoothPlastic")
  5440. sound(406913243, Head, 0.6, 4, 1)
  5441. local lpartm = mesh("BlockMesh", lpart, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5, mag * 5, 5))
  5442. lpart.CFrame = laserc.CFrame * CFrame.new(0, 0, 0)
  5443. table.insert(partEffects, {
  5444. lpart,
  5445. "Block2",
  5446. 0.05,
  5447. 1,
  5448. 0,
  5449. 1,
  5450. lpartm
  5451. })
  5452. local lpart = newPart(Effects, BrickColor.new("Lily white"), 0.5, true, false, Vector3.new(), "Cut", "SmoothPlastic")
  5453. local lpartm = mesh("BlockMesh", lpart, nil, nil, Vector3.new(0, 0, 0), Vector3.new(8, mag * 5, 8))
  5454. lpart.CFrame = laserc.CFrame * CFrame.new(0, 0, 0)
  5455. table.insert(partEffects, {
  5456. lpart,
  5457. "Block2",
  5458. 0.05,
  5459. 1,
  5460. 0,
  5461. 1,
  5462. lpartm
  5463. })
  5464. local hit, pos = rayCast(start, look, 100000, Character)
  5465. if hit ~= nil then
  5466. if hit.Parent.ClassName == "Accessory" or hit.Parent.ClassName == "Hat" then
  5467. if hit.Parent.Parent:findFirstChild("Humanoid") then
  5468. basicDamage(hit.Parent.Parent.Humanoid, 20, BrickColor.new("Bright red").Color)
  5469. end
  5470. elseif hit.Parent:findFirstChild("Humanoid") then
  5471. basicDamage(hit.Parent.Humanoid, 20, BrickColor.new("Bright red").Color)
  5472. end
  5473. end
  5474. end)
  5475. end
  5476. end
  5477. end
  5478. end
  5479. end)
  5480. for i = 0, 1, 0.1 do
  5481. swait()
  5482. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  5483. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)
  5484. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(0), math.rad(-40), math.rad(60)), 0.4)
  5485. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
  5486. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  5487. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  5488. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
  5489. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  5490. end
  5491. AttackCan[3] = true
  5492. attacking = false
  5493. end
  5494. function mouse1d()
  5495. if tool.Active == false then
  5496. return
  5497. end
  5498. if attacking == false and attackcounter == 1 then
  5499. attackcounter = 2
  5500. attackone()
  5501. elseif attacking == false and attackcounter == 2 then
  5502. attackcounter = 3
  5503. attacktwo()
  5504. elseif attacking == false and attackcounter == 3 then
  5505. attackcounter = 1
  5506. attackthree()
  5507. end
  5508. end
  5509. function key(k)
  5510. if tool.Active == false then
  5511. return
  5512. end
  5513. k = k:lower()
  5514. if attacking == false and k == "z" and AttackHas[1] >= AttackNeeded[1] then
  5515. rapidslash()
  5516. elseif attacking == false and k == "x" and AttackHas[2] >= 0.2 then
  5517. powerslash()
  5518. elseif attacking == false and k == "c" and AttackHas[3] >= AttackNeeded[3] then
  5519. leftright()
  5520. elseif attacking ~= false or k ~= "v" or AttackHas[4] >= AttackNeeded[4] then
  5521. end
  5522. end
  5523. asdasd = mouse.Button1Down:connect(mouse1d)
  5524. asdasdf = mouse.KeyDown:connect(key)
  5525. Humanoid.Died:connect(function()
  5526. asdasd:disconnect()
  5527. asdasdf:disconnect()
  5528. end)
  5529. thread(function()
  5530. while true do
  5531. swait()
  5532. torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  5533. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  5534. sine = sine + 1
  5535. if AttackHas[1] < AttackNeeded[1] and AttackCan[1] == true then
  5536. AttackHas[1] = AttackHas[1] + 0.005
  5537. end
  5538. if AttackHas[2] < AttackNeeded[2] and AttackCan[2] == true then
  5539. AttackHas[2] = AttackHas[2] + 0.005
  5540. end
  5541. if AttackHas[3] < AttackNeeded[3] and AttackCan[3] == true then
  5542. AttackHas[3] = AttackHas[3] + 0.005
  5543. end
  5544. if AttackHas[4] < AttackNeeded[4] and AttackCan[4] == true then
  5545. AttackHas[4] = AttackHas[4] + 0.005
  5546. end
  5547. Reload[1]:TweenSize(UDim2.new(AttackHas[1] / AttackNeeded[1], 0, 1, 0), nil, 1, 0.4)
  5548. Reload[2]:TweenSize(UDim2.new(AttackHas[2] / AttackNeeded[2], 0, 1, 0), nil, 1, 0.4)
  5549. Reload[3]:TweenSize(UDim2.new(AttackHas[3] / AttackNeeded[3], 0, 1, 0), nil, 1, 0.4)
  5550. Reload[4]:TweenSize(UDim2.new(AttackHas[4] / AttackNeeded[4], 0, 1, 0), nil, 1, 0.4)
  5551. if 1 < RootPart.Velocity.y and hitfloor == nil then
  5552. if attacking == false then
  5553. Anim = "Jump"
  5554. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(0)), 0.1)
  5555. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
  5556. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  5557. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2)
  5558. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  5559. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2)
  5560. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.2)
  5561. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.2)
  5562. end
  5563. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  5564. if attacking == false then
  5565. Anim = "Fall"
  5566. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(23), 0, 0), 0.2)
  5567. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2)
  5568. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
  5569. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  5570. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2)
  5571. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  5572. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(24), math.rad(90), 0), 0.2)
  5573. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-12), -math.rad(90), 0), 0.2)
  5574. end
  5575. elseif torvel < 1 and hitfloor ~= nil then
  5576. if attacking == false then
  5577. Anim = "Idle"
  5578. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-5), 0, math.rad(15)), 0.1)
  5579. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0.2 * math.cos(sine / 25)) * CFrame.Angles(math.rad(10), 0, math.rad(-15)), 0.1)
  5580. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5 - 0.1 * math.cos(sine / 15), 0) * CFrame.Angles(math.rad(5), math.rad(-15), math.rad(10) + 0.1 * math.cos(sine / 25)), 0.2)
  5581. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5 - 0.1 * math.cos(sine / 15), 0) * CFrame.Angles(math.rad(-5), math.rad(15), math.rad(-10) - 0.1 * math.cos(sine / 25)), 0.2)
  5582. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
  5583. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
  5584. RH.C0 = clerp(RH.C0, CFrame.new(1, -1.1 - 0.2 * math.cos(sine / 25), 0) * CFrame.Angles(math.rad(10), math.rad(105), math.rad(-5)) * CFrame.Angles(math.rad(-4), 0, math.rad(-5)), 0.2)
  5585. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1 - 0.2 * math.cos(sine / 25), 0) * CFrame.Angles(math.rad(10), -math.rad(75), math.rad(-2)) * CFrame.Angles(math.rad(-13), 0, 0), 0.2)
  5586. end
  5587. elseif torvel > 2 and hitfloor ~= nil and attacking == false then
  5588. Anim = "Walk"
  5589. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-5), 0, math.rad(0)), 0.1)
  5590. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0.2 * math.cos(sine / 25)) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.1)
  5591. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5 - 0.1 * math.cos(sine / 15), 0) * CFrame.Angles(math.rad(5), math.rad(-15), math.rad(10) + 0.1 * math.cos(sine / 25)), 0.2)
  5592. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5 - 0.1 * math.cos(sine / 15), 0) * CFrame.Angles(math.rad(-5), math.rad(15), math.rad(-10) - 0.1 * math.cos(sine / 25)), 0.2)
  5593. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
  5594. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
  5595. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.cos(sine * 1.2 / 8), math.rad(90), 0), 0.3)
  5596. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(-math.cos(sine * 1.2 / 8), -math.rad(90), 0), 0.3)
  5597. end
  5598. if 0 < #partEffects then
  5599. for e = 1, #partEffects do
  5600. if partEffects[e] ~= nil then
  5601. local Thing = partEffects[e]
  5602. if Thing ~= nil then
  5603. local Part = Thing[1]
  5604. local Mode = Thing[2]
  5605. local Delay = Thing[3]
  5606. local IncX = Thing[4]
  5607. local IncY = Thing[5]
  5608. local IncZ = Thing[6]
  5609. if 1 >= Thing[1].Transparency then
  5610. if Thing[2] == "Block1" then
  5611. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  5612. local Mesh = Thing[1].Mesh
  5613. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5614. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5615. elseif Thing[2] == "Block2" then
  5616. Thing[1].CFrame = Thing[1].CFrame
  5617. local Mesh = Thing[7]
  5618. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5619. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5620. elseif Thing[2] == "Cylinder" then
  5621. local Mesh = Thing[1].Mesh
  5622. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5623. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5624. elseif Thing[2] == "Blood" then
  5625. local Mesh = Thing[7]
  5626. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  5627. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5628. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5629. elseif Thing[2] == "Elec" then
  5630. local Mesh = Thing[1].Mesh
  5631. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  5632. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5633. elseif Thing[2] == "Disappear" then
  5634. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5635. elseif Thing[2] == "Shatter" then
  5636. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5637. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  5638. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  5639. Thing[6] = Thing[6] + Thing[5]
  5640. end
  5641. else
  5642. Part:Destroy()
  5643. table.remove(partEffects, e)
  5644. end
  5645. end
  5646. end
  5647. end
  5648. end
  5649. end
  5650. end)
  5651. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement