Advertisement
ForkFullFight

Untitled

Oct 31st, 2023
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. -- [[ Name: Hotline by Helkern ]] --
  3. -- [[ Converted/Fixed/Aligned: By Melon ]] --
  4. -- [[ Reanimate: By Emper ]] --
  5. -- [[ https://www.roblox.com/catalog/4819740796/Robox ]] --
  6. -- [[ https://www.roblox.com/catalog/5552252553/Kinetic-Staff] ]] --
  7. -- [[ https://www.roblox.com/catalog/9867487176/Le-Rouge-Cross-body-Bag-3-0 ]] --
  8. -- [[ https://www.roblox.com/catalog/9867481700/Le-Rouge-Cross-body-Bag-1-0 ]] --
  9. -- [[ https://www.roblox.com/catalog/3409612660/International-Fedora-USA ]] --
  10. -- [[ https://www.roblox.com/catalog/3033910400/International-Fedora-Germany ]] --
  11. -- [[ https://www.roblox.com/catalog/3033908130/International-Fedora-France ]] --
  12. -- [[ https://www.roblox.com/catalog/3398308134/International-Fedora-Canada ]] --
  13.  
  14. game:GetService("StarterGui"):SetCore("SendNotification", {
  15. Title = "Melon's (FE) Converts/Scripts";
  16. Text = "Thanks for using!";
  17. Icon = "rbxthumb://type=Asset&id=11561641603&w=150&h=150"})
  18. Duration = 3;
  19.  
  20. if not game:IsLoaded() then
  21. game.Loaded:Wait()
  22. end
  23.  
  24. local function FindInstance(Parent, ClassName, Name)
  25. for _, Instance in pairs(Parent:GetChildren()) do
  26. if Instance:IsA(ClassName) and Instance.Name == Name then
  27. return Instance
  28. end
  29. end
  30. end
  31.  
  32. local function WaitForClass(Parent, ClassName)
  33. local Instance = Parent:FindFirstChildOfClass(ClassName)
  34.  
  35. while not Instance and Parent do
  36. Parent.ChildAdded:Wait()
  37. Instance = Parent:FindFirstChildOfClass(ClassName)
  38. end
  39.  
  40. return Instance
  41. end
  42.  
  43. local function WaitForClassOfName(Parent, ...)
  44. local Instance = FindInstance(Parent, ...)
  45.  
  46. while not Instance and Parent do
  47. Parent.ChildAdded:Wait()
  48. Instance = FindInstance(Parent, ...)
  49. end
  50.  
  51. return Instance
  52. end
  53.  
  54. local Fling = { }
  55. local Aligns = { }
  56. local Blacklist = { }
  57. local Accessories = { }
  58. local Attachments = { }
  59.  
  60. local Instancenew = Instance.new
  61.  
  62. local taskwait = task.wait
  63. local taskspawn = task.spawn
  64. local taskdefer = task.defer
  65.  
  66. local mathabs = math.abs
  67. local mathcos = math.cos
  68. local mathrandom = math.random
  69.  
  70. local stringmatch = string.match
  71.  
  72. local osclock = os.clock
  73.  
  74. local tableinsert = table.insert
  75. local tableclear = table.clear
  76. local tablefind = table.find
  77.  
  78. local CFramenew = CFrame.new
  79. local CFrameAngles = CFrame.Angles
  80. local CFrameidentity = CFrame.identity
  81.  
  82. local Vector3new = Vector3.new
  83. local Vector3zero = Vector3.zero
  84.  
  85. local Sleep = CFrameidentity
  86. local Velocity = Vector3new(0, 16384, 0)
  87. local Angular = 0
  88. local Linear = 0
  89.  
  90. local Workspace = game:FindFirstChildOfClass("Workspace")
  91. local CurrentCamera = Workspace.CurrentCamera
  92.  
  93. local Players = game:FindFirstChildOfClass("Players")
  94.  
  95. local LocalPlayer = Players.LocalPlayer
  96. local Mouse = LocalPlayer:GetMouse()
  97.  
  98. local PostSimulation = game:FindFirstChildOfClass("RunService").PostSimulation
  99.  
  100. local Character = LocalPlayer.Character
  101. local CharacterClone = Instancenew("Model")
  102.  
  103. local StarterGui = game:FindFirstChildOfClass("StarterGui")
  104. local BindableEvent = Instancenew("BindableEvent")
  105.  
  106. local UserInputService = game:FindFirstChildOfClass("UserInputService")
  107. local UserInputType = Enum.UserInputType
  108.  
  109. local MouseButton1 = UserInputType.MouseButton1
  110. local Touch = UserInputType.Touch
  111.  
  112. local InputBegan = UserInputService.InputBegan:Connect(function(Input, GameProcessed)
  113. local Type = Input.UserInputType
  114.  
  115. if not GameProcessed and ( Type == MouseButton1 or Type == Touch ) then
  116. local Target = Mouse.Target
  117. if Target and not Target.Anchored and not Target:IsDescendantOf(CharacterClone) and not Target:IsDescendantOf(Character) and not tablefind(Fling, Target) then
  118. local Parent = Target.Parent
  119.  
  120. if Parent:IsA("Model") and Parent ~= Character and Parent:FindFirstChildOfClass("Humanoid") then
  121. local HumanoidRootPart = FindInstance(Parent, "BasePart", "HumanoidRootPart") or FindInstance(Parent, "BasePart", "Torso") or FindInstance(Parent, "BasePart", "Head")
  122.  
  123. if HumanoidRootPart and not tablefind(Fling, HumanoidRootPart) then
  124. tableinsert(Fling, HumanoidRootPart)
  125. return
  126. end
  127. end
  128.  
  129. tableinsert(Fling, Target)
  130. end
  131. end
  132. end)
  133.  
  134. local function Part(Name, Size)
  135. local Part = Instancenew("Part")
  136. Part.Name = Name
  137. Part.Size = Size
  138. Part.Transparency = 1
  139. Part.Parent = CharacterClone
  140.  
  141. return Part
  142. end
  143.  
  144. local function Motor6D(Name, Part0, Part1, C0, C1)
  145. local Motor6D = Instancenew("Motor6D")
  146. Motor6D.Name = Name
  147. Motor6D.Part0 = Part0
  148. Motor6D.Part1 = Part1
  149. Motor6D.C0 = C0
  150. Motor6D.C1 = C1
  151. Motor6D.Parent = Part0
  152.  
  153. return Motor6D
  154. end
  155.  
  156. local function Attachment(Name, CFrame, Parent)
  157. local Attachment = Instancenew("Attachment")
  158. Attachment.Name = Name
  159. Attachment.CFrame = CFrame
  160. Attachment.Parent = Parent
  161.  
  162. tableinsert(Attachments, Attachment)
  163. return Attachment
  164. end
  165.  
  166. local LimbSize = Vector3new(1, 2, 1)
  167. local TorsoSize = Vector3new(2, 2, 1)
  168.  
  169. local Head = Part("Head", Vector3new(2, 1, 1))
  170. local Torso = Part("Torso", TorsoSize)
  171. local LeftArm = Part("Left Arm", LimbSize)
  172. local RightArm = Part("Right Arm", LimbSize)
  173. local LeftLeg = Part("Left Leg", LimbSize)
  174. local RightLeg = Part("Right Leg", LimbSize)
  175. local HumanoidRootPart = Part("HumanoidRootPart", TorsoSize)
  176.  
  177. local FakeRA = Instance.new("Part")
  178. FakeRA.Size = Vector3.new(1,2,1)
  179. FakeRA.Transparency = 1
  180. FakeRA.BrickColor = BrickColor.new("Institutional White")
  181. FakeRA.Parent = RightArm
  182.  
  183. local FRAW = Instance.new("Weld")
  184. FRAW.Part0 = RightArm
  185. FRAW.Part1 = FakeRA
  186. FRAW.C0 = CFrame.new(0, 0, 0)
  187. FRAW.Parent = RightArm
  188.  
  189. local FakeRA2 = Instance.new("Part")
  190. FakeRA2.Size = Vector3.new(1,2,1)
  191. FakeRA2.Transparency = 1
  192. FakeRA2.BrickColor = BrickColor.new("Institutional White")
  193. FakeRA2.Parent = RightArm
  194.  
  195. local FRAW2 = Instance.new("Weld")
  196. FRAW2.Part0 = RightArm
  197. FRAW2.Part1 = FakeRA2
  198. FRAW2.C0 = CFrame.new(0, 0, 0)
  199. FRAW2.Parent = RightArm
  200.  
  201. local FakeRA3 = Instance.new("Part")
  202. FakeRA3.Size = Vector3.new(1,2,1)
  203. FakeRA3.Transparency = 1
  204. FakeRA3.BrickColor = BrickColor.new("Institutional White")
  205. FakeRA3.Parent = RightArm
  206.  
  207. local FRAW3 = Instance.new("Weld")
  208. FRAW3.Part0 = RightArm
  209. FRAW3.Part1 = FakeRA3
  210. FRAW3.C0 = CFrame.new(0, 0, 0)
  211. FRAW3.Parent = RightArm
  212. -- 3 welds and parts :skul:
  213. local Part = nil
  214.  
  215. if Character then
  216. Part = FindInstance(Character, "BasePart", "HumanoidRootPart") or FindInstance(Character, "BasePart", "Head") or FindInstance(Character, "BasePart", "Torso") or FindInstance(Character, "BasePart", "UpperTorso")
  217. end
  218.  
  219. if Part then
  220. HumanoidRootPart.CFrame = Part.CFrame
  221. else
  222. local SpawnLocations = { }
  223.  
  224. for _, SpawnLocation in pairs(Workspace:GetDescendants()) do
  225. if SpawnLocation:IsA("SpawnLocation") then
  226. tableinsert(SpawnLocations, SpawnLocation)
  227. end
  228. end
  229.  
  230. local Amount = # SpawnLocations
  231.  
  232. if Amount > 0 then
  233. local SpawnLocation = SpawnLocations[mathrandom(1, Amount)]
  234. HumanoidRootPart.CFrame = SpawnLocation.CFrame * CFramenew(0, SpawnLocation.Size.Y / 2 + 3, 0)
  235. else
  236. HumanoidRootPart.CFrame = CFrameidentity
  237. end
  238. end
  239.  
  240. local face = Instancenew("Decal")
  241. face.Name = "face"
  242. face.Parent = Head
  243.  
  244. local AccessoryTable = {
  245. -- Please give credits if used. --
  246. -- Free --
  247. { Mesh = "4819720316", Texture = "4819722776", Instance = Torso, CFrame = CFrameAngles(0, 0, 105) },
  248. { Mesh = "3030546036", Texture = "3033903209", Instance = RightArm, CFrame = CFrameAngles(-90, 0, -89.5) },
  249. { Mesh = "3030546036", Texture = "3360978739", Instance = LeftArm, CFrame = CFrameAngles(-90, 0, 89.5) },
  250. { Mesh = "3030546036", Texture = "3409604993", Instance = RightLeg, CFrame = CFrameAngles(-90, 0, -89.5) },
  251. { Mesh = "3030546036", Texture = "3033898741", Instance = LeftLeg, CFrame = CFrameAngles(-90, 0, 89.5) },
  252.  
  253. { Mesh = "9867442567", Texture = "9867451480", Instance = FakeRA, CFrame = CFramenew(-0.25, -1.45, -0.45) * CFrameAngles(0,0,-0.75) },
  254. { Mesh = "9867442661", Texture = "9867451480", Instance = FakeRA2, CFrame = CFramenew(-0.25, -3.45, -0.45) * CFrameAngles(0.05,0,-0.75) },
  255. { Mesh = "5548423017", Texture = "5548423938", Instance = FakeRA3, CFrame = CFramenew(-0.30,-0.15,-0.15) * CFrameAngles(0, -1.55, 0.60) },
  256. }
  257.  
  258. for _, Table in pairs(AccessoryTable) do
  259. if type(Table.Mesh) ~= "string" then
  260. Table.Mesh = ""
  261. end
  262. if type(Table.Texture) ~= "string" then
  263. Table.Texture = ""
  264. end
  265. end
  266.  
  267. Motor6D("Right Shoulder", Torso, RightArm, CFramenew(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFramenew(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0))
  268. Motor6D("Left Shoulder", Torso, LeftArm, CFramenew(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFramenew(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0))
  269. Motor6D("Right Hip", Torso, RightLeg, CFramenew(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFramenew(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0))
  270. Motor6D("Left Hip", Torso, LeftLeg, CFramenew(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFramenew(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0))
  271. Motor6D("Neck", Torso, Head, CFramenew(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFramenew(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0))
  272. Motor6D("RootJoint", HumanoidRootPart, Torso, CFramenew(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFramenew(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0))
  273.  
  274. Attachment("HairAttachment", CFramenew(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
  275. Attachment("HatAttachment", CFramenew(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
  276. Attachment("FaceFrontAttachment", CFramenew(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
  277. Attachment("FaceCenterAttachment", CFramenew(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
  278. Attachment("NeckAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  279. Attachment("BodyFrontAttachment", CFramenew(0, 0, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  280. Attachment("BodyBackAttachment", CFramenew(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  281. Attachment("LeftCollarAttachment", CFramenew(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  282. Attachment("RightCollarAttachment", CFramenew(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  283. Attachment("WaistFrontAttachment", CFramenew(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  284. Attachment("WaistCenterAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  285. Attachment("WaistBackAttachment", CFramenew(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  286. Attachment("LeftShoulderAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftArm)
  287. Attachment("LeftGripAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftArm)
  288. Attachment("RightShoulderAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightArm)
  289. Attachment("RightGripAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightArm)
  290. Attachment("LeftFootAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftLeg)
  291. Attachment("RightFootAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightLeg)
  292. Attachment("RootAttachment", CFramenew(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), HumanoidRootPart)
  293.  
  294. local Humanoid = Instancenew("Humanoid", CharacterClone)
  295. Instancenew("Animator", Humanoid)
  296.  
  297. Instancenew("LocalScript", CharacterClone).Name = "Animate"
  298.  
  299. CharacterClone.PrimaryPart = Head
  300. CharacterClone.Parent = Workspace
  301.  
  302. local function DescendantAdded(Instance)
  303. if Instance:IsA("Accessory") then
  304. taskspawn(function()
  305. local Handle = WaitForClassOfName(Instance, "BasePart", "Handle")
  306. local Attachment = WaitForClass(Handle, "Attachment")
  307.  
  308. local Clone = Instance:Clone()
  309.  
  310. local CloneHandle = FindInstance(Clone, "BasePart", "Handle")
  311. CloneHandle.Transparency = 1
  312. CloneHandle:BreakJoints()
  313.  
  314. local AccessoryWeld = Instancenew("Weld")
  315. AccessoryWeld.Name = "AccessoryWeld"
  316. AccessoryWeld.Part0 = CloneHandle
  317. AccessoryWeld.C0 = Attachment.CFrame
  318.  
  319. local Name = Attachment.Name
  320.  
  321. for _, TableAttachment in pairs(Attachments) do
  322. if TableAttachment.Name == Name then
  323. AccessoryWeld.Part1 = TableAttachment.Parent
  324. AccessoryWeld.C1 = TableAttachment.CFrame
  325. end
  326. end
  327.  
  328. AccessoryWeld.Parent = CloneHandle
  329. Clone.Parent = CharacterClone
  330.  
  331. tableinsert(Accessories, Clone)
  332.  
  333. local IsAMeshPart = CloneHandle:IsA("MeshPart")
  334. local Mesh = IsAMeshPart and CloneHandle or WaitForClass(CloneHandle, "SpecialMesh")
  335. local Id = IsAMeshPart and "TextureID" or "TextureId"
  336.  
  337. for _, Table in pairs(AccessoryTable) do
  338. local Instance = Table.Instance
  339.  
  340. if Instance then
  341. if stringmatch(Mesh.MeshId, Table.Mesh) and stringmatch(Mesh[Id], Table.Texture) and not tablefind(Blacklist, Instance) then
  342. tableinsert(Blacklist, Instance)
  343. tableinsert(Aligns, { Handle, Instance, Table.CFrame or CFrameidentity })
  344. return
  345. end
  346. end
  347. end
  348.  
  349. tableinsert(Aligns, { Handle, CloneHandle, CFrameidentity })
  350. end)
  351. elseif Instance:IsA("JointInstance") then
  352. taskspawn(function()
  353. taskwait()
  354. Instance:Destroy()
  355. end)
  356. end
  357. end
  358.  
  359. local function CharacterAdded(Character)
  360. if Character ~= CharacterClone then
  361. PostSimulation:Wait()
  362.  
  363. local Backpack = LocalPlayer:FindFirstChildOfClass("Backpack")
  364.  
  365. if Backpack then
  366. Backpack:ClearAllChildren()
  367. end
  368.  
  369. tableclear(Aligns)
  370. tableclear(Blacklist)
  371.  
  372. for _, Accessory in pairs(Accessories) do
  373. Accessory:Destroy()
  374. end
  375.  
  376. local CurrentCameraCFrame = CurrentCamera.CFrame
  377.  
  378. LocalPlayer.Character = CharacterClone
  379. CurrentCamera.CameraSubject = CharacterClone.Head
  380.  
  381. taskspawn(function()
  382. CurrentCamera:GetPropertyChangedSignal("CFrame"):Wait()
  383. CurrentCamera.CFrame = CurrentCameraCFrame
  384. end)
  385.  
  386. local CharacterHumanoidRootPart = WaitForClassOfName(Character, "BasePart", "HumanoidRootPart")
  387.  
  388. for Index, Value in pairs(Fling) do
  389. local BasePart = nil
  390.  
  391. if typeof(Value) == "Instance" then
  392. if Value:IsA("BasePart") then
  393. BasePart = Value
  394. elseif Value:IsA("Humanoid") then
  395. local Model = Value.Parent
  396.  
  397. if Model ~= Character and Model:IsA("Model") then
  398. BasePart = FindInstance(Model, "BasePart", "HumanoidRootPart") or FindInstance(Model, "BasePart", "Head") or Model:FindFirstChildOfClass("BasePart")
  399. end
  400. elseif Value:IsA("Model") and Value ~= Character then
  401. BasePart = FindInstance(Value, "BasePart", "HumanoidRootPart") or FindInstance(Value, "BasePart", "Head") or Value:FindFirstChildOfClass("BasePart")
  402. end
  403. end
  404.  
  405. if BasePart then
  406. local clock = osclock()
  407.  
  408. while CharacterHumanoidRootPart and BasePart and osclock() - clock <= 1 and BasePart.AssemblyLinearVelocity.Magnitude <= 60 do
  409. CharacterHumanoidRootPart.AssemblyAngularVelocity = Velocity
  410. CharacterHumanoidRootPart.AssemblyLinearVelocity = Velocity
  411.  
  412. CharacterHumanoidRootPart.CFrame = BasePart.CFrame + Vector3new(0, - 1, 0)
  413. PostSimulation:Wait()
  414. end
  415. end
  416. end
  417.  
  418. tableclear(Fling)
  419.  
  420. if CharacterHumanoidRootPart then
  421. CharacterHumanoidRootPart.AssemblyAngularVelocity = Vector3zero
  422. CharacterHumanoidRootPart.AssemblyLinearVelocity = Vector3zero
  423.  
  424. CharacterHumanoidRootPart.CFrame = CFramenew(HumanoidRootPart.Position + Vector3new(mathrandom(- 32, 32), 0, mathrandom(- 32, 32)))
  425. PostSimulation:Wait()
  426. end
  427.  
  428. Character:BreakJoints()
  429.  
  430. for _, Instance in pairs(Character:GetDescendants()) do
  431. DescendantAdded(Instance)
  432. end
  433.  
  434. Character.DescendantAdded:Connect(DescendantAdded)
  435. end
  436. end
  437.  
  438. local function Align(Part0, Part1, CFrame)
  439. if Part0.ReceiveAge == 0 and not Part0.Anchored and # Part0:GetJoints() == 0 then
  440. Part0.AssemblyAngularVelocity = Vector3new(0, Angular, 0)
  441.  
  442. local Part1CFrame = Part1.CFrame
  443. local LinearVelocity = Part1.AssemblyLinearVelocity * Linear
  444. local Magnitude = LinearVelocity.Magnitude < Linear
  445.  
  446. if Magnitude then
  447. local LookVector = Part1CFrame.LookVector * Linear
  448. Part0.AssemblyLinearVelocity = Vector3new(LookVector.X, Linear, LookVector.Z)
  449. else
  450. Part0.AssemblyLinearVelocity = Vector3new(LinearVelocity.X, Linear, LinearVelocity.Z)
  451. end
  452.  
  453. Part0.CFrame = Part1CFrame * ( Magnitude and Sleep or CFrameidentity ) * CFrame
  454. end
  455. end
  456.  
  457. if Character then
  458. CharacterAdded(Character)
  459. end
  460.  
  461. local Added = LocalPlayer.CharacterAdded:Connect(CharacterAdded)
  462.  
  463. local Connection = game:FindFirstChildOfClass("RunService").PostSimulation:Connect(function()
  464. local osclock = osclock()
  465. local Axis = 0.004 * mathcos(osclock * 17.5)
  466.  
  467. Sleep = CFramenew(0, Axis, 0)
  468. Angular = mathcos(osclock)
  469. Linear = 26
  470.  
  471. for _, Table in pairs(Aligns) do
  472. Align(Table[1], Table[2], Table[3])
  473. end
  474.  
  475. if sethiddenproperty then
  476. sethiddenproperty(LocalPlayer, "SimulationRadius", 10000000)
  477. end
  478.  
  479. StarterGui:SetCore("ResetButtonCallback", BindableEvent) -- This is if it gets overriden, just like in MyWorld testing place.
  480. end)
  481.  
  482. local function Event()
  483. CharacterClone:Destroy()
  484. end
  485.  
  486. BindableEvent.Event:Connect(Event)
  487.  
  488. CharacterClone:GetPropertyChangedSignal("Parent"):Connect(function()
  489. if not CharacterClone.Parent then
  490. Added:Disconnect()
  491. Connection:Disconnect()
  492.  
  493. CharacterClone:Destroy()
  494.  
  495. if BindableEvent then
  496. BindableEvent:Destroy()
  497. end
  498.  
  499. StarterGui:SetCore("ResetButtonCallback", true)
  500. end
  501. end)
  502.  
  503. BindableEvent:GetPropertyChangedSignal("Parent"):Connect(Event)
  504. Player = game:GetService("Players").LocalPlayer
  505. Character = Player.Character
  506. PlayerGui = Player.PlayerGui
  507. Backpack = Player.Backpack
  508. Torso = Character.Torso
  509. Head = Character.Head
  510. LeftArm = Character["Left Arm"]
  511. LeftLeg = Character["Left Leg"]
  512. RightArm = Character["Right Arm"]
  513. RightLeg = Character["Right Leg"]
  514. LS = Torso["Left Shoulder"]
  515. LH = Torso["Left Hip"]
  516. RS = Torso["Right Shoulder"]
  517. RH = Torso["Right Hip"]
  518. attack = false
  519. attackdebounce = false
  520. combo = 0
  521. mana = 800
  522. necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  523. comboing = false
  524. --player
  525. player = nil
  526. --save shoulders
  527. RSH, LSH = nil, nil
  528. --welds
  529. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  530. --what anim
  531. anim = "none"
  532. if Character:findFirstChild("Harute",true) ~= nil then
  533. Character:findFirstChild("Harute",true).Parent = nil
  534. end
  535. if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then
  536. Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil
  537. end
  538. local modelzorz = Instance.new("Model")
  539. modelzorz.Name = "Harute"
  540. modelzorz.Parent = Character
  541. local prt1 = Instance.new("Part")
  542. prt1.formFactor = 1
  543. prt1.Parent = modelzorz
  544. prt1.CanCollide = false
  545. prt1.BrickColor = BrickColor.new("Really black")
  546. prt1.Name = "Part1"
  547. prt1.Transparency = 0.4
  548. prt1.Size = Vector3.new(1,1,1)
  549. prt1.Position = Torso.Position
  550. local prt2 = Instance.new("Part")
  551. prt2.formFactor = 1
  552. prt2.Parent = modelzorz
  553. prt2.CanCollide = false
  554. prt2.BrickColor = BrickColor.new("Bright red")
  555. prt2.Name = "Part2"
  556. prt2.Transparency = 0.4
  557. prt2.Size = Vector3.new(1,1,1)
  558. prt2.Position = Torso.Position
  559. local prt3 = Instance.new("Part")
  560. prt3.formFactor = 1
  561. prt3.Parent = modelzorz
  562. prt3.CanCollide = false
  563. prt3.BrickColor = BrickColor.new("Really black")
  564. prt3.Name = "Part3"
  565. prt3.Transparency = 0.4
  566. prt3.Size = Vector3.new(1,1,1)
  567. prt3.Position = Torso.Position
  568. local prt4 = Instance.new("Part")
  569. prt4.formFactor = 1
  570. prt4.Parent = modelzorz
  571. prt4.CanCollide = false
  572. prt4.BrickColor = BrickColor.new("Bright red")
  573. prt4.Name = "Part4"
  574. prt4.Transparency = 0.4
  575. prt4.Size = Vector3.new(1,1,1)
  576. prt4.Position = Torso.Position
  577. local prt5 = Instance.new("Part")
  578. prt5.formFactor = 1
  579. prt5.Parent = modelzorz
  580. prt5.CanCollide = false
  581. prt5.BrickColor = BrickColor.new("Really black")
  582. prt5.Name = "Part5"
  583. prt5.Transparency = 0.4
  584. prt5.Size = Vector3.new(1,1,1)
  585. prt5.Position = Torso.Position
  586. local prt6 = Instance.new("Part")
  587. prt6.formFactor = 1
  588. prt6.Parent = modelzorz
  589. prt6.CanCollide = false
  590. prt6.BrickColor = BrickColor.new("Bright red")
  591. prt6.Name = "Part6"
  592. prt6.Transparency = 0.4
  593. prt6.Size = Vector3.new(1,1,1)
  594. prt6.Position = Torso.Position
  595. local prt7 = Instance.new("Part")
  596. prt7.formFactor = 1
  597. prt7.Parent = modelzorz
  598. prt7.CanCollide = false
  599. prt7.BrickColor = BrickColor.new("Really black")
  600. prt7.Name = "Part7"
  601. prt7.Transparency = 0.4
  602. prt7.Size = Vector3.new(1,1,1)
  603. prt7.Position = Torso.Position
  604. local prt8 = Instance.new("Part")
  605. prt8.formFactor = 1
  606. prt8.Parent = modelzorz
  607. prt8.CanCollide = false
  608. prt8.BrickColor = BrickColor.new("Bright red")
  609. prt8.Name = "Part8"
  610. prt8.Transparency = 0.4
  611. prt8.Size = Vector3.new(1,1,1)
  612. prt8.Position = Torso.Position
  613. local msh1 = Instance.new("BlockMesh")
  614. msh1.Parent = prt1
  615. msh1.Scale = Vector3.new(0.5,1,0.5)
  616. local msh2 = Instance.new("BlockMesh")
  617. msh2.Parent = prt2
  618. msh2.Scale = Vector3.new(0.5,1,0.5)
  619. local msh3 = Instance.new("BlockMesh")
  620. msh3.Parent = prt3
  621. msh3.Scale = Vector3.new(0.5,1,0.5)
  622. local msh4 = Instance.new("BlockMesh")
  623. msh4.Parent = prt4
  624. msh4.Scale = Vector3.new(0.5,1,0.5)
  625. local msh5 = Instance.new("BlockMesh")
  626. msh5.Parent = prt5
  627. msh5.Scale = Vector3.new(0.5,1,0.5)
  628. local msh6 = Instance.new("BlockMesh")
  629. msh6.Parent = prt6
  630. msh6.Scale = Vector3.new(0.5,1,0.5)
  631. local msh7 = Instance.new("BlockMesh")
  632. msh7.Parent = prt7
  633. msh7.Scale = Vector3.new(0.5,1,0.5)
  634. local msh8 = Instance.new("BlockMesh")
  635. msh8.Parent = prt8
  636. msh8.Scale = Vector3.new(0.5,1,0.5)
  637. local wld1 = Instance.new("Weld")
  638. wld1.Parent = prt1
  639. wld1.Part0 = prt1
  640. wld1.Part1 = Torso
  641. wld1.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0)
  642. local wld2 = Instance.new("Weld")
  643. wld2.Parent = prt2
  644. wld2.Part0 = prt2
  645. wld2.Part1 = Torso
  646. wld2.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  647. local wld3 = Instance.new("Weld")
  648. wld3.Parent = prt3
  649. wld3.Part0 = prt3
  650. wld3.Part1 = Torso
  651. wld3.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  652. local wld4 = Instance.new("Weld")
  653. wld4.Parent = prt4
  654. wld4.Part0 = prt4
  655. wld4.Part1 = Torso
  656. wld4.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  657. local wld5 = Instance.new("Weld")
  658. wld5.Parent = prt5
  659. wld5.Part0 = prt5
  660. wld5.Part1 = Torso
  661. wld5.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  662. local wld6 = Instance.new("Weld")
  663. wld6.Parent = prt6
  664. wld6.Part0 = prt6
  665. wld6.Part1 = Torso
  666. wld6.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  667. local wld7 = Instance.new("Weld")
  668. wld7.Parent = prt7
  669. wld7.Part0 = prt7
  670. wld7.Part1 = Torso
  671. wld7.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  672. local wld8 = Instance.new("Weld")
  673. wld8.Parent = prt8
  674. wld8.Part0 = prt8
  675. wld8.Part1 = Torso
  676. wld8.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  677. local SlashSound = Instance.new("Sound") -- PRELOADING SOUNDS TROLOLOL
  678. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  679. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  680. SlashSound.Parent = modelzorz
  681. SlashSound.Volume = .7
  682. SlashSound.Pitch = 1
  683. local SlashSound = Instance.new("Sound")
  684. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  685. SlashSound.Parent = workspace
  686. SlashSound.Volume = .5
  687. SlashSound.Pitch = 1
  688. local SlashSound = Instance.new("Sound")
  689. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  690. SlashSound.Parent = workspace
  691. SlashSound.Volume = .7
  692. SlashSound.Pitch = 1
  693. local SlashSound = Instance.new("Sound")
  694. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  695. SlashSound.Parent = workspace
  696. SlashSound.Volume = .7
  697. SlashSound.Pitch = 1
  698. local fengui = Instance.new("GuiMain")
  699. fengui.Parent = Player.PlayerGui
  700. fengui.Name = "manaGUI"
  701. local fenframe = Instance.new("Frame")
  702. fenframe.Parent = fengui
  703. fenframe.BackgroundColor3 = Color3.new(255,255,255)
  704. fenframe.BackgroundTransparency = 1
  705. fenframe.BorderColor3 = Color3.new(17,17,17)
  706. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  707. local fentext = Instance.new("TextLabel")
  708. fentext.Parent = fenframe
  709. fentext.Text = "Energy("..mana..")"
  710. fentext.BackgroundTransparency = 1
  711. fentext.SizeConstraint = "RelativeXY"
  712. fentext.TextXAlignment = "Center"
  713. fentext.TextYAlignment = "Center"
  714. fentext.Position = UDim2.new(0,80,1,200)
  715. local fentext2 = Instance.new("TextLabel")
  716. fentext2.Parent = fenframe
  717. fentext2.Text = " "
  718. fentext2.BackgroundTransparency = 0
  719. fentext2.BackgroundColor3 = Color3.new(0,0,0)
  720. fentext2.SizeConstraint = "RelativeXY"
  721. fentext2.TextXAlignment = "Center"
  722. fentext2.TextYAlignment = "Center"
  723. fentext2.Position = UDim2.new(0,10,1,170)
  724. fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0)
  725. local fentext3 = Instance.new("TextLabel")
  726. fentext3.Parent = fenframe
  727. fentext3.Text = " "
  728. fentext3.BackgroundTransparency = 0
  729. fentext3.BackgroundColor3 = Color3.new(1,1,0)
  730. fentext3.SizeConstraint = "RelativeXY"
  731. fentext3.TextXAlignment = "Center"
  732. fentext3.TextYAlignment = "Center"
  733. fentext3.Position = UDim2.new(0,10,1,170)
  734. fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0)
  735. --2.9000001, 0}, {0.450000018, 0}
  736. local gairo = Instance.new("BodyGyro")
  737. gairo.Parent = nil
  738. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  739. gairo.P = 20e+003
  740. if (script.Parent.className ~= "HopperBin") then
  741. Tool = Instance.new("HopperBin")
  742. Tool.Parent = Backpack
  743. Tool.Name = "Harute"
  744. script.Parent = Tool
  745. end
  746. Bin = script.Parent
  747. function hideanim()
  748. end
  749. function equipanim()
  750. end
  751. function onehit()
  752. if mana >= 0 then
  753. attack = true
  754. comboing = true
  755. for i = 0,1,0.1 do
  756. wait()
  757. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  758. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  759. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  760. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  761. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  762. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  763. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  764. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  765. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  766. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  767. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  768. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  769. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  770. end
  771. wait(0.1)
  772. gairo.Parent = Head
  773. gairo.cframe = Head.CFrame
  774. for i = 0,1,0.1 do
  775. wait()
  776. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1*i)
  777. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+0.5*i)
  778. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  779. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  780. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  781. --[[wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  782. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  783. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) ]]
  784. 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)
  785. 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)
  786. --[[wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  787. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  788. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) ]]
  789. end
  790. wait(0.1)
  791. if mana >= 0 then
  792. mana = mana - 10
  793. else
  794. mana = 0
  795. end
  796. lasersound(4)
  797. lasersound(4)
  798. Laser(prt4,math.random(20,40))
  799. Laser(prt5,math.random(20,40))
  800. attack = false
  801. end
  802. end
  803. function twohit()
  804. if mana >= 0 then
  805. attack = true
  806. for i = 0,1,0.1 do
  807. wait()
  808. 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)
  809. 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)
  810. 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)
  811. wld7.C0 = CFrame.new(-1.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,4.71)
  812. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1-2*i)
  813. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+0.5-0.5*i)
  814. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  815. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-0.5*i)
  816. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  817. end
  818. wait(0.1)
  819. if mana >= 0 then
  820. mana = mana - 5
  821. else
  822. mana = 0
  823. end
  824. lasersound(4)
  825. lasersound(4)
  826. Laser(prt6,math.random(20,40))
  827. Laser(prt7,math.random(20,40))
  828. wait(0.1)
  829. attack = false
  830. end
  831. end
  832. function threehit()
  833. if mana >= 0 then
  834. attack = true
  835. for i = 0,1,0.1 do
  836. wait()
  837. 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)
  838. 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)
  839. wld8.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.5*i,5.495-5.495*i)
  840. wld1.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28)
  841. wld2.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.5*i,0.785-0.785*i)
  842. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1-2+1*i)
  843. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  844. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  845. 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)
  846. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  847. end
  848. wait(0.1)
  849. if mana >= 0 then
  850. mana = mana - 8
  851. else
  852. mana = 0
  853. end
  854. lasersound(4)
  855. lasersound(4)
  856. lasersound(4)
  857. Laser(prt8,math.random(20,40))
  858. Laser(prt1,math.random(20,40))
  859. Laser(prt2,math.random(20,40))
  860. wait(0.1)
  861. attack = false
  862. end
  863. end
  864. function fourhit()
  865. if mana >= 0 then
  866. attack = true
  867. for i = 0,1,0.1 do
  868. wait()
  869. 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)
  870. wld1.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28)
  871. 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)
  872. wld3.C0 = CFrame.new(0,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57+0.5*i)
  873. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57*i)
  874. 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)
  875. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  876. 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)
  877. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  878. end
  879. wait(0.1)
  880. for i = 0,1,0.1 do
  881. wait()
  882. wld3.C0 = CFrame.new(0,1.6+3,-1+1) * CFrame.fromEulerAnglesXYZ(0,0,1.57+0.5-0.8*i)
  883. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57)
  884. 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)
  885. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+1*i,0,0)
  886. 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)
  887. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  888. if mana >= 0 then
  889. mana = mana - 1
  890. else
  891. mana = 0
  892. end
  893. lasersound(4)
  894. Laser(prt3,math.random(5,15))
  895. end
  896. wait(0.1)
  897. attack = false
  898. end
  899. end
  900. function LaserWave()
  901. if mana >= 0 then
  902. attack = true
  903. for i = 0,1,0.1 do
  904. wait()
  905. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  906. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  907. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  908. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  909. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  910. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  911. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  912. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  913. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  914. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  915. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  916. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  917. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  918. end
  919. wait(0.1)
  920. for i = 0,1,0.1 do
  921. wait()
  922. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  923. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  924. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i)
  925. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  926. wld1.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28)
  927. wld3.C0 = CFrame.new(0,1.6+3,-1+4*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,1.57)
  928. wld5.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.14)
  929. wld7.C0 = CFrame.new(0,1.6+3,-1+4*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,4.71)
  930. end
  931. if mana >= 0 then
  932. mana = mana - 20
  933. else
  934. mana = 0
  935. end
  936. lasersound(4)
  937. lasersound(4)
  938. lasersound(4)
  939. lasersound(4)
  940. Laser(prt1,math.random(10,20))
  941. Laser(prt3,math.random(10,20))
  942. Laser(prt5,math.random(10,20))
  943. Laser(prt7,math.random(10,20))
  944. wait(0.1)
  945. for i = 0,1,0.1 do
  946. wait()
  947. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77-1.77*i)
  948. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  949. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77+1.77*i)
  950. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  951. 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)
  952. wld3.C0 = CFrame.new(0,1.6+3,-1+4-4*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,1.57)
  953. 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)
  954. wld7.C0 = CFrame.new(0,1.6+3,-1+4-4*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,4.71)
  955. end
  956. for i = 0,1,0.1 do
  957. wait()
  958. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  959. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  960. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i)
  961. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  962. wld2.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.97*i,0,0.785-0.785*i)
  963. wld4.C0 = CFrame.new(0,1.6+3,-1+1.5*i) * CFrame.fromEulerAnglesXYZ(-1.77*i,0,2.355-2.355*i)
  964. wld6.C0 = CFrame.new(0,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925-3.925*i)
  965. wld8.C0 = CFrame.new(0,1.6+3,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(-1.37*i,0,5.495-5.495*i)
  966. end
  967. if mana >= 0 then
  968. mana = mana - 20
  969. else
  970. mana = 0
  971. end
  972. lasersound(4)
  973. lasersound(4)
  974. lasersound(4)
  975. lasersound(4)
  976. Laser(prt2,math.random(10,20))
  977. Laser(prt4,math.random(10,20))
  978. Laser(prt6,math.random(10,20))
  979. Laser(prt8,math.random(10,20))
  980. wait(0.1)
  981. for i = 0,1,0.1 do
  982. wait()
  983. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77-1.77*i)
  984. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  985. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77+1.77*i)
  986. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  987. wld2.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.97+1.97*i,0,-0.785*i)
  988. 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)
  989. wld6.C0 = CFrame.new(0,1.6+3,-1+1-1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,-3.925*i)
  990. 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)
  991. end
  992. wait(0.1)
  993. attack = false
  994. end
  995. end
  996. function OverBlast()
  997. if mana >= 0 then
  998. attack = true
  999. for i = 0,1,0.1 do
  1000. wait()
  1001. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1002. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1003. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1004. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1005. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1006. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1007. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1008. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1009. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1010. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1011. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1012. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1013. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1014. end
  1015. for i = 0,1.05,0.05 do
  1016. wait()
  1017. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1018. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  1019. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1020. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i)
  1021. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1022. wld1.C0 = CFrame.new(-1.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.5*i,6.28)
  1023. 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)
  1024. 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)
  1025. 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)
  1026. 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)
  1027. wld6.C0 = CFrame.new(-0.6*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925-3.925*i)
  1028. wld7.C0 = CFrame.new(0.6*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0,4.71-4.71*i)
  1029. 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)
  1030. end
  1031. if mana >= 0 then
  1032. mana = mana - 50
  1033. else
  1034. mana = 0
  1035. end
  1036. lasersound(4)
  1037. lasersound(4)
  1038. lasersound(4)
  1039. lasersound(4)
  1040. lasersound(4)
  1041. lasersound(4)
  1042. lasersound(4)
  1043. lasersound(4)
  1044. Laser(prt1,math.random(5,15))
  1045. Laser(prt2,math.random(5,15))
  1046. Laser(prt3,math.random(5,15))
  1047. Laser(prt4,math.random(5,15))
  1048. Laser(prt5,math.random(5,15))
  1049. Laser(prt6,math.random(5,15))
  1050. Laser(prt7,math.random(5,15))
  1051. Laser(prt8,math.random(5,15))
  1052. wait(0.2)
  1053. for i = 0,1.05,0.05 do
  1054. wait()
  1055. wld1.C0 = CFrame.new(-1.5,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.5-0.5*i,6.28)
  1056. 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)
  1057. 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)
  1058. wld4.C0 = CFrame.new(1.5,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.5+0.5*i,2.355+3.925)
  1059. 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)
  1060. wld6.C0 = CFrame.new(-0.6+0.1*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0,3.925-3.925)
  1061. wld7.C0 = CFrame.new(0.6-0.1*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0,4.71-4.71)
  1062. 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)
  1063. end
  1064. if mana >= 0 then
  1065. mana = mana - 50
  1066. else
  1067. mana = 0
  1068. end
  1069. lasersound(4)
  1070. lasersound(4)
  1071. lasersound(4)
  1072. lasersound(4)
  1073. lasersound(4)
  1074. lasersound(4)
  1075. lasersound(4)
  1076. lasersound(4)
  1077. Laser(prt1,math.random(5,15))
  1078. Laser(prt2,math.random(5,15))
  1079. Laser(prt3,math.random(5,15))
  1080. Laser(prt4,math.random(5,15))
  1081. Laser(prt5,math.random(5,15))
  1082. Laser(prt6,math.random(5,15))
  1083. Laser(prt7,math.random(5,15))
  1084. Laser(prt8,math.random(5,15))
  1085. wait(0.5)
  1086. attack = false
  1087. end
  1088. end
  1089. function SpinBeam()
  1090. if mana >= 0 then
  1091. attack = true
  1092. for i = 0,1,0.1 do
  1093. wait()
  1094. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1095. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1096. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1097. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1098. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1099. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1100. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1101. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1102. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1103. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1104. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1105. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1106. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1107. end
  1108. for i = 0,1,0.1 do
  1109. wait()
  1110. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1111. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1112. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1113. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1114. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1115. wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1116. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1117. wld3.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1118. wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1119. wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1120. wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1121. wld7.C0 = CFrame.new(-0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1122. wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1123. end
  1124. gairo.Parent = Head
  1125. gairo.cframe = Head.CFrame
  1126. CF = Torso.CFrame
  1127. for i = 0,1,0.1 do
  1128. wait(0.1)
  1129. gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  1130. if mana >= 0 then
  1131. mana = mana - 5
  1132. else
  1133. mana = 0
  1134. end
  1135. lasersound(4)
  1136. lasersound(4)
  1137. Laser(prt3,math.random(10,20))
  1138. Laser(prt7,math.random(10,20))
  1139. end
  1140. wait(0.2)
  1141. gairo.Parent = nil
  1142. attack = false
  1143. end
  1144. end
  1145. function DodgeTheLaser()
  1146. if mana >= 0 then
  1147. attack = true
  1148. for i = 0,1,0.1 do
  1149. wait()
  1150. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1151. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1152. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1153. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1154. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1155. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1156. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1157. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1158. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1159. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1160. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1161. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1162. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1163. end
  1164. for i = 0,1,0.1 do
  1165. wait()
  1166. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1167. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1168. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1169. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1170. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1171. wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1172. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1173. wld3.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1174. wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1175. wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1176. wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1177. wld7.C0 = CFrame.new(-0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1178. wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1179. end
  1180. gairo.Parent = Head
  1181. gairo.cframe = Head.CFrame
  1182. CF = Torso.CFrame
  1183. for i = 0,1,0.01 do
  1184. wait(0.1)
  1185. gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  1186. if mana >= 0 then
  1187. mana = mana - 5
  1188. else
  1189. mana = 0
  1190. end
  1191. lasersound(4)
  1192. lasersound(4)
  1193. Laser(prt3,math.random(10,20))
  1194. Laser(prt7,math.random(10,20))
  1195. end
  1196. wait()
  1197. gairo.Parent = nil
  1198. attack = false
  1199. end
  1200. end
  1201. function LaserBarrage()
  1202. if mana >= 0 then
  1203. attack = true
  1204. for i = 0,1,0.1 do
  1205. wait()
  1206. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1207. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1208. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1209. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1210. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1211. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1212. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1213. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1214. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1215. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1216. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1217. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1218. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1219. end
  1220. for i = 0,1,0.2 do
  1221. wait()
  1222. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1223. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,-1.57+1.77*i)
  1224. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1225. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,1.57-1.77*i)
  1226. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1227. wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28)
  1228. end
  1229. if mana >= 0 then
  1230. mana = mana - 1
  1231. else
  1232. mana = 0
  1233. end
  1234. lasersound(4)
  1235. Laser(prt1,math.random(10,20))
  1236. for i = 0,1,0.2 do
  1237. wait()
  1238. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1239. 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)
  1240. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1241. 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)
  1242. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1243. wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28)
  1244. end
  1245. for i = 0,1,0.2 do
  1246. wait()
  1247. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1248. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,-1.57+1.77*i)
  1249. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1250. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1251. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1252. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,0.785)
  1253. end
  1254. if mana >= 0 then
  1255. mana = mana - 1
  1256. else
  1257. mana = 0
  1258. end
  1259. lasersound(4)
  1260. Laser(prt2,math.random(10,20))
  1261. for i = 0,1,0.2 do
  1262. wait()
  1263. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1264. 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)
  1265. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1266. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1267. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1268. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,0.785)
  1269. end
  1270. for i = 0,1,0.2 do
  1271. wait()
  1272. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1273. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.3*i,0,-1.57+1.77*i)
  1274. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1275. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1276. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1277. wld3.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,1.57)
  1278. end
  1279. if mana >= 0 then
  1280. mana = mana - 1
  1281. else
  1282. mana = 0
  1283. end
  1284. lasersound(4)
  1285. Laser(prt3,math.random(10,20))
  1286. for i = 0,1,0.2 do
  1287. wait()
  1288. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1289. 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)
  1290. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1291. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1292. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1293. wld3.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,1.57)
  1294. end
  1295. for i = 0,1,0.2 do
  1296. wait()
  1297. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1298. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,-1.57+1.77*i)
  1299. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1300. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1301. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1302. wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,2.355)
  1303. end
  1304. if mana >= 0 then
  1305. mana = mana - 1
  1306. else
  1307. mana = 0
  1308. end
  1309. lasersound(4)
  1310. Laser(prt4,math.random(10,20))
  1311. for i = 0,1,0.2 do
  1312. wait()
  1313. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1314. 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)
  1315. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1316. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1317. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1318. wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,2.355)
  1319. end
  1320. for i = 0,1,0.2 do
  1321. wait()
  1322. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1323. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,-1.57+1.77*i)
  1324. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1325. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-1.77*i)
  1326. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1327. wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.14)
  1328. end
  1329. if mana >= 0 then
  1330. mana = mana - 1
  1331. else
  1332. mana = 0
  1333. end
  1334. lasersound(4)
  1335. Laser(prt5,math.random(10,20))
  1336. for i = 0,1,0.2 do
  1337. wait()
  1338. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1339. 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)
  1340. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1341. 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)
  1342. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1343. wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.14)
  1344. end
  1345. for i = 0,1,0.2 do
  1346. wait()
  1347. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1348. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1349. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1350. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-1.77*i)
  1351. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1352. wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925)
  1353. end
  1354. if mana >= 0 then
  1355. mana = mana - 1
  1356. else
  1357. mana = 0
  1358. end
  1359. lasersound(4)
  1360. Laser(prt6,math.random(10,20))
  1361. for i = 0,1,0.2 do
  1362. wait()
  1363. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1364. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1365. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1366. 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)
  1367. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1368. wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.925)
  1369. end
  1370. for i = 0,1,0.2 do
  1371. wait()
  1372. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1373. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1374. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1375. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,1.57-1.77*i)
  1376. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1377. wld7.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,4.71)
  1378. end
  1379. if mana >= 0 then
  1380. mana = mana - 1
  1381. else
  1382. mana = 0
  1383. end
  1384. lasersound(4)
  1385. Laser(prt7,math.random(10,20))
  1386. for i = 0,1,0.2 do
  1387. wait()
  1388. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1389. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1390. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1391. 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)
  1392. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1393. wld7.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,4.71)
  1394. end
  1395. for i = 0,1,0.2 do
  1396. wait()
  1397. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1398. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1399. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1400. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,1.57-1.77*i)
  1401. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1402. wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,5.495)
  1403. end
  1404. if mana >= 0 then
  1405. mana = mana - 1
  1406. else
  1407. mana = 0
  1408. end
  1409. lasersound(4)
  1410. Laser(prt8,math.random(10,20))
  1411. for i = 0,1,0.2 do
  1412. wait()
  1413. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1414. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1415. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1416. 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)
  1417. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1418. wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,5.495)
  1419. end
  1420. wait(0.5)
  1421. attack = false
  1422. end
  1423. end
  1424. function CloseRangedFire()
  1425. if mana >= 0 then
  1426. attack = true
  1427. for i = 0,1,0.1 do
  1428. wait()
  1429. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1430. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1431. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1432. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1433. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1434. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1435. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1436. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1437. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1438. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1439. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1440. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1441. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1442. end
  1443. for i = 0,1,0.1 do
  1444. wait()
  1445. wld1.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,6.28)
  1446. wld2.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,0.785)
  1447. wld3.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,1.57)
  1448. wld4.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,2.355)
  1449. wld5.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,3.14)
  1450. wld6.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,3.925)
  1451. wld7.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,4.71)
  1452. wld8.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,5.495)
  1453. end
  1454. if mana >= 0 then
  1455. mana = mana - 50
  1456. else
  1457. mana = 0
  1458. end
  1459. lasersound(4)
  1460. lasersound(4)
  1461. lasersound(4)
  1462. lasersound(4)
  1463. lasersound(4)
  1464. lasersound(4)
  1465. lasersound(4)
  1466. lasersound(4)
  1467. Laser(prt1,math.random(5,10))
  1468. Laser(prt2,math.random(5,10))
  1469. Laser(prt3,math.random(5,10))
  1470. Laser(prt4,math.random(5,10))
  1471. Laser(prt5,math.random(5,10))
  1472. Laser(prt6,math.random(5,10))
  1473. Laser(prt7,math.random(5,10))
  1474. Laser(prt8,math.random(5,10))
  1475. wait(1)
  1476. attack = false
  1477. end
  1478. end
  1479. function Implosion()
  1480. if mana >= 0 then
  1481. attack = true
  1482. for i = 0,1,0.1 do
  1483. wait()
  1484. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1485. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1486. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1487. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1488. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1489. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1490. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1491. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1492. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1493. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1494. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1495. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1496. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1497. end
  1498. for i = 0,1,0.1 do
  1499. wait()
  1500. wld1.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0,6.28-6.28*i)
  1501. wld2.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0.785*i,0.785-0.785*i)
  1502. wld3.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,1.57-1.57*i)
  1503. wld4.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,2.355*i,2.355-2.355*i)
  1504. wld5.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.14*i,3.14-3.14*i)
  1505. wld6.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.925*i,3.925-3.925*i)
  1506. wld7.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,4.71*i,4.71-4.71*i)
  1507. wld8.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,5.495*i,5.495-5.495*i)
  1508. end
  1509. if mana >= 0 then
  1510. mana = mana - 50
  1511. else
  1512. mana = 0
  1513. end
  1514. lasersound(4)
  1515. lasersound(4)
  1516. lasersound(4)
  1517. lasersound(4)
  1518. lasersound(4)
  1519. lasersound(4)
  1520. lasersound(4)
  1521. lasersound(4)
  1522. Laser(prt1,math.random(5,10))
  1523. Laser(prt2,math.random(5,10))
  1524. Laser(prt3,math.random(5,10))
  1525. Laser(prt4,math.random(5,10))
  1526. Laser(prt5,math.random(5,10))
  1527. Laser(prt6,math.random(5,10))
  1528. Laser(prt7,math.random(5,10))
  1529. Laser(prt8,math.random(5,10))
  1530. for i = 0,1,0.1 do
  1531. wait()
  1532. wld1.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5*i,6.28-6.28)
  1533. wld2.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5*i,0.785-0.785)
  1534. wld3.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5*i,1.57-1.57)
  1535. wld4.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5*i,2.355-2.355)
  1536. wld5.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5*i,3.14-3.14)
  1537. wld6.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5*i,3.925-3.925)
  1538. wld7.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5*i,4.71-4.71)
  1539. wld8.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5*i,5.495-5.495)
  1540. end
  1541. if mana >= 0 then
  1542. mana = mana - 50
  1543. else
  1544. mana = 0
  1545. end
  1546. lasersound(4)
  1547. lasersound(4)
  1548. lasersound(4)
  1549. lasersound(4)
  1550. lasersound(4)
  1551. lasersound(4)
  1552. lasersound(4)
  1553. lasersound(4)
  1554. Laser(prt1,math.random(5,10))
  1555. Laser(prt2,math.random(5,10))
  1556. Laser(prt3,math.random(5,10))
  1557. Laser(prt4,math.random(5,10))
  1558. Laser(prt5,math.random(5,10))
  1559. Laser(prt6,math.random(5,10))
  1560. Laser(prt7,math.random(5,10))
  1561. Laser(prt8,math.random(5,10))
  1562. for i = 0,1,0.1 do
  1563. wait()
  1564. wld1.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,0+0.5,6.28-6.28)
  1565. wld2.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,0.785+0.5,0.785-0.785)
  1566. wld3.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,1.57+0.5,1.57-1.57)
  1567. wld4.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,2.355+0.5,2.355-2.355)
  1568. wld5.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,3.14+0.5,3.14-3.14)
  1569. wld6.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,3.925+0.5,3.925-3.925)
  1570. wld7.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,4.71+0.5,4.71-4.71)
  1571. wld8.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,5.495+0.5,5.495-5.495)
  1572. end
  1573. if mana >= 0 then
  1574. mana = mana - 50
  1575. else
  1576. mana = 0
  1577. end
  1578. lasersound(4)
  1579. lasersound(4)
  1580. lasersound(4)
  1581. lasersound(4)
  1582. lasersound(4)
  1583. lasersound(4)
  1584. lasersound(4)
  1585. lasersound(4)
  1586. Laser(prt1,math.random(5,10))
  1587. Laser(prt2,math.random(5,10))
  1588. Laser(prt3,math.random(5,10))
  1589. Laser(prt4,math.random(5,10))
  1590. Laser(prt5,math.random(5,10))
  1591. Laser(prt6,math.random(5,10))
  1592. Laser(prt7,math.random(5,10))
  1593. Laser(prt8,math.random(5,10))
  1594. wait(1)
  1595. attack = false
  1596. end
  1597. end
  1598. function SpinLaser()
  1599. if mana >= 0 then
  1600. attack = true
  1601. for i = 0,1,0.1 do
  1602. wait()
  1603. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1604. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1605. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1606. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1607. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1608. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1609. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1610. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1611. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1612. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1613. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1614. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1615. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1616. end
  1617. for i = 0,1,0.1 do
  1618. wait()
  1619. wld1.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0,6.28-6.28*i)
  1620. wld2.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0.785*i,0.785-0.785*i)
  1621. wld3.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,1.57-1.57*i)
  1622. wld4.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,2.355*i,2.355-2.355*i)
  1623. wld5.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.14*i,3.14-3.14*i)
  1624. wld6.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.925*i,3.925-3.925*i)
  1625. wld7.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,4.71*i,4.71-4.71*i)
  1626. wld8.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,5.495*i,5.495-5.495*i)
  1627. end
  1628. lasersound(4)
  1629. lasersound(4)
  1630. lasersound(4)
  1631. lasersound(4)
  1632. lasersound(4)
  1633. lasersound(4)
  1634. lasersound(4)
  1635. lasersound(4)
  1636. Laser(prt1,math.random(10,20))
  1637. Laser(prt2,math.random(10,20))
  1638. Laser(prt3,math.random(10,20))
  1639. Laser(prt4,math.random(10,20))
  1640. Laser(prt5,math.random(10,20))
  1641. Laser(prt6,math.random(10,20))
  1642. Laser(prt7,math.random(10,20))
  1643. Laser(prt8,math.random(10,20))
  1644. for i = 0,1,0.1 do
  1645. wait()
  1646. wld1.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5*i,6.28-6.28)
  1647. wld2.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5*i,0.785-0.785)
  1648. wld3.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5*i,1.57-1.57)
  1649. wld4.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5*i,2.355-2.355)
  1650. wld5.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5*i,3.14-3.14)
  1651. wld6.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5*i,3.925-3.925)
  1652. wld7.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5*i,4.71-4.71)
  1653. wld8.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5*i,5.495-5.495)
  1654. end
  1655. lasersound(4)
  1656. lasersound(4)
  1657. lasersound(4)
  1658. lasersound(4)
  1659. lasersound(4)
  1660. lasersound(4)
  1661. lasersound(4)
  1662. lasersound(4)
  1663. Laser(prt1,math.random(10,20))
  1664. Laser(prt2,math.random(10,20))
  1665. Laser(prt3,math.random(10,20))
  1666. Laser(prt4,math.random(10,20))
  1667. Laser(prt5,math.random(10,20))
  1668. Laser(prt6,math.random(10,20))
  1669. Laser(prt7,math.random(10,20))
  1670. Laser(prt8,math.random(10,20))
  1671. for i = 0,1,0.1 do
  1672. wait()
  1673. wld1.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5+0.5*i,6.28-6.28)
  1674. 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)
  1675. 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)
  1676. 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)
  1677. 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)
  1678. 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)
  1679. 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)
  1680. 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)
  1681. end
  1682. lasersound(4)
  1683. lasersound(4)
  1684. lasersound(4)
  1685. lasersound(4)
  1686. lasersound(4)
  1687. lasersound(4)
  1688. lasersound(4)
  1689. lasersound(4)
  1690. Laser(prt1,math.random(10,20))
  1691. Laser(prt2,math.random(10,20))
  1692. Laser(prt3,math.random(10,20))
  1693. Laser(prt4,math.random(10,20))
  1694. Laser(prt5,math.random(10,20))
  1695. Laser(prt6,math.random(10,20))
  1696. Laser(prt7,math.random(10,20))
  1697. Laser(prt8,math.random(10,20))
  1698. wait(1)
  1699. attack = false
  1700. end
  1701. end
  1702. function LaserPillars()
  1703. if mana >= 0 then
  1704. attack = true
  1705. for i = 0,1,0.1 do
  1706. wait()
  1707. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1708. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1709. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1710. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1711. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1712. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1713. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1714. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1715. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1716. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1717. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1718. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1719. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1720. end
  1721. for i = 0,1,0.1 do
  1722. wait()
  1723. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1724. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1725. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1726. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1727. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1728. wld1.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,0,6.28-6.28*i)
  1729. wld2.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,0.785*i,0.785-0.785*i)
  1730. wld3.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,1.57*i,1.57-1.57*i)
  1731. wld4.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,2.355*i,2.355-2.355*i)
  1732. wld5.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,3.14*i,3.14-3.14*i)
  1733. wld6.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,3.925*i,3.925-3.925*i)
  1734. wld7.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,4.71*i,4.71-4.71*i)
  1735. wld8.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,5.495*i,5.495-5.495*i)
  1736. end
  1737. lasersound(4)
  1738. lasersound(4)
  1739. lasersound(4)
  1740. lasersound(4)
  1741. lasersound(4)
  1742. lasersound(4)
  1743. lasersound(4)
  1744. lasersound(4)
  1745. Laser(prt1,math.random(20,40))
  1746. Laser(prt2,math.random(20,40))
  1747. Laser(prt3,math.random(20,40))
  1748. Laser(prt4,math.random(20,40))
  1749. Laser(prt5,math.random(20,40))
  1750. Laser(prt6,math.random(20,40))
  1751. Laser(prt7,math.random(20,40))
  1752. Laser(prt8,math.random(20,40))
  1753. hur = 0
  1754. for i = 0,1,0.1 do
  1755. wait(0.1)
  1756. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1757. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1758. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1759. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1760. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1761. wld1.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,0+2.5*i,6.28-6.28)
  1762. 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)
  1763. 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)
  1764. 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)
  1765. 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)
  1766. 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)
  1767. 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)
  1768. 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)
  1769. if hur == 1 then
  1770. lasersound(4)
  1771. lasersound(4)
  1772. lasersound(4)
  1773. lasersound(4)
  1774. lasersound(4)
  1775. lasersound(4)
  1776. lasersound(4)
  1777. lasersound(4)
  1778. Laser(prt1,math.random(20,40))
  1779. Laser(prt2,math.random(20,40))
  1780. Laser(prt3,math.random(20,40))
  1781. Laser(prt4,math.random(20,40))
  1782. Laser(prt5,math.random(20,40))
  1783. Laser(prt6,math.random(20,40))
  1784. Laser(prt7,math.random(20,40))
  1785. Laser(prt8,math.random(20,40))
  1786. hur = 0
  1787. end
  1788. hur = hur + 1
  1789. end
  1790. wait(1)
  1791. attack = false
  1792. end
  1793. end
  1794. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1795. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1796. end
  1797. function Laser(Part,Dmg)
  1798. sp = Part.Position
  1799. dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57,0,0)
  1800. local hit,pos = rayCast(sp,dirr.lookVector,500,Character)
  1801. local las=Instance.new("Part",Character)
  1802. las.Anchored=true
  1803. las.Locked=true
  1804. las.CanCollide=false
  1805. las.TopSurface=0
  1806. las.BottomSurface=0
  1807. las.FormFactor = "Custom"
  1808. las.BrickColor=BrickColor.new("Bright red")
  1809. las.Size=Vector3.new(1,1,1)
  1810. las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  1811. local msh=Instance.new("SpecialMesh",las)
  1812. mag = (Part.Position-pos).magnitude
  1813. msh.Scale=Vector3.new(0.1,mag,0.1)
  1814. coroutine.resume(coroutine.create(function(Part,Mesh)
  1815. for i = 0,1,0.1 do
  1816. wait()
  1817. Part.Transparency = Part.Transparency + 0.1
  1818. Mesh.Scale = Mesh.Scale + Vector3.new(0.15,0.7,0.15)
  1819. end
  1820. Part.Parent = nil
  1821. end),las,msh)
  1822. local las=Instance.new("Part",Character)
  1823. las.Anchored=true
  1824. las.Locked=true
  1825. las.CanCollide=false
  1826. las.TopSurface=0
  1827. las.BottomSurface=0
  1828. las.FormFactor = "Custom"
  1829. las.BrickColor=BrickColor.new("Really black")
  1830. las.Size=Vector3.new(1,1,1)
  1831. las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  1832. local msh=Instance.new("SpecialMesh",las)
  1833. mag = (Part.Position-pos).magnitude
  1834. msh.Scale=Vector3.new(0.1,mag,0.1)
  1835. coroutine.resume(coroutine.create(function(Part,Mesh)
  1836. for i = 0,1,0.1 do
  1837. wait()
  1838. Part.Transparency = Part.Transparency + 0.1
  1839. Mesh.Scale = Mesh.Scale + Vector3.new(-0.05,0.7,-0.05)
  1840. end
  1841. Part.Parent = nil
  1842. end),las,msh)
  1843. if pos ~= nil then
  1844. local las2=Instance.new("Part",Character)
  1845. las2.Anchored=true
  1846. las2.Locked=true
  1847. las2.CanCollide=false
  1848. las2.TopSurface=0
  1849. las2.BottomSurface=0
  1850. las2.FormFactor = "Custom"
  1851. las2.BrickColor=BrickColor.new("Bright red")
  1852. las2.Size=Vector3.new(1,1,1)
  1853. --las2.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  1854. las2.CFrame=CFrame.new(pos) *CFrame.Angles(math.rad(90),0,0)
  1855. local msh=Instance.new("BlockMesh",las2)
  1856. mag = (Part.Position-pos).magnitude
  1857. msh.Scale=Vector3.new(0.1,0.1,0.1)
  1858. coroutine.resume(coroutine.create(function(Part,Mesh)
  1859. --wait(10)
  1860. for i = 0,1,0.1 do
  1861. wait()
  1862. Part.Transparency = Part.Transparency + 0.1
  1863. Mesh.Scale = Mesh.Scale + Vector3.new(0.5,0,0.5)
  1864. end
  1865. Part.Parent = nil
  1866. end),las2,msh)
  1867. end
  1868. if hit ~= nil and pos ~= nil then
  1869. if hit.Parent.className == "Hat" then
  1870. hit:BreakJoints()
  1871. hit.Velocity = Vector3.new(math.random(-5,5),20,math.random(-5,5))
  1872. end
  1873. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  1874. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  1875. hit.Parent.Humanoid:TakeDamage(Dmg)
  1876. showDamage(hit.Parent,Dmg,.5)
  1877. end
  1878. end
  1879. --[[if hit.className == "Part" and hit.Parent:findFirstChild("Humanoid") == nil then
  1880. end ]]
  1881. end
  1882. end
  1883. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1884. local msh1 = Instance.new("BlockMesh")
  1885. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1886. S=Instance.new("Part")
  1887. S.Name="Effect"
  1888. S.formFactor=0
  1889. S.Size=Vector3.new(x1,y1,z1)
  1890. S.BrickColor=color
  1891. S.Reflectance = 0
  1892. S.TopSurface=0
  1893. S.BottomSurface=0
  1894. S.Transparency=0
  1895. S.Anchored=true
  1896. S.CanCollide=false
  1897. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1898. S.Parent=Character
  1899. msh1.Parent = S
  1900. 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)
  1901. end
  1902. function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1903. local msh1 = Instance.new("BlockMesh")
  1904. msh1.Scale = Vector3.new(x1,y1,z1)
  1905. S=Instance.new("Part")
  1906. S.Name="Effect"
  1907. S.formFactor=0
  1908. S.Size=Vector3.new(1,1,1)
  1909. S.BrickColor=color
  1910. S.Reflectance = 0
  1911. S.TopSurface=0
  1912. S.BottomSurface=0
  1913. S.Transparency=0
  1914. S.Anchored=true
  1915. S.CanCollide=false
  1916. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1917. S.Parent=Character
  1918. msh1.Parent = S
  1919. 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)
  1920. end
  1921. function MOREMAGIX(part,cframe,x,y,z,color)
  1922. p2=Instance.new("Part")
  1923. p2.Name="Blast"
  1924. p2.TopSurface=0
  1925. p2.BottomSurface=0
  1926. p2.CanCollide=false
  1927. p2.Anchored=true
  1928. p2.BrickColor=color
  1929. p2.Size=Vector3.new(x,y,z)
  1930. p2.formFactor="Symmetric"
  1931. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  1932. p2.Parent=workspace
  1933. m=Instance.new("BlockMesh")
  1934. m.Parent=p2
  1935. m.Name="BlastMesh"
  1936. 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))
  1937. end
  1938. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1939. local msh1 = Instance.new("SpecialMesh")
  1940. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1941. msh1.MeshType = "Sphere"
  1942. S=Instance.new("Part")
  1943. S.Name="Effect"
  1944. S.formFactor=0
  1945. S.Size=Vector3.new(x1,y1,z1)
  1946. S.BrickColor=color
  1947. if Style == "WingBlade" and element == "Dark" then
  1948. S.BrickColor=BrickColor.new("Black")
  1949. end
  1950. S.Reflectance = 0
  1951. S.TopSurface=0
  1952. S.BottomSurface=0
  1953. S.Transparency=0
  1954. S.Anchored=true
  1955. S.CanCollide=false
  1956. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1957. S.Parent=Character
  1958. msh1.Parent = S
  1959. 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)
  1960. end
  1961. function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1962. local msh1 = Instance.new("SpecialMesh")
  1963. msh1.Scale = Vector3.new(x1,y1,z1)
  1964. msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1965. S=Instance.new("Part")
  1966. S.Name="Effect"
  1967. S.formFactor=0
  1968. S.Size=Vector3.new(1,1,1)
  1969. S.BrickColor=color
  1970. S.Reflectance = 0
  1971. S.TopSurface=0
  1972. S.BottomSurface=0
  1973. S.Transparency=0
  1974. S.Anchored=true
  1975. S.CanCollide=false
  1976. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1977. S.Parent=Character
  1978. msh1.Parent = S
  1979. 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)
  1980. end
  1981. function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1982. local msh1 = Instance.new("SpecialMesh")
  1983. msh1.Scale = Vector3.new(x1,y1,z1)
  1984. msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
  1985. S=Instance.new("Part")
  1986. S.Name="Effect"
  1987. S.formFactor=0
  1988. S.Size=Vector3.new(1,1,1)
  1989. S.BrickColor=color
  1990. S.Reflectance = 0
  1991. S.TopSurface=0
  1992. S.BottomSurface=0
  1993. S.Transparency=0
  1994. S.Anchored=true
  1995. S.CanCollide=false
  1996. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1997. S.Parent=Character
  1998. msh1.Parent = S
  1999. 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)
  2000. end
  2001. function ss(pitch)
  2002. local SlashSound = Instance.new("Sound")
  2003. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  2004. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  2005. SlashSound.Parent = workspace
  2006. SlashSound.Volume = .7
  2007. SlashSound.Pitch = pitch
  2008. SlashSound.PlayOnRemove = true
  2009. coroutine.resume(coroutine.create(function()
  2010. wait(0)
  2011. SlashSound.Parent = nil
  2012. end))
  2013. end
  2014. function equipsound(pitch)
  2015. local SlashSound = Instance.new("Sound")
  2016. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  2017. SlashSound.Parent = workspace
  2018. SlashSound.Volume = .5
  2019. SlashSound.Pitch = pitch
  2020. SlashSound.PlayOnRemove = true
  2021. coroutine.resume(coroutine.create(function()
  2022. wait(0)
  2023. SlashSound.Parent = nil
  2024. end))
  2025. end
  2026. function magicsound(pitch)
  2027. local SlashSound = Instance.new("Sound")
  2028. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  2029. SlashSound.Parent = workspace
  2030. SlashSound.Volume = .5
  2031. SlashSound.Pitch = pitch
  2032. SlashSound.PlayOnRemove = true
  2033. coroutine.resume(coroutine.create(function()
  2034. wait(0)
  2035. SlashSound.Parent = nil
  2036. end))
  2037. end
  2038. function critsound(pitch)
  2039. local SlashSound = Instance.new("Sound")
  2040. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  2041. SlashSound.Parent = workspace
  2042. SlashSound.Volume = .7
  2043. SlashSound.Pitch = pitch
  2044. SlashSound.PlayOnRemove = true
  2045. coroutine.resume(coroutine.create(function()
  2046. wait(0)
  2047. SlashSound.Parent = nil
  2048. end))
  2049. end
  2050. function spikesound(pitch)
  2051. local SlashSound = Instance.new("Sound")
  2052. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  2053. SlashSound.Parent = workspace
  2054. SlashSound.Volume = .7
  2055. SlashSound.Pitch = pitch
  2056. SlashSound.PlayOnRemove = true
  2057. coroutine.resume(coroutine.create(function()
  2058. wait(0)
  2059. SlashSound.Parent = nil
  2060. end))
  2061. end
  2062. function lasersound(pitch)
  2063. local SlashSound = Instance.new("Sound")
  2064. SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav"
  2065. SlashSound.Parent = workspace
  2066. SlashSound.Volume = .5
  2067. SlashSound.Pitch = pitch
  2068. SlashSound.PlayOnRemove = true
  2069. coroutine.resume(coroutine.create(function()
  2070. wait(0)
  2071. SlashSound.Parent = nil
  2072. end))
  2073. end
  2074. --rbxasset://sounds/Launching rocket.wav
  2075. Damagefunc1=function(hit,Damage,Knockback)
  2076. if attackdebounce == false then
  2077. attackdebounce = true
  2078. coroutine.resume(coroutine.create(function()
  2079. wait(0.1)
  2080. attackdebounce = false
  2081. end))
  2082. if hit.Parent==nil then
  2083. return
  2084. end
  2085. CPlayer=Bin
  2086. h=hit.Parent:FindFirstChild("Humanoid")
  2087. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2088. if mana < 800 then
  2089. mana = mana + math.random(10,20)
  2090. end
  2091. if mana > 800 then
  2092. mana = 800
  2093. end
  2094. Damage=Damage
  2095. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2096. return
  2097. end]]
  2098. c=Instance.new("ObjectValue")
  2099. c.Name="creator"
  2100. c.Value=game.Players.LocalPlayer
  2101. c.Parent=h
  2102. game:GetService("Debris"):AddItem(c,.5)
  2103. -- print(c.Value)
  2104. if math.random(0,99)+math.random()<=5 then
  2105. CRIT=true
  2106. Damage=Damage*1.5
  2107. --[[ Knockback=Knockback*2
  2108. r=Instance.new("BodyAngularVelocity")
  2109. r.P=3000
  2110. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  2111. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2112. r.Parent=hit.Parent.Torso]]
  2113. critsound(2)
  2114. end
  2115. Damage=Damage+math.random(0,10)
  2116. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  2117. h:TakeDamage(Damage)
  2118. showDamage(hit.Parent,Damage,.5)
  2119. vp=Instance.new("BodyVelocity")
  2120. vp.P=500
  2121. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2122. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2123. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  2124. if Knockback>0 then
  2125. vp.Parent=hit.Parent.Torso
  2126. end
  2127. game:GetService("Debris"):AddItem(vp,.25)
  2128. --[[ r=Instance.new("BodyAngularVelocity")
  2129. r.P=3000
  2130. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  2131. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2132. r.Parent=hit.Parent.Torso]]
  2133. game:GetService("Debris"):AddItem(r,.5)
  2134. c=Instance.new("ObjectValue")
  2135. c.Name="creator"
  2136. c.Value=Player
  2137. c.Parent=h
  2138. game:GetService("Debris"):AddItem(c,.5)
  2139. CRIT=false
  2140. hitDeb=true
  2141. AttackPos=6
  2142. end
  2143. end
  2144. end
  2145. showDamage=function(Char,Dealt,du)
  2146. m=Instance.new("Model")
  2147. m.Name=tostring(Dealt)
  2148. h=Instance.new("Humanoid")
  2149. h.Health=0
  2150. h.MaxHealth=0
  2151. h.Parent=m
  2152. c=Instance.new("Part")
  2153. c.Transparency=0
  2154. c.BrickColor=BrickColor:Red()
  2155. if CRIT==true then
  2156. c.BrickColor=BrickColor.new("Really red")
  2157. end
  2158. c.Name="Head"
  2159. c.TopSurface=0
  2160. c.BottomSurface=0
  2161. c.formFactor="Plate"
  2162. c.Size=Vector3.new(1,.4,1)
  2163. ms=Instance.new("CylinderMesh")
  2164. ms.Bevel=.1
  2165. ms.Scale=Vector3.new(.8,.8,.8)
  2166. if CRIT==true then
  2167. ms.Scale=Vector3.new(1.25,1.5,1.25)
  2168. ms.Bevel=.2
  2169. end
  2170. ms.Parent=c
  2171. c.Reflectance=0
  2172. Instance.new("BodyGyro").Parent=c
  2173. c.Parent=m
  2174. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2175. f=Instance.new("BodyPosition")
  2176. f.P=2000
  2177. f.D=100
  2178. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2179. f.position=c.Position+Vector3.new(0,3,0)
  2180. f.Parent=c
  2181. game:GetService("Debris"):AddItem(m,.5+du)
  2182. c.CanCollide=false
  2183. m.Parent=workspace
  2184. c.CanCollide=false
  2185. end
  2186. hold = false
  2187. function ob1d(mouse)
  2188. if attack == true then return end
  2189. if stancing == true then return end
  2190. hold = true
  2191. if combo == 0 then
  2192. combo = 1
  2193. onehit()
  2194. coroutine.resume(coroutine.create(function()
  2195. wait(0.5)
  2196. if attack == false then
  2197. combo = 0
  2198. comboing = false
  2199. gairo.Parent = nil
  2200. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  2201. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2202. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2203. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2204. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2205. end
  2206. end))
  2207. elseif combo == 1 then
  2208. combo = 2
  2209. twohit()
  2210. coroutine.resume(coroutine.create(function()
  2211. wait(0.5)
  2212. if attack == false then
  2213. combo = 0
  2214. comboing = false
  2215. gairo.Parent = nil
  2216. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  2217. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2218. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2219. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2220. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2221. end
  2222. end))
  2223. elseif combo == 2 then
  2224. combo = 3
  2225. threehit()
  2226. coroutine.resume(coroutine.create(function()
  2227. wait(0.5)
  2228. if attack == false then
  2229. combo = 0
  2230. comboing = false
  2231. gairo.Parent = nil
  2232. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  2233. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2234. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2235. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2236. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2237. end
  2238. end))
  2239. elseif combo == 3 then
  2240. combo = 4
  2241. fourhit()
  2242. wait(0.5)
  2243. combo = 0
  2244. comboing = false
  2245. gairo.Parent = nil
  2246. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  2247. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2248. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2249. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2250. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2251. end
  2252. end
  2253. function ob1u(mouse)
  2254. hold = false
  2255. end
  2256. buttonhold = false
  2257. function key(key)
  2258. if attack == true then return end
  2259. if key == "q" then
  2260. LaserWave()
  2261. end
  2262. if key == "e" then
  2263. OverBlast()
  2264. end
  2265. if key == "r" then
  2266. SpinBeam()
  2267. end
  2268. if key == "t" then
  2269. LaserBarrage()
  2270. end
  2271. if key == "y" then
  2272. CloseRangedFire()
  2273. end
  2274. if key == "u" then
  2275. SpinLaser()
  2276. end
  2277. if key == "x" then
  2278. Implosion()
  2279. end
  2280. if key == "c" then
  2281. LaserPillars()
  2282. end
  2283. if key == "z" then
  2284. DodgeTheLaser()
  2285. end
  2286. end
  2287. function key2(key)
  2288. end
  2289. function s(mouse)
  2290. mouse.Button1Down:connect(function() ob1d(mouse) end)
  2291. mouse.Button1Up:connect(function() ob1u(mouse) end)
  2292. mouse.KeyDown:connect(key)
  2293. mouse.KeyUp:connect(key2)
  2294. player = Player
  2295. ch = Character
  2296. RSH = ch.Torso["Right Shoulder"]
  2297. LSH = ch.Torso["Left Shoulder"]
  2298. --
  2299. RW.Part0 = ch.Torso
  2300. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2301. RW.C1 = CFrame.new(0, 0.5, 0)
  2302. RW.Part1 = ch["Right Arm"]
  2303. RW.Parent = ch.Torso
  2304. --_G.R = RW
  2305. --
  2306. LW.Part0 = ch.Torso
  2307. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2308. LW.C1 = CFrame.new(0, 0.5, 0)
  2309. LW.Part1 = ch["Left Arm"]
  2310. LW.Parent = ch.Torso
  2311. --_G.L = LW
  2312. --
  2313. equipanim()
  2314. end
  2315. function ds(mouse)
  2316. hideanim()
  2317. RW.Parent = nil
  2318. LW.Parent = nil
  2319. RSH.Parent = player.Character.Torso
  2320. LSH.Parent = player.Character.Torso
  2321. end
  2322. Bin.Selected:connect(s)
  2323. Bin.Deselected:connect(ds)
  2324. function onRunning(speed)
  2325. if attack == true then return end
  2326. if speed>0 then
  2327. walking = true
  2328. for i = 0,1,0.1 do
  2329. wait()
  2330. if attack == false and comboing == false then
  2331. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  2332. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2333. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  2334. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2335. end
  2336. end
  2337. else
  2338. walking = false
  2339. for i = 0,1,0.1 do
  2340. wait()
  2341. if attack == false and comboing == false then
  2342. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  2343. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2344. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  2345. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2346. end
  2347. end
  2348. end
  2349. end
  2350. Character.Humanoid.Running:connect(onRunning)
  2351. coroutine.resume(coroutine.create(function()
  2352. while true do
  2353. wait(0)
  2354. fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0)
  2355. fentext.Text = "Energy("..mana..")"
  2356. fentext3.BackgroundColor3 = Color3.new(1,1,1)
  2357. end
  2358. end))
  2359. coroutine.resume(coroutine.create(function()
  2360. while true do
  2361. wait(0.1)
  2362. if mana <= 0 and attack == false then
  2363. attack = true
  2364. while mana <= 800 do
  2365. wait(0.1)
  2366. mana = mana + 5
  2367. end
  2368. attack = false
  2369. end
  2370. if mana < 800 and attack == false then
  2371. mana = mana + 2
  2372. end
  2373. end
  2374. end))
  2375. coroutine.resume(coroutine.create(function()
  2376. while true do
  2377. wait()
  2378. for i = 0,1,0.01 do
  2379. wait(0)
  2380. if attack == false and comboing == false then
  2381. wld1.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2382. wld2.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2383. wld3.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2384. wld4.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2385. wld5.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2386. wld6.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2387. wld7.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2388. wld8.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  2389. end
  2390. end
  2391. end
  2392. end))
  2393.  
  2394.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement