SHARE
TWEET

ggrelior333's Soul fe

shgsiughiiruhdu12354 Jul 21st, 2019 (edited) 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6.     print("FE Compatibility code V2 by Mokiros")
  7.     local RealPlayer = RealPlayer
  8.     script.Parent = RealPlayer.Character
  9.  
  10.     --Fake event to make stuff like Mouse.KeyDown work
  11.     local Disconnect_Function = function(this)
  12.         this[1].Functions[this[2]] = nil
  13.     end
  14.     local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15.     local FakeEvent_Metatable = {__index={
  16.         Connect = function(this,f)
  17.             local i = tostring(math.random(0,10000))
  18.             while this.Functions[i] do
  19.                 i = tostring(math.random(0,10000))
  20.             end
  21.             this.Functions[i] = f
  22.             return setmetatable({this,i},Disconnect_Metatable)
  23.         end
  24.     }}
  25.     FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26.     local function fakeEvent()
  27.         return setmetatable({Functions={}},FakeEvent_Metatable)
  28.     end
  29.  
  30.     --Creating fake input objects with fake variables
  31.     local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32.     FakeMouse.keyUp = FakeMouse.KeyUp
  33.     FakeMouse.keyDown = FakeMouse.KeyDown
  34.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37.     end}
  38.     --Merged 2 functions into one by checking amount of arguments
  39.     CAS.UnbindAction = CAS.BindAction
  40.  
  41.     --This function will trigger the events that have been :Connect()'ed
  42.     local function TriggerEvent(self,ev,...)
  43.         for _,f in pairs(self[ev].Functions) do
  44.             f(...)
  45.         end
  46.     end
  47.     FakeMouse.TriggerEvent = TriggerEvent
  48.     UIS.TriggerEvent = TriggerEvent
  49.  
  50.     --Client communication
  51.     local Event = Instance.new("RemoteEvent")
  52.     Event.Name = "UserInput_Event"
  53.     Event.OnServerEvent:Connect(function(plr,io)
  54.         if plr~=RealPlayer then return end
  55.         FakeMouse.Target = io.Target
  56.         FakeMouse.Hit = io.Hit
  57.         if not io.isMouse then
  58.             local b = io.UserInputState == Enum.UserInputState.Begin
  59.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60.                 return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61.             end
  62.             if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63.                 return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64.             end
  65.             for _,t in pairs(CAS.Actions) do
  66.                 for _,k in pairs(t.Keys) do
  67.                     if k==io.KeyCode then
  68.                         t.Function(t.Name,io.UserInputState,io)
  69.                     end
  70.                 end
  71.             end
  72.             FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73.             UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74.         end
  75.     end)
  76.     Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77.     local Mouse = owner:GetMouse()
  78.     local UIS = game:GetService("UserInputService")
  79.     local input = function(io,RobloxHandled)
  80.         if RobloxHandled then return end
  81.         --Since InputObject is a client-side instance, we create and pass table instead
  82.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83.     end
  84.     UIS.InputBegan:Connect(input)
  85.     UIS.InputEnded:Connect(input)
  86.  
  87.     local h,t
  88.     --Give the server mouse data every second frame, but only if the values changed
  89.     --If player is not moving their mouse, client won't fire events
  90.     local HB = game:GetService("RunService").Heartbeat
  91.     while true do
  92.         if h~=Mouse.Hit or t~=Mouse.Target then
  93.             h,t=Mouse.Hit,Mouse.Target
  94.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  95.         end
  96.         --Wait 2 frames
  97.         for i=1,2 do
  98.             HB:Wait()
  99.         end
  100.     end]==],script)
  101.  
  102.     ----Sandboxed game object that allows the usage of client-side methods and services
  103.     --Real game object
  104.     local RealGame = game
  105.  
  106.     --Metatable for fake service
  107.     local FakeService_Metatable = {
  108.         __index = function(self,k)
  109.             local s = rawget(self,"_RealService")
  110.             if s then
  111.                 return typeof(s[k])=="function"
  112.                 and function(_,...)return s[k](s,...)end or s[k]
  113.             end
  114.         end,
  115.         __newindex = function(self,k,v)
  116.             local s = rawget(self,"_RealService")
  117.             if s then s[k]=v end
  118.         end
  119.     }
  120.     local function FakeService(t,RealService)
  121.         t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122.         return setmetatable(t,FakeService_Metatable)
  123.     end
  124.  
  125.     --Fake game object
  126.     local FakeGame = {
  127.         GetService = function(self,s)
  128.             return rawget(self,s) or RealGame:GetService(s)
  129.         end,
  130.         Players = FakeService({
  131.             LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132.         },"Players"),
  133.         UserInputService = FakeService(UIS,"UserInputService"),
  134.         ContextActionService = FakeService(CAS,"ContextActionService"),
  135.         RunService = FakeService({
  136.             _btrs = {},
  137.             RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138.             BindToRenderStep = function(self,name,_,fun)
  139.                 self._btrs[name] = self.Heartbeat:Connect(fun)
  140.             end,
  141.             UnbindFromRenderStep = function(self,name)
  142.                 self._btrs[name]:Disconnect()
  143.             end,
  144.         },"RunService")
  145.     }
  146.     rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147.     FakeGame.service = FakeGame.GetService
  148.     FakeService(FakeGame,game)
  149.     --Changing owner to fake player object to support owner:GetMouse()
  150.     game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152. --//===============================================================\\--
  153. --||               CREATED BY SHACKLUSTER | EDITED BY GGRELIOR333
  154. --\\===============================================================//--
  155.  
  156. wait(0.2)
  157.  
  158. Player = game:GetService("Players").LocalPlayer
  159. PlayerGui = Player.PlayerGui
  160. Cam = workspace.CurrentCamera
  161. Backpack = Player.Backpack
  162. Character = Player.Character
  163. Humanoid = Character.Humanoid
  164. Mouse = Player:GetMouse()
  165. RootPart = Character["HumanoidRootPart"]
  166. Torso = Character["Torso"]
  167. Head = Character["Head"]
  168. RightArm = Character["Right Arm"]
  169. LeftArm = Character["Left Arm"]
  170. RightLeg = Character["Right Leg"]
  171. LeftLeg = Character["Left Leg"]
  172. RootJoint = RootPart["RootJoint"]
  173. Neck = Torso["Neck"]
  174. RightShoulder = Torso["Right Shoulder"]
  175. LeftShoulder = Torso["Left Shoulder"]
  176. RightHip = Torso["Right Hip"]
  177. LeftHip = Torso["Left Hip"]
  178. local sick = Instance.new("Sound",Torso)
  179. sick.SoundId = "rbxassetid://1906490876"
  180. sick.Looped = true
  181. sick.Pitch = 1
  182. sick.Volume = 3
  183. sick:Play()
  184.  
  185. IT = Instance.new
  186. CF = CFrame.new
  187. VT = Vector3.new
  188. RAD = math.rad
  189. C3 = Color3.new
  190. UD2 = UDim2.new
  191. BRICKC = BrickColor.new
  192. ANGLES = CFrame.Angles
  193. EULER = CFrame.fromEulerAnglesXYZ
  194. COS = math.cos
  195. ACOS = math.acos
  196. SIN = math.sin
  197. ASIN = math.asin
  198. ABS = math.abs
  199. MRANDOM = math.random
  200. FLOOR = math.floor
  201.  
  202. --//=================================\\
  203. --||          USEFUL VALUES
  204. --\\=================================//
  205.  
  206. Animation_Speed = 3
  207. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  208. local Speed = 35
  209. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  210. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  211. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  212. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  213. local DAMAGEMULTIPLIER = 1
  214. local ANIM = "Idle"
  215. local ATTACK = false
  216. local EQUIPPED = false
  217. local HOLD = false
  218. local COMBO = 1
  219. local Rooted = false
  220. local SINE = 0
  221. local KEYHOLD = false
  222. local CHANGE = 2 / Animation_Speed
  223. local WALKINGANIM = false
  224. local VALUE1 = false
  225. local VALUE2 = false
  226. local ROBLOXIDLEANIMATION = IT("Animation")
  227. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  228. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  229. --ROBLOXIDLEANIMATION.Parent = Humanoid
  230. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  231. WEAPONGUI.Name = "Weapon GUI"
  232. local Effects = IT("Folder", Character)
  233. Effects.Name = "Effects"
  234. local ANIMATOR = Humanoid.Animator
  235. local ANIMATE = Character.Animate
  236. local UNANCHOR = true
  237. local LAUGHS = {834001699,834001752,834001797,834001828}
  238. local SONGS = {1906490876}
  239. local CHOICE = MRANDOM(1,4)
  240. local ENERGYSOUND = 1417051162
  241. local BEAMSOUND = 1417056781
  242. local EXPLOSIONSOUND = 1417056081
  243.  
  244. --//=================================\\
  245. --\\=================================//
  246.  
  247. --//=================================\\
  248. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  249. --\\=================================//
  250.  
  251. ArtificialHB = Instance.new("BindableEvent", script)
  252. ArtificialHB.Name = "ArtificialHB"
  253.  
  254. script:WaitForChild("ArtificialHB")
  255.  
  256. frame = Frame_Speed
  257. tf = 0
  258. allowframeloss = false
  259. tossremainder = false
  260. lastframe = tick()
  261. script.ArtificialHB:Fire()
  262.  
  263. game:GetService("RunService").Heartbeat:connect(function(s, p)
  264.     tf = tf + s
  265.     if tf >= frame then
  266.         if allowframeloss then
  267.             script.ArtificialHB:Fire()
  268.             lastframe = tick()
  269.         else
  270.             for i = 1, math.floor(tf / frame) do
  271.                 script.ArtificialHB:Fire()
  272.             end
  273.         lastframe = tick()
  274.         end
  275.         if tossremainder then
  276.             tf = 0
  277.         else
  278.             tf = tf - frame * math.floor(tf / frame)
  279.         end
  280.     end
  281. end)
  282.  
  283. --//=================================\\
  284. --\\=================================//
  285.  
  286. local toggleTag = true
  287. local txt = Instance.new("BillboardGui", Head)
  288. txt.Adornee = nil
  289. txt.Name = "NameDetect"
  290. txt.Size = UDim2.new(4, 0, 1.2, 0)
  291. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  292. local text = Instance.new("TextLabel", txt)
  293. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  294. text.FontSize = "Size8"
  295. text.TextScaled = true
  296. text.TextTransparency = 0
  297. text.BackgroundTransparency = 1
  298. text.TextTransparency = 0
  299. text.TextStrokeTransparency = 0
  300. text.Font = "Fantasy"
  301. text.TextStrokeColor3 = Color3.new(0,0,0)
  302. text.TextColor3 = Color3.new(0,0,0)
  303. text.Text = "ggrelior333's Soul"
  304.  
  305. function RecolorTextAndRename(name,col1,col2)
  306. text.TextStrokeColor3 = col2
  307. text.TextColor3 = col1
  308. text.Text = name
  309. end
  310.  
  311. RecolorTextAndRename("ggrelior333's Soul",Color3.new(0,0,0),Color3.new(0,0,0))
  312. --//=================================\\
  313. --||          SOME FUNCTIONS
  314. --\\=================================//
  315.  
  316. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  317.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  318. end
  319.  
  320. function PositiveAngle(NUMBER)
  321.     if NUMBER >= 0 then
  322.         NUMBER = 0
  323.     end
  324.     return NUMBER
  325. end
  326.  
  327. function NegativeAngle(NUMBER)
  328.     if NUMBER <= 0 then
  329.         NUMBER = 0
  330.     end
  331.     return NUMBER
  332. end
  333.  
  334. function Swait(NUMBER)
  335.     if NUMBER == 0 or NUMBER == nil then
  336.         ArtificialHB.Event:wait()
  337.     else
  338.         for i = 1, NUMBER do
  339.             ArtificialHB.Event:wait()
  340.         end
  341.     end
  342. end
  343.  
  344. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  345.     local NEWMESH = IT(MESH)
  346.     if MESH == "SpecialMesh" then
  347.         NEWMESH.MeshType = MESHTYPE
  348.         if MESHID ~= "nil" and MESHID ~= "" then
  349.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  350.         end
  351.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  352.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  353.         end
  354.     end
  355.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  356.     NEWMESH.Scale = SCALE
  357.     NEWMESH.Parent = PARENT
  358.     return NEWMESH
  359. end
  360.  
  361. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  362.     local NEWPART = IT("Part")
  363.     NEWPART.formFactor = FORMFACTOR
  364.     NEWPART.Reflectance = REFLECTANCE
  365.     NEWPART.Transparency = TRANSPARENCY
  366.     NEWPART.CanCollide = false
  367.     NEWPART.Locked = true
  368.     NEWPART.Anchored = true
  369.     if ANCHOR == false then
  370.         NEWPART.Anchored = false
  371.     end
  372.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  373.     NEWPART.Name = NAME
  374.     NEWPART.Size = SIZE
  375.     NEWPART.Position = Torso.Position
  376.     NEWPART.Material = MATERIAL
  377.     NEWPART:BreakJoints()
  378.     NEWPART.Parent = PARENT
  379.     return NEWPART
  380. end
  381.  
  382.     local function weldBetween(a, b)
  383.         local weldd = IT("Weld")
  384.         weldd.Part0 = a
  385.         weldd.Part1 = b
  386.         weldd.C0 = CF()
  387.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  388.         weldd.Parent = a
  389.         return weldd
  390.     end
  391.  
  392.  
  393. function QuaternionFromCFrame(cf)
  394.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  395.     local trace = m00 + m11 + m22
  396.     if trace > 0 then
  397.         local s = math.sqrt(1 + trace)
  398.         local recip = 0.5 / s
  399.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  400.     else
  401.         local i = 0
  402.         if m11 > m00 then
  403.             i = 1
  404.         end
  405.         if m22 > (i == 0 and m00 or m11) then
  406.             i = 2
  407.         end
  408.         if i == 0 then
  409.             local s = math.sqrt(m00 - m11 - m22 + 1)
  410.             local recip = 0.5 / s
  411.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  412.         elseif i == 1 then
  413.             local s = math.sqrt(m11 - m22 - m00 + 1)
  414.             local recip = 0.5 / s
  415.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  416.         elseif i == 2 then
  417.             local s = math.sqrt(m22 - m00 - m11 + 1)
  418.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  419.         end
  420.     end
  421. end
  422.  
  423. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  424.     local xs, ys, zs = x + x, y + y, z + z
  425.     local wx, wy, wz = w * xs, w * ys, w * zs
  426.     local xx = x * xs
  427.     local xy = x * ys
  428.     local xz = x * zs
  429.     local yy = y * ys
  430.     local yz = y * zs
  431.     local zz = z * zs
  432.     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))
  433. end
  434.  
  435. function QuaternionSlerp(a, b, t)
  436.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  437.     local startInterp, finishInterp;
  438.     if cosTheta >= 0.0001 then
  439.         if (1 - cosTheta) > 0.0001 then
  440.             local theta = ACOS(cosTheta)
  441.             local invSinTheta = 1 / SIN(theta)
  442.             startInterp = SIN((1 - t) * theta) * invSinTheta
  443.             finishInterp = SIN(t * theta) * invSinTheta
  444.         else
  445.             startInterp = 1 - t
  446.             finishInterp = t
  447.         end
  448.     else
  449.         if (1 + cosTheta) > 0.0001 then
  450.             local theta = ACOS(-cosTheta)
  451.             local invSinTheta = 1 / SIN(theta)
  452.             startInterp = SIN((t - 1) * theta) * invSinTheta
  453.             finishInterp = SIN(t * theta) * invSinTheta
  454.         else
  455.             startInterp = t - 1
  456.             finishInterp = t
  457.         end
  458.     end
  459.     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
  460. end
  461.  
  462. function Clerp(a, b, t)
  463.     local qa = {QuaternionFromCFrame(a)}
  464.     local qb = {QuaternionFromCFrame(b)}
  465.     local ax, ay, az = a.x, a.y, a.z
  466.     local bx, by, bz = b.x, b.y, b.z
  467.     local _t = 1 - t
  468.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  469. end
  470.  
  471. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  472.     local frame = IT("Frame")
  473.     frame.BackgroundTransparency = TRANSPARENCY
  474.     frame.BorderSizePixel = BORDERSIZEPIXEL
  475.     frame.Position = POSITION
  476.     frame.Size = SIZE
  477.     frame.BackgroundColor3 = COLOR
  478.     frame.BorderColor3 = BORDERCOLOR
  479.     frame.Name = NAME
  480.     frame.Parent = PARENT
  481.     return frame
  482. end
  483.  
  484. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  485.     local label = IT("TextLabel")
  486.     label.BackgroundTransparency = 1
  487.     label.Size = UD2(1, 0, 1, 0)
  488.     label.Position = UD2(0, 0, 0, 0)
  489.     label.TextColor3 = TEXTCOLOR
  490.     label.TextStrokeTransparency = STROKETRANSPARENCY
  491.     label.TextTransparency = TRANSPARENCY
  492.     label.FontSize = TEXTFONTSIZE
  493.     label.Font = TEXTFONT
  494.     label.BorderSizePixel = BORDERSIZEPIXEL
  495.     label.TextScaled = false
  496.     label.Text = TEXT
  497.     label.Name = NAME
  498.     label.Parent = PARENT
  499.     return label
  500. end
  501.  
  502. function NoOutlines(PART)
  503.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  504. end
  505.  
  506. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  507.     local NEWWELD = IT(TYPE)
  508.     NEWWELD.Part0 = PART0
  509.     NEWWELD.Part1 = PART1
  510.     NEWWELD.C0 = C0
  511.     NEWWELD.C1 = C1
  512.     NEWWELD.Parent = PARENT
  513.     return NEWWELD
  514. end
  515.  
  516. local S = IT("Sound")
  517. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  518.     local NEWSOUND = nil
  519.     coroutine.resume(coroutine.create(function()
  520.         NEWSOUND = S:Clone()
  521.         NEWSOUND.Parent = PARENT
  522.         NEWSOUND.Volume = VOLUME
  523.         NEWSOUND.Pitch = PITCH
  524.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  525.         NEWSOUND:play()
  526.         if DOESLOOP == true then
  527.             NEWSOUND.Looped = true
  528.         else
  529.             repeat wait(1) until NEWSOUND.Playing == false
  530.             NEWSOUND:remove()
  531.         end
  532.     end))
  533.     return NEWSOUND
  534. end
  535.  
  536. function CFrameFromTopBack(at, top, back)
  537.     local right = top:Cross(back)
  538.     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)
  539. end
  540.  
  541. --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})
  542. function WACKYEFFECT(Table)
  543.     local TYPE = (Table.EffectType or "Sphere")
  544.     local SIZE = (Table.Size or VT(1,1,1))
  545.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  546.     local TRANSPARENCY = (Table.Transparency or 0)
  547.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  548.     local CFRAME = (Table.CFrame or Torso.CFrame)
  549.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  550.     local ROTATION1 = (Table.RotationX or 0)
  551.     local ROTATION2 = (Table.RotationY or 0)
  552.     local ROTATION3 = (Table.RotationZ or 0)
  553.     local MATERIAL = (Table.Material or "Neon")
  554.     local COLOR = (Table.Color or C3(1,1,1))
  555.     local TIME = (Table.Time or 45)
  556.     local SOUNDID = (Table.SoundID or nil)
  557.     local SOUNDPITCH = (Table.SoundPitch or nil)
  558.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  559.     coroutine.resume(coroutine.create(function()
  560.         local PLAYSSOUND = false
  561.         local SOUND = nil
  562.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  563.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  564.             PLAYSSOUND = true
  565.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  566.         end
  567.         EFFECT.Color = COLOR
  568.         local MSH = nil
  569.         if TYPE == "Sphere" then
  570.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  571.         elseif TYPE == "Block" then
  572.             MSH = IT("BlockMesh",EFFECT)
  573.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  574.         elseif TYPE == "Wave" then
  575.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  576.         elseif TYPE == "Ring" then
  577.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  578.         elseif TYPE == "Slash" then
  579.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  580.         elseif TYPE == "Round Slash" then
  581.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  582.         elseif TYPE == "Swirl" then
  583.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  584.         elseif TYPE == "Skull" then
  585.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  586.         elseif TYPE == "Crystal" then
  587.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  588.         end
  589.         if MSH ~= nil then
  590.             local MOVESPEED = nil
  591.             if MOVEDIRECTION ~= nil then
  592.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  593.             end
  594.             local GROWTH = SIZE - ENDSIZE
  595.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  596.             if TYPE == "Block" then
  597.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  598.             else
  599.                 EFFECT.CFrame = CFRAME
  600.             end
  601.             for LOOP = 1, TIME+1 do
  602.                 Swait()
  603.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  604.                 if TYPE == "Wave" then
  605.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  606.                 end
  607.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  608.                 if TYPE == "Block" then
  609.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  610.                 else
  611.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  612.                 end
  613.                 if MOVEDIRECTION ~= nil then
  614.                     local ORI = EFFECT.Orientation
  615.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  616.                     EFFECT.Orientation = ORI
  617.                 end
  618.             end
  619.             if PLAYSSOUND == false then
  620.                 EFFECT:remove()
  621.             else
  622.                 SOUND.Stopped:Connect(function()
  623.                     EFFECT:remove()
  624.                 end)
  625.             end
  626.         else
  627.             if PLAYSSOUND == false then
  628.                 EFFECT:remove()
  629.             else
  630.                 repeat Swait() until SOUND.Playing == false
  631.                 EFFECT:remove()
  632.             end
  633.         end
  634.     end))
  635. end
  636.  
  637. local LEFTWINGS = {}
  638. local RIGHTWINGS = {}
  639. local BODY = {}
  640.  
  641. local Back = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Wing", VT(1,1,0.35),false)
  642. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
  643.  
  644. local ANGLE = 35
  645. for i = 1, 5 do
  646.     local Wing = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Wing", VT(0.15,2+(i/2),0.15),false)
  647.     local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  648.     local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Wing", VT(0.25,1,0.25),false)
  649.     CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  650.     ANGLE = ANGLE - 15
  651.     table.insert(LEFTWINGS,WingWeld)
  652. end
  653.  
  654. ANGLE = 35
  655. for i = 1, 5 do
  656.     local Wing = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Wing", VT(0.15,2+(i/2),0.15),false)
  657.     local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  658.     local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Wing", VT(0.25,1,0.25),false)
  659.     CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  660.     ANGLE = ANGLE - 15
  661.     table.insert(RIGHTWINGS,WingWeld)
  662. end
  663.  
  664. function MakeForm(PART,TYPE)
  665.     if TYPE == "Cyl" then
  666.         local MSH = IT("CylinderMesh",PART)
  667.     elseif TYPE == "Ball" then
  668.         local MSH = IT("SpecialMesh",PART)
  669.         MSH.MeshType = "Sphere"
  670.     elseif TYPE == "Wedge" then
  671.         local MSH = IT("SpecialMesh",PART)
  672.         MSH.MeshType = "Wedge"
  673.     end
  674. end
  675.  
  676. Debris = game:GetService("Debris")
  677.  
  678. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  679.     local DIRECTION = CF(StartPos,EndPos).lookVector
  680.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  681. end
  682.  
  683. function turnto(position)
  684.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  685. end
  686.  
  687. function SpawnTrail(FROM,TO,BIG)
  688.     local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Trail", VT(0,0,0))
  689.     MakeForm(TRAIL,"Cyl")
  690.     local DIST = (FROM - TO).Magnitude
  691.     if BIG == true then
  692.         TRAIL.Size = VT(0.5,DIST,0.5)
  693.     else
  694.         TRAIL.Size = VT(0.25,DIST,0.25)
  695.     end
  696.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  697.     coroutine.resume(coroutine.create(function()
  698.         for i = 1, 5 do
  699.             Swait()
  700.             TRAIL.Transparency = TRAIL.Transparency + 0.1
  701.         end
  702.         TRAIL:remove()
  703.     end))
  704. end
  705.  
  706. local asd = Instance.new("ParticleEmitter")
  707. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  708. asd.LightEmission = .1
  709. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  710. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  711. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  712. asd.Transparency = bbb
  713. asd.Size = aaa
  714. asd.ZOffset = .9
  715. asd.Acceleration = Vector3.new(0, -15, 0)
  716. asd.LockedToPart = false
  717. asd.EmissionDirection = "Back"
  718. asd.Lifetime = NumberRange.new(1, 2)
  719. asd.Rotation = NumberRange.new(-100, 100)
  720. asd.RotSpeed = NumberRange.new(-100, 100)
  721. asd.Speed = NumberRange.new(10)
  722. asd.Enabled = false
  723. asd.VelocitySpread = 999
  724.  
  725. function getbloody(victim,amount)
  726.     local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  727.     PART.CFrame = victim.CFrame
  728.     local HITPLAYERSOUNDS = {"356551938","264486467"}
  729.     Debris:AddItem(PART,5)
  730.     CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  731.     CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  732.     CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  733.     local prtcl = asd:Clone()
  734.     prtcl.Parent = PART
  735.     prtcl:Emit(amount*10)
  736. end
  737.  
  738. local Particle = IT("ParticleEmitter",nil)
  739. Particle.Enabled = false
  740. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  741. Particle.LightEmission = 0.5
  742. Particle.Rate = 150
  743. Particle.ZOffset = 1
  744. Particle.Rotation = NumberRange.new(-180, 180)
  745. Particle.RotSpeed = NumberRange.new(-180, 180)
  746. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  747. Particle.Color = ColorSequence.new(C3(58,125,21),C3(0.4,0,0))
  748.  
  749. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  750. function ParticleEmitter(Table)
  751.     local PRTCL = Particle:Clone()
  752.     local Speed = Table.Speed or 5
  753.     local Drag = Table.Drag or 0
  754.     local Size1 = Table.Size1 or 1
  755.     local Size2 = Table.Size2 or 5
  756.     local Lifetime1 = Table.Lifetime1 or 1
  757.     local Lifetime2 = Table.Lifetime2 or 1.5
  758.     local Parent = Table.Parent or Torso
  759.     local Emit = Table.Emit or 100
  760.     local Offset = Table.Offset or 360
  761.     local Acel = Table.Acel or VT(0,0,0)
  762.     local Enabled = Table.Enabled or false
  763.     PRTCL.Parent = Parent
  764.     PRTCL.Size = NumberSequence.new(Size1,Size2)
  765.     PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  766.     PRTCL.Speed = NumberRange.new(Speed)
  767.     PRTCL.VelocitySpread = Offset
  768.     PRTCL.Drag = Drag
  769.     PRTCL.Acceleration = Acel
  770.     if Enabled == false then
  771.         PRTCL:Emit(Emit)
  772.         Debris:AddItem(PRTCL,Lifetime2)
  773.     else
  774.         PRTCL.Enabled = true
  775.     end
  776.     return PRTCL
  777. end
  778.  
  779. --//=================================\\
  780. --||         WEAPON CREATION
  781. --\\=================================//
  782. if Character:FindFirstChildOfClass("Accessory") then
  783.     Character:FindFirstChildOfClass("Accessory"):remove()
  784. elseif Character:FindFirstChildOfClass("Hat") then
  785.     Character:FindFirstChildOfClass("Hat"):remove()
  786. end
  787. if Head:FindFirstChild("face") then
  788.     Head.face.Texture = "rbxassetid://"
  789. end
  790.  
  791. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "White", "Hood", VT(1,1,1),false)
  792. PRT.Color = C3(0,0,0)
  793. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  794. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  795. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "White", "Scarf", VT(1,1,1),false)
  796. PRT.Color = C3(0,0,0)
  797. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  798. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  799.  
  800. local LASTPART = Head
  801. for i = 1, 20 do
  802.     local MATH = (1-(i/25))
  803.     if LASTPART == Head then
  804.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  805.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  806.         LASTPART = Horn
  807.         Horn.Color = C3((i*3-3)/255,0,0)
  808.     else
  809.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  810.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  811.         LASTPART = Horn
  812.         Horn.Color = C3((i*3-3)/255,0,0)
  813.     end
  814. end
  815. local LASTPART = Head
  816. for i = 1, 20 do
  817.     local MATH = (1-(i/25))
  818.     if LASTPART == Head then
  819.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  820.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  821.         LASTPART = Horn
  822.         Horn.Color = C3((i*3-3)/255,0,0)
  823.     else
  824.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  825.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  826.         LASTPART = Horn
  827.         Horn.Color = C3((i*3-3)/255,0,0)
  828.     end
  829. end
  830.  
  831. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.6,0.1,1)/2,false)
  832. MakeForm(Eye,"Ball")
  833. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  834. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.6,0.1,1)/2,false)
  835. MakeForm(Eye,"Ball")
  836. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  837. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.1,1,1)/2,false)
  838. MakeForm(Eye,"Ball")
  839. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  840. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.1,1,1)/2,false)
  841. MakeForm(Eye,"Ball")
  842. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  843.  
  844. local A = IT("Attachment",Torso)
  845. A.Position = VT(1,1.3,0)
  846. A.Orientation = VT(-0.098, -89.999, 0.227)
  847. local B = IT("Attachment",Torso)
  848. B.Position = VT(-1.3,-0.6,0)
  849. B.Orientation = VT(-88.911, -68.808, 158.782)
  850. local ChainLink = IT("Beam",Torso)
  851. ChainLink.Texture = "rbxassetid://73042633"
  852. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  853. ChainLink.TextureSpeed = 1
  854. ChainLink.FaceCamera = true
  855. ChainLink.Width0 = 1
  856. ChainLink.Width1 = 1
  857. ChainLink.TextureLength = 3
  858. ChainLink.Attachment0 = A
  859. ChainLink.Attachment1 = B
  860. ChainLink.CurveSize0 = 1.6
  861. ChainLink.CurveSize1 = 1.6
  862. ChainLink.FaceCamera = true
  863. ChainLink.Transparency = NumberSequence.new(0)
  864. local ChainLink = IT("Beam",Torso)
  865. ChainLink.Texture = "rbxassetid://73042633"
  866. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  867. ChainLink.TextureSpeed = 1
  868. ChainLink.FaceCamera = true
  869. ChainLink.Width0 = 1
  870. ChainLink.Width1 = 1
  871. ChainLink.TextureLength = 3
  872. ChainLink.Attachment0 = B
  873. ChainLink.Attachment1 = A
  874. ChainLink.CurveSize0 = 1.6
  875. ChainLink.CurveSize1 = 1.6
  876. ChainLink.FaceCamera = true
  877. ChainLink.Transparency = NumberSequence.new(0)
  878. local A = IT("Attachment",Torso)
  879. A.Position = VT(1.3,-0.85,0)
  880. A.Orientation = VT(-0.098, -89.999, 0.227)
  881. local B = IT("Attachment",Torso)
  882. B.Position = VT(-1,2,0)
  883. B.Orientation = VT(-88.911, -68.808, 158.782)
  884. local ChainLink = IT("Beam",Torso)
  885. ChainLink.Texture = "rbxassetid://73042633"
  886. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  887. ChainLink.TextureSpeed = 1
  888. ChainLink.FaceCamera = true
  889. ChainLink.Width0 = 1
  890. ChainLink.Width1 = 1
  891. ChainLink.TextureLength = 3
  892. ChainLink.Attachment0 = A
  893. ChainLink.Attachment1 = B
  894. ChainLink.CurveSize0 = 1.3
  895. ChainLink.CurveSize1 = 1.3
  896. ChainLink.FaceCamera = true
  897. ChainLink.Transparency = NumberSequence.new(0)
  898. local ChainLink = IT("Beam",Torso)
  899. ChainLink.Texture = "rbxassetid://73042633"
  900. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  901. ChainLink.TextureSpeed = 1
  902. ChainLink.FaceCamera = true
  903. ChainLink.Width0 = 1
  904. ChainLink.Width1 = 1
  905. ChainLink.TextureLength = 3
  906. ChainLink.Attachment0 = B
  907. ChainLink.Attachment1 = A
  908. ChainLink.CurveSize0 = 1.3
  909. ChainLink.CurveSize1 = 1.3
  910. ChainLink.FaceCamera = true
  911. ChainLink.Transparency = NumberSequence.new(0)
  912.  
  913. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  914. PRT.LockedToPart = true
  915. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  916. PRT.LockedToPart = true
  917. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  918. PRT.LockedToPart = true
  919. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  920. PRT.LockedToPart = true
  921. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  922. PRT.LockedToPart = true
  923.  
  924. for _, c in pairs(Character:GetDescendants()) do
  925.     if c and c.Parent then
  926.         if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  927.             local ACCESSORY = c.Parent
  928.             c.Parent = Character
  929.             if c then
  930.                 if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  931.                     weldBetween(Head,c)
  932.                 else
  933.                     weldBetween(Torso,c)
  934.                 end
  935.             end
  936.             ACCESSORY:remove()
  937.         elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  938.             c.Material = "Neon"
  939.             c.Color = C3(0,0,0)
  940.             if c:FindFirstChildOfClass("SpecialMesh") then
  941.                 c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  942.             end
  943.             if c == Head then
  944.                 if c:FindFirstChild("face") then
  945.                     c.face:remove()
  946.                 end
  947.             end
  948.         elseif c.ClassName == "Part" and c.Name == "Eye" then
  949.             c.Color = C3(58,125,21)
  950.             c.Material = "Neon"
  951.         elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  952.             c:remove()
  953.         elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  954.             c:remove()
  955.         end
  956.     end
  957. end
  958. local BODY = {}
  959. for _, c in pairs(Character:GetDescendants()) do
  960.     if c:IsA("BasePart") and c.Name ~= "Handle" then
  961.         if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  962.             c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  963.         end
  964.         table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  965.     elseif c:IsA("JointInstance") then
  966.         table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  967.     end
  968. end
  969. function refit()
  970.     Character.Parent = workspace
  971.     for e = 1, #BODY do
  972.         if BODY[e] ~= nil then
  973.             local STUFF = BODY[e]
  974.             local PART = STUFF[1]
  975.             local PARENT = STUFF[2]
  976.             local MATERIAL = STUFF[3]
  977.             local COLOR = STUFF[4]
  978.             local TRANSPARENCY = STUFF[5]
  979.             --local SIZE = STUFF[6]
  980.             local NAME = STUFF[7]
  981.             if PART.ClassName == "Part" and PART ~= RootPart then
  982.                 PART.Material = MATERIAL
  983.                 PART.Transparency = TRANSPARENCY
  984.                 PART.Name = NAME
  985.             end
  986.             if PART.Parent ~= PARENT then
  987.                 Humanoid:remove()
  988.                 PART.Parent = PARENT
  989.                 Humanoid = IT("Humanoid",Character)
  990.             end
  991.         end
  992.     end
  993. end
  994.  
  995. local SKILLTEXTCOLOR = C3(0,0,0)
  996. local SKILLFONT = "Fantasy"
  997. local SKILLTEXTSIZE = 6
  998.  
  999. Humanoid.Died:connect(function()
  1000.     refit()
  1001. end)
  1002.  
  1003. 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")
  1004. 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")
  1005. 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")
  1006. 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")
  1007. 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")
  1008. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1009. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1010.  
  1011. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Shadow Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1")
  1012. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Shadow Wave", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2")
  1013. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1014. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1015. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Black Star", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5")
  1016. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  1017. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[CLICK] Attack", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  1018.  
  1019. function swait(NUMBER)
  1020.     if NUMBER == 0 or NUMBER == nil then
  1021.         ArtificialHB.Event:wait()
  1022.     else
  1023.         for i = 1, NUMBER do
  1024.             ArtificialHB.Event:wait()
  1025.         end
  1026.     end
  1027. end
  1028.  
  1029. function chatfunc(text)
  1030.     local chat = coroutine.wrap(function()
  1031.     if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1032.         Character:FindFirstChild("TalkingBillBoard"):destroy()
  1033.     end
  1034.     local Bill = Instance.new("BillboardGui",Character)
  1035.     Bill.Size = UDim2.new(0,100,0,40)
  1036.     Bill.StudsOffset = Vector3.new(0,3,0)
  1037.     Bill.Adornee = Character.Head
  1038.     Bill.Name = "TalkingBillBoard"
  1039.     local Hehe = Instance.new("TextLabel",Bill)
  1040.     Hehe.BackgroundTransparency = 1
  1041.     Hehe.BorderSizePixel = 0
  1042.     Hehe.Text = ""
  1043.     Hehe.Font = "Garamond"
  1044.     Hehe.TextSize = 40
  1045.     Hehe.TextStrokeTransparency = 0
  1046.     Hehe.Size = UDim2.new(1,0,0.5,0)
  1047.     coroutine.resume(coroutine.create(function()
  1048.         while Hehe ~= nil do
  1049.             swait()
  1050.             Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) 
  1051.             Hehe.Rotation = math.random(-5,5)
  1052.             Hehe.TextColor3 = Color3.new(0,0,0)
  1053.             Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1054.         end
  1055.     end))
  1056.     for i = 1,string.len(text),1 do
  1057.         swait()
  1058.         Hehe.Text = string.sub(text,1,i)
  1059.     end
  1060.     swait(90)--Re[math.random(1, 93)]
  1061.     for i = 0, 1, .025 do
  1062.         swait()
  1063.         Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1064.         Hehe.TextStrokeTransparency = i
  1065.         Hehe.TextTransparency = i
  1066.     end
  1067.     Bill:Destroy()
  1068.     end)
  1069. chat()
  1070. end
  1071.  
  1072. function onChatted(msg)
  1073.     chatfunc(msg)
  1074. end
  1075.  
  1076. Player.Chatted:connect(onChatted)
  1077.  
  1078. chatfunc("Let us see my true power")
  1079. wait(4)
  1080. chatfunc("And Lets say something...")
  1081. wait(4)
  1082. chatfunc("I WILL KILL YOU")
  1083. --//=================================\\
  1084. --||         DAMAGE FUNCTIONS
  1085. --\\=================================//
  1086.  
  1087. function StatLabel(CFRAME, TEXT, COLOR)
  1088.     local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "White", "Effect", VT())
  1089.     STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  1090.     local BODYGYRO = IT("BodyGyro", STATPART)
  1091.     game:GetService("Debris"):AddItem(STATPART ,5)
  1092.     local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1093.     BILLBOARDGUI.Adornee = STATPART
  1094.     BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1095.     BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1096.     BILLBOARDGUI.AlwaysOnTop = false
  1097.     local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1098.     TEXTLABEL.BackgroundTransparency = 1
  1099.     TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1100.     TEXTLABEL.Text = TEXT
  1101.     TEXTLABEL.Font = SKILLFONT
  1102.     TEXTLABEL.FontSize="Size42"
  1103.     TEXTLABEL.TextColor3 = COLOR
  1104.     TEXTLABEL.TextStrokeTransparency = 0
  1105.     TEXTLABEL.TextScaled = true
  1106.     TEXTLABEL.TextWrapped = true
  1107.     coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1108.         for i = 1, 50 do
  1109.             Swait()
  1110.             STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  1111.             TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  1112.             TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1113.         end
  1114.         THEPART.Parent = nil
  1115.     end),STATPART, TEXTLABEL)
  1116. end
  1117.  
  1118. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1119.     if FLOOR ~= nil then
  1120.         coroutine.resume(coroutine.create(function()
  1121.             local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  1122.             PART.CFrame = CF(POSITION)
  1123.             for i = 1, 45 do
  1124.                 local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1125.                 RingPiece.Material = FLOOR.Material
  1126.                 RingPiece.Color = FLOOR.Color
  1127.                 RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1128.                 Debris:AddItem(RingPiece,SWAIT)
  1129.             end
  1130.             PART:remove()
  1131.         end))
  1132.     end
  1133. end
  1134.  
  1135. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1136.     if FLOOR ~= nil then
  1137.         for i = 1, AMOUNT do
  1138.             local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  1139.             DEBREE.Material = FLOOR.Material
  1140.             DEBREE.Color = FLOOR.Color
  1141.             DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1142.             DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  1143.             coroutine.resume(coroutine.create(function()
  1144.                 Swait(15)
  1145.                 DEBREE.Parent = workspace
  1146.                 DEBREE.CanCollide = true
  1147.                 Debris:AddItem(DEBREE,SWAIT)
  1148.             end))
  1149.         end
  1150.     end
  1151. end
  1152. --//=================================\\
  1153. --||            DAMAGING
  1154. --\\=================================//
  1155. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1156.     coroutine.resume(coroutine.create(function()
  1157.         local METEOR = IT("Model",Effects)
  1158.         METEOR.Name = "Meteorite"
  1159.         local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "White", "MeteorCenter", VT(5,5,5)*SIZE)
  1160.         METEOR.PrimaryPart = CENTER
  1161.         local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "White", "MeteorCenter", VT(5,5,5)*SIZE)
  1162.         PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1163.         for i = 1, 15 do
  1164.             local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "White", "Fire", VT(5.1,1,5.1)*SIZE)
  1165.             FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1166.         end
  1167.         if ISDEBREE ~= true then
  1168.             METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1169.         else
  1170.             METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1171.         end
  1172.         local IMPACT = false
  1173.         CreateSound(463593339, CENTER, 10, 0.6)
  1174.         if SIZE >= 3.5 then
  1175.             for i = 1, MRANDOM(3,7) do
  1176.                 SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  1177.             end
  1178.         end
  1179.         for i = 1, 200 do
  1180.             Swait()
  1181.             local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1182.             if HITFLOOR == nil then
  1183.                 local ORI = CENTER.Orientation
  1184.                 METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1185.             else
  1186.                 if HITFLOOR.Anchored == true then
  1187.                     CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1188.                     CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1189.                 end
  1190.                 IMPACT = true
  1191.                 break
  1192.             end
  1193.         end
  1194.         if IMPACT == true then
  1195.             WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1196.             WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1197.             WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1198.             ApplyAoE(CENTER.Position,30*SIZE)
  1199.            
  1200.         end
  1201.         METEOR:remove()
  1202.     end))
  1203. end
  1204.  
  1205. function KillChildren(Char)
  1206.     local NewCharacter = IT("Model",Effects)
  1207.     NewCharacter.Name = "Ow im ded ;-;"
  1208.     for _, c in pairs(Char:GetDescendants()) do
  1209.         if c:IsA("BasePart") and c.Transparency == 0 then
  1210.             if c.Parent == Char then
  1211.                 getbloody(c,5)
  1212.             end
  1213.             c:BreakJoints()
  1214.             c.Material = "Glass"
  1215.             c.Color = C3(0.5,0,0)
  1216.             c.CanCollide = true
  1217.             c.Transparency = 0.3
  1218.             if c:FindFirstChildOfClass("SpecialMesh") then
  1219.                 c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1220.             end
  1221.             if c.Name == "Head" then
  1222.                 c:ClearAllChildren()
  1223.                 c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1224.             end
  1225.             if c.ClassName == "MeshPart" then
  1226.                 c.TextureID = ""
  1227.             end
  1228.             if c:FindFirstChildOfClass("BodyPosition") then
  1229.                 c:FindFirstChildOfClass("BodyPosition"):remove()
  1230.             end
  1231.             if c:FindFirstChildOfClass("ParticleEmitter") then
  1232.                 c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1233.             end
  1234.             c.Parent = NewCharacter
  1235.             c.Name = "DeadPart"
  1236.             c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1237.             c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1238.         end
  1239.     end
  1240.     Char:remove()
  1241.     Debris:AddItem(NewCharacter,5)
  1242. end
  1243.  
  1244. function Kill(Char)
  1245.     local NewCharacter = IT("Model",Effects)
  1246.     NewCharacter.Name = "Ow im ded ;-;"
  1247.     for _, c in pairs(Char:GetDescendants()) do
  1248.         if c:IsA("BasePart") and c.Transparency == 0 then
  1249.             if c.Parent == Char then
  1250.                 getbloody(c,5)
  1251.             end
  1252.             c:BreakJoints()
  1253.             c.Material = "Glass"
  1254.             c.Color = C3(0.5,0,0)
  1255.             c.CanCollide = true
  1256.             c.Transparency = 0.3
  1257.             if c:FindFirstChildOfClass("SpecialMesh") then
  1258.                 c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1259.             end
  1260.             if c.Name == "Head" then
  1261.                 c:ClearAllChildren()
  1262.                 c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1263.             end
  1264.             if c.ClassName == "MeshPart" then
  1265.                 c.TextureID = ""
  1266.             end
  1267.             if c:FindFirstChildOfClass("BodyPosition") then
  1268.                 c:FindFirstChildOfClass("BodyPosition"):remove()
  1269.             end
  1270.             if c:FindFirstChildOfClass("ParticleEmitter") then
  1271.                 c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1272.             end
  1273.             c.Parent = NewCharacter
  1274.             c.Name = "DeadPart"
  1275.             c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1276.             c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1277.         end
  1278.     end
  1279.     Char:remove()
  1280.     Debris:AddItem(NewCharacter,5)
  1281. end
  1282.  
  1283. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1284.     local CHILDREN = workspace:GetDescendants()
  1285.     for index, CHILD in pairs(CHILDREN) do
  1286.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1287.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1288.             if HUM then
  1289.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1290.                 if TORSO then
  1291.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1292.                         if BRUTAL == true then
  1293.                             Kill(CHILD)
  1294.                         else
  1295.                             CHILD:BreakJoints()
  1296.                         end
  1297.                     end
  1298.                 end
  1299.             end
  1300.         end
  1301.     end
  1302. end
  1303.  
  1304. function BulletDetection(FROM,TO,BRUTAL)
  1305.     local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1306.     coroutine.resume(coroutine.create(function()
  1307.         if AIMHIT ~= nil then
  1308.             if AIMHIT.Parent ~= Character then
  1309.                 if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1310.                     if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1311.                         if BRUTAL == true then
  1312.                             Kill(AIMHIT.Parent)
  1313.                         else
  1314.                             getbloody(AIMHIT,15)
  1315.                             AIMHIT.Parent:BreakJoints()
  1316.                             if AIMHIT.Name == "Head" then
  1317.                                 AIMHIT.Name = "HEADSHOT"
  1318.                                 AIMHIT:remove()
  1319.                             end
  1320.                         end
  1321.                     else
  1322.                         if BRUTAL == true then
  1323.                             Kill(AIMHIT.Parent.Parent)
  1324.                         else
  1325.                             AIMHIT.Parent.Parent:BreakJoints()
  1326.                         end
  1327.                     end
  1328.                 end
  1329.             end
  1330.         end
  1331.     end))
  1332.     SpawnTrail(FROM,AIMPOS)
  1333.     return AIMHIT,AIMPOS,NORMAL
  1334. end
  1335.  
  1336. local Weapon = nil
  1337. local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "White", "BraceletPart", VT(1.01,0.3,1.01),false)
  1338. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1339.  
  1340. function Charge(TIME,GYRO)
  1341.     local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
  1342.     local G = nil
  1343.     if GYRO == true then
  1344.         G = IT("BodyGyro",RootPart)
  1345.         G.D = 250
  1346.         G.P = 200000
  1347.         G.MaxTorque = VT(math.huge,math.huge,math.huge)
  1348.     end
  1349.     for i=0, TIME, 0.1 / Animation_Speed do
  1350.         Swait()
  1351.         if G then
  1352.             G.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1353.         end
  1354.         WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1355.         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)
  1356.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1357.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1358.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1359.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1360.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1361.     end
  1362.     SND:remove()
  1363.     if G then
  1364.         return G
  1365.     end
  1366. end
  1367. --//=================================\\
  1368. --||    ATTACK FUNCTIONS AND STUFF
  1369. --\\=================================//
  1370.  
  1371.  
  1372. function Corrupted_Immobilization()
  1373.     ATTACK = true
  1374.     Rooted = true
  1375.     Charge(2,false)
  1376.     CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso,3,1)
  1377.     local SND = CreateSound(EXPLOSIONSOUND,RootPart,10,1,false)
  1378.     local SND2 = CreateSound(ENERGYSOUND,RootPart,10,1,false)
  1379.     for i = 1, 60 do
  1380.         Swait()
  1381.         ApplyAoE(RootPart.Position,i*1.3,10,20,-200,true)
  1382.         SND.Pitch = SND.Pitch - 1/60
  1383.         SND2.Pitch = SND.Pitch
  1384.         WACKYEFFECT({TIME = 4, EffectType = "Wave", Size = VT(i*2,10,i*2), Size2 = VT(i*2,10,i*2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1385.         WACKYEFFECT({TIME = math.ceil(15-(i/10)), EffectType = "Wave", Size = VT(0,10,0), Size2 = VT(i*2,6,i*2), Transparency = 0.8, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1386.         WACKYEFFECT({TIME = math.ceil(15-(i/10)), EffectType = "Wave", Size = VT(0,6,0), Size2 = VT(i*1.6,10,i*1.6), Transparency = 0.8, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(MRANDOM(-5,5)), RAD(i*5), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1387.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1388.         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)
  1389.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1390.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(45), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1391.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1392.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1393.     end
  1394.     SND:remove()
  1395.     SND2:remove()
  1396.     ATTACK = false
  1397.     Rooted = false
  1398. end
  1399.  
  1400. local OFFSET = 0
  1401. local TAUNT = false
  1402.  
  1403. function Taunt()
  1404.     ATTACK = true
  1405.     Rooted = false
  1406.     TAUNT = true
  1407.     for i=0, 0.1, 0.1 / Animation_Speed do
  1408.         Swait()
  1409.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1410.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1411.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1412.     end
  1413.     for i=0, 3, 0.1 / Animation_Speed do
  1414.         Swait()
  1415.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1416.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1417.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1418.     end
  1419.     CreateSound(363808674, Torso, 10, 1.3)
  1420.     for i=0, 1, 0.1 / Animation_Speed do
  1421.         Swait()
  1422.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  1423.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  1424.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1425.     end
  1426.     WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("White").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1427.     CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 0.8)
  1428.     for i=0, 0.01, 0.1 / Animation_Speed do
  1429.         Swait()
  1430.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1431.         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, 3 / Animation_Speed)
  1432.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1433.     end
  1434.     ATTACK = false
  1435.     Rooted = false
  1436.     TAUNT = false
  1437. end
  1438.  
  1439. function Click()
  1440.     ATTACK = true
  1441.     Rooted = false
  1442.     local HIT = nil
  1443.     OFFSET = -45
  1444.     for i=0, 1, 0.1 / Animation_Speed do
  1445.         Swait()
  1446.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1447.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1448.     end
  1449.     OFFSET = 45
  1450.     local PUNCH = CreatePart(3, Effects, "Granite", 0, 1, "White", "Hit", VT(0.7,0.7,0.7),false)
  1451.     PUNCH.CanCollide = true
  1452.     CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PUNCH, CF(0,-1,0), CF(0, 0, 0))
  1453.     TAUNT = true
  1454.     local TOUCH = PUNCH.Touched:Connect(function(hit)
  1455.         if hit.Parent:FindFirstChildOfClass("Humanoid") then
  1456.             HIT = hit.Parent
  1457.         end
  1458.     end)
  1459.     for i=0, 0.3, 0.1 / Animation_Speed do
  1460.         Swait()
  1461.         RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.3)
  1462.         if HIT ~= nil then
  1463.             break
  1464.         end
  1465.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1466.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1467.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1468.     end
  1469.     PUNCH:remove()
  1470.     TOUCH:disconnect()
  1471.     if HIT ~= nil then
  1472.         for _, c in pairs(HIT:GetChildren()) do
  1473.             if c:IsA("BasePart") then
  1474.                 c.Anchored = true
  1475.             end
  1476.         end
  1477.         Rooted = true
  1478.         CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 0.8)
  1479.         CreateSound(1368573150, RightArm, 3, 1.5)
  1480.         for i=0, 0.6, 0.1 / Animation_Speed do
  1481.             Swait()
  1482.             WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1483.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(25), RAD(-45)), 0.05 / Animation_Speed)
  1484.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1485.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1486.         end
  1487.         for _, c in pairs(HIT:GetChildren()) do
  1488.             if c:IsA("BasePart") then
  1489.                 c.Anchored = false
  1490.             end
  1491.         end
  1492.         KillChildren(HIT)
  1493.     end
  1494.     OFFSET = 0
  1495.     ATTACK = false
  1496.     Rooted = false
  1497.     TAUNT = false
  1498. end
  1499.  
  1500. function SpawnSmite(POS)
  1501.     local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1502.     local EMITPOS = HITPOS
  1503.     if HITFLOOR ~= nil then
  1504.         if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1505.             HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1506.             EMITPOS = HITPOS
  1507.         elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1508.             HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1509.             EMITPOS = HITPOS
  1510.         end
  1511.     end
  1512.     if HITFLOOR ~= nil then
  1513.         ApplyAoE(EMITPOS,10)
  1514.         WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1515.         WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1516.         WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1517.         for i = 1, 5 do
  1518.             local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  1519.             WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1520.         end
  1521.     end
  1522. end
  1523.  
  1524. function Corrupted_Explosion()
  1525.     ATTACK = true
  1526.     Rooted = false
  1527.     CreateSound(1368573150, RightArm, 3, 1.5)
  1528.     CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 3, 1)
  1529.     for i=0, 0.6, 0.1 / Animation_Speed do
  1530.         Swait()
  1531.         WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1532.         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)
  1533.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1534.     end
  1535.     local POWER = 0
  1536.     repeat
  1537.         Swait()
  1538.         WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1539.         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)
  1540.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1541.         POWER = POWER + 0.5
  1542.         if POWER >= 85 then
  1543.             POWER = 85
  1544.         end
  1545.     until KEYHOLD == false
  1546.     if POWER < 0.6 then
  1547.         SpawnMeteor(Mouse.Hit.p)
  1548.     else
  1549.         if POWER < 15 then
  1550.             POWER = 15
  1551.         end
  1552.         SpawnMeteor(Mouse.Hit.p,POWER/15)
  1553.     end
  1554.     ATTACK = false
  1555.     Rooted = false
  1556. end
  1557.  
  1558. function Psyo()
  1559.  
  1560. end
  1561.  
  1562. function Cleve()
  1563.    
  1564. end
  1565. function Lock_n_Load()
  1566.    
  1567. end
  1568. function Morning_Star()
  1569.     ATTACK = true
  1570.     Rooted = true
  1571.     CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1572.     for i=0, 0.5, 0.1 / Animation_Speed do
  1573.         Swait()
  1574.         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)
  1575.         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)
  1576.     end
  1577.     coroutine.resume(coroutine.create(function()
  1578.         local POS = Mouse.Hit.p
  1579.         local RAY = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,2000,0))
  1580.         MakeForm(RAY,"Cyl")
  1581.         local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,0,0))
  1582.         MakeForm(SPHERE,"Ball")
  1583.         local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Strike", VT(0,0,0))
  1584.         MakeForm(SHIELD,"Ball")
  1585.         SHIELD.CFrame = CF(POS)
  1586.         RAY.CFrame = CF(POS)
  1587.         SPHERE.CFrame = CF(POS)
  1588.         CreateSound(144699494, SPHERE, 10, 0.8, false)
  1589.         CreateSound(1146688617, SPHERE, 10, 0.8, false)
  1590.         for i = 1, 200 do
  1591.             Swait()
  1592.             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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1593.             RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1594.             SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1595.             SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1596.             ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1597.         end
  1598.         for i = 1, 45 do
  1599.             Swait()
  1600.             RAY.Transparency = RAY.Transparency + 1/45
  1601.             SPHERE.Transparency = RAY.Transparency
  1602.             SHIELD.Transparency = SPHERE.Transparency + 1/45
  1603.         end
  1604.         RAY:remove()
  1605.         SHIELD:remove()
  1606.         SPHERE:remove()
  1607.     end))
  1608.     for i=0, 0.1, 0.1 / Animation_Speed do
  1609.         Swait()
  1610.         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)
  1611.     end
  1612.     ATTACK = false
  1613.     Rooted = false
  1614. end
  1615. function Deathbound()
  1616.  
  1617. end
  1618. function Execute()
  1619.  
  1620. end
  1621.  
  1622. --//=================================\\
  1623. --||      ASSIGN THINGS TO KEYS
  1624. --\\=================================//
  1625.  
  1626. function MouseDown(Mouse)
  1627.     if ATTACK == false then
  1628.         Click()
  1629.     end
  1630. end
  1631.  
  1632. function MouseUp(Mouse)
  1633. HOLD = false
  1634. end
  1635.  
  1636. function KeyDown(Key)
  1637.     KEYHOLD = true
  1638.     if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1639.         if Key == "z" and ATTACK == false then
  1640.             Corrupted_Explosion()
  1641.    
  1642.         elseif Key == "b" and ATTACK == false then
  1643.             Corrupted_Immobilization()
  1644.    
  1645.         elseif Key == "c" and ATTACK == false then
  1646.             Cleave()
  1647.    
  1648.         elseif Key == "v" and ATTACK == false then
  1649.             Lock_n_Load()
  1650.    
  1651.         elseif Key == "g" and ATTACK == false then
  1652.             Deathbound()
  1653.    
  1654.         elseif Key == "x" and ATTACK == false then
  1655.             Morning_Star()
  1656.    
  1657.         elseif Key == "t" then
  1658.             Taunt()
  1659.         end        
  1660.     end
  1661. end
  1662.  
  1663. function KeyUp(Key)
  1664.     if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1665.         KEYHOLD = false
  1666.     end
  1667. end
  1668.  
  1669.     Mouse.Button1Down:connect(function(NEWKEY)
  1670.         MouseDown(NEWKEY)
  1671.     end)
  1672.     Mouse.Button1Up:connect(function(NEWKEY)
  1673.         MouseUp(NEWKEY)
  1674.     end)
  1675.     Mouse.KeyDown:connect(function(NEWKEY)
  1676.         KeyDown(NEWKEY)
  1677.     end)
  1678.     Mouse.KeyUp:connect(function(NEWKEY)
  1679.         KeyUp(NEWKEY)
  1680.     end)
  1681.  
  1682. --//=================================\\
  1683. --\\=================================//
  1684.  
  1685.  
  1686. function unanchor()
  1687.     if UNANCHOR == true then
  1688.         g = Character:GetChildren()
  1689.         for i = 1, #g do
  1690.             if g[i].ClassName == "Part" then
  1691.                 g[i].Anchored = false
  1692.             end
  1693.         end
  1694.     end
  1695. end
  1696.  
  1697.  
  1698. --//=================================\\
  1699. --||    WRAP THE WHOLE SCRIPT UP
  1700. --\\=================================//
  1701.  
  1702. Humanoid.Changed:connect(function(Jump)
  1703.     if Jump == "Jump" and (Disable_Jump == true) then
  1704.         Humanoid.Jump = false
  1705.     end
  1706. end)
  1707.  
  1708. local SIZE = 1
  1709. while true do
  1710.     Swait()
  1711.     script.Parent = WEAPONGUI
  1712.     for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1713.         v:Stop();
  1714.     end
  1715.     ANIMATE.Parent = nil
  1716.     SINE = SINE + CHANGE*1.5
  1717.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1718.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1719.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1720.     local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  1721.     if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1722.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1723.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1724.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1725.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1726.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1727.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1728.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1729.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1730.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1731.     end
  1732.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1733.         ANIM = "Jump"
  1734.         if ATTACK == false then
  1735.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1736.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1737.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1738.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1739.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  1740.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  1741.         end
  1742.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1743.         ANIM = "Fall"
  1744.         if ATTACK == false then
  1745.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1746.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1747.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1748.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1749.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  1750.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  1751.         end
  1752.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1753.         ANIM = "Idle"
  1754.         if ATTACK == false then
  1755.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1756.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1757.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(-85 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1758.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(15 - 2.5 * SIN(SINE / 12)), RAD(85 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1759.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1760.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1761.         end
  1762.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1763.         ANIM = "Walk"
  1764.         if ATTACK == false then
  1765.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1766.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  1767.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1768.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1769.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1770.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1771.         end
  1772.     end
  1773.     unanchor()
  1774.     Humanoid.MaxHealth = "inf"
  1775.     Humanoid.Health = "inf"
  1776.     if Rooted == false then
  1777.         Disable_Jump = false
  1778.         Humanoid.WalkSpeed = Speed
  1779.     elseif Rooted == true then
  1780.         Disable_Jump = true
  1781.         Humanoid.WalkSpeed = 0
  1782.     end
  1783.     for _, c in pairs(Character:GetDescendants()) do
  1784.         if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1785.             c.Material = "Neon"
  1786.             c.Color = C3(0,0,0)
  1787.             if c:FindFirstChildOfClass("SpecialMesh") then
  1788.                 c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1789.             end
  1790.             if c == Head then
  1791.                 if c:FindFirstChild("face") then
  1792.                     c.face:remove()
  1793.                 end
  1794.             end
  1795.         elseif c.ClassName == "Part" and c.Name == "Eye" then
  1796.             c.Color = C3(58,125,21)
  1797.             c.Material = "Neon"
  1798.         elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1799.             c:remove()
  1800.         elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1801.             c:remove()
  1802.         end
  1803.     end
  1804.     refit()
  1805.     Humanoid.Name = "Deadeyes"
  1806.     sick.Parent = Torso
  1807.     sick:resume()
  1808.     sick.Volume = 5
  1809.     sick.Pitch = 1
  1810.     if Head:FindFirstChildOfClass("Sound") then
  1811.         Head:FindFirstChildOfClass("Sound"):remove()
  1812.     end
  1813. end
  1814.  
  1815. --//=================================\\
  1816. --\\=================================//
  1817.  
  1818.  
  1819. --//====================================================\\--
  1820. --||                     END OF SCRIPT
  1821. --\\====================================================//--
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top