Advertisement
JacksoMykalJunior

CITY

Feb 24th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 91.40 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,Red_Jack142 = Red_Jack142,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local = RealPlayer
  7. script.Parent = Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~= then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. },"Players"),
  116. UserInputService = FakeService(UIS,"UserInputService"),
  117. ContextActionService = FakeService(CAS,"ContextActionService"),
  118. }
  119. rawset(g.Players,"Red_Jack142",g.Players.Red_Jack142)
  120. g.service = g.GetService
  121.  
  122. g.RunService = FakeService({
  123. RenderStepped = _rg:GetService("RunService").Heartbeat,
  124. BindToRenderStep = function(self,name,_,fun)
  125.  
  126. end,
  127. UnbindFromRenderStep = function(self,name)
  128. self._btrs[name]:Disconnect()
  129. end,
  130. },"RunService")
  131.  
  132. setmetatable(g,{
  133. __index=function(self,s)
  134. return _rg:GetService(s) or typeof(_rg[s])=="function"
  135. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  136. end,
  137. __newindex = fsmt.__newindex,
  138. __call = fsmt.__call
  139. })
  140. game,Red_Jack142 = Red_Jack142
  141. end
  142.  
  143. wait(0.2)
  144.  
  145. Player = Red_Jack142
  146. PlayerGui = Player.PlayerGui
  147. Cam = workspace.CurrentCamera
  148. Backpack = Player.Backpack
  149. Character = Player.Character
  150. Humanoid = Character.Humanoid
  151. RootPart = Character["HumanoidRootPart"]
  152. Torso = Character["Torso"]
  153. Head = Character["Head"]
  154. RightArm = Character["Right Arm"]
  155. LeftArm = Character["Left Arm"]
  156. RightLeg = Character["Right Leg"]
  157. LeftLeg = Character["Left Leg"]
  158. RootJoint = RootPart["RootJoint"]
  159. Neck = Torso["Neck"]
  160. RightShoulder = Torso["Right Shoulder"]
  161. LeftShoulder = Torso["Left Shoulder"]
  162. RightHip = Torso["Right Hip"]
  163. LeftHip = Torso["Left Hip"]
  164. local sick = Instance.new("Sound",Character)
  165. sick.SoundId = "rbxassetid://142603362"
  166. sick.Looped = true
  167. sick.Pitch = 1
  168. sick.Volume = 1
  169. sick:Play()
  170.  
  171. IT = Instance.new
  172. CF = CFrame.new
  173. VT = Vector3.new
  174. RAD = math.rad
  175. C3 = Color3.new
  176. UD2 = UDim2.new
  177. BRICKC = BrickColor.new
  178. ANGLES = CFrame.Angles
  179. EULER = CFrame.fromEulerAnglesXYZ
  180. COS = math.cos
  181. ACOS = math.acos
  182. SIN = math.sin
  183. ASIN = math.asin
  184. ABS = math.abs
  185. MRANDOM = math.random
  186. FLOOR = math.floor
  187. Class_Name = "₩₳ⱤĐɆ₦.exe"
  188. Editor_Name = "JkBananaPill_H2O"
  189.  
  190.  
  191. --//=================================\\
  192. --|| USEFUL VALUES
  193. --\\=================================//
  194.  
  195. Animation_Speed = 3
  196. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  197. local Speed = 15
  198. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  199. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  200. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  201. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  202. local DAMAGEMULTIPLIER = 1
  203. local ANIM = "Idle"
  204. local ATTACK = false
  205. local EQUIPPED = false
  206. local HOLD = false
  207. local COMBO = 1
  208. local Rooted = false
  209. local SINE = 0
  210. local KEYHOLD = false
  211. local CHANGE = 2 / Animation_Speed
  212. local WALKINGANIM = false
  213. local VALUE1 = false
  214. local VALUE2 = false
  215. local ROBLOXIDLEANIMATION = IT("Animation")
  216. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  217. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  218. --ROBLOXIDLEANIMATION.Parent = Humanoid
  219. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  220. WEAPONGUI.Name = "Weapon GUI"
  221. local Effects = IT("Folder", Character)
  222. Effects.Name = "Effects"
  223. local ANIMATOR = Humanoid.Animator
  224. local ANIMATE = Character.Animate
  225. local UNANCHOR = true
  226. local PLAYMAINANIM = true
  227. local BOLTSOUNDS = {168586621,168586586,178452241}
  228.  
  229. --//=================================\\
  230. --\\=================================//
  231. local Player = Red_Jack142
  232. function RemoveOutlines(part)
  233. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  234. end
  235. local Create = LoadLibrary("RbxUtility").Create
  236.  
  237. CFuncs = {
  238. ["Part"] = {
  239. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  240. local Part = Create("Part"){
  241. Parent = Parent,
  242. Reflectance = Reflectance,
  243. Transparency = Transparency,
  244. CanCollide = false,
  245. Locked = true,
  246. BrickColor = BrickColor.new(tostring(BColor)),
  247. Name = Name,
  248. Size = Size,
  249. Material = Material,
  250. }
  251. RemoveOutlines(Part)
  252. return Part
  253. end;
  254. };
  255. ["Sound"] = {
  256. Create = function(id, par, vol, pit)
  257. coroutine.resume(coroutine.create(function()
  258. local S = Create("Sound"){
  259. Volume = vol,
  260. Pitch = pit or 1,
  261. SoundId = id,
  262. Parent = par or workspace,
  263. }
  264. wait()
  265. S:play()
  266. game:GetService("Debris"):AddItem(S, 6)
  267. end))
  268. end;
  269. };
  270. }
  271.  
  272. local toggleTag = true
  273. local txt = Instance.new("BillboardGui", Head)
  274. txt.Adornee = nil
  275. txt.Name = "NameDetect"
  276. txt.Size = UDim2.new(4, 0, 1.2, 0)
  277. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  278. local text = Instance.new("TextLabel", txt)
  279. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  280. text.FontSize = "Size8"
  281. text.TextScaled = true
  282. text.TextTransparency = 0
  283. text.BackgroundTransparency = 1
  284. text.TextTransparency = 0
  285. text.TextStrokeTransparency = 0
  286. text.Font = "Garamond"
  287. text.TextStrokeColor3 = Color3.new(0,1,1)
  288. text.TextColor3 = Color3.new(0,0,0)
  289. text.Text = "The Warden Of The City"
  290.  
  291. local Char = Character
  292.  
  293. function RecolorTextAndRename(name,col1,col2)
  294. text.TextStrokeColor3 = col2
  295. text.TextColor3 = col1
  296. text.Text = name
  297. end
  298. RecolorTextAndRename("The Banisher Of The City",Color3.new(0,0,0),Color3.new(0,0,1))
  299.  
  300. function chatfunc(text)
  301. local chat = coroutine.wrap(function()
  302. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  303. Char:FindFirstChild("TalkingBillBoard"):destroy()
  304. end
  305. local naeeym2 = Instance.new("BillboardGui",Char)
  306. naeeym2.Size = UDim2.new(0,100,0,40)
  307. naeeym2.StudsOffset = Vector3.new(0,3,0)
  308. naeeym2.Adornee = Char.Head
  309. naeeym2.Name = "TalkingBillBoard"
  310. local tecks2 = Instance.new("TextLabel",naeeym2)
  311. tecks2.BackgroundTransparency = 1
  312. tecks2.BorderSizePixel = 0
  313. tecks2.Text = ""
  314. tecks2.Font = "Antique"
  315. tecks2.TextSize = 30
  316. tecks2.TextStrokeTransparency = 0
  317. tecks2.TextColor3 = Color3.new(.6,0,0)
  318. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  319. tecks2.Size = UDim2.new(1,0,0.5,0)
  320. local tecks3 = Instance.new("TextLabel",naeeym2)
  321. tecks3.BackgroundTransparency = 1
  322. tecks3.BorderSizePixel = 0
  323. tecks3.Text = ""
  324. tecks3.Font = "Antique"
  325. tecks3.TextSize = 30
  326. tecks3.TextStrokeTransparency = 0
  327. tecks3.TextColor3 = BrickColor.new("Hot white").Color
  328. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  329. tecks3.Size = UDim2.new(1,0,0.5,0)
  330. spawn(function()
  331. while wait() do
  332. tecks3.TextColor3 = BrickColor.random().Color
  333. tecks2.TextColor3 = BrickColor.random().Color
  334. end
  335. end)
  336. for i = 1,string.len(text),1 do
  337. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=418252437", Char, 1, 1)
  338. tecks2.Text = string.sub(text,1,i)
  339. tecks3.Text = string.sub(text,1,i)
  340. wait(0.01)
  341. end
  342. wait(2)
  343. for i = 1, 50 do
  344. Swait()
  345. tecks2.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  346. tecks2.Rotation = tecks2.Rotation - .8
  347. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  348. tecks2.TextTransparency = tecks2.TextTransparency + .04
  349. tecks3.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  350. tecks3.Rotation = tecks2.Rotation + .8
  351. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  352. tecks3.TextTransparency = tecks2.TextTransparency + .04
  353. end
  354. naeeym2:Destroy()
  355. end)
  356. chat()
  357. end
  358. function onChatted(msg)
  359. chatfunc(msg)
  360. end
  361. Player.Chatted:connect(onChatted)
  362.  
  363. --//=================================\\
  364. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  365. --\\=================================//
  366.  
  367. ArtificialHB = Instance.new("BindableEvent", script)
  368. ArtificialHB.Name = "ArtificialHB"
  369.  
  370. script:WaitForChild("ArtificialHB")
  371.  
  372. frame = Frame_Speed
  373. tf = 0
  374. allowframeloss = false
  375. tossremainder = false
  376. lastframe = tick()
  377. script.ArtificialHB:Fire()
  378.  
  379. game:GetService("RunService").Heartbeat:connect(function(s, p)
  380. tf = tf + s
  381. if tf >= frame then
  382. if allowframeloss then
  383. script.ArtificialHB:Fire()
  384. lastframe = tick()
  385. else
  386. for i = 1, math.floor(tf / frame) do
  387. script.ArtificialHB:Fire()
  388. end
  389. lastframe = tick()
  390. end
  391. if tossremainder then
  392. tf = 0
  393. else
  394. tf = tf - frame * math.floor(tf / frame)
  395. end
  396. end
  397. end)
  398.  
  399. --//=================================\\
  400. --\\=================================//
  401. print(Class_Name.." Loaded")
  402. print(Editor_Name.." Edited This")
  403. --//=================================\\
  404. --|| SOME FUNCTIONS
  405. --\\=================================//
  406.  
  407. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  408. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  409. end
  410.  
  411. function PositiveAngle(NUMBER)
  412. if NUMBER >= 0 then
  413. NUMBER = 0
  414. end
  415. return NUMBER
  416. end
  417.  
  418. function NegativeAngle(NUMBER)
  419. if NUMBER <= 0 then
  420. NUMBER = 0
  421. end
  422. return NUMBER
  423. end
  424.  
  425. function Swait(NUMBER)
  426. if NUMBER == 0 or NUMBER == nil then
  427. ArtificialHB.Event:wait()
  428. else
  429. for i = 1, NUMBER do
  430. ArtificialHB.Event:wait()
  431. end
  432. end
  433. end
  434.  
  435. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  436. local NEWMESH = IT(MESH)
  437. if MESH == "SpecialMesh" then
  438. NEWMESH.MeshType = MESHTYPE
  439. if MESHID ~= "nil" and MESHID ~= "" then
  440. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  441. end
  442. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  443. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  444. end
  445. end
  446. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  447. NEWMESH.Scale = SCALE
  448. NEWMESH.Parent = PARENT
  449. return NEWMESH
  450. end
  451.  
  452. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  453. local NEWPART = IT("Part")
  454. NEWPART.formFactor = FORMFACTOR
  455. NEWPART.Reflectance = REFLECTANCE
  456. NEWPART.Transparency = TRANSPARENCY
  457. NEWPART.CanCollide = false
  458. NEWPART.Locked = true
  459. NEWPART.Anchored = true
  460. if ANCHOR == false then
  461. NEWPART.Anchored = false
  462. end
  463. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  464. NEWPART.Name = NAME
  465. NEWPART.Size = SIZE
  466. NEWPART.Position = Torso.Position
  467. NEWPART.Material = MATERIAL
  468. NEWPART:BreakJoints()
  469. NEWPART.Parent = PARENT
  470. return NEWPART
  471. end
  472.  
  473. local function weldBetween(a, b)
  474. local weldd = Instance.new("ManualWeld")
  475. weldd.Part0 = a
  476. weldd.Part1 = b
  477. weldd.C0 = CFrame.new()
  478. weldd.C1 = b.CFrame:inverse() * a.CFrame
  479. weldd.Parent = a
  480. return weldd
  481. end
  482.  
  483.  
  484. function QuaternionFromCFrame(cf)
  485. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  486. local trace = m00 + m11 + m22
  487. if trace > 0 then
  488. local s = math.sqrt(1 + trace)
  489. local recip = 0.5 / s
  490. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  491. else
  492. local i = 0
  493. if m11 > m00 then
  494. i = 1
  495. end
  496. if m22 > (i == 0 and m00 or m11) then
  497. i = 2
  498. end
  499. if i == 0 then
  500. local s = math.sqrt(m00 - m11 - m22 + 1)
  501. local recip = 0.5 / s
  502. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  503. elseif i == 1 then
  504. local s = math.sqrt(m11 - m22 - m00 + 1)
  505. local recip = 0.5 / s
  506. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  507. elseif i == 2 then
  508. local s = math.sqrt(m22 - m00 - m11 + 1)
  509. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  510. end
  511. end
  512. end
  513.  
  514. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  515. local xs, ys, zs = x + x, y + y, z + z
  516. local wx, wy, wz = w * xs, w * ys, w * zs
  517. local xx = x * xs
  518. local xy = x * ys
  519. local xz = x * zs
  520. local yy = y * ys
  521. local yz = y * zs
  522. local zz = z * zs
  523. 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))
  524. end
  525.  
  526. function QuaternionSlerp(a, b, t)
  527. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  528. local startInterp, finishInterp;
  529. if cosTheta >= 0.0001 then
  530. if (1 - cosTheta) > 0.0001 then
  531. local theta = ACOS(cosTheta)
  532. local invSinTheta = 1 / SIN(theta)
  533. startInterp = SIN((1 - t) * theta) * invSinTheta
  534. finishInterp = SIN(t * theta) * invSinTheta
  535. else
  536. startInterp = 1 - t
  537. finishInterp = t
  538. end
  539. else
  540. if (1 + cosTheta) > 0.0001 then
  541. local theta = ACOS(-cosTheta)
  542. local invSinTheta = 1 / SIN(theta)
  543. startInterp = SIN((t - 1) * theta) * invSinTheta
  544. finishInterp = SIN(t * theta) * invSinTheta
  545. else
  546. startInterp = t - 1
  547. finishInterp = t
  548. end
  549. end
  550. 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
  551. end
  552.  
  553. function Clerp(a, b, t)
  554. local qa = {QuaternionFromCFrame(a)}
  555. local qb = {QuaternionFromCFrame(b)}
  556. local ax, ay, az = a.x, a.y, a.z
  557. local bx, by, bz = b.x, b.y, b.z
  558. local _t = 1 - t
  559. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  560. end
  561.  
  562. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  563. local frame = IT("Frame")
  564. frame.BackgroundTransparency = TRANSPARENCY
  565. frame.BorderSizePixel = BORDERSIZEPIXEL
  566. frame.Position = POSITION
  567. frame.Size = SIZE
  568. frame.BackgroundColor3 = COLOR
  569. frame.BorderColor3 = BORDERCOLOR
  570. frame.Name = NAME
  571. frame.Parent = PARENT
  572. return frame
  573. end
  574.  
  575. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  576. local label = IT("TextLabel")
  577. label.BackgroundTransparency = 1
  578. label.Size = UD2(1, 0, 1, 0)
  579. label.Position = UD2(0, 0, 0, 0)
  580. label.TextColor3 = TEXTCOLOR
  581. label.TextStrokeTransparency = STROKETRANSPARENCY
  582. label.TextTransparency = TRANSPARENCY
  583. label.FontSize = TEXTFONTSIZE
  584. label.Font = TEXTFONT
  585. label.BorderSizePixel = BORDERSIZEPIXEL
  586. label.TextScaled = false
  587. label.Text = TEXT
  588. label.Name = NAME
  589. label.Parent = PARENT
  590. return label
  591. end
  592.  
  593. function NoOutlines(PART)
  594. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  595. end
  596.  
  597. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  598. local NEWWELD = IT(TYPE)
  599. NEWWELD.Part0 = PART0
  600. NEWWELD.Part1 = PART1
  601. NEWWELD.C0 = C0
  602. NEWWELD.C1 = C1
  603. NEWWELD.Parent = PARENT
  604. return NEWWELD
  605. end
  606.  
  607. local S = IT("Sound")
  608. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  609. local NEWSOUND = nil
  610. coroutine.resume(coroutine.create(function()
  611. NEWSOUND = S:Clone()
  612. NEWSOUND.Parent = PARENT
  613. NEWSOUND.Volume = VOLUME
  614. NEWSOUND.Pitch = PITCH
  615. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  616. NEWSOUND:play()
  617. if DOESLOOP == true then
  618. NEWSOUND.Looped = true
  619. else
  620. repeat wait(1) until NEWSOUND.Playing == false
  621. NEWSOUND:remove()
  622. end
  623. end))
  624. return NEWSOUND
  625. end
  626.  
  627.  
  628. local EyeSizes={
  629. NumberSequenceKeypoint.new(0,2,0),
  630. NumberSequenceKeypoint.new(1,0,0)
  631. }
  632. local EyeTrans={
  633. NumberSequenceKeypoint.new(0,0.5,0),
  634. NumberSequenceKeypoint.new(1,1,0)
  635. }
  636. local PE=Instance.new("ParticleEmitter",nil)
  637. PE.LightEmission=.8
  638. PE.Color = ColorSequence.new(BRICKC("Dark blue").Color,BRICKC("Cyan").Color)
  639. PE.Size=NumberSequence.new(EyeSizes)
  640. PE.Transparency=NumberSequence.new(EyeTrans)
  641. PE.Lifetime=NumberRange.new(0.35,1)
  642. PE.Rotation=NumberRange.new(0,360)
  643. PE.Rate=100
  644. PE.VelocitySpread = 10000
  645. PE.Acceleration = Vector3.new(0,85,0)
  646. PE.Drag = 5
  647. PE.Speed = NumberRange.new(0.1,5)
  648. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  649. PE.ZOffset = 0.5
  650. PE.Name = "PE"
  651. PE.Enabled = false
  652.  
  653. function Fire(art)
  654. local PARTICLES = PE:Clone()
  655. PARTICLES.Parent = art
  656. PARTICLES.Enabled = true
  657. return PARTICLES
  658. end
  659.  
  660. function CFrameFromTopBack(at, top, back)
  661. local right = top:Cross(back)
  662. 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)
  663. end
  664.  
  665. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  666. function WACKYEFFECT(Table)
  667. local TYPE = (Table.EffectType or "Sphere")
  668. local SIZE = (Table.Size or VT(1,1,1))
  669. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  670. local TRANSPARENCY = (Table.Transparency or 0)
  671. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  672. local CFRAME = (Table.CFrame or Torso.CFrame)
  673. local MOVEDIRECTION = (Table.MoveToPos or nil)
  674. local ROTATION1 = (Table.RotationX or 0)
  675. local ROTATION2 = (Table.RotationY or 0)
  676. local ROTATION3 = (Table.RotationZ or 0)
  677. local MATERIAL = (Table.Material or "Neon")
  678. local COLOR = (Table.Color or C3(1,1,1))
  679. local TIME = (Table.Time or 45)
  680. local SOUNDID = (Table.SoundID or nil)
  681. local SOUNDPITCH = (Table.SoundPitch or nil)
  682. local SOUNDVOLUME = (Table.SoundVolume or nil)
  683. coroutine.resume(coroutine.create(function()
  684. local PLAYSSOUND = false
  685. local SOUND = nil
  686. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark blue"), "Effect", VT(1,1,1), true)
  687. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  688. PLAYSSOUND = true
  689. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  690. end
  691. EFFECT.Color = COLOR
  692. local MSH = nil
  693. if TYPE == "Sphere" then
  694. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  695. elseif TYPE == "Block" or TYPE == "Box" then
  696. MSH = IT("BlockMesh",EFFECT)
  697. MSH.Scale = SIZE
  698. elseif TYPE == "Wave" then
  699. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  700. elseif TYPE == "Ring" then
  701. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  702. elseif TYPE == "Slash" then
  703. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  704. elseif TYPE == "Round Slash" then
  705. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  706. elseif TYPE == "Swirl" then
  707. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  708. elseif TYPE == "Skull" then
  709. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  710. elseif TYPE == "Crystal" then
  711. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  712. end
  713. if MSH ~= nil then
  714. local MOVESPEED = nil
  715. if MOVEDIRECTION ~= nil then
  716. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  717. end
  718. local GROWTH = SIZE - ENDSIZE
  719. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  720. if TYPE == "Block" then
  721. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  722. else
  723. EFFECT.CFrame = CFRAME
  724. end
  725. for LOOP = 1, TIME+1 do
  726. Swait()
  727. MSH.Scale = MSH.Scale - GROWTH/TIME
  728. if TYPE == "Wave" then
  729. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  730. end
  731. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  732. if TYPE == "Block" then
  733. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  734. else
  735. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  736. end
  737. if MOVEDIRECTION ~= nil then
  738. local ORI = EFFECT.Orientation
  739. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  740. EFFECT.Orientation = ORI
  741. end
  742. end
  743. if PLAYSSOUND == false then
  744. EFFECT:remove()
  745. else
  746. repeat wait(1) until SOUND.Playing == false
  747. EFFECT:remove()
  748. end
  749. else
  750. if PLAYSSOUND == false then
  751. EFFECT:remove()
  752. else
  753. repeat Swait() until SOUND.Playing == false
  754. EFFECT:remove()
  755. end
  756. end
  757. end))
  758. end
  759.  
  760. function MakeForm(PART,TYPE)
  761. if TYPE == "Cyl" then
  762. local MSH = IT("CylinderMesh",PART)
  763. elseif TYPE == "Ball" then
  764. local MSH = IT("SpecialMesh",PART)
  765. MSH.MeshType = "Sphere"
  766. elseif TYPE == "Wedge" then
  767. local MSH = IT("SpecialMesh",PART)
  768. MSH.MeshType = "Wedge"
  769. end
  770. end
  771.  
  772. Debris = game:GetService("Debris")
  773.  
  774. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  775. local DIRECTION = CF(StartPos,EndPos).lookVector
  776. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  777. end
  778.  
  779. local HATWELD = nil
  780. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  781. PLAYMAINANIM = false
  782. if WhichPose == "Cast1" then
  783. for i=0, Time, 0.1 / Animation_Speed do
  784. Swait()
  785. if Magic == true then
  786. 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"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  787. end
  788. if Gyro ~= nil and Gyro ~= false then
  789. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  790. end
  791. 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)
  792. 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)
  793. 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)
  794. 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)
  795. 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)
  796. 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)
  797. end
  798. elseif WhichPose == "Cast2" then
  799. for i=0, Time, 0.1 / Animation_Speed do
  800. Swait()
  801. if Magic == true then
  802. 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"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  803. 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"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  804. end
  805. if Gyro ~= nil and Gyro ~= false then
  806. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  807. end
  808. 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)
  809. 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)
  810. 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)
  811. 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)
  812. 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)
  813. 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)
  814. end
  815. elseif WhichPose == "RightArmUp" then
  816. for i=0, Time, 0.1 / Animation_Speed do
  817. Swait()
  818. if Magic == true then
  819. 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"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  820. end
  821. if Gyro ~= nil and Gyro ~= false then
  822. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  823. end
  824. 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)
  825. 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)
  826. 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)
  827. 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)
  828. 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)
  829. 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)
  830. end
  831. elseif WhichPose == "Taunt" then
  832. for i=0, Time, 0.1 / Animation_Speed do
  833. Swait()
  834. 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)
  835. 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)
  836. 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)
  837. 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)
  838. 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)
  839. 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)
  840. end
  841. HATWELD.Part0 = RightArm
  842. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  843. CreateSound(137473066,Torso,10,1,false)
  844. for i=0, Time*2, 0.1 / Animation_Speed do
  845. Swait()
  846. 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)
  847. 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)
  848. 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)
  849. 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)
  850. 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)
  851. 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)
  852. end
  853. for i=0, Time, 0.1 / Animation_Speed do
  854. Swait()
  855. 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)
  856. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  857. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  858. 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)
  859. 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)
  860. 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)
  861. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  862. end
  863. HATWELD.Part0 = Head
  864. HATWELD.C0 = CF(0,0.35,0)
  865. elseif WhichPose == "Prepare key" then
  866. for i=0, Time, 0.1 / Animation_Speed do
  867. Swait()
  868. if Gyro ~= nil and Gyro ~= false then
  869. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  870. end
  871. 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)
  872. 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)
  873. 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)
  874. 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)
  875. 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)
  876. 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)
  877. end
  878. elseif WhichPose == "Turn key" then
  879. for i=0, Time, 0.1 / Animation_Speed do
  880. Swait()
  881. if Gyro ~= nil and Gyro ~= false then
  882. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  883. end
  884. 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)
  885. 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)
  886. 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)
  887. 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)
  888. 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)
  889. 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)
  890. end
  891. end
  892. PLAYMAINANIM = true
  893. end
  894.  
  895. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  896. function Lightning(Table)
  897. local Color = Table.Color or C3(1,1,1)
  898. local StartPos = Table.Start or Torso.Position
  899. local EndPos = Table.End or Mouse.Hit.p
  900. local SegmentLength = Table.SegmentL or 2
  901. local Thickness = Table.Thickness or 0.1
  902. local Dissapear = Table.DoesFade or false
  903. local Parent = Table.Ignore or Character
  904. local MaxDist = Table.MaxDist or 400
  905. local Branches = Table.Branches or false
  906. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  907. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  908. local LIGHTNINGMODEL = IT("Model",Effects)
  909. LIGHTNINGMODEL.Name = "Lightning"
  910. local LastBolt = nil
  911. for E = 1, DISTANCE do
  912. local ExtraSize = (DISTANCE-E)/15
  913. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Dark blue"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  914. PART.Color = Color
  915. MakeForm(PART,"Cyl")
  916. if LastBolt == nil then
  917. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  918. else
  919. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  920. end
  921. LastBolt = PART
  922. if Branches == true then
  923. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  924. if CHOICE == 1 then
  925. local LASTBRANCH = nil
  926. for i = 1, MRANDOM(2,5) do
  927. local ExtraSize2 = ((DISTANCE-E)/25)/i
  928. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Dark blue"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  929. PART.Color = Color
  930. MakeForm(PART,"Cyl")
  931. if LASTBRANCH == nil then
  932. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  933. else
  934. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  935. end
  936. LASTBRANCH = PART
  937. end
  938. end
  939. end
  940. end
  941. if Dissapear == true then
  942. coroutine.resume(coroutine.create(function()
  943. for i = 1, 10 do
  944. Swait()
  945. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  946. if c.ClassName == "Part" then
  947. c.Transparency = i/10
  948. end
  949. end
  950. end
  951. LIGHTNINGMODEL:remove()
  952. end))
  953. elseif Dissapear == false then
  954. Debris:AddItem(LIGHTNINGMODEL,0.1)
  955. end
  956. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  957. end
  958.  
  959. --//=================================\\
  960. --|| WEAPON CREATION
  961. --\\=================================//
  962.  
  963. for i = 1, 15 do
  964. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  965. FACE.Color = C3(0,0,0)
  966. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  967. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  968. end
  969. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(2,0.2,2),false)
  970. MakeForm(HAT1,"Cyl")
  971. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  972. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(2.01,0.15,2.01),false)
  973. BELT.Color = C3(15/255,15/255,15/255)
  974. MakeForm(BELT,"Cyl")
  975. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  976. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.3,2.2,1.3),false)
  977. MakeForm(HAT2,"Cyl")
  978. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  979. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.2,1.31),false)
  980. BELT.Color = C3(15/255,15/255,15/255)
  981. MakeForm(BELT,"Cyl")
  982. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  983. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.25,0.25,0.1),false)
  984. MakeForm(GEM,"Ball")
  985. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  986. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.25,0.25,0.1),false)
  987. MakeForm(GEM,"Ball")
  988. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  989. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.1,0.25,0.25),false)
  990. MakeForm(GEM,"Ball")
  991. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  992. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.1,0.25,0.25),false)
  993. MakeForm(GEM,"Ball")
  994. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  995. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  996. BELT.Color = C3(15/255,15/255,15/255)
  997. MakeForm(BELT,"Cyl")
  998. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  999. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  1000. BELT.Color = C3(15/255,15/255,15/255)
  1001. MakeForm(BELT,"Cyl")
  1002. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  1003. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  1004. BELT.Color = C3(15/255,15/255,15/255)
  1005. MakeForm(BELT,"Cyl")
  1006. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  1007. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  1008. BELT.Color = C3(15/255,15/255,15/255)
  1009. MakeForm(BELT,"Cyl")
  1010. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  1011. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.3,0.5,1.3),false)
  1012. MakeForm(BELT,"Ball")
  1013. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  1014. Humanoid.DisplayDistanceType = "None"
  1015.  
  1016. local Particle = IT("ParticleEmitter",nil)
  1017. Particle.Enabled = false
  1018. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1019. Particle.LightEmission = 0.5
  1020. Particle.Rate = 150
  1021. Particle.ZOffset = 0.2
  1022. Particle.Rotation = NumberRange.new(-180, 180)
  1023. Particle.RotSpeed = NumberRange.new(-180, 180)
  1024. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1025. Particle.Color = ColorSequence.new(C3(0,0,255),C3(0,255,255))
  1026. local Particle2 = IT("ParticleEmitter",nil)
  1027. Particle2.Enabled = false
  1028. Particle2.Texture = "http://www.roblox.com/asset/?id=1369397597"
  1029. Particle2.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
  1030. Particle2.LightEmission = 0
  1031. Particle2.RotSpeed = NumberRange.new(0, 180)
  1032. Particle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1033. Particle2.LightEmission = 1
  1034. Particle2.Rate = 20
  1035. Particle2.RotSpeed = NumberRange.new(-20, 20)
  1036. local Particle3 = IT("ParticleEmitter",nil)
  1037. Particle3.Enabled = false
  1038. Particle3.Texture = "http://www.roblox.com/asset/?id=1546470121"
  1039. Particle3.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
  1040. Particle3.LightEmission = 0
  1041. Particle3.RotSpeed = NumberRange.new(0, 180)
  1042. Particle3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.7),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
  1043. Particle3.LightEmission = 1
  1044. Particle3.Rate = 20
  1045. Particle3.RotSpeed = NumberRange.new(-20, 20)
  1046. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1047. function ParticleEmitter(Table)
  1048. local PRTCL = Particle:Clone()
  1049. local Speed = Table.Speed or 5
  1050. local Drag = Table.Drag or 0
  1051. local Size1 = Table.Size1 or 1
  1052. local Size2 = Table.Size2 or 5
  1053. local Lifetime1 = Table.Lifetime1 or 1
  1054. local Lifetime2 = Table.Lifetime2 or 1.5
  1055. local Parent = Table.Parent or Torso
  1056. local Emit = Table.Emit or 100
  1057. local Offset = Table.Offset or 360
  1058. local Acel = Table.Acel or VT(0,0,0)
  1059. local Enabled = Table.Enabled or false
  1060. PRTCL.Parent = Parent
  1061. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1062. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1063. PRTCL.Speed = NumberRange.new(Speed)
  1064. PRTCL.VelocitySpread = Offset
  1065. PRTCL.Drag = Drag
  1066. PRTCL.Acceleration = Acel
  1067. if Enabled == false then
  1068. PRTCL:Emit(Emit)
  1069. Debris:AddItem(PRTCL,Lifetime2)
  1070. else
  1071. PRTCL.Enabled = true
  1072. end
  1073. return PRTCL
  1074. end
  1075. function ParticleEmitter2(Table)
  1076. local PRTCL2 = Particle2:Clone()
  1077. local LockedToPart = Table.LTP or true
  1078. local Speed = Table.Speed or 0
  1079. local Drag = Table.Drag or 0
  1080. local Size1 = Table.Size1 or 1
  1081. local Size2 = Table.Size2 or 2
  1082. local Lifetime1 = Table.Lifetime1 or 1
  1083. local Lifetime2 = Table.Lifetime2 or 1
  1084. local Parent = Table.Parent or Torso
  1085. local Emit = Table.Emit or 100
  1086. local Offset = Table.Offset or 360
  1087. local Acel = Table.Acel or VT(0,0,0)
  1088. local Enabled = Table.Enabled or false
  1089. PRTCL2.Parent = Parent
  1090. PRTCL2.Size = NumberSequence.new(Size1,Size2)
  1091. PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1092. PRTCL2.Speed = NumberRange.new(Speed)
  1093. PRTCL2.VelocitySpread = Offset
  1094. PRTCL2.Drag = Drag
  1095. PRTCL2.Acceleration = Acel
  1096. PRTCL2.Parent = Parent
  1097. PRTCL2.Size = NumberSequence.new(Size1,Size2)
  1098. PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1099. PRTCL2.Speed = NumberRange.new(Speed)
  1100. PRTCL2.VelocitySpread = Offset
  1101. PRTCL2.Drag = Drag
  1102. PRTCL2.Acceleration = Acel
  1103. PRTCL2.LockedToPart = true
  1104. if Enabled == false then
  1105. PRTCL2:Emit(Emit)
  1106. Debris:AddItem(PRTCL2,Lifetime2)
  1107. else
  1108. PRTCL2.Enabled = true
  1109. end
  1110. return PRTCL2
  1111. end
  1112. function ParticleEmitter3(Table)
  1113. local PRTCL3 = Particle2:Clone()
  1114. local Speed = Table.Speed or 0
  1115. local Drag = Table.Drag or 0
  1116. local Size1 = Table.Size1 or 1
  1117. local Size2 = Table.Size2 or 2
  1118. local Lifetime1 = Table.Lifetime1 or 1
  1119. local Lifetime2 = Table.Lifetime2 or 1
  1120. local Parent = Table.Parent or Torso
  1121. local Emit = Table.Emit or 100
  1122. local Offset = Table.Offset or 0
  1123. local Acel = Table.Acel or VT(0,0,0)
  1124. local Enabled = Table.Enabled or false
  1125. PRTCL3.Parent = Parent
  1126. PRTCL3.Size = NumberSequence.new(Size1,Size2)
  1127. PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1128. PRTCL3.Speed = NumberRange.new(Speed)
  1129. PRTCL3.VelocitySpread = Offset
  1130. PRTCL3.Drag = Drag
  1131. PRTCL3.Acceleration = Acel
  1132. PRTCL3.Parent = Parent
  1133. PRTCL3.Size = NumberSequence.new(Size1,Size2)
  1134. PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1135. PRTCL3.Speed = NumberRange.new(Speed)
  1136. PRTCL3.VelocitySpread = Offset
  1137. PRTCL3.Drag = Drag
  1138. PRTCL3.Acceleration = Acel
  1139. if Enabled == false then
  1140. PRTCL3:Emit(Emit)
  1141. Debris:AddItem(PRTCL3,Lifetime2)
  1142. else
  1143. PRTCL3.Enabled = true
  1144. end
  1145. return PRTCL3
  1146. end
  1147.  
  1148. local Weapon1 = IT("Model")
  1149. Weapon1.Name = "Pistol"
  1150.  
  1151. local Handle = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1152. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1153. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1154. MakeForm(Part,"Wedge")
  1155. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1156. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1157. MakeForm(Part,"Wedge")
  1158. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1159. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1160. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1161. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1162. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1163. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1164. MakeForm(Part,"Cyl")
  1165. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1166. for i = 1, 8 do
  1167. local Piece = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1168. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1169. end
  1170. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),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. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1174. MakeForm(Part,"Ball")
  1175. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1176. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1177. MakeForm(Part,"Wedge")
  1178. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1179. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1180. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1181. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1182. MakeForm(Part,"Cyl")
  1183. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1184. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1185. MakeForm(Part,"Cyl")
  1186. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1187. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1188. MakeForm(Part,"Cyl")
  1189. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1190. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1191. MakeForm(Part,"Wedge")
  1192. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1193. local LASTPART = Handle
  1194. for i = 1, 10 do
  1195. if LASTPART == Handle then
  1196. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1197. LASTPART = Part
  1198. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1199. else
  1200. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1201. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1202. LASTPART = Part
  1203. end
  1204. end
  1205.  
  1206. local Barrel = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1207. MakeForm(Barrel,"Cyl")
  1208. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1209. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1210. MakeForm(Part,"Cyl")
  1211. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1212. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1213. MakeForm(Part,"Wedge")
  1214. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1215. local Hole = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1216. MakeForm(Hole,"Cyl")
  1217. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1218. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1219. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1220. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1221. local Part = CreatePart(3, Weapon1, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1222. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1223. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1224. coroutine.resume(coroutine.create(function()
  1225. while wait() do
  1226. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1227. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1228. end
  1229. end))
  1230. --PARTICLES REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
  1231. --[[
  1232. YEAH BOIIIIIIIII
  1233. PARTICLE TIME
  1234. --]]
  1235. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1236. --ParticleEmitter3({Speed = 0, Drag = 0, Size1 = 20, Size2 = 25, Lifetime1 = 0.3, Lifetime2 = 1, Parent = Barrel, Emit = 100, Offset = 0, Enabled = true, Acel = VT(0,0,0)})
  1237. ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1238. ParticleEmitter2({Speed = 0, Drag = 0, Size1 = .5, Size2 = 1, Lifetime1 = 1, Lifetime2 = 1, Parent = Hole, Emit = 20, Offset = 360, Enabled = true, Acel = VT(0,0,0)})
  1239. ParticleEmitter2({Speed = 0, Drag = 0, Size1 = 3, Size2 = 1, Lifetime1 = 1, Lifetime2 = 2, Parent = Handle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,0,0)})
  1240. --Trails
  1241. local A1 = Instance.new("Attachment",Barrel)
  1242. local A2 = Instance.new("Attachment",Barrel)
  1243. local Trail = Instance.new("Trail",Barrel)
  1244. A1.Position = Vector3.new(0,1,0)
  1245. A2.Position = Vector3.new(0,-0.8,0)
  1246. Trail.Attachment0 = A1
  1247. Trail.Attachment1 = A2
  1248. Trail.LightEmission = 1
  1249. Trail.Color = ColorSequence.new(Color3.new(0,0,255),Color3.new(0,255,255))
  1250. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
  1251. for _, c in pairs(Weapon1:GetDescendants()) do
  1252. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1253. c.Material = "Glass"
  1254. c.Color = C3(0,0,0)
  1255. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1256. c.Color = C3(0,0,1)
  1257. c.Material = "Neon"
  1258. end
  1259. end
  1260.  
  1261. local TOBANISH = {}
  1262.  
  1263. Weapon1.Parent = Character
  1264. for _, c in pairs(Weapon1:GetChildren()) do
  1265. if c.ClassName == "Part" then
  1266. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1267. end
  1268. end
  1269.  
  1270. local SKILLTEXTCOLOR = C3(0,0,1)
  1271. local SKILLFONT = "Antique"
  1272. local SKILLTEXTSIZE = 7
  1273.  
  1274. Humanoid.Died:connect(function()
  1275. ATTACK = true
  1276. end)
  1277.  
  1278. 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")
  1279. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1280. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1281. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1282. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1283. --]]
  1284. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1285. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1286. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1287. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1288. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1289. --]]
  1290. function printbye(Name)
  1291. 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, "}
  1292. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1293.  
  1294. end
  1295.  
  1296. workspace.ChildAdded:connect(function(instance)
  1297. for BANISH = 1, #TOBANISH do
  1298. if TOBANISH[BANISH] ~= nil then
  1299. if instance.Name == TOBANISH[BANISH] then
  1300. coroutine.resume(coroutine.create(function()
  1301. printbye(instance.Name)
  1302. instance:ClearAllChildren()
  1303. Debris:AddItem(instance,0.0005)
  1304. end))
  1305. end
  1306. end
  1307. end
  1308. end)
  1309.  
  1310. local Char = Character
  1311. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  1312. MakeForm(Eye,"Ball")
  1313. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1314. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  1315. MakeForm(Eye,"Ball")
  1316. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1317. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
  1318. MakeForm(Eye,"Ball")
  1319. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1320. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
  1321. MakeForm(Eye,"Ball")
  1322. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1323.  
  1324. local top = Instance.new("Shirt")
  1325. top.ShirtTemplate = "rbxassetid://1533327933"
  1326. top.Parent = Character
  1327. top.Name = "Cloth"
  1328. local bottom = Instance.new("Pants")
  1329. bottom.PantsTemplate = "rbxassetid://1689251873"
  1330. bottom.Parent = Character
  1331. bottom.Name = "Cloth"
  1332. for _, c in pairs(Character:GetChildren()) do
  1333. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  1334. c.Material = "Neon"
  1335. if c:FindFirstChildOfClass("ParticleEmitter") then
  1336. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1337. end
  1338. c.Color = C3(1,1,1)
  1339. if c == Head then
  1340. if c:FindFirstChild("face") then
  1341. c.face:remove()
  1342. end
  1343. end
  1344. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1345. c:remove()
  1346. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1347. c:remove()
  1348. end
  1349. end
  1350. local BODY = {}
  1351. for _, c in pairs(Character:GetDescendants()) do
  1352. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1353. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1354. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1355. end
  1356. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1357. elseif c:IsA("JointInstance") then
  1358. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1359. end
  1360. end
  1361. for e = 1, #BODY do
  1362. if BODY[e] ~= nil then
  1363. local STUFF = BODY[e]
  1364. local PART = STUFF[1]
  1365. local PARENT = STUFF[2]
  1366. local MATERIAL = STUFF[3]
  1367. local COLOR = STUFF[4]
  1368. local TRANSPARENCY = STUFF[5]
  1369. if PART.ClassName == "Part" and PART ~= RootPart then
  1370. PART.Material = MATERIAL
  1371. PART.Color = COLOR
  1372. PART.Transparency = TRANSPARENCY
  1373. end
  1374. PART.AncestryChanged:Connect(function()
  1375. PART.Parent = PARENT
  1376. end)
  1377. end
  1378. end
  1379. function refit()
  1380. Character.Parent = workspace
  1381. for e = 1, #BODY do
  1382. if BODY[e] ~= nil then
  1383. local STUFF = BODY[e]
  1384. local PART = STUFF[1]
  1385. local PARENT = STUFF[2]
  1386. local MATERIAL = STUFF[3]
  1387. local COLOR = STUFF[4]
  1388. local TRANSPARENCY = STUFF[5]
  1389. if PART.ClassName == "Part" and PART ~= RootPart then
  1390. PART.Material = MATERIAL
  1391. PART.Color = COLOR
  1392. PART.Transparency = TRANSPARENCY
  1393. end
  1394. if PART.Parent ~= PARENT then
  1395. Humanoid:remove()
  1396. PART.Parent = PARENT
  1397. Humanoid = IT("Humanoid",Character)
  1398. end
  1399. end
  1400. end
  1401. end
  1402. local SKILLTEXTCOLOR = BRICKC"".Color
  1403. local SKILLFONT = "Bodoni"
  1404. local SKILLTEXTSIZE = 7
  1405.  
  1406. Humanoid.Died:connect(function()
  1407. refit()
  1408. end)
  1409.  
  1410.  
  1411. --//=================================\\
  1412. --|| DAMAGING
  1413. --\\=================================//
  1414.  
  1415. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  1416. local CHILDREN = workspace:GetDescendants()
  1417. for index, CHILD in pairs(CHILDREN) do
  1418. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1419. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1420. if HUM then
  1421. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1422. if TORSO then
  1423. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1424. CHILD:BreakJoints()
  1425. if FLING ~= 0 then
  1426. for _, c in pairs(CHILD:GetChildren()) do
  1427. if c:IsA("BasePart") and c.Transparency == 0 then
  1428. if BURN == true then
  1429. Fire(c)
  1430. end
  1431. local bv = Instance.new("BodyVelocity")
  1432. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1433. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1434. bv.Parent = c
  1435. Debris:AddItem(bv,0.05)
  1436. end
  1437. end
  1438. end
  1439. end
  1440. end
  1441. end
  1442. end
  1443. end
  1444. end
  1445.  
  1446. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1447. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1448. local mesh = IT("SpecialMesh", wave)
  1449. mesh.MeshType = "Sphere"
  1450. mesh.Scale = SIZE
  1451. mesh.Offset = VT(0, 0, 0)
  1452. wave.CFrame = CFRAME
  1453. coroutine.resume(coroutine.create(function(PART)
  1454. for i = 1, WAIT do
  1455. Swait()
  1456. mesh.Scale = mesh.Scale + GROW
  1457. wave.Transparency = wave.Transparency + 1 / WAIT
  1458. if wave.Transparency > 0.99 then
  1459. wave:remove()
  1460. end
  1461. end
  1462. end))
  1463. end
  1464.  
  1465. function CastWarpOutlines(TARGET)
  1466. coroutine.resume(coroutine.create(function()
  1467. local T = TARGET:GetChildren()
  1468. for i = 1, #T do
  1469. local child = T[i]
  1470. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  1471. do
  1472. local clone = child:Clone()
  1473. clone.Parent = Effects
  1474. clone.Anchored = true
  1475. clone.CanCollide = false
  1476. clone:ClearAllChildren()
  1477. clone.CFrame = child.CFrame
  1478. if clone.Name == "Head" then
  1479. clone.Size = VT(clone.Size.Y, clone.Size.Y, clone.Size.Y)
  1480. end
  1481. if clone.ClassName == "MeshPart" then
  1482. clone.TextureID = ""
  1483. end
  1484. clone.Color = C3(1, 0, 0)
  1485. clone.Material = "Neon"
  1486. coroutine.resume(coroutine.create(function()
  1487. for i = 1, 100 do
  1488. Swait()
  1489. clone.Transparency = clone.Transparency + 0.01
  1490. clone.Size = clone.Size + VT(0.001, 0.001, 0.001)
  1491. end
  1492. clone:remove()
  1493. end))
  1494. end
  1495. end
  1496. end
  1497. end))
  1498. end
  1499.  
  1500. local Delete = IT("Model", Character)
  1501. Delete.Name = "Those who must be banished."
  1502.  
  1503. function killnearest(position, range, maxstrength)
  1504. for i, v in ipairs(workspace:GetChildren()) do
  1505. local body = v:GetChildren()
  1506. for part = 1, #body do
  1507. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" then
  1508. CastWarpOutlines(v)
  1509. v:remove()
  1510. if game.Players:FindFirstChild(v.Name) then
  1511. local Value = IT("BoolValue", Delete)
  1512. Value.Name = v.Name
  1513. end
  1514. end
  1515. end
  1516. end
  1517. end
  1518.  
  1519. function Kill(Char)
  1520. local NewCharacter = IT("Model",Effects)
  1521. NewCharacter.Name = "Ow im ded ;-;"
  1522. for _, c in pairs(Char:GetDescendants()) do
  1523. if c:IsA("BasePart") and c.Transparency == 0 then
  1524. if c.Parent == Char then
  1525. getbloody(c,5)
  1526. end
  1527. c:BreakJoints()
  1528. c.Material = "Glass"
  1529. c.Color = C3(0.5,0,0)
  1530. c.CanCollide = true
  1531. c.Transparency = 0.3
  1532. if c:FindFirstChildOfClass("SpecialMesh") then
  1533. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1534. end
  1535. if c.Name == "Head" then
  1536. c:ClearAllChildren()
  1537. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1538. end
  1539. if c.ClassName == "MeshPart" then
  1540. c.TextureID = ""
  1541. end
  1542. if c:FindFirstChildOfClass("BodyPosition") then
  1543. c:FindFirstChildOfClass("BodyPosition"):remove()
  1544. end
  1545. if c:FindFirstChildOfClass("ParticleEmitter") then
  1546. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1547. end
  1548. c.Parent = NewCharacter
  1549. c.Name = "DeadPart"
  1550. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1551. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1552. end
  1553. end
  1554. Char:remove()
  1555. Debris:AddItem(NewCharacter,5)
  1556. end
  1557.  
  1558. local asd = Instance.new("ParticleEmitter")
  1559. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1560. asd.LightEmission = .1
  1561. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1562. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1563. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1564. asd.Transparency = bbb
  1565. asd.Size = aaa
  1566. asd.ZOffset = .9
  1567. asd.Acceleration = Vector3.new(0, -15, 0)
  1568. asd.LockedToPart = false
  1569. asd.EmissionDirection = "Back"
  1570. asd.Lifetime = NumberRange.new(1, 2)
  1571. asd.Rotation = NumberRange.new(-100, 100)
  1572. asd.RotSpeed = NumberRange.new(-100, 100)
  1573. asd.Speed = NumberRange.new(10)
  1574. asd.Enabled = false
  1575. asd.VelocitySpread = 999
  1576.  
  1577. function getbloody(victim,amount)
  1578. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1579. PART.CFrame = victim.CFrame
  1580. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1581. Debris:AddItem(PART,5)
  1582. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1583. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1584. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1585. local prtcl = asd:Clone()
  1586. prtcl.Parent = PART
  1587. prtcl:Emit(amount*10)
  1588. end
  1589. --//=================================\\
  1590. --|| ATTACK FUNCTIONS AND STUFF
  1591. --\\=================================//
  1592. local LAUGHS = {834001699,834001752,834001797,834001828}
  1593.  
  1594. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1595. MakeForm(RightHole,"Cyl")
  1596. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1597. MakeForm(LeftHole,"Cyl")
  1598.  
  1599. function Deathbound()
  1600. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1601. ATTACK = true
  1602. Rooted = true
  1603. for i=0, 1, 0.1 / Animation_Speed do
  1604. Swait()
  1605. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1606. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1607. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1608. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1609. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1610. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1611. end
  1612. local DONE = false
  1613. local GATE = nil
  1614. local GATESPIN = true
  1615. coroutine.resume(coroutine.create(function()
  1616. repeat
  1617. Swait()
  1618. if GATE ~= nil then
  1619. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1620. end
  1621. until GATESPIN == false
  1622. end))
  1623. coroutine.resume(coroutine.create(function()
  1624. repeat
  1625. Swait()
  1626. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1627. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1628. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1629. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1630. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1631. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1632. until DONE == true
  1633. Swait(50)
  1634. for i = 1, 35 do
  1635. Swait(4)
  1636. local FIRED = false
  1637. local CHILDREN = workspace:GetDescendants()
  1638. for index, CHILD in pairs(CHILDREN) do
  1639. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1640. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1641. if HUM then
  1642. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1643. if TORSO then
  1644. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1645. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1646. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1647. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1648. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1649. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1650. Kill(CHILD)
  1651. FIRED = true
  1652. break
  1653. end
  1654. end
  1655. end
  1656. end
  1657. end
  1658. if FIRED == false then
  1659. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1660. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1661. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1662. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1663. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1664. if HITBOD ~= nil then
  1665. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1666. killnearest(HITBOD.Parent)
  1667. end
  1668. end
  1669. end
  1670. end
  1671. for i = 1, 45 do
  1672. Swait()
  1673. GATE.Size = GATE.Size - VT(3,0,3)
  1674. end
  1675. GATESPIN = false
  1676. GATE:remove()
  1677. end))
  1678. Swait(15)
  1679. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1680. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  1681. local DECAL = IT("Decal",GATE)
  1682. DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
  1683. DECAL.Face = "Top"
  1684. GATE.CFrame = CF(HITPOS)
  1685. CreateSound(160772554, GATE, 7, 1.3, false)
  1686. for i = 1, 45 do
  1687. Swait()
  1688. GATE.Size = GATE.Size + VT(3,0,3)
  1689. end
  1690. CreateSound(213603013, RightHole, 7, 1, false)
  1691. CreateSound(213603013, LeftHole, 7, 1, false)
  1692. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1693. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1694. ATTACK = false
  1695. Rooted = false
  1696. DONE = true
  1697. end
  1698.  
  1699. function Morning_Star()
  1700. ATTACK = true
  1701. Rooted = true
  1702. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1703. for i=0, 1, 0.1 / Animation_Speed do
  1704. Swait()
  1705. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1706. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1707. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1708. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1709. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1710. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1711. end
  1712. coroutine.resume(coroutine.create(function()
  1713. local POS = Mouse.Hit.p
  1714. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Teal", "Strike", VT(0,2000,0))
  1715. MakeForm(RAY,"Cyl")
  1716. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Teal", "Strike", VT(0,0,0))
  1717. MakeForm(SPHERE,"Ball")
  1718. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really blue", "Strike", VT(0,0,0))
  1719. MakeForm(SHIELD,"Ball")
  1720. SHIELD.CFrame = CF(POS)
  1721. RAY.CFrame = CF(POS)
  1722. SPHERE.CFrame = CF(POS)
  1723. CreateSound(144699494, SPHERE, 10, 0.8, false)
  1724. CreateSound(1146688617, SPHERE, 10, 0.8, false)
  1725. for i = 1, 200 do
  1726. Swait()
  1727. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1728. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1729. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1730. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1731. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1732. end
  1733. for i = 1, 45 do
  1734. Swait()
  1735. RAY.Transparency = RAY.Transparency + 1/45
  1736. SPHERE.Transparency = RAY.Transparency
  1737. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1738. end
  1739. RAY:remove()
  1740. SHIELD:remove()
  1741. SPHERE:remove()
  1742. end))
  1743. for i=0, 1, 0.1 / Animation_Speed do
  1744. Swait()
  1745. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1746. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1747. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1748. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1749. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1750. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1751. end
  1752. ATTACK = false
  1753. Rooted = false
  1754. end
  1755.  
  1756. function Teleport()
  1757. ATTACK = true
  1758. Rooted = false
  1759. for i=0, 0.5, 0.1 / Animation_Speed do
  1760. Swait()
  1761. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1762. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1763. end
  1764. for e = 1, #BODY do
  1765. if BODY[e] ~= nil then
  1766. local STUFF = BODY[e]
  1767. local PART = STUFF[1]
  1768. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1769. local PRT = PART:Clone()
  1770. PRT.Anchored = true
  1771. PRT.CanCollide = false
  1772. PRT.Material = "Neon"
  1773. PRT.Color = C3(0,0,1)
  1774. PRT.Name = "WarpEffect"
  1775. PRT.Parent = Effects
  1776. PRT.CFrame = PART.CFrame
  1777. PRT:BreakJoints()
  1778. if PRT:FindFirstChildOfClass("Sound") then
  1779. PRT:FindFirstChildOfClass("Sound"):remove()
  1780. end
  1781. if PRT:FindFirstChildOfClass("Decal") then
  1782. PRT:FindFirstChildOfClass("Decal"):remove()
  1783. end
  1784. coroutine.resume(coroutine.create(function()
  1785. for i = 1, 100 do
  1786. Swait()
  1787. PRT.Transparency = PRT.Transparency + 1/100
  1788. end
  1789. PRT:remove()
  1790. end))
  1791. end
  1792. end
  1793. end
  1794. CreateSound(217767125, Torso, 10, 1)
  1795. local POS = RootPart.Orientation
  1796. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1797. RootPart.Orientation = POS
  1798. RootJoint.Parent = RootPart
  1799. for i=0, 0.5, 0.1 / Animation_Speed do
  1800. Swait()
  1801. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1802. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1803. end
  1804. for i=0, 0.1, 0.1 / Animation_Speed do
  1805. Swait()
  1806. RightShoulder.C0 = Clerp(RightShoulder.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)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1807. end
  1808. ATTACK = false
  1809. Rooted = false
  1810. end
  1811.  
  1812. function turnto(position)
  1813. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1814. end
  1815.  
  1816. function Banish(Foe)
  1817. if Foe then
  1818. coroutine.resume(coroutine.create(function()
  1819. --if game.Players:FindFirstChild(Foe.Name) then
  1820. table.insert(TOBANISH,Foe.Name)
  1821. printbye(Foe.Name)
  1822. --end
  1823. Foe.Archivable = true
  1824. local CLONE = Foe:Clone()
  1825. Foe:Destroy()
  1826. CLONE.Parent = Effects
  1827. CLONE:BreakJoints()
  1828. local MATERIALS = {"Glass","Neon"}
  1829. for _, c in pairs(CLONE:GetDescendants()) do
  1830. if c:IsA("BasePart") then
  1831. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1832. CreateSound(340722848, c, 10, 1, false)
  1833. end
  1834. c.Anchored = true
  1835. c.Transparency = c.Transparency + 0.2
  1836. c.Material = MATERIALS[MRANDOM(1,2)]
  1837. c.Color = C3(0,0,255)
  1838. if c.ClassName == "MeshPart" then
  1839. c.TextureID = ""
  1840. end
  1841. if c:FindFirstChildOfClass("SpecialMesh") then
  1842. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1843. end
  1844. if c:FindFirstChildOfClass("Decal") then
  1845. c:FindFirstChildOfClass("Decal"):remove()
  1846. end
  1847. c.Name = "Banished"
  1848. c.CanCollide = false
  1849. else
  1850. c:remove()
  1851. end
  1852. end
  1853. local A = false
  1854. for i = 1, 35 do
  1855. if A == false then
  1856. A = true
  1857. elseif A == true then
  1858. A = false
  1859. end
  1860. for _, c in pairs(CLONE:GetDescendants()) do
  1861. if c:IsA("BasePart") then
  1862. c.Anchored = true
  1863. c.Material = MATERIALS[MRANDOM(1,2)]
  1864. c.Transparency = c.Transparency + 0.8/35
  1865. if A == false then
  1866. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1867. elseif A == true then
  1868. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1869. end
  1870. end
  1871. end
  1872. Swait()
  1873. end
  1874. CLONE:remove()
  1875. end))
  1876. end
  1877. end
  1878.  
  1879. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1880. local CHILDREN = workspace:GetDescendants()
  1881. for index, CHILD in pairs(CHILDREN) do
  1882. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1883. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1884. if HUM then
  1885. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1886. if TORSO then
  1887. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1888. if ISBANISH == true then
  1889. Banish(CHILD)
  1890. else
  1891. if ISBANISH == "Gravity" then
  1892. HUM.PlatformStand = true
  1893. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1894. local grav = Instance.new("BodyPosition",TORSO)
  1895. grav.D = 15
  1896. grav.P = 20000
  1897. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1898. grav.position = TORSO.Position
  1899. grav.Name = "V3BanishForce"..Player.Name
  1900. else
  1901. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1902. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1903. end
  1904. else
  1905. HUM.PlatformStand = false
  1906. end
  1907. end
  1908. elseif ISBANISH == "Gravity" then
  1909. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1910. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1911. HUM.PlatformStand = false
  1912. end
  1913. end
  1914. end
  1915. end
  1916. end
  1917. end
  1918. end
  1919.  
  1920. function SpawnTrail(FROM,TO,BIG)
  1921. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Cyan", "Trail", VT(0,0,0))
  1922. MakeForm(TRAIL,"Cyl")
  1923. local DIST = (FROM - TO).Magnitude
  1924. if BIG == true then
  1925. TRAIL.Size = VT(0.5,DIST,0.5)
  1926. else
  1927. TRAIL.Size = VT(0.25,DIST,0.25)
  1928. end
  1929. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1930. coroutine.resume(coroutine.create(function()
  1931. for i = 1, 5 do
  1932. Swait()
  1933. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1934. end
  1935. TRAIL:remove()
  1936. end))
  1937. end
  1938.  
  1939. function Banisher_Bullet()
  1940. ATTACK = true
  1941. Rooted = false
  1942. for i=0, 0.4, 0.1 / Animation_Speed do
  1943. Swait()
  1944. turnto(Mouse.Hit.p)
  1945. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1946. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1947. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1948. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1949. 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)
  1950. 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)
  1951. end
  1952. repeat
  1953. for i=0, 0.2, 0.1 / Animation_Speed do
  1954. Swait()
  1955. turnto(Mouse.Hit.p)
  1956. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1957. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1958. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1959. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1960. 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)
  1961. 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)
  1962. end
  1963. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1964. SpawnTrail(Hole.Position,POS)
  1965. if HIT ~= nil then
  1966. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1967. Banish(HIT.Parent)
  1968. end
  1969. end
  1970. 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(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1971. 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(0,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1972. 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(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1973. 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(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1974. for i=0, 0.3, 0.1 / Animation_Speed do
  1975. Swait()
  1976. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1977. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1978. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1979. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1980. 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)
  1981. 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)
  1982. end
  1983. until KEYHOLD == false
  1984. ATTACK = false
  1985. Rooted = false
  1986. end
  1987.  
  1988. function Hat()
  1989. ATTACK = true
  1990. Rooted = false
  1991. Pose("Taunt",0.4,1.2,false)
  1992. ATTACK = false
  1993. Rooted = false
  1994. end
  1995.  
  1996. --//=================================\\
  1997. --|| ASSIGN THINGS TO KEYS
  1998. --\\=================================//
  1999.  
  2000. function MouseDown(Mouse)
  2001. HOLD = true
  2002. if ATTACK == false then
  2003. end
  2004. end
  2005.  
  2006. function MouseUp(Mouse)
  2007. HOLD = false
  2008. end
  2009.  
  2010. function KeyDown(Key)
  2011. KEYHOLD = true
  2012. if Key == "z" and ATTACK == false then
  2013. Banisher_Bullet()
  2014. end
  2015. if Key == "q" and ATTACK == false then
  2016. Teleport()
  2017. end
  2018. if Key == "x" and ATTACK == false then
  2019. Morning_Star()
  2020. end
  2021. if Key == "c" and ATTACK == false then
  2022. Deathbound()
  2023. end
  2024. if Key == "t" and ATTACK == false then
  2025. Hat()
  2026. end
  2027. end
  2028.  
  2029. function KeyUp(Key)
  2030. KEYHOLD = false
  2031. end
  2032.  
  2033. Mouse.Button1Down:connect(function(NEWKEY)
  2034. MouseDown(NEWKEY)
  2035. end)
  2036. Mouse.Button1Up:connect(function(NEWKEY)
  2037. MouseUp(NEWKEY)
  2038. end)
  2039. Mouse.KeyDown:connect(function(NEWKEY)
  2040. KeyDown(NEWKEY)
  2041. end)
  2042. Mouse.KeyUp:connect(function(NEWKEY)
  2043. KeyUp(NEWKEY)
  2044. end)
  2045.  
  2046. --//=================================\\
  2047. --\\=================================//
  2048.  
  2049.  
  2050.  
  2051. function unanchor()
  2052. if UNANCHOR == true then
  2053. g = Character:GetChildren()
  2054. for i = 1, #g do
  2055. if g[i].ClassName == "Part" then
  2056. g[i].Anchored = false
  2057. end
  2058. end
  2059. end
  2060. end
  2061.  
  2062.  
  2063. --//=================================\\
  2064. --|| WRAP THE WHOLE SCRIPT UP
  2065. --\\=================================//
  2066.  
  2067. Humanoid.Changed:connect(function(Jump)
  2068. if Jump == "Jump" and (Disable_Jump == true) then
  2069. Humanoid.Jump = false
  2070. end
  2071. end)
  2072.  
  2073. while true do
  2074. Swait()
  2075. script.Parent = WEAPONGUI
  2076. Humanoid.Parent = Character
  2077. if Humanoid then
  2078. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2079. IDLEANIMATION:Play()
  2080. end
  2081. if ANIMATE.Parent == Character then
  2082. ANIMATE:Destroy()
  2083. end
  2084. SINE = SINE + CHANGE
  2085. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2086. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2087. Humanoid.HipHeight = 1
  2088. Humanoid.Name = "Warden"
  2089. Humanoid.PlatformStand = false
  2090. if PLAYMAINANIM == true then
  2091. if TORSOVELOCITY < 1 then
  2092. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2093. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2094. RightShoulder.C0 = Clerp(RightShoulder.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)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2095. 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, 0.15 / Animation_Speed)
  2096. 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)), 0.15 / Animation_Speed)
  2097. 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)
  2098. elseif TORSOVELOCITY > 1 then
  2099. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2100. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2101. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2102. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2103. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  2104. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(10)), 0.15 / Animation_Speed)
  2105. end
  2106. end
  2107. unanchor()
  2108. Humanoid.MaxHealth = "inf"
  2109. Humanoid.Health = "inf"
  2110. if Rooted == false then
  2111. Disable_Jump = false
  2112. Humanoid.WalkSpeed = Speed
  2113. elseif Rooted == true then
  2114. Disable_Jump = true
  2115. Humanoid.WalkSpeed = 0
  2116. end
  2117. for _, c in pairs(Character:GetChildren()) do
  2118. if c.ClassName == "Part" and c.Name ~= "Eye" then
  2119. c.Material = "Neon"
  2120. if c:FindFirstChildOfClass("ParticleEmitter") then
  2121. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2122. end
  2123. c.Color = C3(1,1,1)
  2124. if c == Head then
  2125. if c:FindFirstChild("face") then
  2126. c.face:remove()
  2127. end
  2128. end
  2129. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  2130. c:remove()
  2131. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2132. c:remove()
  2133. end
  2134. end
  2135. sick.SoundId = "rbxassetid://1567323605"
  2136. sick.Looped = true
  2137. sick.Pitch = 1
  2138. sick.Volume = 3
  2139. sick:Resume()
  2140. sick.Parent = Torso
  2141. refit()
  2142. if Head:FindFirstChildOfClass("Sound") then
  2143. Head:FindFirstChildOfClass("Sound"):remove()
  2144. end
  2145. end
  2146. game.Lighting.TimeOfDay = "00:00:00"
  2147. game.Lighting.FogEnd = 50
  2148. game.Lighting.FogColor = Color3.fromRGB(0,0,0)
  2149.  
  2150. --//=================================\\
  2151.  
  2152. --\\=================================//
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158. --//====================================================\\--
  2159. --|| END OF SCRIPT
  2160. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement