SHARE
TWEET

Untitled

a guest May 21st, 2019 78 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.     local h,t
  87.     --Give the server mouse data every second frame, but only if the values changed
  88.     --If player is not moving their mouse, client won't fire events
  89.     local HB = game:GetService("RunService").Heartbeat
  90.     while true do
  91.         if h~=Mouse.Hit or t~=Mouse.Target then
  92.             h,t=Mouse.Hit,Mouse.Target
  93.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  94.         end
  95.         --Wait 2 frames
  96.         for i=1,2 do
  97.             HB:Wait()
  98.         end
  99.     end]==],script)
  100.  
  101.     ----Sandboxed game object that allows the usage of client-side methods and services
  102.     --Real game object
  103.     local RealGame = game
  104.  
  105.     --Metatable for fake service
  106.     local FakeService_Metatable = {
  107.         __index = function(self,k)
  108.             local s = rawget(self,"_RealService")
  109.             if s then
  110.                 return typeof(s[k])=="function"
  111.                 and function(_,...)return s[k](s,...)end or s[k]
  112.             end
  113.         end,
  114.         __newindex = function(self,k,v)
  115.             local s = rawget(self,"_RealService")
  116.             if s then s[k]=v end
  117.         end
  118.     }
  119.     local function FakeService(t,RealService)
  120.         t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  121.         return setmetatable(t,FakeService_Metatable)
  122.     end
  123.  
  124.     --Fake game object
  125.     local FakeGame = {
  126.         GetService = function(self,s)
  127.             return rawget(self,s) or RealGame:GetService(s)
  128.         end,
  129.         Players = FakeService({
  130.             LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  131.         },"Players"),
  132.         UserInputService = FakeService(UIS,"UserInputService"),
  133.         ContextActionService = FakeService(CAS,"ContextActionService"),
  134.         RunService = FakeService({
  135.             _btrs = {},
  136.             RenderStepped = RealGame:GetService("RunService").Heartbeat,
  137.             BindToRenderStep = function(self,name,_,fun)
  138.                 self._btrs[name] = self.Heartbeat:Connect(fun)
  139.             end,
  140.             UnbindFromRenderStep = function(self,name)
  141.                 self._btrs[name]:Disconnect()
  142.             end,
  143.         },"RunService")
  144.     }
  145.     rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  146.     FakeGame.service = FakeGame.GetService
  147.     FakeService(FakeGame,game)
  148.     --Changing owner to fake player object to support owner:GetMouse()
  149.     game,owner = FakeGame,FakeGame.Players.LocalPlayer
  150. end
  151.  
  152. Player = owner
  153. Character = Player.Character
  154. PlayerGui = Player.PlayerGui
  155. Backpack = Player.Backpack
  156. Torso = Character.Torso
  157. Head = Character.Head
  158. LeftArm = Character["Left Arm"]
  159. LeftLeg = Character["Left Leg"]
  160. RightArm = Character["Right Arm"]
  161. RightLeg = Character["Right Leg"]
  162. LS = Torso["Left Shoulder"]
  163. LH = Torso["Left Hip"]
  164. RS = Torso["Right Shoulder"]
  165. RH = Torso["Right Hip"]
  166. attack = false
  167. attackdebounce = false
  168. combo = 0
  169. mana = 1050
  170. necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  171. comboing = false
  172. --player
  173. player = nil
  174. --save shoulders
  175. RSH, LSH = nil, nil
  176. --welds
  177. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  178. --what anim
  179. anim = "none"
  180. if Character:findFirstChild("VɆⱤ₮₳Ⱡł",true) ~= nil then
  181. Character:findFirstChild("VɆⱤ₮₳Ⱡł",true).Parent = nil
  182. end
  183. if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then
  184. Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil
  185. end
  186. local modelzorz = Instance.new("Model")
  187. modelzorz.Name = "VɆⱤ₮₳Ⱡł"
  188. modelzorz.Parent = Character
  189. local prt1 = Instance.new("Part")
  190. prt1.formFactor = 1
  191. prt1.Parent = modelzorz
  192. prt1.CanCollide = false
  193. prt1.BrickColor = BrickColor.new("Really black")
  194. prt1.Name = "Part1"
  195. prt1.Transparency = 0.4
  196. prt1.Size = Vector3.new(1,1,1)
  197. prt1.Position = Torso.Position
  198. local prt2 = Instance.new("Part")
  199. prt2.formFactor = 1
  200. prt2.Parent = modelzorz
  201. prt2.CanCollide = false
  202. prt2.BrickColor = BrickColor.new("institutional white")
  203. prt2.Name = "Part2"
  204. prt2.Transparency = 0.4
  205. prt2.Size = Vector3.new(1,1,1)
  206. prt2.Position = Torso.Position
  207. local prt3 = Instance.new("Part")
  208. prt3.formFactor = 1
  209. prt3.Parent = modelzorz
  210. prt3.CanCollide = false
  211. prt3.BrickColor = BrickColor.new("Really black")
  212. prt3.Name = "Part3"
  213. prt3.Transparency = 0.4
  214. prt3.Size = Vector3.new(1,1,1)
  215. prt3.Position = Torso.Position
  216. local prt4 = Instance.new("Part")
  217. prt4.formFactor = 1
  218. prt4.Parent = modelzorz
  219. prt4.CanCollide = false
  220. prt4.BrickColor = BrickColor.new("institutional white")
  221. prt4.Name = "Part4"
  222. prt4.Transparency = 0.4
  223. prt4.Size = Vector3.new(1,1,1)
  224. prt4.Position = Torso.Position
  225. local prt5 = Instance.new("Part")
  226. prt5.formFactor = 1
  227. prt5.Parent = modelzorz
  228. prt5.CanCollide = false
  229. prt5.BrickColor = BrickColor.new("Really black")
  230. prt5.Name = "Part5"
  231. prt5.Transparency = 0.4
  232. prt5.Size = Vector3.new(1,1,1)
  233. prt5.Position = Torso.Position
  234. local prt6 = Instance.new("Part")
  235. prt6.formFactor = 1
  236. prt6.Parent = modelzorz
  237. prt6.CanCollide = false
  238. prt6.BrickColor = BrickColor.new("institutional white")
  239. prt6.Name = "Part6"
  240. prt6.Transparency = 0.4
  241. prt6.Size = Vector3.new(1,1,1)
  242. prt6.Position = Torso.Position
  243. local prt7 = Instance.new("Part")
  244. prt7.formFactor = 1
  245. prt7.Parent = modelzorz
  246. prt7.CanCollide = false
  247. prt7.BrickColor = BrickColor.new("Really black")
  248. prt7.Name = "Part7"
  249. prt7.Transparency = 0.4
  250. prt7.Size = Vector3.new(1,1,1)
  251. prt7.Position = Torso.Position
  252. local prt8 = Instance.new("Part")
  253. prt8.formFactor = 1
  254. prt8.Parent = modelzorz
  255. prt8.CanCollide = false
  256. prt8.BrickColor = BrickColor.new("institutional white")
  257. prt8.Name = "Part8"
  258. prt8.Transparency = 0.4
  259. prt8.Size = Vector3.new(1,1,1)
  260. prt8.Position = Torso.Position
  261. local msh1 = Instance.new("CylinderMesh")
  262. msh1.Parent = prt1
  263. msh1.Scale = Vector3.new(0.5,1,0.5)
  264. local msh2 = Instance.new("CylinderMesh")
  265. msh2.Parent = prt2
  266. msh2.Scale = Vector3.new(0.5,1,0.5)
  267. local msh3 = Instance.new("CylinderMesh")
  268. msh3.Parent = prt3
  269. msh3.Scale = Vector3.new(0.5,1,0.5)
  270. local msh4 = Instance.new("CylinderMesh")
  271. msh4.Parent = prt4
  272. msh4.Scale = Vector3.new(0.5,1,0.5)
  273. local msh5 = Instance.new("CylinderMesh")
  274. msh5.Parent = prt5
  275. msh5.Scale = Vector3.new(0.5,1,0.5)
  276. local msh6 = Instance.new("CylinderMesh")
  277. msh6.Parent = prt6
  278. msh6.Scale = Vector3.new(0.5,1,0.5)
  279. local msh7 = Instance.new("CylinderMesh")
  280. msh7.Parent = prt7
  281. msh7.Scale = Vector3.new(0.5,1,0.5)
  282. local msh8 = Instance.new("CylinderMesh")
  283. msh8.Parent = prt8
  284. msh8.Scale = Vector3.new(0.5,1,0.5)
  285. local wld1 = Instance.new("Weld")
  286. wld1.Parent = prt1
  287. wld1.Part0 = prt1
  288. wld1.Part1 = Torso
  289. wld1.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0)
  290. local wld2 = Instance.new("Weld")
  291. wld2.Parent = prt2
  292. wld2.Part0 = prt2
  293. wld2.Part1 = Torso
  294. wld2.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  295. local wld3 = Instance.new("Weld")
  296. wld3.Parent = prt3
  297. wld3.Part0 = prt3
  298. wld3.Part1 = Torso
  299. wld3.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  300. local wld4 = Instance.new("Weld")
  301. wld4.Parent = prt4
  302. wld4.Part0 = prt4
  303. wld4.Part1 = Torso
  304. wld4.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  305. local wld5 = Instance.new("Weld")
  306. wld5.Parent = prt5
  307. wld5.Part0 = prt5
  308. wld5.Part1 = Torso
  309. wld5.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  310. local wld6 = Instance.new("Weld")
  311. wld6.Parent = prt6
  312. wld6.Part0 = prt6
  313. wld6.Part1 = Torso
  314. wld6.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  315. local wld7 = Instance.new("Weld")
  316. wld7.Parent = prt7
  317. wld7.Part0 = prt7
  318. wld7.Part1 = Torso
  319. wld7.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  320. local wld8 = Instance.new("Weld")
  321. wld8.Parent = prt8
  322. wld8.Part0 = prt8
  323. wld8.Part1 = Torso
  324. wld8.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  325. local SlashSound = Instance.new("Sound") -- PRELOADING SOUNDS TROLOLOL
  326. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  327. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  328. SlashSound.Parent = modelzorz
  329. SlashSound.Volume = .7
  330. SlashSound.Pitch = 1
  331. local SlashSound = Instance.new("Sound")
  332. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  333. SlashSound.Parent = workspace
  334. SlashSound.Volume = .5
  335. SlashSound.Pitch = 1
  336. local SlashSound = Instance.new("Sound")
  337. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  338. SlashSound.Parent = workspace
  339. SlashSound.Volume = .7
  340. SlashSound.Pitch = 1
  341. local SlashSound = Instance.new("Sound")
  342. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  343. SlashSound.Parent = workspace
  344. SlashSound.Volume = .7
  345. SlashSound.Pitch = 1
  346. local fengui = Instance.new("GuiMain")
  347. fengui.Parent = Player.PlayerGui
  348. fengui.Name = "manaGUI"
  349. local fenframe = Instance.new("Frame")
  350. fenframe.Parent = fengui
  351. fenframe.BackgroundColor3 = Color3.new(255,255,255)
  352. fenframe.BackgroundTransparency = 1
  353. fenframe.BorderColor3 = Color3.new(17,17,17)
  354. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  355. local fentext = Instance.new("TextLabel")
  356. fentext.Parent = fenframe
  357. fentext.Text = "Energy("..mana..")"
  358. fentext.BackgroundTransparency = 1
  359. fentext.SizeConstraint = "RelativeXY"
  360. fentext.TextXAlignment = "Center"
  361. fentext.TextYAlignment = "Center"
  362. fentext.Position = UDim2.new(0,80,1,200)
  363. local fentext2 = Instance.new("TextLabel")
  364. fentext2.Parent = fenframe
  365. fentext2.Text = " "
  366. fentext2.BackgroundTransparency = 0
  367. fentext2.BackgroundColor3 = Color3.new(0,0,0)
  368. fentext2.SizeConstraint = "RelativeXY"
  369. fentext2.TextXAlignment = "Center"
  370. fentext2.TextYAlignment = "Center"
  371. fentext2.Position = UDim2.new(0,10,1,170)
  372. fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0)
  373. local fentext3 = Instance.new("TextLabel")
  374. fentext3.Parent = fenframe
  375. fentext3.Text = " "
  376. fentext3.BackgroundTransparency = 0
  377. fentext3.BackgroundColor3 = Color3.new(1,1,0)
  378. fentext3.SizeConstraint = "RelativeXY"
  379. fentext3.TextXAlignment = "Center"
  380. fentext3.TextYAlignment = "Center"
  381. fentext3.Position = UDim2.new(0,10,1,170)
  382. fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0)
  383. --2.9000001, 0}, {0.450000018, 0}
  384. local gairo = Instance.new("BodyGyro")
  385. gairo.Parent = nil
  386. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  387. gairo.P = 20e+003
  388. if (script.Parent.className ~= "HopperBin") then
  389. Tool = Instance.new("HopperBin")
  390. Tool.Parent = Backpack
  391. Tool.Name = "Harute"
  392. script.Parent = Tool
  393. end
  394. Bin = script.Parent
  395. function hideanim()
  396. end
  397. function equipanim()
  398. end
  399. function onehit()
  400. if mana >= 0 then
  401. attack = true
  402. comboing = true
  403. for i = 0,1,0.1 do
  404. wait()
  405. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  406. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  407. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  408. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  409. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  410. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  411. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  412. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  413. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  414. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  415. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  416. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  417. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  418. end
  419. wait(0.1)
  420. gairo.Parent = Head
  421. gairo.cframe = Head.CFrame
  422. for i = 0,1,0.1 do
  423. wait()
  424. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1*i)
  425. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+0.5*i)
  426. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  427. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  428. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  429. --[[wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  430. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  431. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) ]]
  432. wld4.C0 = CFrame.new(1.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,2.355-0.785*i)
  433. wld5.C0 = CFrame.new(-0.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,3.14-1.57*i)
  434. --[[wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  435. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  436. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) ]]
  437. end
  438. wait(0.1)
  439. if mana >= 0 then
  440. mana = mana - 10
  441. else
  442. mana = 0
  443. end
  444. lasersound(4)
  445. lasersound(4)
  446. Laser(prt4,math.random(20,40))
  447. Laser(prt5,math.random(20,40))
  448. attack = false
  449. end
  450. end
  451. function twohit()
  452. if mana >= 0 then
  453. attack = true
  454. for i = 0,1,0.1 do
  455. wait()
  456. wld4.C0 = CFrame.new(1.3-1.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,2.355-0.785+0.785*i)
  457. wld5.C0 = CFrame.new(-0.3+0.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,3.14-1.57+1.57*i)
  458. wld6.C0 = CFrame.new(0.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,3.925+0.785*i)
  459. wld7.C0 = CFrame.new(-1.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,4.71)
  460. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1-2*i)
  461. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+0.5-0.5*i)
  462. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  463. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-0.5*i)
  464. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  465. end
  466. wait(0.1)
  467. if mana >= 0 then
  468. mana = mana - 5
  469. else
  470. mana = 0
  471. end
  472. lasersound(4)
  473. lasersound(4)
  474. Laser(prt6,math.random(20,40))
  475. Laser(prt7,math.random(20,40))
  476. wait(0.1)
  477. attack = false
  478. end
  479. end
  480. function threehit()
  481. if mana >= 0 then
  482. attack = true
  483. for i = 0,1,0.1 do
  484. wait()
  485. wld6.C0 = CFrame.new(0.3-0.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,3.925+0.785-0.785*i)
  486. wld7.C0 = CFrame.new(-1.3+1.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,4.71)
  487. wld8.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.5*i,5.495-5.495*i)
  488. wld1.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28)
  489. wld2.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.5*i,0.785-0.785*i)
  490. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1-2+1*i)
  491. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  492. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  493. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-0.5-1.27*i)
  494. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  495. end
  496. wait(0.1)
  497. if mana >= 0 then
  498. mana = mana - 8
  499. else
  500. mana = 0
  501. end
  502. lasersound(4)
  503. lasersound(4)
  504. lasersound(4)
  505. Laser(prt8,math.random(20,40))
  506. Laser(prt1,math.random(20,40))
  507. Laser(prt2,math.random(20,40))
  508. wait(0.1)
  509. attack = false
  510. end
  511. end
  512. function fourhit()
  513. if mana >= 0 then
  514. attack = true
  515. for i = 0,1,0.1 do
  516. wait()
  517. wld8.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0.5*i,5.495-5.495+5.495*i)
  518. wld1.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28)
  519. wld2.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,-0.5*i,0.785-0.785+0.785*i)
  520. wld3.C0 = CFrame.new(0,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57+0.5*i)
  521. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57*i)
  522. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,0.2-1.77*i)
  523. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  524. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,1.57-0.5-1.27+1*i)
  525. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  526. end
  527. wait(0.1)
  528. for i = 0,1,0.1 do
  529. wait()
  530. wld3.C0 = CFrame.new(0,1.6+3,-1+1) * CFrame.fromEulerAnglesXYZ(0,0,1.57+0.5-0.8*i)
  531. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57)
  532. LW.C0 = CFrame.new(-1.5+0.5-0.5,0.5,-0.5+0.5) * CFrame.fromEulerAnglesXYZ(1.57,0,0.2-1.77)
  533. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+1*i,0,0)
  534. RW.C0 = CFrame.new(1.5-0.5+0.5,0.5,-0.5+0.5) * CFrame.fromEulerAnglesXYZ(1.57-1.57,0,1.57-0.5-1.27+1)
  535. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  536. if mana >= 0 then
  537. mana = mana - 1
  538. else
  539. mana = 0
  540. end
  541. lasersound(4)
  542. Laser(prt3,math.random(5,15))
  543. end
  544. wait(0.1)
  545. attack = false
  546. end
  547. end
  548. function LaserWave()
  549. if mana >= 0 then
  550. attack = true
  551. for i = 0,1,0.1 do
  552. wait()
  553. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  554. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  555. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  556. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  557. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  558. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  559. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  560. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  561. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  562. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  563. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  564. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  565. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  566. end
  567. wait(0.1)
  568. for i = 0,1,0.1 do
  569. wait()
  570. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  571. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  572. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i)
  573. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  574. wld1.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28)
  575. wld3.C0 = CFrame.new(0,1.6+3,-1+4*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,1.57)
  576. wld5.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.14)
  577. wld7.C0 = CFrame.new(0,1.6+3,-1+4*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,4.71)
  578. end
  579. if mana >= 0 then
  580. mana = mana - 20
  581. else
  582. mana = 0
  583. end
  584. lasersound(4)
  585. lasersound(4)
  586. lasersound(4)
  587. lasersound(4)
  588. Laser(prt1,math.random(10,20))
  589. Laser(prt3,math.random(10,20))
  590. Laser(prt5,math.random(10,20))
  591. Laser(prt7,math.random(10,20))
  592. wait(0.1)
  593. for i = 0,1,0.1 do
  594. wait()
  595. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77-1.77*i)
  596. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  597. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77+1.77*i)
  598. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  599. wld1.C0 = CFrame.new(0.5-0.5*i,1.6+3,-1+1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28)
  600. wld3.C0 = CFrame.new(0,1.6+3,-1+4-4*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,1.57)
  601. wld5.C0 = CFrame.new(0.5-0.5*i,1.6+3,-1+1-1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.14)
  602. wld7.C0 = CFrame.new(0,1.6+3,-1+4-4*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,4.71)
  603. end
  604. for i = 0,1,0.1 do
  605. wait()
  606. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  607. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  608. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i)
  609. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  610. wld2.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.97*i,0,0.785-0.785*i)
  611. wld4.C0 = CFrame.new(0,1.6+3,-1+1.5*i) * CFrame.fromEulerAnglesXYZ(-1.77*i,0,2.355-2.355*i)
  612. wld6.C0 = CFrame.new(0,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925-3.925*i)
  613. wld8.C0 = CFrame.new(0,1.6+3,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(-1.37*i,0,5.495-5.495*i)
  614. end
  615. if mana >= 0 then
  616. mana = mana - 20
  617. else
  618. mana = 0
  619. end
  620. lasersound(4)
  621. lasersound(4)
  622. lasersound(4)
  623. lasersound(4)
  624. Laser(prt2,math.random(10,20))
  625. Laser(prt4,math.random(10,20))
  626. Laser(prt6,math.random(10,20))
  627. Laser(prt8,math.random(10,20))
  628. wait(0.1)
  629. for i = 0,1,0.1 do
  630. wait()
  631. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77-1.77*i)
  632. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  633. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77+1.77*i)
  634. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  635. wld2.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.97+1.97*i,0,-0.785*i)
  636. wld4.C0 = CFrame.new(0,1.6+3,-1+1.5-1.5*i) * CFrame.fromEulerAnglesXYZ(-1.77+1.77*i,0,-2.355*i)
  637. wld6.C0 = CFrame.new(0,1.6+3,-1+1-1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,-3.925*i)
  638. wld8.C0 = CFrame.new(0,1.6+3,-1+0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(-1.37+1.37*i,0,-5.495*i)
  639. end
  640. wait(0.1)
  641. attack = false
  642. end
  643. end
  644. function OverBlast()
  645. if mana >= 0 then
  646. attack = true
  647. for i = 0,1,0.1 do
  648. wait()
  649. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  650. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  651. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  652. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  653. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  654. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  655. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  656. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  657. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  658. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  659. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  660. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  661. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  662. end
  663. for i = 0,1.05,0.05 do
  664. wait()
  665. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  666. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  667. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  668. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i)
  669. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  670. wld1.C0 = CFrame.new(-1.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.5*i,6.28)
  671. wld2.C0 = CFrame.new(-1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.3*i,0.785+5.495*i)
  672. wld3.C0 = CFrame.new(1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.3*i,1.57+4.71*i)
  673. wld4.C0 = CFrame.new(1.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.5*i,2.355+3.925*i)
  674. wld5.C0 = CFrame.new(-1.1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.1*i,3.14-3.14*i)
  675. wld6.C0 = CFrame.new(-0.6*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925-3.925*i)
  676. wld7.C0 = CFrame.new(0.6*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0,4.71-4.71*i)
  677. wld8.C0 = CFrame.new(1.1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.1*i,5.495-5.495*i)
  678. end
  679. if mana >= 0 then
  680. mana = mana - 50
  681. else
  682. mana = 0
  683. end
  684. lasersound(4)
  685. lasersound(4)
  686. lasersound(4)
  687. lasersound(4)
  688. lasersound(4)
  689. lasersound(4)
  690. lasersound(4)
  691. lasersound(4)
  692. Laser(prt1,math.random(5,15))
  693. Laser(prt2,math.random(5,15))
  694. Laser(prt3,math.random(5,15))
  695. Laser(prt4,math.random(5,15))
  696. Laser(prt5,math.random(5,15))
  697. Laser(prt6,math.random(5,15))
  698. Laser(prt7,math.random(5,15))
  699. Laser(prt8,math.random(5,15))
  700. wait(0.2)
  701. for i = 0,1.05,0.05 do
  702. wait()
  703. wld1.C0 = CFrame.new(-1.5,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.5-0.5*i,6.28)
  704. wld2.C0 = CFrame.new(-1+0.5*i,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.3-0.3*i,0.785+5.495)
  705. wld3.C0 = CFrame.new(1-0.5*i,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.3+0.3*i,1.57+4.71)
  706. wld4.C0 = CFrame.new(1.5,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.5+0.5*i,2.355+3.925)
  707. wld5.C0 = CFrame.new(-1.1-0.4*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.1-0.1*i,3.14-3.14)
  708. wld6.C0 = CFrame.new(-0.6+0.1*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0,3.925-3.925)
  709. wld7.C0 = CFrame.new(0.6-0.1*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0,4.71-4.71)
  710. wld8.C0 = CFrame.new(1.1+0.4*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.1+0.1*i,5.495-5.495)
  711. end
  712. if mana >= 0 then
  713. mana = mana - 50
  714. else
  715. mana = 0
  716. end
  717. lasersound(4)
  718. lasersound(4)
  719. lasersound(4)
  720. lasersound(4)
  721. lasersound(4)
  722. lasersound(4)
  723. lasersound(4)
  724. lasersound(4)
  725. Laser(prt1,math.random(5,15))
  726. Laser(prt2,math.random(5,15))
  727. Laser(prt3,math.random(5,15))
  728. Laser(prt4,math.random(5,15))
  729. Laser(prt5,math.random(5,15))
  730. Laser(prt6,math.random(5,15))
  731. Laser(prt7,math.random(5,15))
  732. Laser(prt8,math.random(5,15))
  733. wait(0.5)
  734. attack = false
  735. end
  736. end
  737. function SpinBeam()
  738. if mana >= 0 then
  739. attack = true
  740. for i = 0,1,0.1 do
  741. wait()
  742. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  743. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  744. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  745. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  746. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  747. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  748. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  749. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  750. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  751. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  752. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  753. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  754. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  755. end
  756. for i = 0,1,0.1 do
  757. wait()
  758. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  759. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  760. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  761. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  762. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  763. wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  764. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  765. wld3.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  766. wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  767. wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  768. wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  769. wld7.C0 = CFrame.new(-0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  770. wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  771. end
  772. gairo.Parent = Head
  773. gairo.cframe = Head.CFrame
  774. CF = Torso.CFrame
  775. for i = 0,1,0.1 do
  776. wait(0.1)
  777. gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  778. if mana >= 0 then
  779. mana = mana - 5
  780. else
  781. mana = 0
  782. end
  783. lasersound(4)
  784. lasersound(4)
  785. Laser(prt3,math.random(10,20))
  786. Laser(prt7,math.random(10,20))
  787. end
  788. wait(0.2)
  789. gairo.Parent = nil
  790. attack = false
  791. end
  792. end
  793. function DodgeTheLaser()
  794. if mana >= 0 then
  795. attack = true
  796. for i = 0,1,0.1 do
  797. wait()
  798. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  799. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  800. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  801. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  802. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  803. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  804. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  805. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  806. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  807. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  808. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  809. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  810. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  811. end
  812. for i = 0,1,0.1 do
  813. wait()
  814. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  815. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  816. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  817. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  818. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  819. wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  820. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  821. wld3.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  822. wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  823. wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  824. wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  825. wld7.C0 = CFrame.new(-0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  826. wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  827. end
  828. gairo.Parent = Head
  829. gairo.cframe = Head.CFrame
  830. CF = Torso.CFrame
  831. for i = 0,1,0.01 do
  832. wait(0.1)
  833. gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  834. if mana >= 0 then
  835. mana = mana - 5
  836. else
  837. mana = 0
  838. end
  839. lasersound(4)
  840. lasersound(4)
  841. Laser(prt3,math.random(10,20))
  842. Laser(prt7,math.random(10,20))
  843. end
  844. wait()
  845. gairo.Parent = nil
  846. attack = false
  847. end
  848. end
  849. function LaserBarrage()
  850. if mana >= 0 then
  851. attack = true
  852. for i = 0,1,0.1 do
  853. wait()
  854. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  855. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  856. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  857. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  858. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  859. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  860. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  861. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  862. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  863. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  864. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  865. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  866. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  867. end
  868. for i = 0,1,0.2 do
  869. wait()
  870. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  871. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,-1.57+1.77*i)
  872. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  873. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,1.57-1.77*i)
  874. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  875. wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28)
  876. end
  877. if mana >= 0 then
  878. mana = mana - 1
  879. else
  880. mana = 0
  881. end
  882. lasersound(4)
  883. Laser(prt1,math.random(10,20))
  884. for i = 0,1,0.2 do
  885. wait()
  886. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  887. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,-1.57+1.77-1.77*i)
  888. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  889. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,1.57-1.77-1.77*i)
  890. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  891. wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28)
  892. end
  893. for i = 0,1,0.2 do
  894. wait()
  895. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  896. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,-1.57+1.77*i)
  897. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  898. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  899. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  900. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,0.785)
  901. end
  902. if mana >= 0 then
  903. mana = mana - 1
  904. else
  905. mana = 0
  906. end
  907. lasersound(4)
  908. Laser(prt2,math.random(10,20))
  909. for i = 0,1,0.2 do
  910. wait()
  911. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  912. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,-1.57+1.77-1.77*i)
  913. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  914. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  915. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  916. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,0.785)
  917. end
  918. for i = 0,1,0.2 do
  919. wait()
  920. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  921. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.3*i,0,-1.57+1.77*i)
  922. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  923. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  924. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  925. wld3.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,1.57)
  926. end
  927. if mana >= 0 then
  928. mana = mana - 1
  929. else
  930. mana = 0
  931. end
  932. lasersound(4)
  933. Laser(prt3,math.random(10,20))
  934. for i = 0,1,0.2 do
  935. wait()
  936. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  937. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.3+0.3*i,0,-1.57+1.77-1.77*i)
  938. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  939. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  940. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  941. wld3.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,1.57)
  942. end
  943. for i = 0,1,0.2 do
  944. wait()
  945. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  946. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,-1.57+1.77*i)
  947. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  948. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  949. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  950. wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,2.355)
  951. end
  952. if mana >= 0 then
  953. mana = mana - 1
  954. else
  955. mana = 0
  956. end
  957. lasersound(4)
  958. Laser(prt4,math.random(10,20))
  959. for i = 0,1,0.2 do
  960. wait()
  961. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  962. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,-1.57+1.77-1.77*i)
  963. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  964. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  965. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  966. wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,2.355)
  967. end
  968. for i = 0,1,0.2 do
  969. wait()
  970. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  971. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,-1.57+1.77*i)
  972. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  973. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-1.77*i)
  974. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  975. wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.14)
  976. end
  977. if mana >= 0 then
  978. mana = mana - 1
  979. else
  980. mana = 0
  981. end
  982. lasersound(4)
  983. Laser(prt5,math.random(10,20))
  984. for i = 0,1,0.2 do
  985. wait()
  986. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  987. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,-1.57+1.77-1.77*i)
  988. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  989. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,1.57-1.77+1.77*i)
  990. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  991. wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.14)
  992. end
  993. for i = 0,1,0.2 do
  994. wait()
  995. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  996. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  997. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  998. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-1.77*i)
  999. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1000. wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925)
  1001. end
  1002. if mana >= 0 then
  1003. mana = mana - 1
  1004. else
  1005. mana = 0
  1006. end
  1007. lasersound(4)
  1008. Laser(prt6,math.random(10,20))
  1009. for i = 0,1,0.2 do
  1010. wait()
  1011. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1012. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1013. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1014. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,1.57-1.77+1.77*i)
  1015. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1016. wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.925)
  1017. end
  1018. for i = 0,1,0.2 do
  1019. wait()
  1020. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1021. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1022. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1023. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,1.57-1.77*i)
  1024. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1025. wld7.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,4.71)
  1026. end
  1027. if mana >= 0 then
  1028. mana = mana - 1
  1029. else
  1030. mana = 0
  1031. end
  1032. lasersound(4)
  1033. Laser(prt7,math.random(10,20))
  1034. for i = 0,1,0.2 do
  1035. wait()
  1036. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1037. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1038. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1039. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,1.57-1.77+1.77*i)
  1040. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1041. wld7.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,4.71)
  1042. end
  1043. for i = 0,1,0.2 do
  1044. wait()
  1045. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1046. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1047. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1048. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,1.57-1.77*i)
  1049. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1050. wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,5.495)
  1051. end
  1052. if mana >= 0 then
  1053. mana = mana - 1
  1054. else
  1055. mana = 0
  1056. end
  1057. lasersound(4)
  1058. Laser(prt8,math.random(10,20))
  1059. for i = 0,1,0.2 do
  1060. wait()
  1061. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1062. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1063. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1064. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,1.57-1.77+1.77*i)
  1065. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1066. wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,5.495)
  1067. end
  1068. wait(0.5)
  1069. attack = false
  1070. end
  1071. end
  1072. function CloseRangedFire()
  1073. if mana >= 0 then
  1074. attack = true
  1075. for i = 0,1,0.1 do
  1076. wait()
  1077. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1078. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1079. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1080. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1081. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1082. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1083. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1084. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1085. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1086. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1087. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1088. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1089. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1090. end
  1091. for i = 0,1,0.1 do
  1092. wait()
  1093. wld1.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,6.28)
  1094. wld2.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,0.785)
  1095. wld3.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,1.57)
  1096. wld4.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,2.355)
  1097. wld5.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,3.14)
  1098. wld6.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,3.925)
  1099. wld7.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,4.71)
  1100. wld8.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,5.495)
  1101. end
  1102. if mana >= 0 then
  1103. mana = mana - 50
  1104. else
  1105. mana = 0
  1106. end
  1107. lasersound(4)
  1108. lasersound(4)
  1109. lasersound(4)
  1110. lasersound(4)
  1111. lasersound(4)
  1112. lasersound(4)
  1113. lasersound(4)
  1114. lasersound(4)
  1115. Laser(prt1,math.random(5,10))
  1116. Laser(prt2,math.random(5,10))
  1117. Laser(prt3,math.random(5,10))
  1118. Laser(prt4,math.random(5,10))
  1119. Laser(prt5,math.random(5,10))
  1120. Laser(prt6,math.random(5,10))
  1121. Laser(prt7,math.random(5,10))
  1122. Laser(prt8,math.random(5,10))
  1123. wait(1)
  1124. attack = false
  1125. end
  1126. end
  1127. function Implosion()
  1128. if mana >= 0 then
  1129. attack = true
  1130. for i = 0,1,0.1 do
  1131. wait()
  1132. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1133. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1134. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1135. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1136. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1137. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1138. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1139. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1140. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1141. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1142. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1143. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1144. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1145. end
  1146. for i = 0,1,0.1 do
  1147. wait()
  1148. wld1.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0,6.28-6.28*i)
  1149. wld2.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0.785*i,0.785-0.785*i)
  1150. wld3.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,1.57-1.57*i)
  1151. wld4.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,2.355*i,2.355-2.355*i)
  1152. wld5.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.14*i,3.14-3.14*i)
  1153. wld6.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.925*i,3.925-3.925*i)
  1154. wld7.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,4.71*i,4.71-4.71*i)
  1155. wld8.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,5.495*i,5.495-5.495*i)
  1156. end
  1157. if mana >= 0 then
  1158. mana = mana - 50
  1159. else
  1160. mana = 0
  1161. end
  1162. lasersound(4)
  1163. lasersound(4)
  1164. lasersound(4)
  1165. lasersound(4)
  1166. lasersound(4)
  1167. lasersound(4)
  1168. lasersound(4)
  1169. lasersound(4)
  1170. Laser(prt1,math.random(5,10))
  1171. Laser(prt2,math.random(5,10))
  1172. Laser(prt3,math.random(5,10))
  1173. Laser(prt4,math.random(5,10))
  1174. Laser(prt5,math.random(5,10))
  1175. Laser(prt6,math.random(5,10))
  1176. Laser(prt7,math.random(5,10))
  1177. Laser(prt8,math.random(5,10))
  1178. for i = 0,1,0.1 do
  1179. wait()
  1180. wld1.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5*i,6.28-6.28)
  1181. wld2.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5*i,0.785-0.785)
  1182. wld3.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5*i,1.57-1.57)
  1183. wld4.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5*i,2.355-2.355)
  1184. wld5.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5*i,3.14-3.14)
  1185. wld6.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5*i,3.925-3.925)
  1186. wld7.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5*i,4.71-4.71)
  1187. wld8.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5*i,5.495-5.495)
  1188. end
  1189. if mana >= 0 then
  1190. mana = mana - 50
  1191. else
  1192. mana = 0
  1193. end
  1194. lasersound(4)
  1195. lasersound(4)
  1196. lasersound(4)
  1197. lasersound(4)
  1198. lasersound(4)
  1199. lasersound(4)
  1200. lasersound(4)
  1201. lasersound(4)
  1202. Laser(prt1,math.random(5,10))
  1203. Laser(prt2,math.random(5,10))
  1204. Laser(prt3,math.random(5,10))
  1205. Laser(prt4,math.random(5,10))
  1206. Laser(prt5,math.random(5,10))
  1207. Laser(prt6,math.random(5,10))
  1208. Laser(prt7,math.random(5,10))
  1209. Laser(prt8,math.random(5,10))
  1210. for i = 0,1,0.1 do
  1211. wait()
  1212. wld1.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,0+0.5,6.28-6.28)
  1213. wld2.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,0.785+0.5,0.785-0.785)
  1214. wld3.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,1.57+0.5,1.57-1.57)
  1215. wld4.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,2.355+0.5,2.355-2.355)
  1216. wld5.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,3.14+0.5,3.14-3.14)
  1217. wld6.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,3.925+0.5,3.925-3.925)
  1218. wld7.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,4.71+0.5,4.71-4.71)
  1219. wld8.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,5.495+0.5,5.495-5.495)
  1220. end
  1221. if mana >= 0 then
  1222. mana = mana - 50
  1223. else
  1224. mana = 0
  1225. end
  1226. lasersound(4)
  1227. lasersound(4)
  1228. lasersound(4)
  1229. lasersound(4)
  1230. lasersound(4)
  1231. lasersound(4)
  1232. lasersound(4)
  1233. lasersound(4)
  1234. Laser(prt1,math.random(5,10))
  1235. Laser(prt2,math.random(5,10))
  1236. Laser(prt3,math.random(5,10))
  1237. Laser(prt4,math.random(5,10))
  1238. Laser(prt5,math.random(5,10))
  1239. Laser(prt6,math.random(5,10))
  1240. Laser(prt7,math.random(5,10))
  1241. Laser(prt8,math.random(5,10))
  1242. wait(1)
  1243. attack = false
  1244. end
  1245. end
  1246. function SpinLaser()
  1247. if mana >= 0 then
  1248. attack = true
  1249. for i = 0,1,0.1 do
  1250. wait()
  1251. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1252. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1253. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1254. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1255. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1256. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1257. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1258. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1259. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1260. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1261. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1262. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1263. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1264. end
  1265. for i = 0,1,0.1 do
  1266. wait()
  1267. wld1.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0,6.28-6.28*i)
  1268. wld2.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0.785*i,0.785-0.785*i)
  1269. wld3.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,1.57-1.57*i)
  1270. wld4.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,2.355*i,2.355-2.355*i)
  1271. wld5.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.14*i,3.14-3.14*i)
  1272. wld6.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.925*i,3.925-3.925*i)
  1273. wld7.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,4.71*i,4.71-4.71*i)
  1274. wld8.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,5.495*i,5.495-5.495*i)
  1275. end
  1276. lasersound(4)
  1277. lasersound(4)
  1278. lasersound(4)
  1279. lasersound(4)
  1280. lasersound(4)
  1281. lasersound(4)
  1282. lasersound(4)
  1283. lasersound(4)
  1284. Laser(prt1,math.random(10,20))
  1285. Laser(prt2,math.random(10,20))
  1286. Laser(prt3,math.random(10,20))
  1287. Laser(prt4,math.random(10,20))
  1288. Laser(prt5,math.random(10,20))
  1289. Laser(prt6,math.random(10,20))
  1290. Laser(prt7,math.random(10,20))
  1291. Laser(prt8,math.random(10,20))
  1292. for i = 0,1,0.1 do
  1293. wait()
  1294. wld1.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5*i,6.28-6.28)
  1295. wld2.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5*i,0.785-0.785)
  1296. wld3.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5*i,1.57-1.57)
  1297. wld4.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5*i,2.355-2.355)
  1298. wld5.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5*i,3.14-3.14)
  1299. wld6.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5*i,3.925-3.925)
  1300. wld7.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5*i,4.71-4.71)
  1301. wld8.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5*i,5.495-5.495)
  1302. end
  1303. lasersound(4)
  1304. lasersound(4)
  1305. lasersound(4)
  1306. lasersound(4)
  1307. lasersound(4)
  1308. lasersound(4)
  1309. lasersound(4)
  1310. lasersound(4)
  1311. Laser(prt1,math.random(10,20))
  1312. Laser(prt2,math.random(10,20))
  1313. Laser(prt3,math.random(10,20))
  1314. Laser(prt4,math.random(10,20))
  1315. Laser(prt5,math.random(10,20))
  1316. Laser(prt6,math.random(10,20))
  1317. Laser(prt7,math.random(10,20))
  1318. Laser(prt8,math.random(10,20))
  1319. for i = 0,1,0.1 do
  1320. wait()
  1321. wld1.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5+0.5*i,6.28-6.28)
  1322. wld2.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5+0.5*i,0.785-0.785)
  1323. wld3.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5+0.5*i,1.57-1.57)
  1324. wld4.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5+0.5*i,2.355-2.355)
  1325. wld5.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5+0.5*i,3.14-3.14)
  1326. wld6.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5+0.5*i,3.925-3.925)
  1327. wld7.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5+0.5*i,4.71-4.71)
  1328. wld8.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5+0.5*i,5.495-5.495)
  1329. end
  1330. lasersound(4)
  1331. lasersound(4)
  1332. lasersound(4)
  1333. lasersound(4)
  1334. lasersound(4)
  1335. lasersound(4)
  1336. lasersound(4)
  1337. lasersound(4)
  1338. Laser(prt1,math.random(10,20))
  1339. Laser(prt2,math.random(10,20))
  1340. Laser(prt3,math.random(10,20))
  1341. Laser(prt4,math.random(10,20))
  1342. Laser(prt5,math.random(10,20))
  1343. Laser(prt6,math.random(10,20))
  1344. Laser(prt7,math.random(10,20))
  1345. Laser(prt8,math.random(10,20))
  1346. wait(1)
  1347. attack = false
  1348. end
  1349. end
  1350. function LaserPillars()
  1351. if mana >= 0 then
  1352. attack = true
  1353. for i = 0,1,0.1 do
  1354. wait()
  1355. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1356. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1357. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1358. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1359. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1360. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1361. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1362. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1363. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1364. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1365. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1366. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1367. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1368. end
  1369. for i = 0,1,0.1 do
  1370. wait()
  1371. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1372. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1373. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1374. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1375. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1376. wld1.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,0,6.28-6.28*i)
  1377. wld2.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,0.785*i,0.785-0.785*i)
  1378. wld3.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,1.57*i,1.57-1.57*i)
  1379. wld4.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,2.355*i,2.355-2.355*i)
  1380. wld5.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,3.14*i,3.14-3.14*i)
  1381. wld6.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,3.925*i,3.925-3.925*i)
  1382. wld7.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,4.71*i,4.71-4.71*i)
  1383. wld8.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,5.495*i,5.495-5.495*i)
  1384. end
  1385. lasersound(4)
  1386. lasersound(4)
  1387. lasersound(4)
  1388. lasersound(4)
  1389. lasersound(4)
  1390. lasersound(4)
  1391. lasersound(4)
  1392. lasersound(4)
  1393. Laser(prt1,math.random(20,40))
  1394. Laser(prt2,math.random(20,40))
  1395. Laser(prt3,math.random(20,40))
  1396. Laser(prt4,math.random(20,40))
  1397. Laser(prt5,math.random(20,40))
  1398. Laser(prt6,math.random(20,40))
  1399. Laser(prt7,math.random(20,40))
  1400. Laser(prt8,math.random(20,40))
  1401. hur = 0
  1402. for i = 0,1,0.1 do
  1403. wait(0.1)
  1404. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1405. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1406. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1407. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1408. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1409. wld1.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,0+2.5*i,6.28-6.28)
  1410. wld2.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,0.785+2.5*i,0.785-0.785)
  1411. wld3.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,1.57+2.5*i,1.57-1.57)
  1412. wld4.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,2.355+2.5*i,2.355-2.355)
  1413. wld5.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,3.14+2.5*i,3.14-3.14)
  1414. wld6.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,3.925+2.5*i,3.925-3.925)
  1415. wld7.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,4.71+2.5*i,4.71-4.71)
  1416. wld8.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,5.495+2.5*i,5.495-5.495)
  1417. if hur == 1 then
  1418. lasersound(4)
  1419. lasersound(4)
  1420. lasersound(4)
  1421. lasersound(4)
  1422. lasersound(4)
  1423. lasersound(4)
  1424. lasersound(4)
  1425. lasersound(4)
  1426. Laser(prt1,math.random(20,40))
  1427. Laser(prt2,math.random(20,40))
  1428. Laser(prt3,math.random(20,40))
  1429. Laser(prt4,math.random(20,40))
  1430. Laser(prt5,math.random(20,40))
  1431. Laser(prt6,math.random(20,40))
  1432. Laser(prt7,math.random(20,40))
  1433. Laser(prt8,math.random(20,40))
  1434. hur = 0
  1435. end
  1436. hur = hur + 1
  1437. end
  1438. wait(1)
  1439. attack = false
  1440. end
  1441. end
  1442. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1443. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1444. end
  1445. function Laser(Part,Dmg)
  1446. sp = Part.Position
  1447. dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57,0,0)
  1448. local hit,pos = rayCast(sp,dirr.lookVector,500,Character)
  1449. local las=Instance.new("Part",Character)
  1450. las.Anchored=true
  1451. las.Locked=true
  1452. las.CanCollide=false
  1453. las.TopSurface=0
  1454. las.BottomSurface=0
  1455. las.FormFactor = "Custom"
  1456. las.BrickColor=BrickColor.new("institutional white")
  1457. las.Size=Vector3.new(1,1,1)
  1458. las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  1459. local msh=Instance.new("SpecialMesh",las)
  1460. mag = (Part.Position-pos).magnitude
  1461. msh.Scale=Vector3.new(0.1,mag,0.1)
  1462. coroutine.resume(coroutine.create(function(Part,Mesh)
  1463. for i = 0,1,0.1 do
  1464. wait()
  1465. Part.Transparency = Part.Transparency + 0.1
  1466. Mesh.Scale = Mesh.Scale + Vector3.new(0.15,0.7,0.15)
  1467. end
  1468. Part.Parent = nil
  1469. end),las,msh)
  1470. local las=Instance.new("Part",Character)
  1471. las.Anchored=true
  1472. las.Locked=true
  1473. las.CanCollide=false
  1474. las.TopSurface=0
  1475. las.BottomSurface=0
  1476. las.FormFactor = "Custom"
  1477. las.BrickColor=BrickColor.new("Really black")
  1478. las.Size=Vector3.new(1,1,1)
  1479. las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  1480. local msh=Instance.new("SpecialMesh",las)
  1481. mag = (Part.Position-pos).magnitude
  1482. msh.Scale=Vector3.new(0.1,mag,0.1)
  1483. coroutine.resume(coroutine.create(function(Part,Mesh)
  1484. for i = 0,1,0.1 do
  1485. wait()
  1486. Part.Transparency = Part.Transparency + 0.1
  1487. Mesh.Scale = Mesh.Scale + Vector3.new(-0.05,0.7,-0.05)
  1488. end
  1489. Part.Parent = nil
  1490. end),las,msh)
  1491. if pos ~= nil then
  1492. local las2=Instance.new("Part",Character)
  1493. las2.Anchored=true
  1494. las2.Locked=true
  1495. las2.CanCollide=false
  1496. las2.TopSurface=0
  1497. las2.BottomSurface=0
  1498. las2.FormFactor = "Custom"
  1499. las2.BrickColor=BrickColor.new("institutional white")
  1500. las2.Size=Vector3.new(1,1,1)
  1501. --las2.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  1502. las2.CFrame=CFrame.new(pos) *CFrame.Angles(math.rad(90),0,0)
  1503. local msh=Instance.new("CylinderMesh",las2)
  1504. mag = (Part.Position-pos).magnitude
  1505. msh.Scale=Vector3.new(0.1,0.1,0.1)
  1506. coroutine.resume(coroutine.create(function(Part,Mesh)
  1507. --wait(10)
  1508. for i = 0,1,0.1 do
  1509. wait()
  1510. Part.Transparency = Part.Transparency + 0.1
  1511. Mesh.Scale = Mesh.Scale + Vector3.new(0.5,0,0.5)
  1512. end
  1513. Part.Parent = nil
  1514. end),las2,msh)
  1515. end
  1516. if hit ~= nil and pos ~= nil then
  1517. if hit.Parent.className == "Hat" then
  1518. hit:BreakJoints()
  1519. hit.Velocity = Vector3.new(math.random(-5,5),20,math.random(-5,5))
  1520. end
  1521. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  1522. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  1523. hit.Parent.Humanoid:TakeDamage(Dmg)
  1524. end
  1525. end
  1526. --[[if hit.className == "Part" and hit.Parent:findFirstChild("Humanoid") == nil then
  1527. end ]]
  1528. end
  1529. end
  1530. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1531. local msh1 = Instance.new("CylinderMesh")
  1532. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1533. S=Instance.new("Part")
  1534. S.Name="Effect"
  1535. S.formFactor=0
  1536. S.Size=Vector3.new(x1,y1,z1)
  1537. S.BrickColor=color
  1538. S.Reflectance = 0
  1539. S.TopSurface=0
  1540. S.BottomSurface=0
  1541. S.Transparency=0
  1542. S.Anchored=true
  1543. S.CanCollide=false
  1544. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1545. S.Parent=Character
  1546. msh1.Parent = S
  1547. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1548. end
  1549. function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1550. local msh1 = Instance.new("CylinderMesh")
  1551. msh1.Scale = Vector3.new(x1,y1,z1)
  1552. S=Instance.new("Part")
  1553. S.Name="Effect"
  1554. S.formFactor=0
  1555. S.Size=Vector3.new(1,1,1)
  1556. S.BrickColor=color
  1557. S.Reflectance = 0
  1558. S.TopSurface=0
  1559. S.BottomSurface=0
  1560. S.Transparency=0
  1561. S.Anchored=true
  1562. S.CanCollide=false
  1563. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1564. S.Parent=Character
  1565. msh1.Parent = S
  1566. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1567. end
  1568. function MOREMAGIX(part,cframe,x,y,z,color)
  1569. p2=Instance.new("Part")
  1570. p2.Name="Blast"
  1571. p2.TopSurface=0
  1572. p2.BottomSurface=0
  1573. p2.CanCollide=false
  1574. p2.Anchored=true
  1575. p2.BrickColor=color
  1576. p2.Size=Vector3.new(x,y,z)
  1577. p2.formFactor="Symmetric"
  1578. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  1579. p2.Parent=workspace
  1580. m=Instance.new("CylinderMesh")
  1581. m.Parent=p2
  1582. m.Name="BlastMesh"
  1583. coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
  1584. end
  1585. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1586. local msh1 = Instance.new("SpecialMesh")
  1587. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1588. msh1.MeshType = "Sphere"
  1589. S=Instance.new("Part")
  1590. S.Name="Effect"
  1591. S.formFactor=0
  1592. S.Size=Vector3.new(x1,y1,z1)
  1593. S.BrickColor=color
  1594. if Style == "WingBlade" and element == "Dark" then
  1595. S.BrickColor=BrickColor.new("Black")
  1596. end
  1597. S.Reflectance = 0
  1598. S.TopSurface=0
  1599. S.BottomSurface=0
  1600. S.Transparency=0
  1601. S.Anchored=true
  1602. S.CanCollide=false
  1603. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1604. S.Parent=Character
  1605. msh1.Parent = S
  1606. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1607. end
  1608. function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1609. local msh1 = Instance.new("SpecialMesh")
  1610. msh1.Scale = Vector3.new(x1,y1,z1)
  1611. msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1612. S=Instance.new("Part")
  1613. S.Name="Effect"
  1614. S.formFactor=0
  1615. S.Size=Vector3.new(1,1,1)
  1616. S.BrickColor=color
  1617. S.Reflectance = 0
  1618. S.TopSurface=0
  1619. S.BottomSurface=0
  1620. S.Transparency=0
  1621. S.Anchored=true
  1622. S.CanCollide=false
  1623. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1624. S.Parent=Character
  1625. msh1.Parent = S
  1626. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1627. end
  1628. function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1629. local msh1 = Instance.new("SpecialMesh")
  1630. msh1.Scale = Vector3.new(x1,y1,z1)
  1631. msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
  1632. S=Instance.new("Part")
  1633. S.Name="Effect"
  1634. S.formFactor=0
  1635. S.Size=Vector3.new(1,1,1)
  1636. S.BrickColor=color
  1637. S.Reflectance = 0
  1638. S.TopSurface=0
  1639. S.BottomSurface=0
  1640. S.Transparency=0
  1641. S.Anchored=true
  1642. S.CanCollide=false
  1643. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1644. S.Parent=Character
  1645. msh1.Parent = S
  1646. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1647. end
  1648. function ss(pitch)
  1649. local SlashSound = Instance.new("Sound")
  1650. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1651. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  1652. SlashSound.Parent = workspace
  1653. SlashSound.Volume = .7
  1654. SlashSound.Pitch = pitch
  1655. SlashSound.PlayOnRemove = true
  1656. coroutine.resume(coroutine.create(function()
  1657. wait(0)
  1658. SlashSound.Parent = nil
  1659. end))
  1660. end
  1661. function equipsound(pitch)
  1662. local SlashSound = Instance.new("Sound")
  1663. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  1664. SlashSound.Parent = workspace
  1665. SlashSound.Volume = .5
  1666. SlashSound.Pitch = pitch
  1667. SlashSound.PlayOnRemove = true
  1668. coroutine.resume(coroutine.create(function()
  1669. wait(0)
  1670. SlashSound.Parent = nil
  1671. end))
  1672. end
  1673. function magicsound(pitch)
  1674. local SlashSound = Instance.new("Sound")
  1675. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  1676. SlashSound.Parent = workspace
  1677. SlashSound.Volume = .5
  1678. SlashSound.Pitch = pitch
  1679. SlashSound.PlayOnRemove = true
  1680. coroutine.resume(coroutine.create(function()
  1681. wait(0)
  1682. SlashSound.Parent = nil
  1683. end))
  1684. end
  1685. function critsound(pitch)
  1686. local SlashSound = Instance.new("Sound")
  1687. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  1688. SlashSound.Parent = workspace
  1689. SlashSound.Volume = .7
  1690. SlashSound.Pitch = pitch
  1691. SlashSound.PlayOnRemove = true
  1692. coroutine.resume(coroutine.create(function()
  1693. wait(0)
  1694. SlashSound.Parent = nil
  1695. end))
  1696. end
  1697. function spikesound(pitch)
  1698. local SlashSound = Instance.new("Sound")
  1699. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  1700. SlashSound.Parent = workspace
  1701. SlashSound.Volume = .7
  1702. SlashSound.Pitch = pitch
  1703. SlashSound.PlayOnRemove = true
  1704. coroutine.resume(coroutine.create(function()
  1705. wait(0)
  1706. SlashSound.Parent = nil
  1707. end))
  1708. end
  1709. function lasersound(pitch)
  1710. local SlashSound = Instance.new("Sound")
  1711. SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav"
  1712. SlashSound.Parent = workspace
  1713. SlashSound.Volume = .5
  1714. SlashSound.Pitch = pitch
  1715. SlashSound.PlayOnRemove = true
  1716. coroutine.resume(coroutine.create(function()
  1717. wait(0)
  1718. SlashSound.Parent = nil
  1719. end))
  1720. end
  1721. --rbxasset://sounds/Launching rocket.wav
  1722. Damagefunc1=function(hit,Damage,Knockback)
  1723. if attackdebounce == false then
  1724. attackdebounce = true
  1725. coroutine.resume(coroutine.create(function()
  1726. wait(0.1)
  1727. attackdebounce = false
  1728. end))
  1729. if hit.Parent==nil then
  1730. return
  1731. end
  1732. CPlayer=Bin
  1733. h=hit.Parent:FindFirstChild("Humanoid")
  1734. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1735. if mana < 800 then
  1736. mana = mana + math.random(10,20)
  1737. end
  1738. if mana > 800 then
  1739. mana = 800
  1740. end
  1741. Damage=Damage
  1742. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1743. return
  1744. end]]
  1745. c=Instance.new("ObjectValue")
  1746. c.Name="creator"
  1747. c.Value=game.Players.LocalPlayer
  1748. c.Parent=h
  1749. game:GetService("Debris"):AddItem(c,.5)
  1750. -- print(c.Value)
  1751. if math.random(0,99)+math.random()<=5 then
  1752. CRIT=true
  1753. Damage=Damage*1.5
  1754. --[[ Knockback=Knockback*2
  1755. r=Instance.new("BodyAngularVelocity")
  1756. r.P=3000
  1757. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1758. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1759. r.Parent=hit.Parent.Torso]]
  1760. critsound(2)
  1761. end
  1762. Damage=Damage+math.random(0,10)
  1763. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  1764. h:TakeDamage(Damage)
  1765. showDamage(hit.Parent,Damage,.5)
  1766. vp=Instance.new("BodyVelocity")
  1767. vp.P=500
  1768. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1769. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1770. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  1771. if Knockback>0 then
  1772. vp.Parent=hit.Parent.Torso
  1773. end
  1774. game:GetService("Debris"):AddItem(vp,.25)
  1775. --[[ r=Instance.new("BodyAngularVelocity")
  1776. r.P=3000
  1777. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1778. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1779. r.Parent=hit.Parent.Torso]]
  1780. game:GetService("Debris"):AddItem(r,.5)
  1781. c=Instance.new("ObjectValue")
  1782. c.Name="creator"
  1783. c.Value=Player
  1784. c.Parent=h
  1785. game:GetService("Debris"):AddItem(c,.5)
  1786. CRIT=false
  1787. hitDeb=true
  1788. AttackPos=6
  1789. end
  1790. end
  1791. end
  1792. showDamage=function(Char,Dealt,du)
  1793. m=Instance.new("Model")
  1794. m.Name=tostring(Dealt)
  1795. h=Instance.new("Humanoid")
  1796. h.Health=0
  1797. h.MaxHealth=9990
  1798. h.Parent=m
  1799. c=Instance.new("Part")
  1800. c.Transparency=0
  1801. c.BrickColor=BrickColor:Red()
  1802. if CRIT==true then
  1803. c.BrickColor=BrickColor.new("Really red")
  1804. end
  1805. c.Name="Head"
  1806. c.TopSurface=0
  1807. c.BottomSurface=0
  1808. c.formFactor="Plate"
  1809. c.Size=Vector3.new(1,.4,1)
  1810. ms=Instance.new("CylinderMesh")
  1811. ms.Scale=Vector3.new(.8,.8,.8)
  1812. if CRIT==true then
  1813. ms.Scale=Vector3.new(1.25,1.5,1.25)  
  1814. end
  1815. ms.Parent=c
  1816. c.Reflectance=0
  1817. Instance.new("BodyGyro").Parent=c
  1818. c.Parent=m
  1819. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1820. f=Instance.new("BodyPosition")
  1821. f.P=2000
  1822. f.D=100
  1823. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1824. f.position=c.Position+Vector3.new(0,3,0)
  1825. f.Parent=c
  1826. game:GetService("Debris"):AddItem(m,.5+du)
  1827. c.CanCollide=false
  1828. m.Parent=workspace
  1829. c.CanCollide=false
  1830. end
  1831. hold = false
  1832. function ob1d(mouse)
  1833. if attack == true then return end
  1834. if stancing == true then return end
  1835. hold = true
  1836. if combo == 0 then
  1837. combo = 1
  1838. onehit()
  1839. coroutine.resume(coroutine.create(function()
  1840. wait(0.5)
  1841. if attack == false then
  1842. combo = 0
  1843. comboing = false
  1844. gairo.Parent = nil
  1845. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1846. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1847. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1848. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1849. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1850. end
  1851. end))
  1852. elseif combo == 1 then
  1853. combo = 2
  1854. twohit()
  1855. coroutine.resume(coroutine.create(function()
  1856. wait(0.5)
  1857. if attack == false then
  1858. combo = 0
  1859. comboing = false
  1860. gairo.Parent = nil
  1861. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1862. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1863. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1864. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1865. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1866. end
  1867. end))
  1868. elseif combo == 2 then
  1869. combo = 3
  1870. threehit()
  1871. coroutine.resume(coroutine.create(function()
  1872. wait(0.5)
  1873. if attack == false then
  1874. combo = 0
  1875. comboing = false
  1876. gairo.Parent = nil
  1877. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1878. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1879. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1880. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1881. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1882. end
  1883. end))
  1884. elseif combo == 3 then
  1885. combo = 4
  1886. fourhit()
  1887. wait(0.5)
  1888. combo = 0
  1889. comboing = false
  1890. gairo.Parent = nil
  1891. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1892. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1893. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1894. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1895. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1896. end
  1897. end
  1898. function ob1u(mouse)
  1899. hold = false
  1900. end
  1901. buttonhold = false
  1902. function key(key)
  1903. if attack == true then return end
  1904. if key == "q" then
  1905. LaserWave()
  1906. end
  1907. if key == "e" then
  1908. OverBlast()
  1909. end
  1910. if key == "r" then
  1911. SpinBeam()
  1912. end
  1913. if key == "t" then
  1914. LaserBarrage()
  1915. end
  1916. if key == "y" then
  1917. CloseRangedFire()
  1918. end
  1919. if key == "u" then
  1920. SpinLaser()
  1921. end
  1922. if key == "x" then
  1923. Implosion()
  1924. end
  1925. if key == "c" then
  1926. LaserPillars()
  1927. end
  1928. if key == "z" then
  1929. DodgeTheLaser()
  1930. end
  1931. end
  1932. function key2(key)
  1933. end
  1934. function s(mouse)
  1935. mouse.Button1Down:connect(function() ob1d(mouse) end)
  1936. mouse.Button1Up:connect(function() ob1u(mouse) end)
  1937. mouse.KeyDown:connect(key)
  1938. mouse.KeyUp:connect(key2)
  1939. player = Player
  1940. ch = Character
  1941. RSH = ch.Torso["Right Shoulder"]
  1942. LSH = ch.Torso["Left Shoulder"]
  1943. --
  1944. RW.Part0 = ch.Torso
  1945. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1946. RW.C1 = CFrame.new(0, 0.5, 0)
  1947. RW.Part1 = ch["Right Arm"]
  1948. RW.Parent = ch.Torso
  1949. --_G.R = RW
  1950. --
  1951. LW.Part0 = ch.Torso
  1952. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1953. LW.C1 = CFrame.new(0, 0.5, 0)
  1954. LW.Part1 = ch["Left Arm"]
  1955. LW.Parent = ch.Torso
  1956. --_G.L = LW
  1957. --
  1958. equipanim()
  1959. end
  1960. function ds(mouse)
  1961. hideanim()
  1962. RW.Parent = nil
  1963. LW.Parent = nil
  1964. RSH.Parent = player.Character.Torso
  1965. LSH.Parent = player.Character.Torso
  1966. end
  1967. Bin.Selected:connect(s)
  1968. Bin.Deselected:connect(ds)
  1969. function onRunning(speed)
  1970. if attack == true then return end
  1971. if speed>0 then
  1972. walking = true
  1973. for i = 0,1,0.1 do
  1974. wait()
  1975. if attack == false and comboing == false then
  1976. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1977. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1978. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1979. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1980. end
  1981. end
  1982. else
  1983. walking = false
  1984. for i = 0,1,0.1 do
  1985. wait()
  1986. if attack == false and comboing == false then
  1987. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  1988. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1989. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  1990. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1991. end
  1992. end
  1993. end
  1994. end
  1995. Character.Humanoid.Running:connect(onRunning)
  1996. coroutine.resume(coroutine.create(function()
  1997. while true do
  1998. wait(0)
  1999. fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0)
  2000. fentext.Text = "Energy("..mana..")"
  2001. fentext3.BackgroundColor3 = Color3.new(1,1,1)
  2002. end
  2003. end))
  2004. coroutine.resume(coroutine.create(function()
  2005. while true do
  2006. wait(0.1)
  2007. if mana <= 0 and attack == false then
  2008. attack = true
  2009. while mana <= 800 do
  2010. wait(0.1)
  2011. mana = mana + 5
  2012. end
  2013. attack = false
  2014. end
  2015. if mana < 800 and attack == false then
  2016. mana = mana + 2
  2017. end
  2018. end
  2019. end))
  2020. coroutine.resume(coroutine.create(function()
  2021. while true do
  2022. wait()
  2023. for i = 0,1,0.01 do
  2024. wait(0)
  2025. if attack == false and comboing == false then
  2026. wld1.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2027. wld2.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2028. wld3.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2029. wld4.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2030. wld5.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2031. wld6.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2032. wld7.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2033. wld8.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2034. end
  2035. end
  2036. end
  2037. end))
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