duplicat

some

Apr 16th, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 127.74 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  6. --//====================================================\\--
  7. --|| Templates BY Aom[WCR]
  8. --\\====================================================//--
  9. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  10. local Player,game,owner = owner,game
  11. local RealPlayer = Player
  12. do
  13. print("FE Compatibility code by Mokiros")
  14. print("This EDIT was made by Zach the script stealer / aka zach so please stop pretending that you made it")
  15. local rp = RealPlayer
  16. script.Parent = rp.Character
  17.  
  18. --RemoteEvent for communicating
  19. local Event = Instance.new("RemoteEvent")
  20. Event.Name = "UserInput_Event"
  21.  
  22. --Fake event to make stuff like Mouse.KeyDown work
  23. local function fakeEvent()
  24. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  25. t.connect = t.Connect
  26. return t
  27. end
  28.  
  29. --Creating fake input objects with fake variables
  30. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  31. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  32. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  33. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  34. end}
  35. --Merged 2 functions into one by checking amount of arguments
  36. CAS.UnbindAction = CAS.BindAction
  37.  
  38. --This function will trigger the events that have been :Connect()'ed
  39. local function te(self,ev,...)
  40. local t = m[ev]
  41. if t and t._fakeEvent then
  42. for _,f in pairs(t.Functions) do
  43. f(...)
  44. end
  45. end
  46. end
  47. m.TrigEvent = te
  48. UIS.TrigEvent = te
  49.  
  50. Event.OnServerEvent:Connect(function(plr,io)
  51. if plr~=rp then return end
  52. m.Target = io.Target
  53. m.Hit = io.Hit
  54. if not io.isMouse then
  55. local b = io.UserInputState == Enum.UserInputState.Begin
  56. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  57. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  58. end
  59. for _,t in pairs(CAS.Actions) do
  60. for _,k in pairs(t.Keys) do
  61. if k==io.KeyCode then
  62. t.Function(t.Name,io.UserInputState,io)
  63. end
  64. end
  65. end
  66. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  67. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  68. end
  69. end)
  70. Event.Parent = NLS([==[
  71. local Player = game:GetService("Players").LocalPlayer
  72. local Event = script:WaitForChild("UserInput_Event")
  73.  
  74. local Mouse = Player:GetMouse()
  75. local UIS = game:GetService("UserInputService")
  76. local input = function(io,a)
  77. if a then return end
  78. --Since InputObject is a client-side instance, we create and pass table instead
  79. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  80. end
  81. UIS.InputBegan:Connect(input)
  82. UIS.InputEnded:Connect(input)
  83.  
  84. local h,t
  85. --Give the server mouse data 30 times every second, but only if the values changed
  86. --If player is not moving their mouse, client won't fire events
  87. while wait(1/30) do
  88. if h~=Mouse.Hit or t~=Mouse.Target then
  89. h,t=Mouse.Hit,Mouse.Target
  90. Event:FireServer({isMouse=true,Target=t,Hit=h})
  91. end
  92. end]==],Player.Character)
  93.  
  94. ----Sandboxed game object that allows the usage of client-side methods and services
  95. --Real game object
  96. local _rg = game
  97.  
  98. --Metatable for fake service
  99. local fsmt = {
  100. __index = function(self,k)
  101. local s = rawget(self,"_RealService")
  102. if s then return s[k] end
  103. end,
  104. __newindex = function(self,k,v)
  105. local s = rawget(self,"_RealService")
  106. if s then s[k]=v end
  107. end,
  108. __call = function(self,...)
  109. local s = rawget(self,"_RealService")
  110. if s then return s(...) end
  111. end
  112. }
  113. local function FakeService(t,RealService)
  114. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  115. return setmetatable(t,fsmt)
  116. end
  117.  
  118. --Fake game object
  119. local g = {
  120. GetService = function(self,s)
  121. return self[s]
  122. end,
  123. Players = FakeService({
  124. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  125. },"Players"),
  126. UserInputService = FakeService(UIS,"UserInputService"),
  127. ContextActionService = FakeService(CAS,"ContextActionService"),
  128. }
  129. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  130. g.service = g.GetService
  131.  
  132. g.RunService = FakeService({
  133. RenderStepped = _rg:GetService("RunService").Heartbeat,
  134. BindToRenderStep = function(self,name,_,fun)
  135.  
  136. end,
  137. UnbindFromRenderStep = function(self,name)
  138. self._btrs[name]:Disconnect()
  139. end,
  140. },"RunService")
  141.  
  142. setmetatable(g,{
  143. __index=function(self,s)
  144. return _rg:GetService(s) or typeof(_rg[s])=="function"
  145. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  146. end,
  147. __newindex = fsmt.__newindex,
  148. __call = fsmt.__call
  149. })
  150. --Changing owner to fake player object to support owner:GetMouse()
  151. game,owner = g,g.Players.LocalPlayer
  152. end
  153.  
  154. warn("loading Pain V3 Please wait")
  155. wait(2)
  156. warn("loading.")
  157. wait(2)
  158. warn("loading..")
  159. wait(2)
  160. warn("loading...")
  161. wait(2)
  162. warn("Loading success")
  163. wait(1)
  164. warn("running script...")
  165. wait(5)
  166.  
  167.  
  168. Player = game:GetService("Players").LocalPlayer
  169. PlayerGui = Player.PlayerGui
  170. Cam = workspace.CurrentCamera
  171. Backpack = Player.Backpack
  172. Character = Player.Character
  173. Humanoid = Character.Humanoid
  174. Mouse = Player:GetMouse()
  175. RootPart = Character["HumanoidRootPart"]
  176. Torso = Character["Torso"]
  177. Head = Character["Head"]
  178. RightArm = Character["Right Arm"]
  179. LeftArm = Character["Left Arm"]
  180. RightLeg = Character["Right Leg"]
  181. LeftLeg = Character["Left Leg"]
  182. RootJoint = RootPart["RootJoint"]
  183. Neck = Torso["Neck"]
  184. RightShoulder = Torso["Right Shoulder"]
  185. LeftShoulder = Torso["Left Shoulder"]
  186. RightHip = Torso["Right Hip"]
  187. LeftHip = Torso["Left Hip"]
  188. local sick = Instance.new("Sound",Torso)
  189. sick.SoundId = "rbxassetid://1117396305"
  190. sick.Looped = true
  191. sick.Pitch = 1
  192. sick.Volume = 3
  193. sick.TimePosition = 0
  194. Character.Archivable = true
  195. Humanoid.DisplayDistanceType = "None"
  196.  
  197. local naeeym2 = Instance.new("BillboardGui",Character)
  198. naeeym2.AlwaysOnTop = true
  199. naeeym2.Size = UDim2.new(5,35,2,35)
  200. naeeym2.StudsOffset = Vector3.new(0,3,0)
  201. naeeym2.Adornee = Character.Head
  202. naeeym2.Name = "Name"
  203. local tecks2 = Instance.new("TextLabel",naeeym2)
  204. tecks2.BackgroundTransparency = 1
  205. tecks2.TextScaled = true
  206. tecks2.BorderSizePixel = 0
  207. tecks2.Text = "Hmm"
  208. tecks2.Font = "Arcade"
  209. tecks2.TextSize = 30
  210. tecks2.TextTransparency = 1
  211. tecks2.TextStrokeTransparency = 1
  212. tecks2.TextColor3 = Color3.new(255/0/0)
  213. tecks2.Size = UDim2.new(1,0,0.5,0)
  214. tecks2.Parent = naeeym2
  215.  
  216. IT = Instance.new
  217. CF = CFrame.new
  218. VT = Vector3.new
  219. RAD = math.rad
  220. C3 = Color3.new
  221. UD2 = UDim2.new
  222. BRICKC = BrickColor.new
  223. ANGLES = CFrame.Angles
  224. EULER = CFrame.fromEulerAnglesXYZ
  225. COS = math.cos
  226. ACOS = math.acos
  227. SIN = math.sin
  228. ASIN = math.asin
  229. ABS = math.abs
  230. MRANDOM = math.random
  231. FLOOR = math.floor
  232. -------------------- Some other stuff ----------------
  233. local hood = Instance.new("Part")
  234. local mesh_4 = Instance.new("FileMesh")
  235. local pillar = Instance.new("Part")
  236. local rock = Instance.new("Part")
  237. local core = Instance.new("Attachment")
  238. local emit = Instance.new("ParticleEmitter")
  239. local mesh_5 = Instance.new("FileMesh")
  240. local rockspike = Instance.new("Part")
  241. local mesh_6 = Instance.new("SpecialMesh")
  242. local shield = Instance.new("Part")
  243. local core_2 = Instance.new("Attachment")
  244. local spinepart = Instance.new("Part")
  245. local mesh_7 = Instance.new("FileMesh")
  246. local pants = Instance.new("Pants")
  247. local shirt = Instance.new("Shirt")
  248. local emit_2 = Instance.new("ParticleEmitter")
  249. local vortex = Instance.new("ParticleEmitter")
  250. local wave = Instance.new("ParticleEmitter")
  251.  
  252. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  253. local NEWMESH = IT(MESH)
  254. if MESH == "SpecialMesh" then
  255. NEWMESH.MeshType = MESHTYPE
  256. if MESHID ~= "nil" and MESHID ~= "" then
  257. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  258. end
  259. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  260. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  261. end
  262. end
  263. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  264. NEWMESH.Scale = SCALE
  265. NEWMESH.Parent = PARENT
  266. return NEWMESH
  267. end
  268.  
  269. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  270. local NEWPART = IT("Part")
  271. NEWPART.formFactor = FORMFACTOR
  272. NEWPART.Reflectance = REFLECTANCE
  273. NEWPART.Transparency = TRANSPARENCY
  274. NEWPART.CanCollide = false
  275. NEWPART.Locked = true
  276. NEWPART.Anchored = true
  277. if ANCHOR == false then
  278. NEWPART.Anchored = false
  279. end
  280. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  281. NEWPART.Name = NAME
  282. NEWPART.Size = SIZE
  283. NEWPART.Position = Torso.Position
  284. NEWPART.Material = MATERIAL
  285. NEWPART:BreakJoints()
  286. NEWPART.Parent = PARENT
  287. return NEWPART
  288. end
  289.  
  290. --//=================================\\
  291. --|| CUSTOMIZATION
  292. --\\=================================//
  293.  
  294. Player_Size = 3 --Size of the player.
  295. Animation_Speed = 3
  296. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  297.  
  298. local Speed = 30
  299. local Effects2 = {}
  300.  
  301. --//=================================\\
  302. --|| END OF CUSTOMIZATION
  303. --\\=================================//
  304.  
  305. local function weldBetween(a, b)
  306. local weldd = Instance.new("ManualWeld")
  307. weldd.Part0 = a
  308. weldd.Part1 = b
  309. weldd.C0 = CFrame.new()
  310. weldd.C1 = b.CFrame:inverse() * a.CFrame
  311. weldd.Parent = a
  312. return weldd
  313. end
  314.  
  315. --//=================================\\
  316. --|| USEFUL VALUES
  317. --\\=================================//
  318.  
  319. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  320. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  321. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  322. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  323. local CHANGEDEFENSE = 0
  324. local CHANGEDAMAGE = 0
  325. local CHANGEMOVEMENT = 0
  326. local ANIM = "Idle"
  327. local ATTACK = false
  328. local EQUIPPED = false
  329. local HOLD = false
  330. local COMBO = 1
  331. local Rooted = false
  332. local SINE = 0
  333. local KEYHOLD = false
  334. local CHANGE = 2 / Animation_Speed
  335. local WALKINGANIM = false
  336. local WALK = 0
  337. local VALUE1 = false
  338. local VALUE2 = false
  339. local ROBLOXIDLEANIMATION = IT("Animation")
  340. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  341. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  342. --ROBLOXIDLEANIMATION.Parent = Humanoid
  343. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  344. WEAPONGUI.Name = "Weapon GUI"
  345. local Weapon = IT("Folder", Character)
  346. Weapon.Name = "Weapon"
  347. local Effects = IT("Folder", Character)
  348. Effects.Name = "Effects"
  349. local Weapon2 = IT("Folder",Character)
  350. Weapon2.Name = "Weapon2"
  351. local ANIMATOR = Humanoid.Animator
  352. local ANIMATE = Character.Animate
  353. local UNANCHOR = true
  354. local LAUGHS = {834001699,834001752,834001797,834001828}
  355. local SONGS = {534861083,530959353,1534958855,0}
  356. local CHOICE = MRANDOM(1,4)
  357. local PLAYMAINANIM = true
  358. local INTRO = false
  359. local TRANSFORMED = false
  360. local INSTANT = false
  361. local MODE = "GoodCop"
  362.  
  363. --//=================================\\
  364. --\\=================================//
  365.  
  366.  
  367. --//=================================\\
  368. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  369. --\\=================================//
  370.  
  371. ArtificialHB = Instance.new("BindableEvent", script)
  372. ArtificialHB.Name = "ArtificialHB"
  373.  
  374. script:WaitForChild("ArtificialHB")
  375.  
  376. frame = Frame_Speed
  377. tf = 0
  378. allowframeloss = false
  379. tossremainder = false
  380. lastframe = tick()
  381. script.ArtificialHB:Fire()
  382.  
  383. game:GetService("RunService").Heartbeat:connect(function(s, p)
  384. tf = tf + s
  385. if tf >= frame then
  386. if allowframeloss then
  387. script.ArtificialHB:Fire()
  388. lastframe = tick()
  389. else
  390. for i = 1, math.floor(tf / frame) do
  391. script.ArtificialHB:Fire()
  392. end
  393. lastframe = tick()
  394. end
  395. if tossremainder then
  396. tf = 0
  397. else
  398. tf = tf - frame * math.floor(tf / frame)
  399. end
  400. end
  401. end)
  402.  
  403. --//=================================\\
  404. --\\=================================//
  405.  
  406.  
  407.  
  408.  
  409.  
  410. --//=================================\\
  411. --|| SOME FUNCTIONS
  412. --\\=================================//
  413.  
  414. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  415. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  416. end
  417.  
  418. function PositiveAngle(NUMBER)
  419. if NUMBER >= 0 then
  420. NUMBER = 0
  421. end
  422. return NUMBER
  423. end
  424.  
  425. function NegativeAngle(NUMBER)
  426. if NUMBER <= 0 then
  427. NUMBER = 0
  428. end
  429. return NUMBER
  430. end
  431.  
  432. function Swait(NUMBER)
  433. if NUMBER == 0 or NUMBER == nil then
  434. ArtificialHB.Event:wait()
  435. else
  436. for i = 1, NUMBER do
  437. ArtificialHB.Event:wait()
  438. end
  439. end
  440. end
  441.  
  442. function QuaternionFromCFrame(cf)
  443. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  444. local trace = m00 + m11 + m22
  445. if trace > 0 then
  446. local s = math.sqrt(1 + trace)
  447. local recip = 0.5 / s
  448. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  449. else
  450. local i = 0
  451. if m11 > m00 then
  452. i = 1
  453. end
  454. if m22 > (i == 0 and m00 or m11) then
  455. i = 2
  456. end
  457. if i == 0 then
  458. local s = math.sqrt(m00 - m11 - m22 + 1)
  459. local recip = 0.5 / s
  460. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  461. elseif i == 1 then
  462. local s = math.sqrt(m11 - m22 - m00 + 1)
  463. local recip = 0.5 / s
  464. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  465. elseif i == 2 then
  466. local s = math.sqrt(m22 - m00 - m11 + 1)
  467. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  468. end
  469. end
  470. end
  471.  
  472. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  473. local xs, ys, zs = x + x, y + y, z + z
  474. local wx, wy, wz = w * xs, w * ys, w * zs
  475. local xx = x * xs
  476. local xy = x * ys
  477. local xz = x * zs
  478. local yy = y * ys
  479. local yz = y * zs
  480. local zz = z * zs
  481. 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))
  482. end
  483.  
  484. function QuaternionSlerp(a, b, t)
  485. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  486. local startInterp, finishInterp;
  487. if cosTheta >= 0.0001 then
  488. if (1 - cosTheta) > 0.0001 then
  489. local theta = ACOS(cosTheta)
  490. local invSinTheta = 1 / SIN(theta)
  491. startInterp = SIN((1 - t) * theta) * invSinTheta
  492. finishInterp = SIN(t * theta) * invSinTheta
  493. else
  494. startInterp = 1 - t
  495. finishInterp = t
  496. end
  497. else
  498. if (1 + cosTheta) > 0.0001 then
  499. local theta = ACOS(-cosTheta)
  500. local invSinTheta = 1 / SIN(theta)
  501. startInterp = SIN((t - 1) * theta) * invSinTheta
  502. finishInterp = SIN(t * theta) * invSinTheta
  503. else
  504. startInterp = t - 1
  505. finishInterp = t
  506. end
  507. end
  508. 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
  509. end
  510.  
  511. function Clerp(a, b, t)
  512. local qa = {QuaternionFromCFrame(a)}
  513. local qb = {QuaternionFromCFrame(b)}
  514. local ax, ay, az = a.x, a.y, a.z
  515. local bx, by, bz = b.x, b.y, b.z
  516. local _t = 1 - t
  517. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  518. end
  519.  
  520. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  521. local frame = IT("Frame")
  522. frame.BackgroundTransparency = TRANSPARENCY
  523. frame.BorderSizePixel = BORDERSIZEPIXEL
  524. frame.Position = POSITION
  525. frame.Size = SIZE
  526. frame.BackgroundColor3 = COLOR
  527. frame.BorderColor3 = BORDERCOLOR
  528. frame.Name = NAME
  529. frame.Parent = PARENT
  530. return frame
  531. end
  532.  
  533. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  534. local label = IT("TextLabel")
  535. label.BackgroundTransparency = 1
  536. label.Size = UD2(1, 0, 1, 0)
  537. label.Position = UD2(0, 0, 0, 0)
  538. label.TextColor3 = TEXTCOLOR
  539. label.TextStrokeTransparency = STROKETRANSPARENCY
  540. label.TextTransparency = TRANSPARENCY
  541. label.FontSize = TEXTFONTSIZE
  542. label.Font = TEXTFONT
  543. label.BorderSizePixel = BORDERSIZEPIXEL
  544. label.TextScaled = false
  545. label.Text = TEXT
  546. label.Name = NAME
  547. label.Parent = PARENT
  548. return label
  549. end
  550.  
  551. function NoOutlines(PART)
  552. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  553. end
  554.  
  555.  
  556. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  557. local NEWWELD = IT(TYPE)
  558. NEWWELD.Part0 = PART0
  559. NEWWELD.Part1 = PART1
  560. NEWWELD.C0 = C0
  561. NEWWELD.C1 = C1
  562. NEWWELD.Parent = PARENT
  563. return NEWWELD
  564. end
  565.  
  566. function CreateSound(ID, PARENT, VOLUME, PITCH)
  567. local NEWSOUND = nil
  568. coroutine.resume(coroutine.create(function()
  569. NEWSOUND = IT("Sound", PARENT)
  570. NEWSOUND.Volume = VOLUME
  571. NEWSOUND.Pitch = PITCH
  572. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  573. Swait()
  574. NEWSOUND:play()
  575. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  576. end))
  577. return NEWSOUND
  578. end
  579.  
  580. function CFrameFromTopBack(at, top, back)
  581. local right = top:Cross(back)
  582. 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)
  583. end
  584.  
  585. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  586. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  587. local mesh = IT("SpecialMesh",wave)
  588. mesh.MeshType = "FileMesh"
  589. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  590. mesh.Scale = SIZE
  591. mesh.Offset = VT(0,0,0)
  592. wave.CFrame = CFRAME
  593. coroutine.resume(coroutine.create(function(PART)
  594. for i = 1, WAIT do
  595. Swait()
  596. mesh.Scale = mesh.Scale + GROW
  597. if DOESROT == true then
  598. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  599. end
  600. wave.Transparency = wave.Transparency + (0.5/WAIT)
  601. if wave.Transparency > 0.99 then
  602. wave:remove()
  603. end
  604. end
  605. end))
  606. end
  607.  
  608. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  609. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  610. local mesh = IT("SpecialMesh",wave)
  611. mesh.MeshType = "Sphere"
  612. mesh.Scale = SIZE
  613. mesh.Offset = VT(0,0,0)
  614. wave.CFrame = CFRAME
  615. coroutine.resume(coroutine.create(function(PART)
  616. for i = 1, WAIT do
  617. Swait()
  618. mesh.Scale = mesh.Scale + GROW
  619. wave.Transparency = wave.Transparency + (1/WAIT)
  620. if wave.Transparency > 0.99 then
  621. wave:remove()
  622. end
  623. end
  624. end))
  625. end
  626.  
  627. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  628. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  629. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  630. wave.CFrame = CFRAME
  631. coroutine.resume(coroutine.create(function(PART)
  632. for i = 1, WAIT do
  633. Swait()
  634. mesh.Scale = mesh.Scale * GROW
  635. wave.Transparency = wave.Transparency + (0.5/WAIT)
  636. if wave.Transparency > 0.99 then
  637. wave:remove()
  638. end
  639. end
  640. end))
  641. end
  642.  
  643. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  644. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  645. local mesh = IT("BlockMesh",wave)
  646. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  647. coroutine.resume(coroutine.create(function(PART)
  648. for i = 1, WAIT do
  649. Swait()
  650. mesh.Scale = mesh.Scale + GROW
  651. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  652. wave.Transparency = wave.Transparency + (1/WAIT)
  653. if wave.Transparency > 0.99 then
  654. wave:remove()
  655. end
  656. end
  657. end))
  658. end
  659.  
  660. function MakeForm(PART,TYPE)
  661. if TYPE == "Cyl" then
  662. local MSH = IT("CylinderMesh",PART)
  663. elseif TYPE == "Ball" then
  664. local MSH = IT("SpecialMesh",PART)
  665. MSH.MeshType = "Sphere"
  666. elseif TYPE == "Wedge" then
  667. local MSH = IT("SpecialMesh",PART)
  668. MSH.MeshType = "Wedge"
  669. end
  670. end
  671.  
  672. function CheckTableForString(Table, String)
  673. for i, v in pairs(Table) do
  674. if string.find(string.lower(String), string.lower(v)) then
  675. return true
  676. end
  677. end
  678. return false
  679. end
  680.  
  681.  
  682.  
  683. Debris = game:GetService("Debris")
  684.  
  685. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  686. local Direction = CFrame.new(StartPos, Vec).lookVector
  687. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  688. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  689. if RayHit and CheckIntangible(RayHit) then
  690. if DelayIfHit then
  691. wait()
  692. end
  693. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  694. end
  695. return RayHit, RayPos, RayNormal
  696. end
  697.  
  698. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  699. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  700. end
  701.  
  702. function turnto(position)
  703. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  704. end
  705.  
  706. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  707. PLAYMAINANIM = false
  708. if WhichPose == "Cast1" then
  709. for i=0, Time, 0.1 / Animation_Speed do
  710. Swait()
  711. if Magic == true then
  712. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"White".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  713. end
  714. if Gyro ~= nil and Gyro ~= false then
  715. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  716. end
  717. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  718. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  719. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  720. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  721. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  722. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  723. end
  724. elseif WhichPose == "Cast2" then
  725. for i=0, Time, 0.1 / Animation_Speed do
  726. Swait()
  727. if Magic == true then
  728. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"White".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  729. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Whtie".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  730. end
  731. if Gyro ~= nil and Gyro ~= false then
  732. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  733. end
  734. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  735. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  736. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  737. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  738. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  739. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  740. end
  741. elseif WhichPose == "RightArmUp" then
  742. for i=0, Time, 0.1 / Animation_Speed do
  743. Swait()
  744. if Magic == true then
  745. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"White".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  746. end
  747. if Gyro ~= nil and Gyro ~= false then
  748. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  749. end
  750. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  751. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  752. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  753. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  754. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  755. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  756. end
  757. elseif WhichPose == "Taunt" then
  758. for i=0, Time, 0.1 / Animation_Speed do
  759. Swait()
  760. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  761. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  762. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  763. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  764. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  765. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  766. end
  767. CreateSound(221057812,Torso,10,1,false)
  768. for i=0, Time*2, 0.1 / Animation_Speed do
  769. Swait()
  770. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  771. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  772. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  773. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  774. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  775. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  776. end
  777. for i=0, Time, 0.1 / Animation_Speed do
  778. Swait()
  779. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  780. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  781. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  782. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  783. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  784. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  785. end
  786. elseif WhichPose == "Prepare key" then
  787. for i=0, Time, 0.1 / Animation_Speed do
  788. Swait()
  789. if Gyro ~= nil and Gyro ~= false then
  790. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  791. end
  792. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  793. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  794. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  795. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  796. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  797. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  798. end
  799. elseif WhichPose == "Turn key" then
  800. for i=0, Time, 0.1 / Animation_Speed do
  801. Swait()
  802. if Gyro ~= nil and Gyro ~= false then
  803. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  804. end
  805. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  806. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  807. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  808. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  809. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  810. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  811. end
  812. end
  813. PLAYMAINANIM = true
  814. end
  815.  
  816. --//=================================\\
  817. --|| SPEECH
  818. --\\=================================//
  819.  
  820. function Chatter(Text,Timer)
  821. local chat = coroutine.wrap(function()
  822. if Character:FindFirstChild("SpeechBoard")~= nil then
  823. Character:FindFirstChild("SpeechBoard"):destroy()
  824. end
  825. local naeeym2 = IT("BillboardGui",Character)
  826. naeeym2.Size = UD2(0,100,0,40)
  827. naeeym2.StudsOffset = Vector3.new(0,2,0)
  828. naeeym2.Adornee = Character.Head
  829. naeeym2.Name = "SpeechBoard"
  830. naeeym2.AlwaysOnTop = true
  831. local tecks2 = IT("TextLabel",naeeym2)
  832. tecks2.BackgroundTransparency = 1
  833. tecks2.BorderSizePixel = 0
  834. tecks2.Text = ""
  835. tecks2.Font = "Legacy"
  836. tecks2.TextSize = 15
  837. tecks2.TextStrokeTransparency = 1
  838. tecks2.TextColor3 = Color3.new(255,0,0)
  839. tecks2.TextStrokeColor3 = Color3.new(255,0,0)
  840. tecks2.Size = UDim2.new(1,0,0.5,0)
  841. for i = 1,string.len(Text),1 do
  842. CreateSound(418252437, Head, 3, MRANDOM(8,12)/15, false)
  843. tecks2.Text = string.sub(Text,1,i)
  844. wait(Timer)
  845. end
  846. wait(1)
  847. naeeym2:Destroy()
  848. end)
  849. chat()
  850. end
  851.  
  852. function chatfunc(text,waitt)
  853. local chat = coroutine.wrap(function()
  854. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  855. Character:FindFirstChild("TalkingBillBoard"):destroy()
  856. end
  857. local naeeym2 = Instance.new("BillboardGui",Character)
  858. naeeym2.Size = UDim2.new(0,100,0,40)
  859. naeeym2.StudsOffset = Vector3.new(0,5,0)
  860. naeeym2.Adornee = Character.Head
  861. naeeym2.Name = "TalkingBillBoard"
  862. naeeym2.AlwaysOnTop = true
  863. local tecks2 = Instance.new("TextLabel",naeeym2)
  864. tecks2.BackgroundTransparency = 1
  865. tecks2.BorderSizePixel = 0
  866. tecks2.Text = ""
  867. tecks2.Font = "SciFi"
  868. tecks2.TextSize = 30
  869. tecks2.TextStrokeTransparency = 1
  870. tecks2.TextColor3 = SKILLTEXTCOLOR
  871. tecks2.TextStrokeColor3 = Color3.new(255/255,0/255,0/255)
  872. tecks2.Size = UDim2.new(1,0,0.5,0)
  873. for i = 1,string.len(text),1 do
  874. tecks2.Text = string.sub(text,1,i)
  875. Swait()
  876. end
  877. wait(waitt)
  878. coroutine.resume(coroutine.create(function()
  879. for i = 1, 10 do
  880. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  881. Swait()
  882. end
  883. naeeym2:Destroy()
  884. end))
  885. end)
  886. chat()
  887. end
  888.  
  889. --// Start Stuff for Banishing \\--
  890.  
  891. local TOBANISH = {}
  892.  
  893. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  894. local DIRECTION = CF(StartPos,EndPos).lookVector
  895. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  896. end
  897.  
  898. function printbye(Name)
  899. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your life is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  900. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  901. end
  902.  
  903. function Banish(Foe)
  904. if Foe then
  905. coroutine.resume(coroutine.create(function()
  906. --if game.Players:FindFirstChild(Foe.Name) then
  907. table.insert(TOBANISH,Foe.Name)
  908. printbye(Foe.Name)
  909. --end
  910. Foe.Archivable = true
  911. local CLONE = Foe:Clone()
  912. Foe:Destroy()
  913. CLONE.Parent = Effects
  914. CLONE:BreakJoints()
  915. local MATERIALS = {"Glass","Neon"}
  916. for _, c in pairs(CLONE:GetDescendants()) do
  917. if c:IsA("BasePart") then
  918. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  919. CreateSound(340722848, c, 10, 1, false)
  920. end
  921. c.Anchored = true
  922. c.Transparency = c.Transparency + 0.2
  923. c.Material = MATERIALS[MRANDOM(1,2)]
  924. c.Color = C3(0,255,0)
  925. if c.ClassName == "MeshPart" then
  926. c.TextureID = ""
  927. end
  928. if c:FindFirstChildOfClass("SpecialMesh") then
  929. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  930. end
  931. if c:FindFirstChildOfClass("Decal") then
  932. c:FindFirstChildOfClass("Decal"):remove()
  933. end
  934. c.Name = "Banished"
  935. c.CanCollide = false
  936. else
  937. c:remove()
  938. end
  939. end
  940. local A = false
  941. for i = 1, 35 do
  942. if A == false then
  943. A = true
  944. elseif A == true then
  945. A = false
  946. end
  947. for _, c in pairs(CLONE:GetDescendants()) do
  948. if c:IsA("BasePart") then
  949. c.Anchored = true
  950. c.Material = MATERIALS[MRANDOM(1,2)]
  951. c.Transparency = c.Transparency + 0.8/35
  952. if A == false then
  953. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  954. elseif A == true then
  955. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  956. end
  957. end
  958. end
  959. Swait()
  960. end
  961. CLONE:remove()
  962. end))
  963. end
  964. end
  965.  
  966. function BANNEAREST(POS,RANGE)
  967. for i,v in ipairs(workspace:GetChildren()) do
  968. local body = v:GetChildren()
  969. for part = 1, #body do
  970. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  971. if(body[part].Position - POS).Magnitude < RANGE then
  972. if v:FindFirstChildOfClass("Humanoid") then
  973. Banish(v)
  974. if game.Players:FindFirstChild(v.Name) then
  975. local Value = IT("BoolValue",Delete)
  976. Value.Name = v.Name
  977. end
  978. end
  979. end
  980. end
  981. end
  982. end
  983. end
  984.  
  985. workspace.ChildAdded:connect(function(instance)
  986. for BANISH = 1, #TOBANISH do
  987. if TOBANISH[BANISH] ~= nil then
  988. if instance.Name == TOBANISH[BANISH] then
  989. coroutine.resume(coroutine.create(function()
  990. printbye(instance.Name)
  991. instance:ClearAllChildren()
  992. Debris:AddItem(instance,0.0005)
  993. end))
  994. end
  995. end
  996. end
  997. end)
  998.  
  999. function SpawnTrail(FROM,TO,BIG)
  1000. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
  1001. MakeForm(TRAIL,"Cyl")
  1002. local DIST = (FROM - TO).Magnitude
  1003. if BIG == true then
  1004. TRAIL.Size = VT(10,DIST,10)
  1005. else
  1006. TRAIL.Size = VT(0.25,DIST,0.25)
  1007. end
  1008. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1009. coroutine.resume(coroutine.create(function()
  1010. for i = 1, 5 do
  1011. Swait()
  1012. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1013. end
  1014. TRAIL:remove()
  1015. end))
  1016. end
  1017.  
  1018. function WACKYEFFECT(Table)
  1019. local TYPE = (Table.EffectType or "Sphere")
  1020. local SIZE = (Table.Size or VT(1,1,1))
  1021. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1022. local TRANSPARENCY = (Table.Transparency or 0)
  1023. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1024. local CFRAME = (Table.CFrame or Torso.CFrame)
  1025. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1026. local ROTATION1 = (Table.RotationX or 0)
  1027. local ROTATION2 = (Table.RotationY or 0)
  1028. local ROTATION3 = (Table.RotationZ or 0)
  1029. local MATERIAL = (Table.Material or "Neon")
  1030. local COLOR = (Table.Color or C3(0,255,0))
  1031. local TIME = (Table.Time or 45)
  1032. local SOUNDID = (Table.SoundID or nil)
  1033. local SOUNDPITCH = (Table.SoundPitch or nil)
  1034. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1035. coroutine.resume(coroutine.create(function()
  1036. local PLAYSSOUND = false
  1037. local SOUND = nil
  1038. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1039. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1040. PLAYSSOUND = true
  1041. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1042. end
  1043. EFFECT.Color = COLOR
  1044. local MSH = nil
  1045. if TYPE == "Sphere" then
  1046. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1047. elseif TYPE == "Block" then
  1048. MSH = IT("BlockMesh",EFFECT)
  1049. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1050. elseif TYPE == "Wave" then
  1051. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1052. elseif TYPE == "Ring" then
  1053. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1054. elseif TYPE == "Slash" then
  1055. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1056. elseif TYPE == "Round Slash" then
  1057. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1058. elseif TYPE == "Swirl" then
  1059. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1060. elseif TYPE == "Skull" then
  1061. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1062. elseif TYPE == "Crystal" then
  1063. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1064. end
  1065. if MSH ~= nil then
  1066. local MOVESPEED = nil
  1067. if MOVEDIRECTION ~= nil then
  1068. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1069. end
  1070. local GROWTH = SIZE - ENDSIZE
  1071. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1072. if TYPE == "Block" then
  1073. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1074. else
  1075. EFFECT.CFrame = CFRAME
  1076. end
  1077. for LOOP = 1, TIME+1 do
  1078. Swait()
  1079. MSH.Scale = MSH.Scale - GROWTH/TIME
  1080. if TYPE == "Wave" then
  1081. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1082. end
  1083. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1084. if TYPE == "Block" then
  1085. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1086. else
  1087. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1088. end
  1089. if MOVEDIRECTION ~= nil then
  1090. local ORI = EFFECT.Orientation
  1091. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1092. EFFECT.Orientation = ORI
  1093. end
  1094. end
  1095. if PLAYSSOUND == false then
  1096. EFFECT:remove()
  1097. else
  1098. SOUND.Stopped:Connect(function()
  1099. EFFECT:remove()
  1100. end)
  1101. end
  1102. else
  1103. if PLAYSSOUND == false then
  1104. EFFECT:remove()
  1105. else
  1106. repeat Swait() until SOUND.Playing == false
  1107. EFFECT:remove()
  1108. end
  1109. end
  1110. end))
  1111. end
  1112.  
  1113. -- \\ End Stuff for Banishing //--
  1114.  
  1115. --//=================================\\
  1116. --|| WEAPON CREATION
  1117. --\\=================================//
  1118. local Particle = IT("ParticleEmitter",nil)
  1119. Particle.Enabled = false
  1120. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1121. Particle.LightEmission = 0.5
  1122. Particle.Rate = 150
  1123. Particle.ZOffset = 0.2
  1124. Particle.Rotation = NumberRange.new(-180, 180)
  1125. Particle.RotSpeed = NumberRange.new(-180, 180)
  1126. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1127. Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
  1128.  
  1129. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1130. function ParticleEmitter(Table)
  1131. local PRTCL = Particle:Clone()
  1132. local Speed = Table.Speed or 5
  1133. local Drag = Table.Drag or 0
  1134. local Size1 = Table.Size1 or 1
  1135. local Size2 = Table.Size2 or 5
  1136. local Lifetime1 = Table.Lifetime1 or 1
  1137. local Lifetime2 = Table.Lifetime2 or 1.5
  1138. local Parent = Table.Parent or Torso
  1139. local Emit = Table.Emit or 100
  1140. local Offset = Table.Offset or 360
  1141. local Acel = Table.Acel or VT(0,0,0)
  1142. local Enabled = Table.Enabled or false
  1143. PRTCL.Parent = Parent
  1144. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1145. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1146. PRTCL.Speed = NumberRange.new(Speed)
  1147. PRTCL.VelocitySpread = Offset
  1148. PRTCL.Drag = Drag
  1149. PRTCL.Acceleration = Acel
  1150. if Enabled == false then
  1151. PRTCL:Emit(Emit)
  1152. Debris:AddItem(PRTCL,Lifetime2)
  1153. else
  1154. PRTCL.Enabled = true
  1155. end
  1156. return PRTCL
  1157. end
  1158.  
  1159.  
  1160. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1161. MakeForm(Part,"Wedge")
  1162. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1163. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1164. MakeForm(Part,"Wedge")
  1165. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1166. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1167. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1168. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1169. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1170. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1171. MakeForm(Part,"Cyl")
  1172. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1173. for i = 1, 8 do
  1174. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1175. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1176. end
  1177.  
  1178. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1179. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1180. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1181. MakeForm(Part,"Wedge")
  1182. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1183. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1184. MakeForm(Part,"Wedge")
  1185. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1186. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1187. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1188. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1189. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1190. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1191. MakeForm(Part,"Cyl")
  1192. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1193. for i = 1, 8 do
  1194. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1195. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1196. end
  1197.  
  1198. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1199. MakeForm(Part,"Cyl")
  1200. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1201. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1202. MakeForm(Part,"Ball")
  1203. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1204. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1205. MakeForm(Part,"Wedge")
  1206. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1207. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1208. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1209. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1210. MakeForm(Part,"Cyl")
  1211. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1212. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1213. MakeForm(Part,"Cyl")
  1214. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1215. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1216. MakeForm(Part,"Cyl")
  1217. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1218. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1219. MakeForm(Part,"Wedge")
  1220. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1221. local LASTPART = Handle
  1222. for i = 1, 10 do
  1223. if LASTPART == Handle then
  1224. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1225. LASTPART = Part
  1226. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1227. else
  1228. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1229. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1230. LASTPART = Part
  1231. end
  1232. end
  1233.  
  1234. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1235. MakeForm(Barrel,"Cyl")
  1236. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1237. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1238. MakeForm(Part,"Cyl")
  1239. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1240. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1241. MakeForm(Part,"Wedge")
  1242. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1243. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1244. MakeForm(Hole,"Cyl")
  1245. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1246. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1247. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1248. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1249. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1250. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1251. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1252. coroutine.resume(coroutine.create(function()
  1253. while wait() do
  1254. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1255. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1256. end
  1257. end))
  1258.  
  1259. --W2--
  1260.  
  1261. local Handle = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1262. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1263. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1264. MakeForm(Part,"Wedge")
  1265. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1266. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1267. MakeForm(Part,"Wedge")
  1268. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1269. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1270. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1271. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1272. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1273. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1274. MakeForm(Part,"Cyl")
  1275. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1276. for i = 1, 8 do
  1277. local Piece = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1278. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1279. end
  1280. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1281. MakeForm(Part,"Cyl")
  1282. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1283. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1284. MakeForm(Part,"Ball")
  1285. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1286. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1287. MakeForm(Part,"Wedge")
  1288. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1289. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1290. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1291. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1292. MakeForm(Part,"Cyl")
  1293. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1294. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1295. MakeForm(Part,"Cyl")
  1296. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1297. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1298. MakeForm(Part,"Cyl")
  1299. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1300. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1301. MakeForm(Part,"Wedge")
  1302. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(135), RAD(180), RAD(180)), CF(0, -0.3, 0))
  1303. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1304. MakeForm(Part,"Cyl")
  1305. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1306. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1307. MakeForm(Part,"Wedge")
  1308. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1309. local LASTPART = Handle
  1310. for i = 1, 10 do
  1311. if LASTPART == Handle then
  1312. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1313. LASTPART = Part
  1314. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1315. else
  1316. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1317. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1318. LASTPART = Part
  1319. end
  1320. end
  1321. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe", VT(0.2,0.5,0.2),false)
  1322. MakeForm(Part,"Wedge")
  1323. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-125), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1324. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe2", VT(0.2,0.5,0.2),false)
  1325. MakeForm(Part,"Wedge")
  1326. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(125), RAD(180), RAD(180)), CF(0, -0.3, 0))
  1327. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe3", VT(0.2,0.5,0.2),false)
  1328. MakeForm(Part,"Wedge")
  1329. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-145), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1330. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe4", VT(0.2,0.5,0.2),false)
  1331. MakeForm(Part,"Wedge")
  1332. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(145), RAD(180), RAD(180)), CF(0, -0.3, 0))
  1333.  
  1334. local Barrel = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,5,0.15),false)
  1335. MakeForm(Barrel,"Cyl")
  1336. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1337. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1338. MakeForm(Part,"Cyl")
  1339. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1340. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1341. MakeForm(Part,"Wedge")
  1342. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 2.4, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1343. local RHole = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1344. MakeForm(RHole,"Cyl")
  1345. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, RHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1346. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1347. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1348. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1349. local Part = CreatePart(3, Weapon2, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1350. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1351. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1352. coroutine.resume(coroutine.create(function()
  1353. while wait() do
  1354. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1355. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1356. end
  1357. end))
  1358.  
  1359. local BODY = {}
  1360.  
  1361. for _, c in pairs(Character:GetDescendants()) do
  1362. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1363. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1364. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1365. end
  1366. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1367. elseif c:IsA("JointInstance") then
  1368. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1369. end
  1370. end
  1371.  
  1372. for e = 1, #BODY do
  1373. if BODY[e] ~= nil then
  1374. local STUFF = BODY[e]
  1375. local PART = STUFF[1]
  1376. local PARENT = STUFF[2]
  1377. local MATERIAL = STUFF[3]
  1378. local COLOR = STUFF[4]
  1379. local TRANSPARENCY = STUFF[5]
  1380. if PART.ClassName == "Part" and PART ~= RootPart then
  1381. PART.Material = MATERIAL
  1382. PART.Color = COLOR
  1383. PART.Transparency = TRANSPARENCY
  1384. end
  1385. PART.AncestryChanged:Connect(function()
  1386. PART.Parent = PARENT
  1387. end)
  1388. end
  1389. end
  1390.  
  1391. function refit()
  1392. Character.Parent = workspace
  1393. for e = 1, #BODY do
  1394. if BODY[e] ~= nil then
  1395. local STUFF = BODY[e]
  1396. local PART = STUFF[1]
  1397. local PARENT = STUFF[2]
  1398. local MATERIAL = STUFF[3]
  1399. local COLOR = STUFF[4]
  1400. local TRANSPARENCY = STUFF[5]
  1401. if PART.ClassName == "Part" and PART ~= RootPart then
  1402. PART.Material = MATERIAL
  1403. PART.Color = COLOR
  1404. PART.Transparency = TRANSPARENCY
  1405. end
  1406. if PART.Parent ~= PARENT then
  1407. Humanoid:remove()
  1408. PART.Parent = PARENT
  1409. Humanoid = IT("Humanoid",Character)
  1410. end
  1411. end
  1412. end
  1413. end
  1414.  
  1415. for _, c in pairs(Weapon:GetDescendants()) do
  1416. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1417. c.Material = "Glass"
  1418. c.Color = C3(0,0,0)
  1419. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1420. c.Color = C3(0,0,0)
  1421. c.Material = "Neon"
  1422. end
  1423. end
  1424.  
  1425. for _, c in pairs(Weapon2:GetDescendants()) do
  1426. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1427. c.Material = "Glass"
  1428. c.Color = C3(0,0,0)
  1429. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1430. c.Color = C3(1,0,0)
  1431. c.Material = "Neon"
  1432. end
  1433. end
  1434.  
  1435. Weapon.Parent = Character
  1436. Weapon2.Parent = nil
  1437. for _, c in pairs(Weapon:GetChildren()) do
  1438. if c.ClassName == "Part" then
  1439. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1440. end
  1441. end
  1442.  
  1443. local SKILLTEXTCOLOR = C3(1,0,0)
  1444. local SKILLFONT = "Arcade"
  1445. local SKILLTEXTSIZE = 7
  1446.  
  1447. Humanoid.Died:connect(function()
  1448. ATTACK = true
  1449. end)
  1450.  
  1451. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1452.  
  1453. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Banish [T] Taunt [F] transform", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1454.  
  1455.  
  1456.  
  1457. function printbye(Name)
  1458. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1459. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1460. end
  1461.  
  1462. workspace.ChildAdded:connect(function(instance)
  1463. for BANISH = 1, #TOBANISH do
  1464. if TOBANISH[BANISH] ~= nil then
  1465. if instance.Name == TOBANISH[BANISH] then
  1466. coroutine.resume(coroutine.create(function()
  1467. printbye(instance.Name)
  1468. instance:ClearAllChildren()
  1469. Debris:AddItem(instance,0.0005)
  1470. end))
  1471. end
  1472. end
  1473. end
  1474. end)
  1475. ------------------------------Editing Stuffs-------------------------------------
  1476.  
  1477.  
  1478. --//=================================\\
  1479. --|| WEAPON CREATION 2
  1480. --\\=================================//
  1481. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "New yeller", "Scarf", VT(1,1,1),false)
  1482. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  1483. PRT.Color = C3(1,1,1)
  1484. for i = 1, 35 do
  1485. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  1486. FACE.Color = C3(0,0,0)
  1487. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1488. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1489. end
  1490. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1491. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  1492. MakeForm(Eye,"Ball")
  1493. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1494.  
  1495. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1496. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  1497. MakeForm(Eye,"Ball")
  1498. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "New yeller", "Hat", VT(2,0.2,2),false)
  1505. MakeForm(HAT1,"Cyl")
  1506. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  1507. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "New yeller", "Hat", VT(2.01,0.15,2.01),false)
  1508. BELT.Color = C3(15/255,15/255,15/255)
  1509. MakeForm(BELT,"Cyl")
  1510. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  1511. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "New yeller", "Hat", VT(1.3,2.2,1.3),false)
  1512. MakeForm(HAT2,"Cyl")
  1513. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  1514. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "New yeller", "Hat", VT(1.31,0.2,1.31),false)
  1515. BELT.Color = C3(15/255,15/255,15/255)
  1516. MakeForm(BELT,"Cyl")
  1517. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  1518. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Royal purple", "Gem", VT(0.25,0.25,0.1),false)
  1519. MakeForm(GEM,"Ball")
  1520. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  1521. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Gem", VT(0.25,0.25,0.1),false)
  1522. MakeForm(GEM,"Ball")
  1523. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  1524. local GEM = CreatePart(3, Character, "Neon", 0, 0, "New yeller", "Gem", VT(0.1,0.25,0.25),false)
  1525. MakeForm(GEM,"Ball")
  1526. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  1527. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Deep orange", "Gem", VT(0.1,0.25,0.25),false)
  1528. MakeForm(GEM,"Ball")
  1529. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  1530. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1531. BELT.Color = C3(15/255,15/255,15/255)
  1532. MakeForm(BELT,"Cyl")
  1533. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  1534. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1535. BELT.Color = C3(15/255,15/255,15/255)
  1536. MakeForm(BELT,"Cyl")
  1537. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  1538. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1539. BELT.Color = C3(15/255,15/255,15/255)
  1540. MakeForm(BELT,"Cyl")
  1541. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  1542. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1543. BELT.Color = C3(15/255,15/255,15/255)
  1544. MakeForm(BELT,"Cyl")
  1545. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  1546. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
  1547. MakeForm(BELT,"Ball")
  1548. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  1549.  
  1550. local top = Instance.new("Shirt")
  1551. top.ShirtTemplate = "rbxassetid://676428254"
  1552. top.Parent = Character
  1553. top.Name = "Cloth"
  1554. local bottom = Instance.new("Pants")
  1555. bottom.PantsTemplate = "rbxassetid://676428351"
  1556. bottom.Parent = Character
  1557. bottom.Name = "Cloth"
  1558.  
  1559.  
  1560. --//=================================\\
  1561. --|| DAMAGING
  1562. --\\=================================//
  1563.  
  1564. function ApplyDamage(Humanoid,Damage,OneShot)
  1565. Damage = Damage * DAMAGEMULTIPLIER
  1566. local DEAD = false
  1567. if Humanoid.Health < 2000 and OneShot == false then
  1568. if Humanoid.Health - Damage > 0 then
  1569. Humanoid.Health = Humanoid.Health - Damage
  1570. else
  1571. Humanoid.Parent:BreakJoints()
  1572. DEAD = true
  1573. end
  1574. else
  1575. DEAD = true
  1576. Humanoid.Parent:BreakJoints()
  1577. end
  1578. if DEAD == true then
  1579. local PARTS = {}
  1580. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  1581. if CHILD:IsA("BasePart") then
  1582. table.insert(PARTS,CHILD)
  1583. end
  1584. end
  1585. coroutine.resume(coroutine.create(function()
  1586. wait(2)
  1587. repeat
  1588. Swait()
  1589. local PIECE = nil
  1590. if MRANDOM(1,5) == 1 then
  1591. for E = 1, #PARTS do
  1592. if MRANDOM(1,5) == 1 then
  1593. PIECE = PARTS[E]
  1594. table.remove(PARTS,E)
  1595. break
  1596. end
  1597. end
  1598. end
  1599. if PIECE ~= nil then
  1600. if PIECE.Name == "Head" then
  1601. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1602. else
  1603. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1604. end
  1605. PIECE:remove()
  1606. end
  1607. until #PARTS == 0
  1608. end))
  1609. end
  1610. end
  1611.  
  1612.  
  1613. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1614. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1615. defence.Name = ("HitBy"..Player.Name)
  1616. game:GetService("Debris"):AddItem(defence, 0.001)
  1617. Damage = Damage * DAMAGEMULTIPLIER
  1618. if Humanoid.Health ~= 0 then
  1619. local CritChance = MRANDOM(1,100)
  1620. if Damage > Humanoid.Health then
  1621. Damage = math.ceil(Humanoid.Health)
  1622. if Damage == 0 then
  1623. Damage = 0.1
  1624. end
  1625. end
  1626. Humanoid.Health = Humanoid.Health - Damage
  1627. end
  1628. end
  1629.  
  1630. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1631. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1632. defence.Name = ("HitBy"..Player.Name)
  1633. game:GetService("Debris"):AddItem(defence, 0.001)
  1634. Damage = Damage * DAMAGEMULTIPLIER
  1635. if Humanoid.Health ~= 0 then
  1636. local CritChance = MRANDOM(1,100)
  1637. if Damage > Humanoid.Health then
  1638. Damage = math.ceil(Humanoid.Health)
  1639. if Damage == 0 then
  1640. Damage = 0.1
  1641. end
  1642. end
  1643. Humanoid.Health = Humanoid.Health - Damage
  1644. end
  1645. end
  1646.  
  1647. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1648. local CHILDREN = workspace:GetDescendants()
  1649. for index, CHILD in pairs(CHILDREN) do
  1650. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1651. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1652. if HUM then
  1653. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1654. if TORSO then
  1655. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1656. if INSTAKILL == true then
  1657. CHILD:BreakJoints()
  1658. else
  1659. local DMG = MRANDOM(MINDMG,MAXDMG)
  1660. ApplyDamage(HUM,DMG,TORSO)
  1661. end
  1662. if FLING > 0 then
  1663. for _, c in pairs(CHILD:GetChildren()) do
  1664. if c:IsA("BasePart") then
  1665. local bv = Instance.new("BodyVelocity")
  1666. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1667. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1668. bv.Parent = c
  1669. Debris:AddItem(bv,0.05)
  1670. end
  1671. end
  1672. end
  1673. end
  1674. end
  1675. end
  1676. end
  1677. end
  1678. end
  1679.  
  1680. function CameraEnshaking(Length, Intensity)
  1681. coroutine.resume(coroutine.create(function()
  1682. local intensity = 1 * Intensity
  1683. local rotM = 0.01 * Intensity
  1684. for i = 0, Length, 0.1 do
  1685. Swait()
  1686. intensity = intensity - 0.05 * Intensity / Length
  1687. rotM = rotM - 5.0E-4 * Intensity / Length
  1688. Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
  1689. Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM)
  1690. end
  1691. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  1692. end))
  1693. end
  1694.  
  1695. function KillChildren(v)
  1696. v:BreakJoints()
  1697. for _, c in pairs(v:GetChildren()) do
  1698. if c:IsA("BasePart") then
  1699. if c.Transparency < 1 then
  1700. if c:FindFirstChildOfClass("Decal") then
  1701. c:FindFirstChildOfClass("Decal"):remove()
  1702. end
  1703. particles(c)
  1704. c.PE.Enabled = true
  1705. c.Parent = Effects
  1706. c.CanCollide = false
  1707. c.Material = "Neon"
  1708. c.Color = C3(1,0,0)
  1709. c.Transparency = 1
  1710. local grav = Instance.new("BodyPosition",c)
  1711. grav.P = 20000
  1712. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1713. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1714. grav.Name = "GravityForce"
  1715. coroutine.resume(coroutine.create(function()
  1716. for i = 1, 20 do
  1717. Swait()
  1718. c.Transparency = c.Transparency + 1/20
  1719. end
  1720. c.PE.Enabled = false
  1721. Debris:AddItem(c,2)
  1722. end))
  1723. end
  1724. end
  1725. end
  1726. end
  1727.  
  1728. function ApplyAoE(POSITION,RANGE)
  1729. local CHILDREN = workspace:GetDescendants()
  1730. for index, CHILD in pairs(CHILDREN) do
  1731. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1732. local LISTED = false
  1733. for LIST = 1, #WHITELIST do
  1734. if WHITELIST[LIST] ~= nil then
  1735. if CHILD.Name == WHITELIST[LIST] then
  1736. LISTED = true
  1737. end
  1738. end
  1739. end
  1740. if LISTED == false then
  1741. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1742. if HUM then
  1743. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1744. if TORSO then
  1745. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1746. KillChildren(CHILD)
  1747. end
  1748. end
  1749. end
  1750. end
  1751. end
  1752. end
  1753. end
  1754.  
  1755. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1756. coroutine.resume(coroutine.create(function()
  1757. local METEOR = IT("Model",Effects)
  1758. METEOR.Name = "Meteorite"
  1759. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Deep orange", "MeteorCenter", VT(5,5,5)*SIZE)
  1760. METEOR.PrimaryPart = CENTER
  1761. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Lime green", "MeteorCenter", VT(5,5,5)*SIZE)
  1762. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1763. for i = 1, 15 do
  1764. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "White", "Fire", VT(5.1,1,5.1)*SIZE)
  1765. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1766. end
  1767. if ISDEBREE ~= true then
  1768. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1769. else
  1770. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1771. end
  1772. local IMPACT = false
  1773. CreateSound(463593339, CENTER, 10, 0.6)
  1774. if SIZE >= 3.5 then
  1775. for i = 1, MRANDOM(3,7) do
  1776. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  1777. end
  1778. end
  1779. for i = 1, 200 do
  1780. Swait()
  1781. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1782. if HITFLOOR == nil then
  1783. local ORI = CENTER.Orientation
  1784. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1785. else
  1786. if HITFLOOR.Anchored == true then
  1787. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1788. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1789. end
  1790. IMPACT = true
  1791. break
  1792. end
  1793. end
  1794. if IMPACT == true then
  1795. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1796. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1797. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1798. ApplyAoE(CENTER.Position,30*SIZE)
  1799. end
  1800. METEOR:remove()
  1801. end))
  1802. end
  1803.  
  1804. function ApplyAoE4(POSITION,RANGE,BRUTAL)
  1805. local CHILDREN = workspace:GetDescendants()
  1806. for index, CHILD in pairs(CHILDREN) do
  1807. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1808. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1809. if HUM then
  1810. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1811. if TORSO then
  1812. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1813. if BRUTAL == true then
  1814. Kill(CHILD)
  1815. else
  1816. CHILD:BreakJoints()
  1817. end
  1818. end
  1819. end
  1820. end
  1821. end
  1822. end
  1823. end
  1824.  
  1825. function Kill(Char)
  1826. local NewCharacter = IT("Model",Effects)
  1827. NewCharacter.Name = "Ow im ded ;-;"
  1828. for _, c in pairs(Char:GetDescendants()) do
  1829. if c:IsA("BasePart") and c.Transparency == 0 then
  1830. c:BreakJoints()
  1831. c.Material = "Glass"
  1832. c.Color = C3(1,0,0)
  1833. c.CanCollide = true
  1834. c.Transparency = 0.3
  1835. if c:FindFirstChildOfClass("SpecialMesh") then
  1836. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1837. end
  1838. if c.Name == "Head" then
  1839. c:ClearAllChildren()
  1840. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1841. end
  1842. if c.ClassName == "MeshPart" then
  1843. c.TextureID = ""
  1844. end
  1845. if c:FindFirstChildOfClass("BodyPosition") then
  1846. c:FindFirstChildOfClass("BodyPosition"):remove()
  1847. end
  1848. if c:FindFirstChildOfClass("ParticleEmitter") then
  1849. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1850. end
  1851. c.Parent = NewCharacter
  1852. c.Name = "DeadPart"
  1853. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1854. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1855. end
  1856. end
  1857. Char:remove()
  1858. Debris:AddItem(NewCharacter,5)
  1859. end
  1860.  
  1861. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1862. local CHILDREN = workspace:GetDescendants()
  1863. for index, CHILD in pairs(CHILDREN) do
  1864. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1865. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1866. if HUM then
  1867. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1868. if TORSO then
  1869. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1870. if BRUTAL == true then
  1871. Kill(CHILD)
  1872. else
  1873. CHILD:BreakJoints()
  1874. end
  1875. end
  1876. end
  1877. end
  1878. end
  1879. end
  1880. end
  1881.  
  1882. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1883. local CHILDREN = workspace:GetDescendants()
  1884. for index, CHILD in pairs(CHILDREN) do
  1885. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1886. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1887. if HUM then
  1888. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1889. if TORSO then
  1890. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1891. if BRUTAL == true then
  1892. Kill(CHILD)
  1893. else
  1894. CHILD:BreakJoints()
  1895. end
  1896. end
  1897. end
  1898. end
  1899. end
  1900. end
  1901. end
  1902.  
  1903. function Banish(Foe)
  1904. if Foe then
  1905. coroutine.resume(coroutine.create(function()
  1906. --if game.Players:FindFirstChild(Foe.Name) then
  1907. table.insert(TOBANISH,Foe.Name)
  1908. printbye(Foe.Name)
  1909. --end
  1910. Foe.Archivable = true
  1911. local CLONE = Foe:Clone()
  1912. Foe:Destroy()
  1913. CLONE.Parent = Effects
  1914. CLONE:BreakJoints()
  1915. local MATERIALS = {"Glass","Neon"}
  1916. for _, c in pairs(CLONE:GetDescendants()) do
  1917. if c:IsA("BasePart") then
  1918. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1919. CreateSound(138271815, c, 10, 1, false)
  1920. end
  1921. c.Anchored = true
  1922. c.Transparency = c.Transparency + 0.2
  1923. c.Material = MATERIALS[MRANDOM(1,2)]
  1924. c.Color = C3(1,0,0)
  1925. if c.ClassName == "MeshPart" then
  1926. c.TextureID = ""
  1927. end
  1928. if c:FindFirstChildOfClass("SpecialMesh") then
  1929. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1930. end
  1931. if c:FindFirstChildOfClass("Decal") then
  1932. c:FindFirstChildOfClass("Decal"):remove()
  1933. end
  1934. c.Name = "Banished"
  1935. c.CanCollide = false
  1936. else
  1937. c:remove()
  1938. end
  1939. end
  1940. local A = false
  1941. for i = 1, 35 do
  1942. if A == false then
  1943. A = true
  1944. elseif A == true then
  1945. A = false
  1946. end
  1947. for _, c in pairs(CLONE:GetDescendants()) do
  1948. if c:IsA("BasePart") then
  1949. c.Anchored = true
  1950. c.Material = MATERIALS[MRANDOM(1,2)]
  1951. c.Transparency = c.Transparency + 0.8/35
  1952. if A == false then
  1953. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1954. elseif A == true then
  1955. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1956. end
  1957. end
  1958. end
  1959. Swait()
  1960. end
  1961. CLONE:remove()
  1962. end))
  1963. end
  1964. end
  1965.  
  1966.  
  1967. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1968. local CHILDREN = workspace:GetDescendants()
  1969. for index, CHILD in pairs(CHILDREN) do
  1970. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1971. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1972. if HUM then
  1973. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1974. if TORSO then
  1975. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1976. if ISBANISH == true then
  1977. Banish(CHILD)
  1978. else
  1979. if ISBANISH == "Gravity" then
  1980. HUM.PlatformStand = true
  1981. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1982. local grav = Instance.new("BodyPosition",TORSO)
  1983. grav.D = 15
  1984. grav.P = 20000
  1985. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1986. grav.position = TORSO.Position
  1987. grav.Name = "V3BanishForce"..Player.Name
  1988. else
  1989. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1990. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1991. end
  1992. else
  1993. HUM.PlatformStand = false
  1994. end
  1995. end
  1996. elseif ISBANISH == "Gravity" then
  1997. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1998. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1999. HUM.PlatformStand = false
  2000. end
  2001. end
  2002. end
  2003. end
  2004. end
  2005. end
  2006. end
  2007.  
  2008. function SpawnSmite(POS)
  2009. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  2010. local EMITPOS = HITPOS
  2011. if HITFLOOR ~= nil then
  2012. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  2013. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  2014. EMITPOS = HITPOS
  2015. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2016. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  2017. EMITPOS = HITPOS
  2018. end
  2019. end
  2020. if HITFLOOR ~= nil then
  2021. ApplyAoE(EMITPOS,10)
  2022. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2023. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2024. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2025. for i = 1, 5 do
  2026. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  2027. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2028. end
  2029. end
  2030. end
  2031.  
  2032. --//=================================\\
  2033. --|| TRANSFORMATIONS
  2034. --\\=================================//
  2035.  
  2036. function Switch()
  2037. ATTACK = true
  2038. Rooted = true
  2039. if MODE == "GoodCop" then
  2040. CreateSound("649634100", Head, 10, 0.5)
  2041. for i = 0, 3, 0.1 / Animation_Speed do
  2042. Swait()
  2043. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2044. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2045. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2046. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2047. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2048. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2049. end
  2050. CreateSound("289842971", RightArm, 10, 1)
  2051. for i = 0, 6, 0.1 / Animation_Speed do
  2052. Swait()
  2053. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 0.5 / Animation_Speed)
  2054. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2055. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2056. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2057. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2058. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2059. end
  2060. Weapon.Parent = nil
  2061. Weapon2.Parent = Character
  2062. for i = 0, 1, 0.1 / Animation_Speed do
  2063. Swait()
  2064. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.5 / Animation_Speed)
  2065. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2066. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1.25, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2067. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2068. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2069. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2070. end
  2071. for i=0, 0.6, 0.1 / Animation_Speed do
  2072. Swait()
  2073. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  2074. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  2075. if MRANDOM(1,7) == 1 then
  2076. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2077. end
  2078. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2079. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(95), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2080. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * COS(SINE / 24), -1 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2081. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2082. end
  2083. MODE = "BadCop"
  2084. tecks2.Text = "End of the line"
  2085. sick.SoundId = "rbxassetid://1146711643"
  2086. sick.TimePosition = 0
  2087. elseif MODE == "BadCop" then
  2088. CreateSound(147722227, Torso, 4, 1.3, false)
  2089. for i=0, 0.3, 0.1 / Animation_Speed do
  2090. Swait()
  2091. 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)
  2092. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2093. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.4, 0.75, -0.3) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2094. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2095. 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)
  2096. 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)
  2097. end
  2098. MODE = "GoodCop"
  2099. Weapon.Parent = Character
  2100. Weapon2.Parent = nil
  2101. tecks2.Text = "Hmm"
  2102. sick.SoundId = "rbxassetid://1117396305"
  2103. sick.TimePosition = 22
  2104. end
  2105. ATTACK = false
  2106. Rooted = false
  2107. end
  2108.  
  2109.  
  2110. --//=================================\\
  2111. --|| ATTACK FUNCTIONS AND STUFF
  2112. --\\=================================//
  2113.  
  2114. function Intro()
  2115. ATTACK = true
  2116. Rooted = true
  2117. repeat
  2118. Swait()
  2119. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2120. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2121. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  2122. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2123. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  2124. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  2125. until sick.TimePosition > 1
  2126. repeat
  2127. Swait()
  2128. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2129. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2130. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2131. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2132. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2133. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2134. until sick.TimePosition > 1
  2135. repeat
  2136. Swait()
  2137. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2138. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2139. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2140. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2141. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2142. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2143. until sick.TimePosition > 1
  2144. tecks2.TextTransparency = 0
  2145. for i = 1, 100 do
  2146. Swait()
  2147.  
  2148.  
  2149. end
  2150. TRANSFORMED = true
  2151. ATTACK = false
  2152. Rooted = false
  2153. end
  2154.  
  2155. function Shot1()
  2156. ATTACK = true
  2157. Rooted = false
  2158. for i=0, 0.4, 0.05 / Animation_Speed do
  2159. Swait()
  2160. turnto(Mouse.Hit.p)
  2161. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  2162. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2163. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2164. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2165. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2166. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2167. end
  2168. repeat
  2169. for i=0, 0.2, 0.05 / Animation_Speed do
  2170. Swait()
  2171. turnto(Mouse.Hit.p)
  2172. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  2173. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.5 / Animation_Speed)
  2174. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2175. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.6, -0.4) * ANGLES(RAD(170), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2176. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2177. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2178. end
  2179. local HIT,POS = CastProperRay(RHole.Position, Mouse.Hit.p, 1000, Character)
  2180. SpawnTrail(RHole.Position,POS)
  2181. if HIT ~= nil then
  2182. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2183. Banish(HIT.Parent)
  2184. end
  2185. end
  2186. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RHole.CFrame, MoveToPos = RHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2187. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 1463566014, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2188. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2189. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2190. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2191. for i=0, 0.3, 0.05 / Animation_Speed do
  2192. Swait()
  2193. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  2194. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.25 / Animation_Speed)
  2195. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2196. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.6, -0.4) * ANGLES(RAD(172), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2197. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2198. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2199. end
  2200. until KEYHOLD == false
  2201. ATTACK = false
  2202. Rooted = false
  2203. end
  2204.  
  2205. function Shot2()
  2206. ATTACK = true
  2207. Rooted = false
  2208. for i=0, 0.2, 0.05 / Animation_Speed do
  2209. Swait()
  2210. turnto(Mouse.Hit.p)
  2211. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2212. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2213. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2214. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2215. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2216. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2217. end
  2218. repeat
  2219. for i=0, 0.2, 0.05 / Animation_Speed do
  2220. Swait()
  2221. turnto(Mouse.Hit.p)
  2222. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2223. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2224. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2225. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2226. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2227. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2228. end
  2229. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2230. SpawnTrail(Hole.Position,POS)
  2231. if HIT ~= nil then
  2232. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2233. Kill(HIT.Parent)
  2234. end
  2235. end
  2236. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2237. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2238. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2239. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2240. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2241. for i=0, 0.2, 0.05 / Animation_Speed do
  2242. Swait()
  2243. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2244. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2245. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2246. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2247. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2248. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2249. end
  2250. until KEYHOLD == false
  2251. ATTACK = false
  2252. Rooted = false
  2253. end
  2254.  
  2255. function ScrewThis()
  2256. ATTACK = true
  2257. Rooted = true
  2258. Weapon.Parent = nil
  2259. sick.Volume = 0
  2260. CreateSound("137473066", Effects, 10, 0.9)
  2261. CreateSound(137473066, Effects, 10, 1, false)
  2262. for i=0, 0.6, 0.1 / Animation_Speed do
  2263. Swait()
  2264. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2265. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2266. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2267. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2268. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2269. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2270. end
  2271. CreateSound(363808674, Effects, 10, 1, false)
  2272. for i=0, 0.6, 0.1 / Animation_Speed do
  2273. Swait()
  2274. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2275. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2276. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2277. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2278. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2279. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2280. end
  2281. CreateSound(363808674, Effects, 10, 1, false)
  2282. for i=0, 0.6, 0.1 / Animation_Speed do
  2283. Swait()
  2284. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2285. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2286. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2287. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2288. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2289. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2290. end
  2291. CreateSound(363808674, Effects, 10, 1, false)
  2292. for i=0, 0.6, 0.1 / Animation_Speed do
  2293. Swait()
  2294. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2295. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2296. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2297. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2298. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2299. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2300. end
  2301. CreateSound(363808674, Effects, 10, 1, false)
  2302. for i=0, 0.6, 0.1 / Animation_Speed do
  2303. Swait()
  2304. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2305. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2306. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2307. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2308. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2309. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2310. end
  2311. CreateSound(363808674, Effects, 10, 1, false)
  2312. for i=0, 0.6, 0.1 / Animation_Speed do
  2313. Swait()
  2314. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2315. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2316. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2317. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2318. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2319. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2320. end
  2321. Weapon.Parent = Character
  2322. sick.Volume = 2
  2323. ATTACK = false
  2324. Rooted = false
  2325. end
  2326.  
  2327. function Taunt()
  2328. ATTACK = true
  2329. Rooted = true
  2330. local L = CreateSound(2162230624,Head,8,1.1,false)
  2331. L.EmitterSize = 25
  2332. for i = 1, 20 do
  2333. Swait()
  2334. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2335. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2336. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2337. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2338. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2339. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2340. end
  2341. for i = 1, 40 do
  2342. Swait()
  2343. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2344. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  2345. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2346. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2347. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2348. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2349. end
  2350. for i = 1, 60 do
  2351. Swait()
  2352. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2353. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2354. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2355. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2356. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2357. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2358. end
  2359. for i = 1, 60 do
  2360. Swait()
  2361. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2362. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  2363. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2364. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2365. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2366. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2367. end
  2368. for i = 1, 90 do
  2369. Swait()
  2370. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2371. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2372. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2373. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2374. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2375. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2376. end
  2377. for i = 1, 72 do
  2378. Swait()
  2379. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2380. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  2381. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2382. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2383. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2384. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2385. end
  2386. for i = 1, 96 do
  2387. Swait()
  2388. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2389. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2390. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2391. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2392. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2393. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2394. end
  2395. for i = 1, 98 do
  2396. Swait()
  2397. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2398. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  2399. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2400. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2401. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2402. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2403. end
  2404. ATTACK = false
  2405. Rooted = false
  2406. end
  2407. --//=================================\\
  2408. --|| ASSIGN THINGS TO KEYS
  2409. --\\=================================//
  2410.  
  2411. function MouseDown(Mouse)
  2412. if ATTACK == false then
  2413.  
  2414. end
  2415. end
  2416.  
  2417. function MouseUp(Mouse)
  2418. HOLD = false
  2419. end
  2420.  
  2421. function KeyDown(Key)
  2422. KEYHOLD = true
  2423. if TRANSFORMED == true and Rooted == false then
  2424. if Key == "f" and ATTACK == false then
  2425. Switch()
  2426. end
  2427.  
  2428.  
  2429. if Key == "e" and ATTACK == false then
  2430. if MODE == "GoodCop" then
  2431. Shot2()
  2432. elseif MODE == "BadCop" then
  2433. Shot1()
  2434. end
  2435. end
  2436.  
  2437. if Key == "t" and ATTACK == false then
  2438. if MODE == "GoodCop" then
  2439. ScrewThis()
  2440. elseif MODE == "BadCop" then
  2441. Taunt()
  2442. end
  2443. end
  2444.  
  2445. end
  2446.  
  2447. if Key == "9" and ATTACK == false then
  2448. CreateSound("135017578", Effects, 5, 1)
  2449. end
  2450. end
  2451.  
  2452. function KeyUp(Key)
  2453. KEYHOLD = false
  2454. end
  2455.  
  2456. Mouse.Button1Down:connect(function(NEWKEY)
  2457. MouseDown(NEWKEY)
  2458. end)
  2459. Mouse.Button1Up:connect(function(NEWKEY)
  2460. MouseUp(NEWKEY)
  2461. end)
  2462. Mouse.KeyDown:connect(function(NEWKEY)
  2463. KeyDown(NEWKEY)
  2464. end)
  2465. Mouse.KeyUp:connect(function(NEWKEY)
  2466. KeyUp(NEWKEY)
  2467. end)
  2468.  
  2469. --//=================================\\
  2470. --\\=================================//
  2471.  
  2472.  
  2473. function unanchor()
  2474. if UNANCHOR == true then
  2475. RootPart.Anchored = false
  2476. end
  2477. for _, c in pairs(Weapon:GetChildren()) do
  2478. if c.ClassName == "Part" then
  2479. c.Anchored = false
  2480. end
  2481. end
  2482. end
  2483.  
  2484.  
  2485. --//=================================\\
  2486. --|| WRAP THE WHOLE SCRIPT UP
  2487. --\\=================================//
  2488.  
  2489. Humanoid.Changed:connect(function(Jump)
  2490. if Jump == "Jump" and (Disable_Jump == true) then
  2491. Humanoid.Jump = false
  2492. end
  2493. end)
  2494.  
  2495. while true do
  2496. Swait()
  2497. script.Parent = WEAPONGUI
  2498. ANIMATE.Parent = nil
  2499. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2500. v:Stop();
  2501. end
  2502. SINE = SINE + CHANGE
  2503. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2504. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2505. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2506. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2507. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2508. 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)
  2509. 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)
  2510. 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)
  2511. 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)
  2512. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2513. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2514. 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)
  2515. 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)
  2516. 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)
  2517. end
  2518. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2519. ANIM = "Jump"
  2520. if ATTACK == false then
  2521. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2522. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2523. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2524. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2525. 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)
  2526. 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)
  2527. end
  2528. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2529. ANIM = "Fall"
  2530. if ATTACK == false then
  2531. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2532. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2533. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2534. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2535. 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)
  2536. 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)
  2537. end
  2538. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2539. ANIM = "Idle"
  2540. if ATTACK == false then
  2541. if MODE == "GoodCop" then
  2542. 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)
  2543. 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)
  2544. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2545. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2546. 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)
  2547. 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)
  2548. elseif MODE == "BadCop" then
  2549. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  2550. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  2551. if MRANDOM(1,7) == 1 then
  2552. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2553. end
  2554. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2555. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(95), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2556. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * COS(SINE / 24), -1 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2557. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2558. end
  2559. end
  2560. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2561. ANIM = "Walk"
  2562. if ATTACK == false then
  2563. if MODE == "GoodCop" then
  2564. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2565. 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)
  2566. elseif MODE == "BadCop" then
  2567. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2568. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2569. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65, -0.15) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2570. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  2571. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2572. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2573. end
  2574. end
  2575. end
  2576. Humanoid.DisplayDistanceType = "None"
  2577. unanchor()
  2578. tecks2.TextColor3 = BrickColor.Random().Color
  2579. tecks2.TextStrokeColor3 = BrickColor.Random().Color
  2580. Humanoid.MaxHealth = "inf"
  2581. Humanoid.Health = "inf"
  2582. if Rooted == false then
  2583. Disable_Jump = false
  2584. Humanoid.WalkSpeed = Speed
  2585. elseif Rooted == true then
  2586. Disable_Jump = true
  2587. Humanoid.WalkSpeed = 0
  2588. end
  2589. Humanoid.PlatformStand = false
  2590. if INTRO == false and INSTANT == false then
  2591. INTRO = true
  2592. coroutine.resume(coroutine.create(function()
  2593. sick:Play()
  2594. Intro()
  2595. end))
  2596. end
  2597. if INSTANT == true then
  2598. if TRANSFORMED == false then
  2599. sick.TimePosition = 60
  2600. sick:Play()
  2601. end
  2602. TRANSFORMED = true
  2603. end
  2604. script.Parent = PlayerGui
  2605. Character.Parent = workspace
  2606. Humanoid.Parent = Character
  2607. end
  2608. --//=================================\\
  2609. --\\=================================//
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615. --//====================================================\\--
  2616. --|| END OF SCRIPT
  2617. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment