SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | ||
| 3 | local Player,game,owner = owner,game | |
| 4 | ||
| 5 | local RealPlayer = Player | |
| 6 | ||
| 7 | do print("FE Compatibility code V3 by Desered_ROBLOX")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
| |
| 8 | warn("Made by SezHu")
| |
| 9 | ||
| 10 | wait(1 / 60) | |
| 11 | Effects = { }
| |
| 12 | local Player = game.Players.localPlayer | |
| 13 | local Character = Player.Character | |
| 14 | ||
| 15 | taco = 0 | |
| 16 | m = 0 | |
| 17 | n = 0 | |
| 18 | o = 0 | |
| 19 | local angles = CFrame.Angles | |
| 20 | local Humanoid = Character.Humanoid | |
| 21 | local Mouse = Player:GetMouse() | |
| 22 | local LeftArm = Character["Left Arm"] | |
| 23 | local RightArm = Character["Right Arm"] | |
| 24 | local LeftLeg = Character["Left Leg"] | |
| 25 | local RightLeg = Character["Right Leg"] | |
| 26 | local Head = Character.Head | |
| 27 | local Torso = Character.Torso | |
| 28 | local Camera = game.Workspace.CurrentCamera | |
| 29 | local RootPart = Character.HumanoidRootPart | |
| 30 | local RootJoint = RootPart.RootJoint | |
| 31 | local attack = false | |
| 32 | local Anim = 'Idle' | |
| 33 | Humanoid.WalkSpeed = 0 | |
| 34 | Humanoid.AutoRotate = false | |
| 35 | Humanoid.JumpPower = 0 | |
| 36 | local attacktype = 1 | |
| 37 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 38 | local velocity = RootPart.Velocity.y | |
| 39 | local sine = 2 | |
| 40 | local change = 1 | |
| 41 | local Create = LoadLibrary("RbxUtility").Create
| |
| 42 | maincol = "White" | |
| 43 | desirefont = "Garamond" | |
| 44 | Head.face.Texture = "http://www.roblox.com/asset/?id= " | |
| 45 | Instance.new("ForceField",Character).Visible = false
| |
| 46 | transforming = true | |
| 47 | skillcolorscheme = BrickColor.new(maincol).Color | |
| 48 | untransforming = false | |
| 49 | ||
| 50 | ||
| 51 | local BillboardGui = Instance.new("BillboardGui")
| |
| 52 | ||
| 53 | BillboardGui.Parent = Character | |
| 54 | ||
| 55 | BillboardGui.Adornee = BillboardGui.Parent:FindFirstChild("Head")
| |
| 56 | ||
| 57 | BillboardGui.Size = UDim2.new(1, 0, 1, 0) | |
| 58 | ||
| 59 | BillboardGui.StudsOffset = Vector3.new(0, 5, 0) | |
| 60 | ||
| 61 | local TextLabel = Instance.new("TextLabel")
| |
| 62 | ||
| 63 | TextLabel.Parent = BillboardGui | |
| 64 | ||
| 65 | TextLabel.Position = UDim2.new(0, 0, 0, 0) | |
| 66 | ||
| 67 | TextLabel.Font = desirefont | |
| 68 | ||
| 69 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
| 70 | ||
| 71 | TextLabel.TextSize = 25 | |
| 72 | ||
| 73 | TextLabel.TextColor3 = Color3.new(0,0,0) | |
| 74 | ||
| 75 | TextLabel.TextStrokeTransparency = 0 | |
| 76 | ||
| 77 | TextLabel.TextStrokeColor3 = Color3.new(-1,-1,-1) | |
| 78 | ||
| 79 | TextLabel.BackgroundTransparency = 1 | |
| 80 | ||
| 81 | TextLabel.Text = " " | |
| 82 | ||
| 83 | ||
| 84 | ||
| 85 | local co1 = 0 | |
| 86 | local co2 = 0 | |
| 87 | local co3 = 0 | |
| 88 | local co4 = 0 | |
| 89 | local co5 = 0 | |
| 90 | ||
| 91 | local cooldown1 = 0 | |
| 92 | local cooldown2 = 0 | |
| 93 | local cooldown3 = 0 | |
| 94 | local cooldown4 = 0 | |
| 95 | local cooldown5 = 0 | |
| 96 | ||
| 97 | skillcolorscheme = BrickColor.new(maincol).Color | |
| 98 | ||
| 99 | local scrn = Instance.new('ScreenGui', Player.PlayerGui)
| |
| 100 | function makeframe(par, trans, pos, size, color) | |
| 101 | local frame = Instance.new('Frame', par)
| |
| 102 | frame.BackgroundTransparency = trans | |
| 103 | frame.BorderSizePixel = 0 | |
| 104 | frame.Position = pos | |
| 105 | frame.Size = size | |
| 106 | frame.BackgroundColor3 = color | |
| 107 | return frame | |
| 108 | end | |
| 109 | ||
| 110 | for y,t in pairs(Character:GetChildren()) do | |
| 111 | if t:IsA("Accessory") and t:FindFirstChild("Handle") then
| |
| 112 | t.Handle.Transparency = 1 | |
| 113 | end | |
| 114 | end | |
| 115 | ||
| 116 | local m = Create("Model"){
| |
| 117 | Parent = Character, | |
| 118 | Name = "WeaponModel", | |
| 119 | } | |
| 120 | ||
| 121 | Humanoid.Animator.Parent = nil | |
| 122 | Character.Animate.Parent = nil | |
| 123 | ||
| 124 | local newMotor = function(part0, part1, c0, c1) | |
| 125 | local w = Create('Motor'){
| |
| 126 | Parent = part0, | |
| 127 | Part0 = part0, | |
| 128 | Part1 = part1, | |
| 129 | C0 = c0, | |
| 130 | C1 = c1, | |
| 131 | } | |
| 132 | return w | |
| 133 | end | |
| 134 | ||
| 135 | function clerp(a, b, t) | |
| 136 | return a:lerp(b, t) | |
| 137 | end | |
| 138 | ||
| 139 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 140 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 141 | ||
| 142 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 143 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 144 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 145 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 146 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 147 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 148 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 149 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 150 | ||
| 151 | local rarmc1 = RW.C1 | |
| 152 | local larmc1 = LW.C1 | |
| 153 | local rlegc1 = RH.C1 | |
| 154 | local llegc1 = LH.C1 | |
| 155 | ||
| 156 | local resetc1 = false | |
| 157 | ||
| 158 | function PlayAnimationFromTable(table, speed, bool) | |
| 159 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 160 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 161 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 162 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 163 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 164 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 165 | if bool == true then | |
| 166 | if resetc1 == false then | |
| 167 | resetc1 = true | |
| 168 | RootJoint.C1 = RootJoint.C1 | |
| 169 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 170 | RW.C1 = rarmc1 | |
| 171 | LW.C1 = larmc1 | |
| 172 | RH.C1 = rlegc1 | |
| 173 | LH.C1 = llegc1 | |
| 174 | end | |
| 175 | end | |
| 176 | end | |
| 177 | ||
| 178 | ||
| 179 | ||
| 180 | ||
| 181 | ArtificialHB = Create("BindableEvent", script){
| |
| 182 | Parent = script, | |
| 183 | Name = "Heartbeat", | |
| 184 | } | |
| 185 | ||
| 186 | script:WaitForChild("Heartbeat")
| |
| 187 | ||
| 188 | frame = 1 / 30 | |
| 189 | tf = 0 | |
| 190 | allowframeloss = false | |
| 191 | tossremainder = false | |
| 192 | lastframe = tick() | |
| 193 | script.Heartbeat:Fire() | |
| 194 | ||
| 195 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 196 | tf = tf + s | |
| 197 | if tf >= frame then | |
| 198 | if allowframeloss then | |
| 199 | script.Heartbeat:Fire() | |
| 200 | lastframe = tick() | |
| 201 | else | |
| 202 | for i = 1, math.floor(tf / frame) do | |
| 203 | script.Heartbeat:Fire() | |
| 204 | end | |
| 205 | lastframe = tick() | |
| 206 | end | |
| 207 | if tossremainder then | |
| 208 | tf = 0 | |
| 209 | else | |
| 210 | tf = tf - frame * math.floor(tf / frame) | |
| 211 | end | |
| 212 | end | |
| 213 | end) | |
| 214 | ||
| 215 | function swait(num) | |
| 216 | if num == 0 or num == nil then | |
| 217 | ArtificialHB.Event:wait() | |
| 218 | else | |
| 219 | for i = 0, num do | |
| 220 | ArtificialHB.Event:wait() | |
| 221 | end | |
| 222 | end | |
| 223 | end | |
| 224 | ||
| 225 | function RemoveOutlines(part) | |
| 226 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 227 | end | |
| 228 | ||
| 229 | ||
| 230 | ||
| 231 | New = function(Object, Parent, Name, Data) | |
| 232 | local Object = Instance.new(Object) | |
| 233 | for Index, Value in pairs(Data or {}) do
| |
| 234 | Object[Index] = Value | |
| 235 | end | |
| 236 | Object.Parent = Parent | |
| 237 | Object.Name = Name | |
| 238 | return Object | |
| 239 | end | |
| 240 | ||
| 241 | ||
| 242 | CFuncs = {
| |
| 243 | Part = {
| |
| 244 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 245 | local Part = Create("Part"){
| |
| 246 | Parent = Parent, | |
| 247 | Reflectance = Reflectance, | |
| 248 | Transparency = Transparency, | |
| 249 | CanCollide = false, | |
| 250 | Locked = true, | |
| 251 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 252 | Name = Name, | |
| 253 | Size = Size, | |
| 254 | Material = Material, | |
| 255 | } | |
| 256 | RemoveOutlines(Part) | |
| 257 | if Size == Vector3.new() then | |
| 258 | Part.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 259 | else | |
| 260 | Part.Size = Size | |
| 261 | end | |
| 262 | return Part | |
| 263 | end; | |
| 264 | }; | |
| 265 | ||
| 266 | Mesh = {
| |
| 267 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 268 | local Msh = Create(Mesh){
| |
| 269 | Parent = Part, | |
| 270 | Offset = OffSet, | |
| 271 | Scale = Scale, | |
| 272 | } | |
| 273 | if Mesh == "SpecialMesh" then | |
| 274 | Msh.MeshType = MeshType | |
| 275 | Msh.MeshId = MeshId | |
| 276 | end | |
| 277 | return Msh | |
| 278 | end; | |
| 279 | }; | |
| 280 | ||
| 281 | Weld = {
| |
| 282 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 283 | local Weld = Create("Weld"){
| |
| 284 | Parent = Parent, | |
| 285 | Part0 = Part0, | |
| 286 | Part1 = Part1, | |
| 287 | C0 = C0, | |
| 288 | C1 = C1, | |
| 289 | } | |
| 290 | return Weld | |
| 291 | end; | |
| 292 | }; | |
| 293 | ||
| 294 | Sound = {
| |
| 295 | Create = function(id, par, vol, pit) | |
| 296 | local Sound = Create("Sound"){
| |
| 297 | Volume = vol, | |
| 298 | Pitch = pit or 1, | |
| 299 | SoundId = "rbxassetid://" .. id, | |
| 300 | Parent = par or workspace, | |
| 301 | } | |
| 302 | Sound:play() | |
| 303 | return Sound | |
| 304 | end; | |
| 305 | }; | |
| 306 | ||
| 307 | Decal = {
| |
| 308 | Create = function(Color, Texture, Transparency, Name, Parent) | |
| 309 | local Decal = Create("Decal"){
| |
| 310 | Color3 = Color, | |
| 311 | Texture = "rbxassetid://" .. Texture, | |
| 312 | Transparency = Transparency, | |
| 313 | Name = Name, | |
| 314 | Parent = Parent, | |
| 315 | } | |
| 316 | return Decal | |
| 317 | end; | |
| 318 | }; | |
| 319 | ||
| 320 | BillboardGui = {
| |
| 321 | Create = function(Parent, Image, Position, Size) | |
| 322 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
| |
| 323 | BillPar.CFrame = CFrame.new(Position) | |
| 324 | local Bill = Create("BillboardGui"){
| |
| 325 | Parent = BillPar, | |
| 326 | Adornee = BillPar, | |
| 327 | Size = UDim2.new(1, 0, 1, 0), | |
| 328 | SizeOffset = Vector2.new(Size, Size), | |
| 329 | } | |
| 330 | local d = Create("ImageLabel", Bill){
| |
| 331 | Parent = Bill, | |
| 332 | BackgroundTransparency = 1, | |
| 333 | Size = UDim2.new(1, 0, 1, 0), | |
| 334 | Image = "rbxassetid://" .. Image, | |
| 335 | } | |
| 336 | return BillPar | |
| 337 | end | |
| 338 | }; | |
| 339 | ||
| 340 | ParticleEmitter = {
| |
| 341 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 342 | local Particle = Create("ParticleEmitter"){
| |
| 343 | Parent = Parent, | |
| 344 | Color = ColorSequence.new(Color1, Color2), | |
| 345 | LightEmission = LightEmission, | |
| 346 | Size = Size, | |
| 347 | Texture = Texture, | |
| 348 | Transparency = Transparency, | |
| 349 | ZOffset = ZOffset, | |
| 350 | Acceleration = Accel, | |
| 351 | Drag = Drag, | |
| 352 | LockedToPart = LockedToPart, | |
| 353 | VelocityInheritance = VelocityInheritance, | |
| 354 | EmissionDirection = EmissionDirection, | |
| 355 | Enabled = Enabled, | |
| 356 | Lifetime = LifeTime, | |
| 357 | Rate = Rate, | |
| 358 | Rotation = Rotation, | |
| 359 | RotSpeed = RotSpeed, | |
| 360 | Speed = Speed, | |
| 361 | VelocitySpread = VelocitySpread, | |
| 362 | } | |
| 363 | return Particle | |
| 364 | end; | |
| 365 | }; | |
| 366 | ||
| 367 | CreateTemplate = {
| |
| 368 | ||
| 369 | }; | |
| 370 | } | |
| 371 | ||
| 372 | function rayCast(Position, Direction, Range, Ignore) | |
| 373 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 374 | end | |
| 375 | ||
| 376 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
| 377 | if SinglePlayer then | |
| 378 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
| 379 | end | |
| 380 | local List = {}
| |
| 381 | for i, v in pairs(workspace:GetChildren()) do | |
| 382 | if v:IsA("Model") then
| |
| 383 | if v:findFirstChild("Torso") then
| |
| 384 | if v ~= Character then | |
| 385 | if (v.Torso.Position - Position).magnitude <= Distance then | |
| 386 | table.insert(List, v) | |
| 387 | end | |
| 388 | end | |
| 389 | end | |
| 390 | end | |
| 391 | end | |
| 392 | return List | |
| 393 | end | |
| 394 | ||
| 395 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 396 | if hit.Parent == nil then | |
| 397 | return | |
| 398 | end | |
| 399 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 400 | for _, v in pairs(hit.Parent:children()) do | |
| 401 | if v:IsA("Humanoid") then
| |
| 402 | h = v | |
| 403 | end | |
| 404 | end | |
| 405 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 406 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 407 | if hit.Parent.DebounceHit.Value == true then | |
| 408 | return | |
| 409 | end | |
| 410 | end | |
| 411 | local c = Create("ObjectValue"){
| |
| 412 | Name = "creator", | |
| 413 | Value = game:service("Players").LocalPlayer,
| |
| 414 | Parent = h, | |
| 415 | } | |
| 416 | game:GetService("Debris"):AddItem(c, .5)
| |
| 417 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 418 | local Damage = math.random(minim, maxim) | |
| 419 | local blocked = false | |
| 420 | local block = hit.Parent:findFirstChild("Block")
| |
| 421 | if block ~= nil then | |
| 422 | if block.className == "IntValue" then | |
| 423 | if block.Value > 0 then | |
| 424 | blocked = true | |
| 425 | block.Value = block.Value - 1 | |
| 426 | print(block.Value) | |
| 427 | end | |
| 428 | end | |
| 429 | end | |
| 430 | h.Health = h.Health - Damage | |
| 431 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new(maincol).Color) | |
| 432 | if Type == "Knockdown" then | |
| 433 | local hum = hit.Parent.Humanoid | |
| 434 | hum.PlatformStand = true | |
| 435 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 436 | swait(1) | |
| 437 | HHumanoid.PlatformStand = false | |
| 438 | end), hum) | |
| 439 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 440 | local bodvol = Create("BodyVelocity"){
| |
| 441 | velocity = angle * knockback, | |
| 442 | P = 5000, | |
| 443 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 444 | Parent = hit, | |
| 445 | } | |
| 446 | local rl = Create("BodyAngularVelocity"){
| |
| 447 | P = 3000, | |
| 448 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 449 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 450 | Parent = hit, | |
| 451 | } | |
| 452 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 453 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 454 | elseif Type == "Normal" then | |
| 455 | local vp = Create("BodyVelocity"){
| |
| 456 | P = 500, | |
| 457 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 458 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 459 | } | |
| 460 | if hit.Parent.Humanoid.MaxHealth > 100 then | |
| 461 | hit.Parent.Humanoid.MaxHealth = 100 | |
| 462 | end | |
| 463 | if knockback > 0 then | |
| 464 | vp.Parent = hit.Parent.Torso | |
| 465 | end | |
| 466 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 467 | elseif Type == "Up" then | |
| 468 | local bodyVelocity = Create("BodyVelocity"){
| |
| 469 | velocity = Vector3.new(0, 20, 0), | |
| 470 | P = 5000, | |
| 471 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 472 | Parent = hit, | |
| 473 | } | |
| 474 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 475 | elseif Type == "DarkUp" then | |
| 476 | coroutine.resume(coroutine.create(function() | |
| 477 | for i = 0, 1, 0.1 do | |
| 478 | swait() | |
| 479 | if hit.Parent.Humanoid.MaxHealth > 100 then | |
| 480 | hit.Parent.Humanoid.MaxHealth = 100 | |
| 481 | end | |
| 482 | ||
| 483 | Effects.Block.Create(BrickColor.new(maincol), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
| 484 | end | |
| 485 | end)) | |
| 486 | local bodyVelocity = Create("BodyVelocity"){
| |
| 487 | velocity = Vector3.new(0, 30, 0), | |
| 488 | P = 5000, | |
| 489 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 490 | Parent = hit, | |
| 491 | } | |
| 492 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 493 | elseif Type == "Wither" then | |
| 494 | coroutine.resume(coroutine.create(function() | |
| 495 | if hit.Parent.Humanoid.MaxHealth > 100 then | |
| 496 | hit.Parent.Humanoid.MaxHealth = 100 | |
| 497 | end | |
| 498 | for i = 0, 1, 0.1 do | |
| 499 | wait(1) | |
| 500 | MagnitudeDamage(hit.Parent.Torso, 1, 5, 5, math.random(0, 0), "Normal", " ", .5) | |
| 501 | hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 1 | |
| 502 | Effects.Block.Create(BrickColor.new("Really black"), hit.Parent.Torso.CFrame, 1, 1, 1, 1, 1, 1, .04, 1)
| |
| 503 | end | |
| 504 | hit.Parent.Humanoid.WalkSpeed = 16 | |
| 505 | end)) | |
| 506 | elseif Type == "DarkDown" then | |
| 507 | coroutine.resume(coroutine.create(function() | |
| 508 | for i = 0, 1, 0.1 do | |
| 509 | swait() | |
| 510 | Effects.Block.Create(BrickColor.new(maincol), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
| 511 | end | |
| 512 | end)) | |
| 513 | local bodyVelocity = Create("BodyVelocity"){
| |
| 514 | velocity = Vector3.new(0, -50, 0), | |
| 515 | P = 5000, | |
| 516 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 517 | Parent = hit, | |
| 518 | } | |
| 519 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 520 | elseif Type == "Snare" then | |
| 521 | local bp = Create("BodyPosition"){
| |
| 522 | P = 2000, | |
| 523 | D = 100, | |
| 524 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 525 | position = hit.Parent.Torso.Position, | |
| 526 | Parent = hit.Parent.Torso, | |
| 527 | } | |
| 528 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 529 | elseif Type == "Freeze" then | |
| 530 | local BodPos = Create("BodyPosition"){
| |
| 531 | P = 50000, | |
| 532 | D = 1000, | |
| 533 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 534 | position = hit.Parent.Torso.Position, | |
| 535 | Parent = hit.Parent.Torso, | |
| 536 | } | |
| 537 | local BodGy = Create("BodyGyro") {
| |
| 538 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 539 | P = 20e+003, | |
| 540 | Parent = hit.Parent.Torso, | |
| 541 | cframe = hit.Parent.Torso.CFrame, | |
| 542 | } | |
| 543 | hit.Parent.Torso.Anchored = true | |
| 544 | coroutine.resume(coroutine.create(function(Part) | |
| 545 | swait(1.5) | |
| 546 | Part.Anchored = false | |
| 547 | end), hit.Parent.Torso) | |
| 548 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 549 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 550 | end | |
| 551 | local debounce = Create("BoolValue"){
| |
| 552 | Name = "DebounceHit", | |
| 553 | Parent = hit.Parent, | |
| 554 | Value = true, | |
| 555 | } | |
| 556 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 557 | c = Create("ObjectValue"){
| |
| 558 | Name = "creator", | |
| 559 | Value = Player, | |
| 560 | Parent = h, | |
| 561 | } | |
| 562 | game:GetService("Debris"):AddItem(c, .5)
| |
| 563 | end | |
| 564 | end | |
| 565 | ||
| 566 | Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 567 | ||
| 568 | local prt = CFuncs.Part.Create(EffectModel, "Neon", reflect, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 569 | prt.Anchored = true | |
| 570 | prt.CFrame = cframe | |
| 571 | prt.Material = "Neon" | |
| 572 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 573 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 574 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 575 | ||
| 576 | for i = 0, 1, delay do | |
| 577 | swait() | |
| 578 | Part.Transparency = i | |
| 579 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
| 580 | end | |
| 581 | Part.Parent = nil | |
| 582 | end | |
| 583 | ), prt, msh) | |
| 584 | end | |
| 585 | ||
| 586 | ||
| 587 | shoot = function(mouse, aoe , partt, SpreadAmount, multiply) | |
| 588 | ||
| 589 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 590 | local MainPos = partt.Position | |
| 591 | local MainPos2 = mouse.Hit.p + SpreadVectors | |
| 592 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 593 | local speed = 1000 | |
| 594 | local num = 20 | |
| 595 | coroutine.resume(coroutine.create(function() | |
| 596 | ||
| 597 | repeat | |
| 598 | swait() | |
| 599 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 600 | local mag = (MainPos - pos).magnitude | |
| 601 | Laser(BrickColor.new(maincol), 0, CFrame.new((MainPos + pos)/2, pos) * CFrame.Angles(1.57, 0, 0), 5, mag * (speed / (speed / 2)), 5, 5, 0, 5, 0.1) | |
| 602 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 603 | num = num - 1 | |
| 604 | MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0) | |
| 605 | if hit ~= nil then | |
| 606 | num = 0 | |
| 607 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
| 608 | refpart.Anchored = true | |
| 609 | refpart.CFrame = CFrame.new(pos) | |
| 610 | game:GetService("Debris"):AddItem(refpart, 2)
| |
| 611 | end | |
| 612 | do | |
| 613 | if num <= 0 then | |
| 614 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
| 615 | refpart.Anchored = true | |
| 616 | refpart.CFrame = CFrame.new(pos) | |
| 617 | Effects.Block.Create(BrickColor.new("Really black"), refpart.CFrame, 10, 10, 10, 10, 10, 10, .08, 1)
| |
| 618 | if hit ~= nil then | |
| 619 | MagnitudeDamage(refpart, aoe, 5 * multiply, 5 * multiply, 0, "Normal", "231917784", 1) | |
| 620 | end | |
| 621 | game:GetService("Debris"):AddItem(refpart, 0)
| |
| 622 | end | |
| 623 | end | |
| 624 | until num <= 0 | |
| 625 | end | |
| 626 | )) | |
| 627 | end | |
| 628 | ||
| 629 | ||
| 630 | ||
| 631 | function onClicked(hit) | |
| 632 | if hit ~= nil and hit.Name ~= "Base" and hit:FindFirstChild("RotTag") == nil then
| |
| 633 | print("Infected "..hit.Name)
| |
| 634 | local tag = Instance.new("BoolValue")
| |
| 635 | tag.Name = "RotTag" | |
| 636 | tag.Parent = hit | |
| 637 | ||
| 638 | hit.CanCollide = false | |
| 639 | hit.Anchored = true | |
| 640 | ||
| 641 | wait(1) | |
| 642 | ||
| 643 | local list = hit:GetTouchingParts() | |
| 644 | for i = 1, #list do | |
| 645 | spawn(function() | |
| 646 | onClicked(list[i]) | |
| 647 | end) | |
| 648 | end | |
| 649 | ||
| 650 | hit.Anchored = true | |
| 651 | hit.CanCollide = false | |
| 652 | hit.Parent = workspace | |
| 653 | hit.BrickColor = BrickColor.new(Color3.new(0, 0, 0)) | |
| 654 | ||
| 655 | ||
| 656 | for i = 1, 10 do | |
| 657 | hit.Transparency = hit.Transparency + .1 | |
| 658 | wait(.1) | |
| 659 | end | |
| 660 | hit:Destroy() | |
| 661 | end | |
| 662 | ||
| 663 | return | |
| 664 | end | |
| 665 | ||
| 666 | function OnMouseDown() | |
| 667 | if transforming == true then | |
| 668 | onClicked(Mouse.Target) | |
| 669 | end | |
| 670 | end | |
| 671 | ||
| 672 | function ShowDamage(Pos, Text, Time, Color) | |
| 673 | local Rate = (1 / 30) | |
| 674 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 675 | local Text = (Text or "") | |
| 676 | local Time = (Time or 2) | |
| 677 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 678 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 679 | EffectPart.Anchored = true | |
| 680 | local BillboardGui = Create("BillboardGui"){
| |
| 681 | Size = UDim2.new(3, 0, 3, 0), | |
| 682 | Adornee = EffectPart, | |
| 683 | Parent = EffectPart, | |
| 684 | } | |
| 685 | local TextLabel = Create("TextLabel"){
| |
| 686 | BackgroundTransparency = 1, | |
| 687 | Size = UDim2.new(1, 0, 1, 0), | |
| 688 | Text = Text, | |
| 689 | Font = desirefont, | |
| 690 | TextColor3 = Color, | |
| 691 | TextScaled = true, | |
| 692 | Parent = BillboardGui, | |
| 693 | } | |
| 694 | game.Debris:AddItem(EffectPart, (Time)) | |
| 695 | EffectPart.Parent = game:GetService("Workspace")
| |
| 696 | delay(0, function() | |
| 697 | local Frames = (Time / Rate) | |
| 698 | for Frame = 1, Frames do | |
| 699 | wait(Rate) | |
| 700 | local Percent = (Frame / Frames) | |
| 701 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 702 | TextLabel.TextTransparency = Percent | |
| 703 | end | |
| 704 | if EffectPart and EffectPart.Parent then | |
| 705 | EffectPart:Destroy() | |
| 706 | end | |
| 707 | end) | |
| 708 | end | |
| 709 | ||
| 710 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
| 711 | for _, c in pairs(workspace:children()) do | |
| 712 | local hum = c:findFirstChild("Humanoid")
| |
| 713 | if hum ~= nil then | |
| 714 | local head = c:findFirstChild("Torso")
| |
| 715 | if head ~= nil then | |
| 716 | local targ = head.Position - Part.Position | |
| 717 | local mag = targ.magnitude | |
| 718 | ||
| 719 | if mag <= Magnitude and c.Name ~= Player.Name then | |
| 720 | Effects.Sphere2.Create(BrickColor.new(maincol), head.CFrame, .5, .5, .5, .5, .5, .5, .05) | |
| 721 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch) | |
| 722 | end | |
| 723 | end | |
| 724 | end | |
| 725 | end | |
| 726 | end | |
| 727 | ||
| 728 | EffectModel = Create("Model"){
| |
| 729 | Parent = Character, | |
| 730 | Name = "Effects", | |
| 731 | } | |
| 732 | ||
| 733 | ||
| 734 | ||
| 735 | ||
| 736 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
| 737 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
| |
| 738 | end | |
| 739 | ||
| 740 | ||
| 741 | ||
| 742 | ||
| 743 | ||
| 744 | Effects = {
| |
| 745 | Block = {
| |
| 746 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 747 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 748 | prt.Anchored = true | |
| 749 | prt.CFrame = cframe | |
| 750 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 751 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 752 | if Type == 1 or Type == nil then | |
| 753 | table.insert(Effects, {
| |
| 754 | prt, | |
| 755 | "Block1", | |
| 756 | delay, | |
| 757 | x3, | |
| 758 | y3, | |
| 759 | z3, | |
| 760 | msh | |
| 761 | }) | |
| 762 | elseif Type == 2 then | |
| 763 | table.insert(Effects, {
| |
| 764 | prt, | |
| 765 | "Block2", | |
| 766 | delay, | |
| 767 | x3, | |
| 768 | y3, | |
| 769 | z3, | |
| 770 | msh | |
| 771 | }) | |
| 772 | end | |
| 773 | end; | |
| 774 | }; | |
| 775 | ||
| 776 | Cylinder = {
| |
| 777 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 778 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) | |
| 779 | prt.Anchored = true | |
| 780 | prt.CFrame = cframe | |
| 781 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 782 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 783 | table.insert(Effects, {
| |
| 784 | prt, | |
| 785 | "Cylinder", | |
| 786 | delay, | |
| 787 | x3, | |
| 788 | y3, | |
| 789 | z3, | |
| 790 | msh | |
| 791 | }) | |
| 792 | end; | |
| 793 | }; | |
| 794 | ||
| 795 | Head = {
| |
| 796 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 797 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 798 | prt.Anchored = true | |
| 799 | prt.CFrame = cframe | |
| 800 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 801 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 802 | table.insert(Effects, {
| |
| 803 | prt, | |
| 804 | "Cylinder", | |
| 805 | delay, | |
| 806 | x3, | |
| 807 | y3, | |
| 808 | z3, | |
| 809 | msh | |
| 810 | }) | |
| 811 | end; | |
| 812 | }; | |
| 813 | ||
| 814 | Sphere1 = {
| |
| 815 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 816 | local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 817 | prt.Anchored = true | |
| 818 | prt.CFrame = cframe | |
| 819 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 820 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 821 | table.insert(Effects, {
| |
| 822 | prt, | |
| 823 | "Cylinder", | |
| 824 | delay, | |
| 825 | x3, | |
| 826 | y3, | |
| 827 | z3, | |
| 828 | msh | |
| 829 | }) | |
| 830 | end; | |
| 831 | }; | |
| 832 | ||
| 833 | Sphere2 = {
| |
| 834 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 835 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 836 | prt.Anchored = true | |
| 837 | prt.CFrame = cframe | |
| 838 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 839 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 840 | table.insert(Effects, {
| |
| 841 | prt, | |
| 842 | "Cylinder", | |
| 843 | delay, | |
| 844 | x3, | |
| 845 | y3, | |
| 846 | z3, | |
| 847 | msh | |
| 848 | }) | |
| 849 | end; | |
| 850 | }; | |
| 851 | ||
| 852 | Elect = {
| |
| 853 | Create = function(cff, x, y, z) | |
| 854 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new(maincol), "Part", Vector3.new(1, 1, 1)) | |
| 855 | prt.Anchored = true | |
| 856 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
| 857 | prt.CFrame = CFrame.new(prt.Position) | |
| 858 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 859 | local xval = math.random() / 2 | |
| 860 | local yval = math.random() / 2 | |
| 861 | local zval = math.random() / 2 | |
| 862 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 863 | table.insert(Effects, {
| |
| 864 | prt, | |
| 865 | "Elec", | |
| 866 | 0.1, | |
| 867 | x, | |
| 868 | y, | |
| 869 | z, | |
| 870 | xval, | |
| 871 | yval, | |
| 872 | zval | |
| 873 | }) | |
| 874 | end; | |
| 875 | ||
| 876 | }; | |
| 877 | ||
| 878 | Ring = {
| |
| 879 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 880 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 881 | prt.Anchored = true | |
| 882 | prt.CFrame = cframe | |
| 883 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 884 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 885 | table.insert(Effects, {
| |
| 886 | prt, | |
| 887 | "Cylinder", | |
| 888 | delay, | |
| 889 | x3, | |
| 890 | y3, | |
| 891 | z3, | |
| 892 | msh | |
| 893 | }) | |
| 894 | end; | |
| 895 | }; | |
| 896 | ||
| 897 | ||
| 898 | Wave = {
| |
| 899 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 900 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 901 | prt.Anchored = true | |
| 902 | prt.CFrame = cframe | |
| 903 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 904 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 905 | table.insert(Effects, {
| |
| 906 | prt, | |
| 907 | "Cylinder", | |
| 908 | delay, | |
| 909 | x3, | |
| 910 | y3, | |
| 911 | z3, | |
| 912 | msh | |
| 913 | }) | |
| 914 | end; | |
| 915 | }; | |
| 916 | ||
| 917 | Break = {
| |
| 918 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 919 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 920 | prt.Anchored = true | |
| 921 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 922 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 923 | local num = math.random(10, 50) / 1000 | |
| 924 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 925 | table.insert(Effects, {
| |
| 926 | prt, | |
| 927 | "Shatter", | |
| 928 | num, | |
| 929 | prt.CFrame, | |
| 930 | math.random() - math.random(), | |
| 931 | 0, | |
| 932 | math.random(50, 100) / 100 | |
| 933 | }) | |
| 934 | end; | |
| 935 | }; | |
| 936 | ||
| 937 | Fire = {
| |
| 938 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
| 939 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 940 | prt.Anchored = true | |
| 941 | prt.CFrame = cframe | |
| 942 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 943 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 944 | table.insert(Effects, {
| |
| 945 | prt, | |
| 946 | "Fire", | |
| 947 | delay, | |
| 948 | 1, | |
| 949 | 1, | |
| 950 | 1, | |
| 951 | msh | |
| 952 | }) | |
| 953 | end; | |
| 954 | }; | |
| 955 | ||
| 956 | FireWave = {
| |
| 957 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 958 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
| 959 | prt.Anchored = true | |
| 960 | prt.CFrame = cframe | |
| 961 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 962 | local d = Create("Decal"){
| |
| 963 | Parent = prt, | |
| 964 | Texture = "rbxassetid://26356434", | |
| 965 | Face = "Top", | |
| 966 | } | |
| 967 | local d = Create("Decal"){
| |
| 968 | Parent = prt, | |
| 969 | Texture = "rbxassetid://26356434", | |
| 970 | Face = "Bottom", | |
| 971 | } | |
| 972 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 973 | table.insert(Effects, {
| |
| 974 | prt, | |
| 975 | "FireWave", | |
| 976 | 1, | |
| 977 | 30, | |
| 978 | math.random(400, 600) / 100, | |
| 979 | msh | |
| 980 | }) | |
| 981 | end; | |
| 982 | }; | |
| 983 | ||
| 984 | Lightning = {
| |
| 985 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
| 986 | local magz = (p0 - p1).magnitude | |
| 987 | local curpos = p0 | |
| 988 | local trz = {
| |
| 989 | -ofs, | |
| 990 | ofs | |
| 991 | } | |
| 992 | for i = 1, tym do | |
| 993 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
| 994 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
| 995 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
| 996 | li.Material = "Neon" | |
| 997 | if tym == i then | |
| 998 | local magz2 = (curpos - p1).magnitude | |
| 999 | li.Size = Vector3.new(th, th, magz2) | |
| 1000 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 1001 | table.insert(Effects, {
| |
| 1002 | li, | |
| 1003 | "Disappear", | |
| 1004 | last | |
| 1005 | }) | |
| 1006 | else | |
| 1007 | do | |
| 1008 | do | |
| 1009 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 1010 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
| 1011 | game.Debris:AddItem(li, 10) | |
| 1012 | table.insert(Effects, {
| |
| 1013 | li, | |
| 1014 | "Disappear", | |
| 1015 | last | |
| 1016 | }) | |
| 1017 | end | |
| 1018 | end | |
| 1019 | end | |
| 1020 | end | |
| 1021 | end | |
| 1022 | }; | |
| 1023 | ||
| 1024 | EffectTemplate = {
| |
| 1025 | ||
| 1026 | }; | |
| 1027 | } | |
| 1028 | ||
| 1029 | framesk1 = makeframe(scrn, .3, UDim2.new(.8, 0, .85, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
| 1030 | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 1031 | text1 = Instance.new('TextLabel', framesk1)
| |
| 1032 | text1.BackgroundTransparency = 1 | |
| 1033 | text1.Size = UDim2.new(1, 0, 1, 0) | |
| 1034 | text1.Position = UDim2.new(0, 0, 0, 0) | |
| 1035 | text1.TextColor3 = Color3.new(1, 1, 1) | |
| 1036 | text1.TextStrokeTransparency = 0 | |
| 1037 | text1.FontSize = Enum.FontSize.Size18 | |
| 1038 | text1.Font = desirefont | |
| 1039 | text1.BorderSizePixel = 0 | |
| 1040 | text1.TextScaled = true | |
| 1041 | text1.Text = "Press F to get started." | |
| 1042 | Facemask=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Really black","Facemask",Vector3.new(0.100000903, 0.199999914, 0.0999996811)) | |
| 1043 | FacemaskWeld=CFuncs.Weld.Create(m,Character["Head"],Facemask,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0500009656, -0.10001123, 0.150001526, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1044 | eye1=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","eye1",Vector3.new(0.199999377, 0.200000003, 0.199999854)) | |
| 1045 | eye1Weld=CFuncs.Weld.Create(m,Facemask,eye1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999771357, -0.0226745605, -0.541763604, 0, 1, 0, 0, 0, -1, -1, 0, 0)) | |
| 1046 | CFuncs.Mesh.Create("SpecialMesh",eye1,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 0.100000001))
| |
| 1047 | eye2=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","eye2",Vector3.new(0.199999377, 0.200000003, 0.199999854)) | |
| 1048 | eye2Weld=CFuncs.Weld.Create(m,Facemask,eye2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999771357, 0.327358246, -0.541763604, 0, 1, 0, 0, 0, -1, -1, 0, 0)) | |
| 1049 | TorsoHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","TorsoHandle",Vector3.new(0.199999616, 0.200000003, 0.199999854)) | |
| 1050 | moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
| |
| 1051 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 1052 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
| |
| 1053 | TorsoHandleWeld=CFuncs.Weld.Create(m,Character["Torso"],TorsoHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999412537, -0.0999810249, -0.219952106, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1054 | Scarf2=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,Torso.Color,"Scarf2",Vector3.new(0.199999988, 0.049999997, 0.099999994)) | |
| 1055 | Scarf2Weld=CFuncs.Weld.Create(m,TorsoHandle,Scarf2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.115654449, -0.592010379, -0.209721327, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1056 | CFuncs.Mesh.Create("SpecialMesh",Scarf2,Enum.MeshType.FileMesh,"rbxassetid://1271232474",Vector3.new(0, 0, 0),Vector3.new(0.0192, 0.0192, 0.0192))
| |
| 1057 | ||
| 1058 | CFuncs.Mesh.Create("SpecialMesh",eye2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 0.100000001))
| |
| 1059 | eee1=CFuncs.Sound.Create("193035857", Character, .5, 1)
| |
| 1060 | eee1.Looped = true | |
| 1061 | crab=CFuncs.Sound.Create("278321082", Character, .8, 1)
| |
| 1062 | crab.Looped = true | |
| 1063 | Mouse.KeyDown:connect(function(k) | |
| 1064 | k = k:lower() | |
| 1065 | if k == "f" and untransforming == false then | |
| 1066 | spinny=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "spinny", Vector3.new())
| |
| 1067 | spinny.Anchored=true | |
| 1068 | spinny.CanCollide=false | |
| 1069 | spinny2=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "spinny", Vector3.new())
| |
| 1070 | spinny2.Anchored=true | |
| 1071 | spinny2.CanCollide=false | |
| 1072 | eee1:Destroy() | |
| 1073 | eee=CFuncs.Sound.Create("863901527", Character, 1, 1)
| |
| 1074 | eee.Looped = true | |
| 1075 | eee.TimePosition = 12 | |
| 1076 | untransforming = true | |
| 1077 | transforming = false | |
| 1078 | bar1:Destroy() | |
| 1079 | framesk1:Destroy() | |
| 1080 | fop = 50 | |
| 1081 | spi = 60 | |
| 1082 | spo = 3 | |
| 1083 | spoi = 1 | |
| 1084 | schpe = .03 | |
| 1085 | soi = 0 | |
| 1086 | attack = true | |
| 1087 | for i = 0, 1, 0.1 do | |
| 1088 | swait() | |
| 1089 | PlayAnimationFromTable({
| |
| 1090 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1091 | CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1092 | CFrame.new(1.54815805, 0.113066152, 0, 0.981752872, -0.190161094, 0, 0.190161064, 0.981752992, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1093 | CFrame.new(-1.56642199, 0.0832426548, 0, 0.977346003, 0.211647764, 0, -0.211647764, 0.977346003, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1094 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1095 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1096 | }, .3, false) | |
| 1097 | end | |
| 1098 | for i = 0, 100 do | |
| 1099 | Torso.Velocity = Vector3.new(0, 50, 0) | |
| 1100 | wait(.01) | |
| 1101 | end | |
| 1102 | for i = 0, 100 do | |
| 1103 | Torso.Velocity = Vector3.new(0, 50, 0) | |
| 1104 | wait(.01) | |
| 1105 | end | |
| 1106 | bewm=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("White"), "bewm", Vector3.new(1,1,1))
| |
| 1107 | bewm.Anchored=true | |
| 1108 | bewm.CanCollide=false | |
| 1109 | bewm.Position = Torso.Position | |
| 1110 | local mbewm = Instance.new("SpecialMesh", bewm)
| |
| 1111 | mbewm.MeshType = "Sphere" | |
| 1112 | mbewm.Scale = Vector3.new(0,0,0) | |
| 1113 | for i = 0, 70, 0.1 do | |
| 1114 | swait() | |
| 1115 | CFuncs.Sound.Create("379557765", Torso, .3, 1)
| |
| 1116 | PlayAnimationFromTable({
| |
| 1117 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1118 | CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1119 | CFrame.new(0.284558058, 0.352360129, -0.585287333, 0.258820832, 0.965924978, -2.79002438e-06, 0.084192656, -0.0225623567, -0.996192336, -0.962249458, 0.257835418, -0.0871634856) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0), | |
| 1120 | CFrame.new(-0.273653597, 0.406440526, -0.577382147, 0.258828282, -0.965923369, -1.5671344e-07, -0.167737693, -0.0449467227, -0.984804809, 0.951247692, 0.254895747, -0.17365551) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0), | |
| 1121 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1122 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1123 | }, .3, false) | |
| 1124 | bewm.CFrame = Torso.CFrame | |
| 1125 | mbewm.Scale = Vector3.new(mbewm.Scale.X+.1,mbewm.Scale.Y+.1,mbewm.Scale.Z+.1) | |
| 1126 | Effects.Lightning.Create(efekt5.Position, HitboxLA.Position, 3, 5, maincol, 1, 0, 1) | |
| 1127 | Effects.Lightning.Create(efekt4.Position, HitboxRA.Position, 3, 5, "Really black", 1, 0, 1) | |
| 1128 | spinny.Position = RootPart.Position | |
| 1129 | spinny.CFrame = spinny.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/45, 0) | |
| 1130 | Torso.Velocity = Vector3.new(0, 6, 0) | |
| 1131 | end | |
| 1132 | wait(2.2) | |
| 1133 | bewm:Destroy() | |
| 1134 | ||
| 1135 | ||
| 1136 | CFuncs.Sound.Create("401056199", Torso, 10, 1)
| |
| 1137 | CFuncs.Sound.Create("331898547", Torso, 10, 1)
| |
| 1138 | Effects.Sphere2.Create(BrickColor.new("White"), RootPart.CFrame, 8, 8, 8, 8, 8, 8, .008, 1)
| |
| 1139 | Effects.Wave.Create(BrickColor.new(maincol), RootPart.CFrame, 5, 5, 5, 5, 5, 5, .08, 2) | |
| 1140 | MagnitudeDamage(Torso, 80, 90, 90, 10, "Wither", " ", .5) | |
| 1141 | TextLabel.Text = "Rao, the Balance God" | |
| 1142 | for i = 0, 10, 0.1 do | |
| 1143 | swait() | |
| 1144 | PlayAnimationFromTable({
| |
| 1145 | CFrame.new(-0.251876831, 0.470080227, -1.34110451e-06, 1, 0, -0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1146 | CFrame.new(-0.0999908447, 1.50946021, 0.223286748, 1, 0, -0, 0, 0.939692438, -0.342020929, -0, 0.342020959, 0.939692438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1147 | CFrame.new(1.43255699, 1.25413036, 0.366365522, -0.939692736, -0.296197951, -0.171009928, 0.321393639, -0.935729802, -0.145313144, -0.11697761, -0.191511214, 0.974494696) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1148 | CFrame.new(-1.41037154, 1.34628582, 0.488534033, 0.939692736, 0.296197951, -0.171009928, 0.321393639, -0.935729802, 0.145313144, -0.11697761, -0.191511214, -0.974494696) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1149 | CFrame.new(0.578960061, -1.5122112, 0.50258863, 0.98480773, -0.173648164, -1.55591565e-07, 0.133022353, 0.754406869, 0.642787278, -0.111618698, -0.633021891, 0.766044796) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1150 | CFrame.new(-0.686709404, -1.51906383, 0.467823565, 0.98480773, 0.173648164, 1.55591565e-07, -0.133022353, 0.754406869, 0.642787278, 0.111618698, -0.633021891, 0.766044796) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1151 | }, .3, false) | |
| 1152 | end | |
| 1153 | ||
| 1154 | fop = 80 | |
| 1155 | spi = 80 | |
| 1156 | spo = 80 | |
| 1157 | spoi = 2 | |
| 1158 | schpe = .03 | |
| 1159 | soi = 200 | |
| 1160 | Humanoid.WalkSpeed = 25 | |
| 1161 | Humanoid.AutoRotate = true | |
| 1162 | Humanoid.JumpPower = 80 | |
| 1163 | attack = false | |
| 1164 | if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then | |
| 1165 | return | |
| 1166 | end | |
| 1167 | end | |
| 1168 | end) | |
| 1169 | ||
| 1170 | ||
| 1171 | ||
| 1172 | ||
| 1173 | ||
| 1174 | ||
| 1175 | ||
| 1176 | ||
| 1177 | while transforming == true do | |
| 1178 | swait() | |
| 1179 | Humanoid.Health = math.huge | |
| 1180 | PlayAnimationFromTable({
| |
| 1181 | CFrame.new(0, -2, 0, 0, 0.984807849, 0.173647985, -1, 0, 0, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1182 | CFrame.new(-0.0999920368, 1.22553754, -0.589294791, 1, 0, -0, 0, 0.499998808, 0.866026223, -0, -0.866026223, 0.499998808) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1183 | CFrame.new(0.800001562, 0.0751656741, -1.00217676, 0.866025388, 0.500000238, 0, -0.492404163, 0.852868617, -0.173647985, -0.0868240371, 0.150383562, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1184 | CFrame.new(-0.901474714, -0.162059426, -0.809470534, 0.939692736, -0.321393609, 0.116977669, 0.33682391, 0.810216308, -0.479686856, 0.0593910702, 0.490159124, 0.869607329) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1185 | CFrame.new(0.312552929, -1.27662241, -0.77715373, 1, 0, -0, 0, 0.984807849, 0.173648134, -0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1186 | CFrame.new(-0.524474978, -1.25619924, -0.812270045, 1, 0, -0, 0, 0.984807849, 0.173648134, -0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1187 | }, .3, false) | |
| 1188 | Mouse.Button1Down:connect(OnMouseDown) | |
| 1189 | end | |
| 1190 | ||
| 1191 | ||
| 1192 | ||
| 1193 | skillcolorscheme = BrickColor.new(maincol).Color | |
| 1194 | framesk1 = makeframe(scrn, .3, UDim2.new(.8, 0, .85, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
| 1195 | framesk2 = makeframe(scrn, .3, UDim2.new(.8, 0, .74, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
| 1196 | framesk3 = makeframe(scrn, .3, UDim2.new(.8, 0, .63, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
| 1197 | framesk4 = makeframe(scrn, .3, UDim2.new(.8, 0, .52, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
| 1198 | framesk5 = makeframe(scrn, .3, UDim2.new(.8, 0, .41, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
| 1199 | ||
| 1200 | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 1201 | bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 1202 | bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 1203 | bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 1204 | bar5 = makeframe(framesk5, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 1205 | text1 = Instance.new('TextLabel', framesk1)
| |
| 1206 | text1.BackgroundTransparency = 1 | |
| 1207 | text1.Size = UDim2.new(1, 0, 1, 0) | |
| 1208 | text1.Position = UDim2.new(0, 0, 0, 0) | |
| 1209 | text1.TextColor3 = Color3.new(255, 255, 255) | |
| 1210 | text1.TextStrokeTransparency = 0 | |
| 1211 | text1.FontSize = Enum.FontSize.Size18 | |
| 1212 | text1.Font = desirefont | |
| 1213 | text1.BorderSizePixel = 0 | |
| 1214 | text1.TextScaled = true | |
| 1215 | text2 = Instance.new('TextLabel', framesk2)
| |
| 1216 | text2.BackgroundTransparency = 1 | |
| 1217 | text2.Size = UDim2.new(1, 0, 1, 0) | |
| 1218 | text2.Position = UDim2.new(0, 0, 0, 0) | |
| 1219 | text2.TextColor3 = Color3.new(255, 255, 255) | |
| 1220 | text2.TextStrokeTransparency = 0 | |
| 1221 | text2.FontSize = Enum.FontSize.Size18 | |
| 1222 | text2.Font = desirefont | |
| 1223 | text2.BorderSizePixel = 0 | |
| 1224 | text2.TextScaled = true | |
| 1225 | text3 = Instance.new('TextLabel', framesk3)
| |
| 1226 | text3.BackgroundTransparency = 1 | |
| 1227 | text3.Size = UDim2.new(1, 0, 1, 0) | |
| 1228 | text3.Position = UDim2.new(0, 0, 0, 0) | |
| 1229 | text3.TextColor3 = Color3.new(255, 255, 255) | |
| 1230 | text3.TextStrokeTransparency = 0 | |
| 1231 | text3.FontSize = Enum.FontSize.Size18 | |
| 1232 | text3.Font = desirefont | |
| 1233 | text3.BorderSizePixel = 0 | |
| 1234 | text3.TextScaled = false | |
| 1235 | text4 = Instance.new('TextLabel', framesk4)
| |
| 1236 | text4.BackgroundTransparency = 1 | |
| 1237 | text4.Size = UDim2.new(1, 0, 1, 0) | |
| 1238 | text4.Position = UDim2.new(0, 0, 0, 0) | |
| 1239 | text4.TextColor3 = Color3.new(255, 255, 255) | |
| 1240 | text4.TextStrokeTransparency = 0 | |
| 1241 | text4.FontSize = Enum.FontSize.Size18 | |
| 1242 | text4.Font = desirefont | |
| 1243 | text4.BorderSizePixel = 0 | |
| 1244 | text4.TextScaled = true | |
| 1245 | text5 = Instance.new('TextLabel', framesk5)
| |
| 1246 | text5.BackgroundTransparency = 1 | |
| 1247 | text5.Size = UDim2.new(1, 0, 1, 0) | |
| 1248 | text5.Position = UDim2.new(0, 0, 0, 0) | |
| 1249 | text5.TextColor3 = Color3.new(255, 255, 255) | |
| 1250 | text5.TextStrokeTransparency = 0 | |
| 1251 | text5.FontSize = Enum.FontSize.Size18 | |
| 1252 | text5.Font = desirefont | |
| 1253 | text5.BorderSizePixel = 0 | |
| 1254 | text5.TextScaled = true | |
| 1255 | text1.Text = "[Z]\n Dokusei Dash" | |
| 1256 | text2.Text = "[X]\n Crush" | |
| 1257 | text3.Text = "[C]\n Summon Orbs" | |
| 1258 | text4.Text = "[V]\n Perish" | |
| 1259 | text5.Text = "[B]\n The End" | |
| 1260 | Handle1=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle1",Vector3.new(1, 0.199999854, 1)) | |
| 1261 | Handle1Weld=CFuncs.Weld.Create(m,Character["Left Arm"],Handle1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.7220459e-05, 0.300019085, 4.80413437e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1262 | larm=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","larm",Vector3.new(1, 2, 1)) | |
| 1263 | larmWeld=CFuncs.Weld.Create(m,Handle1,larm,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.300000191, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1264 | HitboxLA=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really red","HitboxLA",Vector3.new(1, 0.999999821, 1)) | |
| 1265 | HitboxLAWeld=CFuncs.Weld.Create(m,Handle1,HitboxLA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.19999969, -5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1266 | Handle2=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle2",Vector3.new(1, 0.199999854, 1)) | |
| 1267 | Handle2Weld=CFuncs.Weld.Create(m,Character["Left Leg"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-05, 0.300022364, 4.81009483e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1268 | lleg=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","lleg",Vector3.new(1, 2, 1)) | |
| 1269 | llegWeld=CFuncs.Weld.Create(m,Handle2,lleg,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.300000191, -5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1270 | HitboxLL=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really red","HitboxLL",Vector3.new(1, 0.999999821, 1)) | |
| 1271 | HitboxLLWeld=CFuncs.Weld.Create(m,Handle2,HitboxLL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.199999571, -5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1272 | Handle3=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle3",Vector3.new(1, 0.199999854, 1)) | |
| 1273 | Handle3Weld=CFuncs.Weld.Create(m,Character["Right Arm"],Handle3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.48498535e-05, 0.300019085, 4.81009483e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1274 | rarm=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","rarm",Vector3.new(1, 2, 1)) | |
| 1275 | rarmWeld=CFuncs.Weld.Create(m,Handle3,rarm,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.300000191, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1276 | HitboxRA=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really red","HitboxRA",Vector3.new(1, 0.999999821, 1)) | |
| 1277 | HitboxRAWeld=CFuncs.Weld.Create(m,Handle3,HitboxRA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.19999969, -1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1278 | Handle4=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle4",Vector3.new(1, 0.199999854, 1)) | |
| 1279 | Handle4Weld=CFuncs.Weld.Create(m,Character["Right Leg"],Handle4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.48498535e-05, 0.300022364, 4.7981739e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1280 | rleg=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","rleg",Vector3.new(1, 2, 1)) | |
| 1281 | rlegWeld=CFuncs.Weld.Create(m,Handle4,rleg,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.299999952, 5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1282 | HitboxRL=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really red","HitboxRL",Vector3.new(1, 0.999999821, 1)) | |
| 1283 | HitboxRLWeld=CFuncs.Weld.Create(m,Handle4,HitboxRL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.199999571, 5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1284 | Handle5=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle5",Vector3.new(1, 0.199999854, 1)) | |
| 1285 | Handle5Weld=CFuncs.Weld.Create(m,Character["Head"],Handle5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100063324, 0.60001117, 4.78625298e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1286 | hed=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","hed",Vector3.new(0.999999821, 1, 1)) | |
| 1287 | hedWeld=CFuncs.Weld.Create(m,Handle5,hed,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600006878, 0.100009918, -0.0199998617, 0, 1, 0, -1, 0, 0, 0, 0, 1)) | |
| 1288 | Handle6=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle6",Vector3.new(1, 0.199999854, 1)) | |
| 1289 | Handle6Weld=CFuncs.Weld.Create(m,Character["Torso"],Handle6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100063324, 0.500019073, 4.7981739e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1290 | tors=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","tors",Vector3.new(2.00000024, 2, 1)) | |
| 1291 | torsWeld=CFuncs.Weld.Create(m,Handle6,tors,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999984741, -0.50000006, -1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1292 | ||
| 1293 | ||
| 1294 | sref = CFuncs.Part.Create(Character, "Neon", 1, 1, BrickColor.new("Black"), "Reference", Vector3.new())
| |
| 1295 | sref.Anchored = true | |
| 1296 | ||
| 1297 | ||
| 1298 | ||
| 1299 | ||
| 1300 | function battac1() | |
| 1301 | attack = true | |
| 1302 | for i = 0, 1.5, 0.1 do | |
| 1303 | swait() | |
| 1304 | PlayAnimationFromTable({
| |
| 1305 | CFrame.new(-1.39627684e-06, -7.36942911e-06, 1.39627605e-06, 0.476727128, 0.183012798, 0.859789252, -0.25000006, 0.965925813, -0.0669873133, -0.842752159, -0.183012694, 0.506236255) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1306 | CFrame.new(-0.0340346247, 1.51263666, -0.0478081331, 0.877126634, 0.104048893, -0.46885246, -0.101895347, 0.994341493, 0.0300414115, 0.469325185, 0.0214237869, 0.882765472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1307 | CFrame.new(0.579812467, 0.345736474, -0.59361434, 0.072264187, 0.924199581, -0.375010848, -0.974444211, -0.0147579908, -0.224144787, -0.212688923, 0.381624758, 0.899514318) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1308 | CFrame.new(-1.85228181, 0.875683367, -0.260588259, 0.773285925, 0.551785231, 0.312348992, 0.546566546, -0.829791725, 0.112741388, 0.321393579, 0.0835381895, -0.943253636) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1309 | CFrame.new(0.738364995, -1.84033036, 0.563868403, 0.687917829, -0.0233614445, -0.725412488, 0.1578255, 0.98037982, 0.118095428, 0.708420873, -0.195728526, 0.678107858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1310 | CFrame.new(-0.917405725, -1.57624996, 0.686944962, 0.872133791, 0.197120011, -0.447801769, 0.198867023, 0.693416834, 0.692549586, 0.447028697, -0.693048954, 0.565551639) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1311 | }, .3, false) | |
| 1312 | end | |
| 1313 | MagnitudeDamage(HitboxLA, 8, 30, 30, 200, "Normal", "260430079", 1) | |
| 1314 | CFuncs.Sound.Create("200632136", HitboxLA, 1, 1)
| |
| 1315 | for i = 0, 1, 0.1 do | |
| 1316 | swait() | |
| 1317 | PlayAnimationFromTable({
| |
| 1318 | CFrame.new(-4.17232513e-06, -5.30481339e-06, -0.999984145, 0.707105339, 0.183013991, -0.683013916, 0, 0.965925574, 0.258820295, 0.707108378, -0.183013216, 0.683010995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1319 | CFrame.new(-0.0373710692, 1.51263273, 0.0452473164, 0.848774672, -0.00623494387, 0.528718293, -0.0508090742, 0.994341671, 0.0932918787, -0.526308119, -0.106047422, 0.84365499) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1320 | CFrame.new(1.68801045, 0.407435834, -0.449469507, -0.706166267, -0.389181942, -0.591495514, -0.569585621, 0.808487773, 0.148054063, 0.420596808, 0.441457987, -0.792599082) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1321 | CFrame.new(-1.75769782, 0.713923812, -0.430418491, -0.0885525197, 0.637445807, -0.7653898, -0.942978859, -0.301171541, -0.141728252, -0.320857644, 0.709195852, 0.627767205) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1322 | CFrame.new(0.639599144, -1.8263067, -0.331883222, 0.859788299, -0.183012217, 0.476729214, 0.195730031, 0.980379641, 0.023357138, -0.471650183, 0.0732280314, 0.878739834) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1323 | CFrame.new(-0.307636291, -1.77595973, 0.545883834, 0.982273102, -0.181773037, -0.045809418, 0.135392249, 0.518932045, 0.844025373, -0.129649013, -0.835265398, 0.534343541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1324 | }, .3, false) | |
| 1325 | end | |
| 1326 | attack = false | |
| 1327 | end | |
| 1328 | ||
| 1329 | ||
| 1330 | function battac2() | |
| 1331 | attack = true | |
| 1332 | Humanoid.WalkSpeed = 0 | |
| 1333 | for i = 0, 1.5, 0.1 do | |
| 1334 | swait() | |
| 1335 | PlayAnimationFromTable({
| |
| 1336 | CFrame.new(-0, -1.59282732, -0.519607961, 1, 0, 0, 0, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1337 | CFrame.new(0, 1.55377007, -0.152360976, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1338 | CFrame.new(1.2000078, 0.953045666, -0.713819265, 0.866025448, 0.49999994, -2.26266827e-08, 0.353553265, -0.612372398, -0.707107067, -0.353553474, 0.612372637, -0.70710665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1339 | CFrame.new(-1.15360737, 0.794935584, -0.750632823, 0.866025388, -0.500000179, -5.589701e-07, -0.353553861, -0.61237222, -0.707106948, 0.353553265, 0.612372756, -0.707106769) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1340 | CFrame.new(0.5, -1.5799793, -0.590984702, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1341 | CFrame.new(-0.500015259, -1.65356255, -0.585621715, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1342 | }, .3, false) | |
| 1343 | end | |
| 1344 | MagnitudeDamage(HitboxLA, 8, 5, 10, 100, "DarkUp", "306247749", 1) | |
| 1345 | CFuncs.Sound.Create("200632136", HitboxRA, 1, 1)
| |
| 1346 | for i = 0, 1, 0.1 do | |
| 1347 | swait() | |
| 1348 | PlayAnimationFromTable({
| |
| 1349 | CFrame.new(-0, -1.2196213, -0.273204356, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1350 | CFrame.new(0, 1.49368489, 0.246804297, 1, 0, 0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1351 | CFrame.new(1.34139562, 1.24449635, -0.501063168, 0.707141161, 4.3202607e-07, -0.707072496, 0.183035791, -0.965913892, 0.183052927, -0.68297112, -0.258863807, -0.683037519) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1352 | CFrame.new(-1.4036299, 1.31358445, -0.263445199, 0.866024435, 6.45238671e-08, 0.500001669, -0.129408985, -0.965926468, 0.224142075, 0.482964844, -0.258817255, -0.836515903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1353 | CFrame.new(0.5, -1.86381054, -0.121815026, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1354 | CFrame.new(-0.500015259, -1.92484725, -0.0803779364, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1355 | }, .3, false) | |
| 1356 | end | |
| 1357 | Humanoid.WalkSpeed = 25 | |
| 1358 | attack = false | |
| 1359 | end | |
| 1360 | ||
| 1361 | ||
| 1362 | function battac3() | |
| 1363 | attack = true | |
| 1364 | CFuncs.Sound.Create("306247749", HitboxRA, 3, 1)
| |
| 1365 | Humanoid.WalkSpeed = 5 | |
| 1366 | for i = 0, 1.5, 0.1 do | |
| 1367 | swait() | |
| 1368 | PlayAnimationFromTable({
| |
| 1369 | CFrame.new(3.57627869e-07, 6.79999733, -5.96046448e-07, 0.866025269, 4.00048179e-07, -0.500000358, -0.129410043, 0.965925813, -0.224143773, 0.482963175, 0.258819193, 0.836516142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1370 | CFrame.new(-0.0975225121, 1.5006386, -0.168908179, 0.961516261, -0.0622723475, 0.267598331, 0.0669877082, 0.997717559, -0.00851863623, -0.266457021, 0.0261165649, 0.96349299) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1371 | CFrame.new(1.42953217, 1.36738133, 0.560824573, 0.969378471, 0.036978662, -0.242771834, 0.112739824, -0.945273399, 0.30618304, -0.21816349, -0.324177235, -0.920496464) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1372 | CFrame.new(-0.514982402, 0.167981669, -0.348204494, 0.390162021, -0.863741398, 0.318942964, 0.920569658, 0.37272048, -0.116752014, -0.0180329978, 0.339161426, 0.940555334) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1373 | CFrame.new(1.01503551, -1.61222804, 0.758090556, 0.866025269, -0.43301329, 0.249999851, 4.00048179e-07, 0.499999911, 0.866025567, -0.500000358, -0.749999881, 0.433012724) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1374 | CFrame.new(-0.674192369, -1.93183935, -0.167736471, 0.866025269, -4.61935997e-07, 0.500000417, 4.00048179e-07, 1, 2.08616257e-07, -0.500000358, -1.49011612e-08, 0.866025269) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1375 | }, .3, false) | |
| 1376 | Effects.Block.Create(BrickColor.new(maincol), HitboxRA.CFrame, 1, 1, 1, 1, 1, 1, .08, 2) | |
| 1377 | end | |
| 1378 | MagnitudeDamage(HitboxRA, 8, 30, 50, 500, "Knockdown", "782354021", 1) | |
| 1379 | for i = 0, 1, 0.1 do | |
| 1380 | swait() | |
| 1381 | PlayAnimationFromTable({
| |
| 1382 | CFrame.new(1.54972076e-06, 6.58641052, -0.246319056, 0.866024971, -5.42000919e-07, -0.500000775, 0.250001013, 0.866025209, 0.433012664, 0.433012992, -0.500000536, 0.749999523) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1383 | CFrame.new(-0.0975218043, 1.50063884, -0.168915406, 0.961516201, -0.0622704476, 0.267598808, 0.0669858828, 0.997717738, -0.00851911306, -0.266457558, 0.0261166394, 0.963492811) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1384 | CFrame.new(1.02015197, 0.517821193, -1.45992565, 0.886716843, 0.436117947, 0.153409019, 0.0551973283, 0.229585916, -0.971722126, -0.459005952, 0.870110035, 0.17950508) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1385 | CFrame.new(-1.36973119, -0.0445775315, 0.63426286, 0.896512747, -0.350060821, 0.271518677, 0.118428506, 0.7799505, 0.61453402, -0.42689541, -0.5187819, 0.740692675) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1386 | CFrame.new(0.568625093, -1.55863333, -0.015111208, 0.866024971, -0.433012992, 0.250001013, -5.42000919e-07, 0.500000536, 0.866025209, -0.500000775, -0.749999523, 0.433012664) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1387 | CFrame.new(-0.774200022, -1.53183734, -0.340943307, 0.866024971, 6.2584877e-07, 0.500000834, -5.42000919e-07, 1.00000024, -3.57627869e-07, -0.500000775, 2.98023224e-08, 0.866025031) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1388 | }, .3, false) | |
| 1389 | Effects.Block.Create(BrickColor.new(maincol), HitboxRA.CFrame, 1, 1, 1, 1, 1, 1, .08, 1) | |
| 1390 | Effects.Block.Create(BrickColor.new("Really black"), HitboxRA.CFrame, 1, 1, 1, 1, 1, 1, .08, 1)
| |
| 1391 | end | |
| 1392 | Humanoid.WalkSpeed = 25 | |
| 1393 | attack = false | |
| 1394 | end | |
| 1395 | ||
| 1396 | ||
| 1397 | function tauntu1() | |
| 1398 | attack = true | |
| 1399 | Humanoid.WalkSpeed = 0 | |
| 1400 | ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "I don't have all day.", 1.5, BrickColor.new(Torso.Color).Color) | |
| 1401 | CFuncs.Sound.Create("159882303", Torso, 10, 1)
| |
| 1402 | for i = 0, 1, .6 do | |
| 1403 | for i = 0, 1, 0.1 do | |
| 1404 | swait() | |
| 1405 | PlayAnimationFromTable({
| |
| 1406 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1407 | CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1408 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1409 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1410 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1411 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1412 | }, .3, false) | |
| 1413 | end | |
| 1414 | ||
| 1415 | for i = 0, 1, 0.1 do | |
| 1416 | swait() | |
| 1417 | PlayAnimationFromTable({
| |
| 1418 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1419 | CFrame.new(-6.55651093e-07, 1.61952615, -0.25634259, 0.766044199, 1.48394292e-07, -0.642787933, 0.219846055, 0.939692795, 0.262002409, 0.604023099, -0.342019796, 0.719846249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1420 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1421 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1422 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1423 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1424 | }, .3, false) | |
| 1425 | end | |
| 1426 | end | |
| 1427 | Humanoid.WalkSpeed = 25 | |
| 1428 | attack = false | |
| 1429 | end | |
| 1430 | ||
| 1431 | ||
| 1432 | function tauntu2() | |
| 1433 | attack = true | |
| 1434 | Humanoid.WalkSpeed = 0 | |
| 1435 | ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "Just don't bore me, yeah?", 2, BrickColor.new(Torso.Color).Color) | |
| 1436 | CFuncs.Sound.Create("159882635", Torso, 10, 1)
| |
| 1437 | for i = 0, 1, .6 do | |
| 1438 | for i = 0, 1, 0.1 do | |
| 1439 | swait() | |
| 1440 | PlayAnimationFromTable({
| |
| 1441 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1442 | CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1443 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1444 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1445 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1446 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1447 | }, .3, false) | |
| 1448 | end | |
| 1449 | ||
| 1450 | for i = 0, 1, 0.1 do | |
| 1451 | swait() | |
| 1452 | PlayAnimationFromTable({
| |
| 1453 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1454 | CFrame.new(-6.55651093e-07, 1.61952615, -0.25634259, 0.766044199, 1.48394292e-07, -0.642787933, 0.219846055, 0.939692795, 0.262002409, 0.604023099, -0.342019796, 0.719846249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1455 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1456 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1457 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1458 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1459 | }, .3, false) | |
| 1460 | end | |
| 1461 | end | |
| 1462 | Humanoid.WalkSpeed = 25 | |
| 1463 | attack = false | |
| 1464 | end | |
| 1465 | ||
| 1466 | ||
| 1467 | function tauntu3() | |
| 1468 | attack = true | |
| 1469 | Humanoid.WalkSpeed = 0 | |
| 1470 | ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "How many minutes will you last?", 2, BrickColor.new(Torso.Color).Color) | |
| 1471 | CFuncs.Sound.Create("159882644", Torso, 10, 1)
| |
| 1472 | for i = 0, 1, .6 do | |
| 1473 | for i = 0, 1, 0.1 do | |
| 1474 | swait() | |
| 1475 | PlayAnimationFromTable({
| |
| 1476 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1477 | CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1478 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1479 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1480 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1481 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1482 | }, .3, false) | |
| 1483 | end | |
| 1484 | ||
| 1485 | for i = 0, 1, 0.1 do | |
| 1486 | swait() | |
| 1487 | PlayAnimationFromTable({
| |
| 1488 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1489 | CFrame.new(-6.55651093e-07, 1.61952615, -0.25634259, 0.766044199, 1.48394292e-07, -0.642787933, 0.219846055, 0.939692795, 0.262002409, 0.604023099, -0.342019796, 0.719846249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1490 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1491 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1492 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1493 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1494 | }, .3, false) | |
| 1495 | end | |
| 1496 | end | |
| 1497 | Humanoid.WalkSpeed = 25 | |
| 1498 | attack = false | |
| 1499 | end | |
| 1500 | ||
| 1501 | ||
| 1502 | ||
| 1503 | x = 5 | |
| 1504 | function blasty() | |
| 1505 | attack = true | |
| 1506 | ref=CFuncs.Part.Create(HitboxRA, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new(.05,.05,.05))
| |
| 1507 | ref.Anchored=true | |
| 1508 | ref.CanCollide=false | |
| 1509 | ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50) | |
| 1510 | Humanoid.WalkSpeed = 0 | |
| 1511 | CFuncs.Sound.Create("159882628", Torso, 5, 1)
| |
| 1512 | ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "Ah.", 1.5, BrickColor.new(Torso.Color).Color) | |
| 1513 | local grab = nil | |
| 1514 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do | |
| 1515 | if v:FindFirstChild('Head') then
| |
| 1516 | Grabbed = true | |
| 1517 | grab = v | |
| 1518 | end | |
| 1519 | end | |
| 1520 | for i = 0, 3, 0.1 do | |
| 1521 | swait() | |
| 1522 | PlayAnimationFromTable({
| |
| 1523 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1524 | CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1525 | CFrame.new(1.64711547, 1.41346073, 0.361087859, -0.969846308, -0.171009913, -0.17364803, 0.173647985, -0.984807849, 5.96214491e-08, -0.171009898, -0.0301535726, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1526 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1527 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1528 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1529 | }, .3, false) | |
| 1530 | ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50) | |
| 1531 | end | |
| 1532 | ||
| 1533 | CFuncs.Sound.Create("159882620", Torso, 5, 1)
| |
| 1534 | ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "Amazed you've survived this long.", 1.5, BrickColor.new(Torso.Color).Color) | |
| 1535 | for i = 0, 1, .5 do | |
| 1536 | for i = 0, 1, 0.1 do | |
| 1537 | swait() | |
| 1538 | PlayAnimationFromTable({
| |
| 1539 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1540 | CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1541 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1542 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1543 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1544 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1545 | }, .3, false) | |
| 1546 | ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50) | |
| 1547 | end | |
| 1548 | ||
| 1549 | for i = 0, 1, 0.1 do | |
| 1550 | swait() | |
| 1551 | PlayAnimationFromTable({
| |
| 1552 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1553 | CFrame.new(-6.55651093e-07, 1.61952615, -0.25634259, 0.766044199, 1.48394292e-07, -0.642787933, 0.219846055, 0.939692795, 0.262002409, 0.604023099, -0.342019796, 0.719846249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1554 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1555 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1556 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1557 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1558 | }, .3, false) | |
| 1559 | ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50) | |
| 1560 | end | |
| 1561 | end | |
| 1562 | wait(1) | |
| 1563 | ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "YOU IDIOT!", 1.5, BrickColor.new(Torso.Color).Color) | |
| 1564 | CFuncs.Sound.Create("160212768", Torso, 5, 1)
| |
| 1565 | for i = 0, 2, 0.1 do | |
| 1566 | swait() | |
| 1567 | PlayAnimationFromTable({
| |
| 1568 | CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1569 | CFrame.new(0, 1.495502, 0.155976295, 1, 0, -0, 0, 0.866025805, -0.499999762, -0, 0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1570 | CFrame.new(1.67320466, 0.256948113, 0.586459577, 0.866025269, -0.500000298, -6.19429386e-07, 0.129410207, 0.224143684, 0.965925992, -0.482963115, -0.836516321, 0.258819222) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1571 | CFrame.new(-1.65528786, 0.236378402, 0.663342357, 0.965925872, 0.258818746, -5.97341477e-06, -0.0669837445, 0.250009447, 0.965923786, 0.250000656, -0.933010399, 0.258827239) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1572 | CFrame.new(0.603523314, -1.92523527, 0.665380895, 0.965925872, 0, -0.258818984, 0.129409552, 0.866025388, 0.482963175, 0.224143818, -0.500000238, 0.836516321) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1573 | CFrame.new(-0.551774561, -1.92862988, 0.659501493, 0.965925872, 0, 0.258818984, -0.129409552, 0.866025388, 0.482963175, -0.224143818, -0.500000238, 0.836516321) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1574 | }, .3, false) | |
| 1575 | ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50) | |
| 1576 | end | |
| 1577 | for i = 0, 2, 0.1 do | |
| 1578 | swait() | |
| 1579 | PlayAnimationFromTable({
| |
| 1580 | CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1581 | CFrame.new(0, 1.56138074, -0.0756135881, 1, 0, 0, 0, 0.965926051, 0.258818865, 0, -0.258818865, 0.965926051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1582 | CFrame.new(0.893782854, 0.905647635, -1.42211223, 0.874999404, 0.2164938, -0.433020234, -0.321208358, -0.409599364, -0.85384649, -0.362217247, 0.886204958, -0.288859576) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1583 | CFrame.new(-0.891812921, 1.14138389, -1.46892774, 0.909297884, -0.274861544, 0.312455654, 0.121369407, -0.543028176, -0.830897272, 0.398053885, 0.793455601, -0.460414648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1584 | CFrame.new(0.332013369, -2.05282021, -0.211744398, 0.990150332, 0.135906085, 0.0336450152, -0.137435734, 0.989331186, 0.0483245552, -0.0267184712, -0.0524725616, 0.998264909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1585 | CFrame.new(-0.582855225, -1.7770021, -0.922122419, 1, 0, 0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1586 | }, .3, false) | |
| 1587 | ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50) | |
| 1588 | end | |
| 1589 | if Grabbed == true and grab ~= nil then | |
| 1590 | grab.Humanoid.PlatformStand = true | |
| 1591 | grab.Head.CFrame = ref.CFrame * CFrame.Angles(0,-45,0) | |
| 1592 | for i = 0, 1.5, 0.1 do | |
| 1593 | swait() | |
| 1594 | PlayAnimationFromTable({
| |
| 1595 | CFrame.new(-0, -1.59282732, -0.519607961, 1, 0, 0, 0, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1596 | CFrame.new(0, 1.55377007, -0.152360976, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1597 | CFrame.new(1.2000078, 0.953045666, -0.713819265, 0.866025448, 0.49999994, -2.26266827e-08, 0.353553265, -0.612372398, -0.707107067, -0.353553474, 0.612372637, -0.70710665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1598 | CFrame.new(-1.15360737, 0.794935584, -0.750632823, 0.866025388, -0.500000179, -5.589701e-07, -0.353553861, -0.61237222, -0.707106948, 0.353553265, 0.612372756, -0.707106769) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1599 | CFrame.new(0.5, -1.5799793, -0.590984702, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1600 | CFrame.new(-0.500015259, -1.65356255, -0.585621715, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1601 | }, .3, false) | |
| 1602 | grab.Head.CFrame = ref.CFrame | |
| 1603 | end | |
| 1604 | grab.Torso.Anchored = true | |
| 1605 | ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "STRUGGLE!", 1.5, BrickColor.new(Torso.Color).Color) | |
| 1606 | CFuncs.Sound.Create("160212585", Torso, 5, 1)
| |
| 1607 | for i = 0, 2, 0.1 do | |
| 1608 | swait() | |
| 1609 | PlayAnimationFromTable({
| |
| 1610 | CFrame.new(-0, -1.2196213, -0.273204356, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1611 | CFrame.new(0, 1.49368489, 0.246804297, 1, 0, 0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1612 | CFrame.new(1.34139562, 1.24449635, -0.501063168, 0.707141161, 4.3202607e-07, -0.707072496, 0.183035791, -0.965913892, 0.183052927, -0.68297112, -0.258863807, -0.683037519) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1613 | CFrame.new(-1.4036299, 1.31358445, -0.263445199, 0.866024435, 6.45238671e-08, 0.500001669, -0.129408985, -0.965926468, 0.224142075, 0.482964844, -0.258817255, -0.836515903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1614 | CFrame.new(0.5, -1.86381054, -0.121815026, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1615 | CFrame.new(-0.500015259, -1.92484725, -0.0803779364, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1616 | }, .3, false) | |
| 1617 | grab.Head.CFrame = ref.CFrame | |
| 1618 | end | |
| 1619 | for i = 0, 1.6, 0.1 do | |
| 1620 | swait() | |
| 1621 | PlayAnimationFromTable({
| |
| 1622 | CFrame.new(0, -0, -0, 0.87176013, 0, -0.489933014, 0, 1, 0, 0.489933044, 0, 0.87176013) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1623 | CFrame.new(-0.03097759, 1.48068821, -0.0551198274, 0.87176013, -0.0370955803, 0.48852694, 0, 0.997134864, 0.0757154897, -0.489933014, -0.0660058483, 0.869258225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1624 | CFrame.new(1.67023849, 1.3309983, 0.00941206701, 0.938447893, -0.345421582, -2.02059746e-05, -0.345412821, -0.938424468, 0.00707728788, -0.00246357918, -0.00663465261, -0.999975145) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1625 | CFrame.new(-1.60166776, 0.116563603, 1.17343279e-05, 0.980870962, 0.19466114, 2.98023224e-08, -0.19466126, 0.980870605, -4.82129451e-07, -2.38418579e-07, 4.54485416e-07, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1626 | CFrame.new(0.680485487, -1.96697748, 0.239762232, 0.980836987, -0.145232886, 0.129914314, 0.112037525, 0.965800464, 0.23382929, -0.159429669, -0.21478951, 0.963567197) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1627 | CFrame.new(-0.587270081, -1.95259011, -0.315021306, 0.915650666, -0.0214495566, 0.401413441, -0.00645985128, 0.997661352, 0.068044588, -0.40193662, -0.0648979694, 0.913366556) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1628 | }, .3, false) | |
| 1629 | Effects.Sphere2.Create(BrickColor.new(maincol), grab.Torso.CFrame, 3, 3, 3, 3, 3, 3, .03, 2) | |
| 1630 | end | |
| 1631 | CFuncs.Sound.Create("159882598", Torso, 10, 1)
| |
| 1632 | Effects.Block.Create(BrickColor.new("Really black"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 3, 3, 3, 2, 2, 2, .06)
| |
| 1633 | CFuncs.Sound.Create("188959311", RightArm, 10, 1)
| |
| 1634 | for i = 0, 5, 0.1 do | |
| 1635 | swait() | |
| 1636 | PlayAnimationFromTable({
| |
| 1637 | CFrame.new(0, -0, -0, 0.87176013, 0, -0.489933014, 0, 1, 0, 0.489933044, 0, 0.87176013) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1638 | CFrame.new(-0.03097759, 1.48068821, -0.0551198274, 0.87176013, -0.0370955803, 0.48852694, 0, 0.997134864, 0.0757154897, -0.489933014, -0.0660058483, 0.869258225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1639 | CFrame.new(1.6043725, 1.397439, 0.00988263357, 0.975719333, -0.219024912, -1.93417072e-05, -0.219019294, -0.975694954, 0.00707555423, -0.00156858563, -0.00689952075, -0.999975085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1640 | CFrame.new(-1.60166776, 0.116563603, 1.17343279e-05, 0.980870962, 0.19466114, 2.98023224e-08, -0.19466126, 0.980870605, -4.82129451e-07, -2.38418579e-07, 4.54485416e-07, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1641 | CFrame.new(0.680485487, -1.96697748, 0.239762232, 0.980836987, -0.145232886, 0.129914314, 0.112037525, 0.965800464, 0.23382929, -0.159429669, -0.21478951, 0.963567197) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1642 | CFrame.new(-0.587270081, -1.95259011, -0.315021306, 0.915650666, -0.0214495566, 0.401413441, -0.00645985128, 0.997661352, 0.068044588, -0.40193662, -0.0648979694, 0.913366556) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1643 | }, .4, false) | |
| 1644 | Effects.Sphere2.Create(BrickColor.new("Really black"), grab.Torso.CFrame, 3, 3, 3, 3, 3, 3, .03, 2)
| |
| 1645 | end | |
| 1646 | Effects.Lightning.Create(efekt4.Position, grab.Torso.Position, 5, 5, "Really black", 5, 0, 2) | |
| 1647 | Effects.Sphere2.Create(BrickColor.new(maincol), grab.Torso.CFrame, 3, 3, 3, 5, 5, 5, .01, 2) | |
| 1648 | grab.Torso.Anchored = false | |
| 1649 | local boo = Instance.new("Explosion", Character.Torso)
| |
| 1650 | boo.Position = grab.Torso.Position | |
| 1651 | boo.BlastRadius = 100 | |
| 1652 | boo.BlastPressure = 500 | |
| 1653 | CFuncs.Sound.Create("331903140", Character, 3, 1)
| |
| 1654 | grab.Torso:BreakJoints() | |
| 1655 | end | |
| 1656 | attack = false | |
| 1657 | Humanoid.WalkSpeed = 25 | |
| 1658 | Humanoid.JumpPower = 60 | |
| 1659 | Humanoid.AutoRotate = true | |
| 1660 | x=5 | |
| 1661 | end | |
| 1662 | ||
| 1663 | ||
| 1664 | function corruptedclouds() | |
| 1665 | attack = true | |
| 1666 | CFuncs.Sound.Create("471882099", Character, 5, 1)
| |
| 1667 | ||
| 1668 | local k = New("Part",LeftArm,"k",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(4.93319941, -1.31948221, -45.7696877, 0.141969427, -5.55023435e-05, -0.989871144, 0.989874005, 1.80069164e-05, 0.141970903, 1.06166653e-05, -1.00000143, 5.59078326e-05),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1669 | mot = New("Weld",k,"mot",{Part0 = k,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.141969457, 0.989873946, 1.06166663e-05, -5.55023507e-05, 1.80069164e-05, -1.00000167, -0.989871264, 0.141970903, 5.59078399e-05),C1 = CFrame.new(6.67572021e-06, -1.40000057, -3.81469727e-06, 0.989870846, -0.14197053, -1.2531201e-06, 0.141970515, 0.989870906, 1.03843358e-05, -2.33842215e-07, -1.04570581e-05, 0.99999994),})
| |
| 1670 | ||
| 1671 | for i = 0, 1.2, 0.1 do | |
| 1672 | swait() | |
| 1673 | PlayAnimationFromTable({
| |
| 1674 | CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1675 | CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1676 | CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1677 | CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1678 | CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1679 | CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1680 | }, .2, false) | |
| 1681 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1682 | end | |
| 1683 | ||
| 1684 | ||
| 1685 | for i = 0, 1, 0.1 do | |
| 1686 | swait() | |
| 1687 | PlayAnimationFromTable({
| |
| 1688 | CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1689 | CFrame.new(-0.0263810754, 1.49789393, -0.36129567, 0.83927381, -0.177804202, 0.513814509, -0.0293880031, 0.928800881, 0.369412124, -0.542914331, -0.325137854, 0.774292946) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1690 | CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1691 | CFrame.new(-0.925376594, 0.275374949, -0.912649989, 0.847262561, -0.507846355, 0.155686736, 0.278232396, 0.17463918, -0.944503605, 0.452473402, 0.84355998, 0.289265245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1692 | CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1693 | CFrame.new(-0.671897829, -2.02211738, 0.00865991414, 0.942302644, 0.108399101, -0.316726208, -0.108764961, 0.993929207, 0.0165806562, 0.31660068, 0.0188247077, 0.948372126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1694 | }, .25, false) | |
| 1695 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1696 | end | |
| 1697 | ||
| 1698 | local grab = nil | |
| 1699 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 8)) do | |
| 1700 | if v:FindFirstChild('Head') then
| |
| 1701 | Grabbed = true | |
| 1702 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Head, 1, .8)
| |
| 1703 | grab = v | |
| 1704 | end | |
| 1705 | end | |
| 1706 | ||
| 1707 | ||
| 1708 | ||
| 1709 | if Grabbed == true and grab ~= nil then | |
| 1710 | for i = 0, 1, 0.1 do | |
| 1711 | swait() | |
| 1712 | if Grabbed == true then | |
| 1713 | grab.Humanoid.PlatformStand = true | |
| 1714 | --GGyro.position = Partss.Position | |
| 1715 | --GGyro.Parent = grab.Head | |
| 1716 | grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
| 1717 | end | |
| 1718 | PlayAnimationFromTable({
| |
| 1719 | CFrame.new(1.76864308e-14, 4.48080471e-07, -1.63087861e-07, 0.766044796, 3.70911337e-08, -0.642787158, 0.219846025, 0.939692855, 0.262002498, 0.604022622, -0.342020035, 0.719846845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1720 | CFrame.new(0.341020674, 1.52092338, -0.0619920865, 0.975082517, 0.21674332, 0.0472928584, -0.219845772, 0.972632766, 0.0751910806, -0.0297012031, -0.0837147534, 0.99604708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1721 | CFrame.new(1.85675263, -0.0607492924, -0.232875168, 0.533469737, -0.629021049, -0.565454543, 0.0702756345, 0.699180424, -0.711484134, 0.842898726, 0.339813501, 0.417194188) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1722 | CFrame.new(-1.1962359, 1.45365191, 0.615582228, 0.944647968, 0.171928287, -0.279431552, 0.321390301, -0.656127512, 0.682794034, -0.0659500062, -0.734806061, -0.675066113) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1723 | CFrame.new(0.796237707, -1.89043427, 0.0301880166, 0.992736578, 0.0288502425, -0.116799474, -0.0291476101, 0.999574959, -0.000837668777, 0.116725862, 0.00423581898, 0.993155241) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1724 | CFrame.new(-0.958333611, -2.11844707, 0.433348566, 0.719846725, 0.262002468, 0.642787337, -0.342019975, 0.939692914, -1.1920929e-07, -0.604022384, -0.219846129, 0.766044915) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1725 | }, .3, false) | |
| 1726 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1727 | end | |
| 1728 | ||
| 1729 | ||
| 1730 | ref=CFuncs.Part.Create(HitboxRA, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "ref", Vector3.new())
| |
| 1731 | ref.Anchored=true | |
| 1732 | ref.CanCollide=false | |
| 1733 | game.Debris:AddItem(ref,.5) | |
| 1734 | for i = 0, 1, 0.1 do | |
| 1735 | swait() | |
| 1736 | if Grabbed == true then | |
| 1737 | grab.Humanoid.PlatformStand = true | |
| 1738 | --GGyro.position = Partss.Position | |
| 1739 | --GGyro.Parent = grab.Head | |
| 1740 | grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
| 1741 | end | |
| 1742 | PlayAnimationFromTable({
| |
| 1743 | CFrame.new(0.0237534959, -0.393922806, -0.0652742982, 0.939694047, 0.336823881, -0.0593910813, 6.63990818e-07, 0.173648596, 0.984807611, 0.342021018, -0.925418198, 0.163178027) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1744 | CFrame.new(-0.172945321, 1.41877878, 0.442766368, 0.939694047, -0.296202481, 0.171007663, 0.336823881, 0.888269424, -0.312314689, -0.0593910813, 0.351079285, 0.934461713) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1745 | CFrame.new(1.52180564, 0.292591512, 0.881093621, 0.939694047, -0.219847351, -0.262002945, 0.336823881, 0.461824715, 0.820530832, -0.0593910813, -0.859295249, 0.508020401) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1746 | CFrame.new(-1.06820941, 0.562155366, -1.52689314, 0.939694047, 6.63990818e-07, 0.342021018, 0.336823881, 0.173648596, -0.925418198, -0.0593910813, 0.984807611, 0.163178027) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1747 | CFrame.new(1.01252818, -1.59739447, -1.0576911, 0.939694047, -0.116977476, 0.32139498, 0.336823881, 0.479688108, -0.810217738, -0.0593910813, 0.869606614, 0.490160972) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1748 | CFrame.new(-0.760051727, -1.08797181, -1.43901432, 0.939694703, 0.116978236, -0.321393281, -0.336825103, 0.479687691, -0.810217381, 0.0593926162, 0.869606614, 0.490160555) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1749 | }, .3, false) | |
| 1750 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1751 | ref.CFrame = grab.Torso.CFrame | |
| 1752 | Effects.Block.Create(BrickColor.new(maincol), ref.CFrame, 1, 1, 1, 1, 1, 1, .08, 1) | |
| 1753 | end | |
| 1754 | MagnitudeDamage(ref, 3, 100, 100, 0, "Wither", "199149235", 1) | |
| 1755 | CFuncs.Sound.Create("385545047", grab.Torso, 5, 1)
| |
| 1756 | Effects.Sphere2.Create(BrickColor.new(maincol), HitboxLA.CFrame, 3, 3, 3, 3, 3, 3, .03, 2) | |
| 1757 | end | |
| 1758 | ||
| 1759 | k:Remove() | |
| 1760 | Humanoid.WalkSpeed = 25 | |
| 1761 | attack = false | |
| 1762 | end | |
| 1763 | ||
| 1764 | ||
| 1765 | ||
| 1766 | ||
| 1767 | ||
| 1768 | ||
| 1769 | function disconnect1() | |
| 1770 | con1:Disconnect() | |
| 1771 | end | |
| 1772 | ||
| 1773 | function disconnect2() | |
| 1774 | con2:Disconnect() | |
| 1775 | end | |
| 1776 | ||
| 1777 | orbs1=false | |
| 1778 | orbs2=false | |
| 1779 | ||
| 1780 | ||
| 1781 | ||
| 1782 | ||
| 1783 | function orbos() | |
| 1784 | attack = true | |
| 1785 | Humanoid.WalkSpeed = 0 | |
| 1786 | orbs1=true | |
| 1787 | orbs2=true | |
| 1788 | ||
| 1789 | ||
| 1790 | orb1=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("White"), "ref", Vector3.new(1,1,1))
| |
| 1791 | orb1.Anchored=true | |
| 1792 | orb1.CanCollide=false | |
| 1793 | local mbewm2 = Instance.new("SpecialMesh", orb1)
| |
| 1794 | mbewm2.MeshType = "Sphere" | |
| 1795 | mbewm2.Scale = Vector3.new(2,2,2) | |
| 1796 | ||
| 1797 | ||
| 1798 | orb2=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Really black"), "ref", Vector3.new(1,1,1))
| |
| 1799 | orb2.Anchored=true | |
| 1800 | orb2.CanCollide=false | |
| 1801 | local mbewm1 = Instance.new("SpecialMesh", orb2)
| |
| 1802 | mbewm1.MeshType = "Sphere" | |
| 1803 | mbewm1.Scale = Vector3.new(2,2,2) | |
| 1804 | orb1.CFrame=spinny.CFrame*CFrame.new(5,0,0) | |
| 1805 | orb2.CFrame=spinny.CFrame*CFrame.new(-5,0,0) | |
| 1806 | ||
| 1807 | ||
| 1808 | ||
| 1809 | CFuncs.Sound.Create("588735945", Torso, 10, 1)
| |
| 1810 | local con1 = orb1.Touched:connect(function(hit) MagnitudeDamage(orb1, 8, 95, 100, 20, "Normal", "199149235", 1) Effects.Sphere2.Create(BrickColor.new(maincol), orb1.CFrame, 1, 1, 1, 1, 1, 1, .05) orb1.Transparency = 1 orbs1 = false orb1:Destroy() end) | |
| 1811 | local con2 = orb2.Touched:connect(function(hit) MagnitudeDamage(orb2, 8, 95, 100, 20, "Normal", "199149235", 1) Effects.Sphere2.Create(BrickColor.new("Really black"), orb2.CFrame, 1, 1, 1, 1, 1, 1, .05) orb2.Transparency = 1 orbs2 = false orb2:Destroy() end)
| |
| 1812 | for i = 0, 2, 0.1 do | |
| 1813 | swait() | |
| 1814 | PlayAnimationFromTable({
| |
| 1815 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1816 | CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1817 | CFrame.new(1.70599079, 0.765470147, -0.522034883, 0.641520381, -0.693589449, 0.327697039, 0.160697088, -0.296198219, -0.941511095, 0.750085473, 0.656658471, -0.0785593688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1818 | CFrame.new(-1.85860336, 0.769027293, -0.346409023, 0.469846278, 0.813797832, -0.342020005, -0.171010107, -0.296197951, -0.939692676, -0.866025507, 0.49999994, 1.54857389e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1819 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1820 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1821 | }, .3, false) | |
| 1822 | end | |
| 1823 | Effects.Sphere2.Create(BrickColor.new("Really black"), HitboxLA.CFrame, 1, 1, 1, 1, 1, 1, .05)
| |
| 1824 | Effects.Sphere2.Create(BrickColor.new(maincol), HitboxRA.CFrame, 1, 1, 1, 1, 1, 1, .05) | |
| 1825 | Humanoid.WalkSpeed = 25 | |
| 1826 | attack = false | |
| 1827 | Grabbed = false | |
| 1828 | x = 5 | |
| 1829 | end | |
| 1830 | ||
| 1831 | ||
| 1832 | ||
| 1833 | ||
| 1834 | ||
| 1835 | function warpything() | |
| 1836 | attack = true | |
| 1837 | Humanoid.Jump = true | |
| 1838 | Humanoid.WalkSpeed = 0 | |
| 1839 | LeftArm.Transparency = 0 | |
| 1840 | RightArm.Transparency = 0 | |
| 1841 | LeftLeg.Transparency = 0 | |
| 1842 | RightLeg.Transparency = 0 | |
| 1843 | Head.Transparency = 0 | |
| 1844 | Torso.Transparency = 0 | |
| 1845 | CFuncs.Sound.Create("782353443", Character, 1, 1)
| |
| 1846 | for i = 0, 1, 0.1 do | |
| 1847 | swait() | |
| 1848 | PlayAnimationFromTable({
| |
| 1849 | CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.707106829, 0.707106829, 0, -0.707106829, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1850 | CFrame.new(0, 1.54349375, -0.187853307, 1, 0, 0, 0, 0.965926051, 0.258818865, 0, -0.258818865, 0.965926051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1851 | CFrame.new(1.5, 0.282838553, -0.489890486, 1, 0, -0, 0, 0.258818865, -0.965926051, 0, 0.965926051, 0.258818865) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1852 | CFrame.new(-1.5, 0.282807112, -0.48988995, 1, 0, -0, 0, 0.258818865, -0.965926051, 0, 0.965926051, 0.258818865) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1853 | CFrame.new(0.5, -1.89706933, -1.11773682, 1, 0, 0, 0, 0.965926051, -0.258818865, 0, 0.258818865, 0.965926051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1854 | CFrame.new(-0.5, -1.78912175, -0.0150479674, 1, 0, 0, 0, 0.866025448, 0.500000119, 0, -0.500000119, 0.866025448) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1855 | }, .3, false) | |
| 1856 | end | |
| 1857 | ||
| 1858 | for i = 0, 5, 0.1 do | |
| 1859 | swait() | |
| 1860 | PlayAnimationFromTable({
| |
| 1861 | CFrame.new(0, -0.0787503347, -0.155455261, 1, 0, 0, 0, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1862 | CFrame.new(0, 1.61677504, 0.0853292942, 1, 0, 0, 0, 0.866025805, -0.499999762, 0, 0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1863 | CFrame.new(1.5, 1.21241796, -0.699987948, 1, 0, 0, 0, -0.866025388, -0.500000238, 0, 0.500000238, -0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1864 | CFrame.new(-1.5, 1.21241796, -0.699987948, 1, 0, 0, 0, -0.866025388, -0.500000238, 0, 0.500000238, -0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1865 | CFrame.new(0.5, -1.93497717, -0.279311121, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1866 | CFrame.new(-0.5, -1.93551612, 0.5313164, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1867 | }, .3, false) | |
| 1868 | MagnitudeDamage(Torso, 20, 10, 15, math.random(0, 0), "Normal", "199149235", 1) | |
| 1869 | Effects.Block.Create(BrickColor.new(maincol), HitboxRA.CFrame, 2, 2, 2, 1, 1, 1, .08, 1) | |
| 1870 | Effects.Block.Create(BrickColor.new(maincol), HitboxLA.CFrame, 2, 2, 2, 1, 1, 1, .08, 1) | |
| 1871 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
| 1872 | LeftArm.Transparency = LeftArm.Transparency + .1 | |
| 1873 | RightArm.Transparency = RightArm.Transparency + .1 | |
| 1874 | LeftLeg.Transparency = LeftLeg.Transparency + .1 | |
| 1875 | RightLeg.Transparency = RightArm.Transparency + .1 | |
| 1876 | Head.Transparency = Head.Transparency + .1 | |
| 1877 | Torso.Transparency = Torso.Transparency + .1 | |
| 1878 | Scarf2.Transparency = Scarf2.Transparency + .1 | |
| 1879 | end | |
| 1880 | CFuncs.Sound.Create("610359442", Character, 1, 1)
| |
| 1881 | LeftArm.Transparency = 0 | |
| 1882 | RightArm.Transparency = 0 | |
| 1883 | LeftLeg.Transparency = 0 | |
| 1884 | RightLeg.Transparency = 0 | |
| 1885 | Head.Transparency = 0 | |
| 1886 | Torso.Transparency = 0 | |
| 1887 | Scarf2.Transparency = 0 | |
| 1888 | Humanoid.WalkSpeed = 25 | |
| 1889 | attack = false | |
| 1890 | end | |
| 1891 | ||
| 1892 | ||
| 1893 | function wip() | |
| 1894 | attack = true | |
| 1895 | Humanoid.WalkSpeed = 0 | |
| 1896 | Humanoid.JumpPower = 0 | |
| 1897 | bewm=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("White"), "bewm", Vector3.new(1,1,1))
| |
| 1898 | bewm.Anchored=true | |
| 1899 | bewm.CanCollide=true | |
| 1900 | bewm.CFrame=RootPart.CFrame*CFrame.new(0,80,0) | |
| 1901 | local mbewm = Instance.new("SpecialMesh", bewm)
| |
| 1902 | mbewm.MeshType = "Sphere" | |
| 1903 | mbewm.Scale = Vector3.new(0,0,0) | |
| 1904 | CFuncs.Sound.Create("471881922", bewm, 10, 1)
| |
| 1905 | Humanoid.AutoRotate = false | |
| 1906 | for i = 0, 10, 0.1 do | |
| 1907 | swait() | |
| 1908 | PlayAnimationFromTable({
| |
| 1909 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1910 | CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1911 | CFrame.new(1.64711547, 1.41346073, 0.361087859, -0.969846308, -0.171009913, -0.17364803, 0.173647985, -0.984807849, 5.96214491e-08, -0.171009898, -0.0301535726, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1912 | CFrame.new(-1.62076974, 0.0347282067, 0.036604397, 0.984807789, 0.173648089, 8.94069672e-08, -0.173648089, 0.984807849, -1.81875043e-06, -4.17232513e-07, 1.77323818e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1913 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1914 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1915 | }, .3, false) | |
| 1916 | mbewm.Scale = Vector3.new(mbewm.Scale.X+1,mbewm.Scale.Y+1,mbewm.Scale.Z+1) | |
| 1917 | Effects.Lightning.Create(efekt3.Position, bewm.Position, 3, 5, maincol, 1, 0, 1) | |
| 1918 | Effects.Lightning.Create(efekt4.Position, bewm.Position, 3, 5, "Really black", 1, 0, 1) | |
| 1919 | RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z)) | |
| 1920 | end | |
| 1921 | wait(1.5) | |
| 1922 | sniffyboy=CFuncs.Sound.Create("379250622", sref, 10, 1)
| |
| 1923 | sniffyboy.Looped = true | |
| 1924 | for i = 0, 20, 0.1 do | |
| 1925 | swait() | |
| 1926 | PlayAnimationFromTable({
| |
| 1927 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1928 | CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1929 | CFrame.new(1.50731635, 1.028705, -0.872095346, -0.846583009, -0.517408669, -0.124843016, 0.087108463, -0.366077006, 0.926498711, -0.525080562, 0.773483098, 0.354985267) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1930 | CFrame.new(-1.71551478, 0.0740617141, -0.122276708, 0.943261385, 0.326123834, 0.062461704, -0.316874564, 0.940298975, -0.124210618, -0.0992406905, 0.0973705947, 0.990288079) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1931 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1932 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1933 | }, .3, false) | |
| 1934 | mbewm.Scale = Vector3.new(mbewm.Scale.X-.5,mbewm.Scale.Y-.5,mbewm.Scale.Z-.5) | |
| 1935 | Effects.Lightning.Create(efekt3.Position, bewm.Position, 3, 5, maincol, 1, 0, 1) | |
| 1936 | Effects.Lightning.Create(efekt4.Position, bewm.Position, 3, 5, "Really black", 1, 0, 1) | |
| 1937 | RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z)) | |
| 1938 | shoot(Mouse,40,bewm,0,8) | |
| 1939 | end | |
| 1940 | Humanoid.JumpPower = 80 | |
| 1941 | Humanoid.WalkSpeed = 16 | |
| 1942 | Humanoid.AutoRotate = true | |
| 1943 | sniffyboy:Destroy() | |
| 1944 | bewm:Destroy() | |
| 1945 | attack = false | |
| 1946 | end | |
| 1947 | ||
| 1948 | ||
| 1949 | ||
| 1950 | Mouse.Button1Down:connect(function() | |
| 1951 | if attack == false and attacktype == 1 then | |
| 1952 | battac1() | |
| 1953 | attacktype = 2 | |
| 1954 | elseif attack == false and attacktype == 2 then | |
| 1955 | battac2() | |
| 1956 | attacktype = 3 | |
| 1957 | elseif attack == false and attacktype == 3 then | |
| 1958 | battac3() | |
| 1959 | attacktype = 1 | |
| 1960 | end | |
| 1961 | end) | |
| 1962 | ||
| 1963 | Mouse.KeyDown:connect(function(k) | |
| 1964 | k = k:lower() | |
| 1965 | if attack == false and k == "z" and cooldown1 >=co1 then | |
| 1966 | warpything() | |
| 1967 | cooldown1=0 | |
| 1968 | elseif attack == false and k == "x" and cooldown2 >=co2 then | |
| 1969 | cooldown2=0 | |
| 1970 | corruptedclouds() | |
| 1971 | elseif attack == false and k == "c" and orbs1 == false and orbs2 == false and cooldown3 >=co3 then | |
| 1972 | cooldown3=0 | |
| 1973 | orbos() | |
| 1974 | elseif attack == false and k == "v" and cooldown4 >=co4 then | |
| 1975 | cooldown4=0 | |
| 1976 | blasty() | |
| 1977 | elseif attack == false and k == "b" and cooldown5 >=co5 then | |
| 1978 | wip(Mouse.Hit.p) | |
| 1979 | cooldown5=0 | |
| 1980 | elseif attack == false and k == "t" then | |
| 1981 | tauntu1() | |
| 1982 | elseif attack == false and k == "y" then | |
| 1983 | tauntu2() | |
| 1984 | elseif attack == false and k == "u" then | |
| 1985 | tauntu3() | |
| 1986 | end | |
| 1987 | end) | |
| 1988 | ||
| 1989 | ||
| 1990 | function updateskills1() | |
| 1991 | if cooldown1 <= co1 then | |
| 1992 | cooldown1 = cooldown1 + 1 / 30 | |
| 1993 | end | |
| 1994 | if cooldown2 <= co2 then | |
| 1995 | cooldown2 = cooldown2 + 1 / 30 | |
| 1996 | end | |
| 1997 | if cooldown3 <= co3 then | |
| 1998 | cooldown3 = cooldown3 + 1 / 30 | |
| 1999 | end | |
| 2000 | if cooldown4 <= co4 then | |
| 2001 | cooldown4 = cooldown4 + 1 / 30 | |
| 2002 | end | |
| 2003 | if cooldown5 <= co5 then | |
| 2004 | cooldown5 = cooldown5 + 1 / 30 | |
| 2005 | end | |
| 2006 | end | |
| 2007 | ||
| 2008 | snif = false | |
| 2009 | efekt=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
| |
| 2010 | efekt.Anchored=true | |
| 2011 | efekt.CanCollide=false | |
| 2012 | efekt2=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
| |
| 2013 | efekt2.Anchored=true | |
| 2014 | efekt2.CanCollide=false | |
| 2015 | efekt3=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
| |
| 2016 | efekt3.Anchored=true | |
| 2017 | efekt3.CanCollide=false | |
| 2018 | efekt4=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
| |
| 2019 | efekt4.Anchored=true | |
| 2020 | efekt4.CanCollide=false | |
| 2021 | efekt5=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
| |
| 2022 | efekt5.Anchored=true | |
| 2023 | efekt5.CanCollide=false | |
| 2024 | ||
| 2025 | ||
| 2026 | ||
| 2027 | OwO=20 | |
| 2028 | floatyup=-1 | |
| 2029 | while true do | |
| 2030 | swait() | |
| 2031 | spinny.Position = Torso.Position | |
| 2032 | efekt.CFrame=RootPart.CFrame*CFrame.new(math.random(-fop,fop),math.random(-fop,fop),(math.random(-fop,fop))) | |
| 2033 | updateskills1() | |
| 2034 | bar5:TweenSize(UDim2.new(1 * (cooldown5 / co5), 0, 1, 0), 'Out', 'Quad', .5) | |
| 2035 | bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5) | |
| 2036 | bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5) | |
| 2037 | bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5) | |
| 2038 | bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5) | |
| 2039 | spinny.CFrame = spinny.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/45, 0) | |
| 2040 | ||
| 2041 | ||
| 2042 | ||
| 2043 | ||
| 2044 | efekt2.CFrame=spinny.CFrame*CFrame.new(spi,soi,0) | |
| 2045 | efekt3.CFrame=spinny.CFrame*CFrame.new(-spi,soi,0) | |
| 2046 | efekt4.CFrame=spinny.CFrame*CFrame.new(spi-OwO,soi,0) | |
| 2047 | efekt5.CFrame=spinny.CFrame*CFrame.new(-spi+OwO,soi,0) | |
| 2048 | sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0) | |
| 2049 | for i, v in pairs(Character:GetChildren()) do | |
| 2050 | if v:IsA("Part") then
| |
| 2051 | v.Material = "SmoothPlastic" | |
| 2052 | elseif v:IsA("Accessory") then
| |
| 2053 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 2054 | end | |
| 2055 | end | |
| 2056 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 2057 | velocity = RootPart.Velocity.y | |
| 2058 | sine = sine + change | |
| 2059 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 2060 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 2061 | Anim = "Jump" | |
| 2062 | if attack == false then | |
| 2063 | PlayAnimationFromTable({
| |
| 2064 | CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2065 | CFrame.new(0, 1.64206743, -0.0635313094, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2066 | CFrame.new(1.79116416, 1.59931493, -0.0296922661, -0.878741562, -0.476725847, 0.0233638063, 0.474528521, -0.877861023, -0.0646751374, 0.0513424724, -0.0457459092, 0.997632861) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2067 | CFrame.new(-1.76288748, 1.570122, 0.0706513077, -0.875000715, 0.482961625, -0.0334950797, -0.475173414, -0.870010674, -0.131498694, -0.0926498771, -0.0991454795, 0.990750372) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2068 | CFrame.new(0.5, -1.33184052, -0.517642975, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2069 | CFrame.new(-0.5, -1.53184128, -0.51764679, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2070 | }, .3, false) | |
| 2071 | end | |
| 2072 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 2073 | Anim = "Fall" | |
| 2074 | if attack == false then | |
| 2075 | PlayAnimationFromTable({
| |
| 2076 | CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2077 | CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2078 | CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2079 | CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2080 | CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2081 | CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2082 | }, .3, false) | |
| 2083 | end | |
| 2084 | --I was too lazy to make idle anims, so thanks to When_kun for doing it for me.-- | |
| 2085 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 2086 | Anim = "Idle" | |
| 2087 | if attack == false then | |
| 2088 | change = 1 | |
| 2089 | PlayAnimationFromTable({
| |
| 2090 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 2091 | CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2092 | CFrame.new(0.284558058, 0.352360129, -0.585287333, 0.258820832, 0.965924978, -2.79002438e-06, 0.084192656, -0.0225623567, -0.996192336, -0.962249458, 0.257835418, -0.0871634856) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0), | |
| 2093 | CFrame.new(-0.273653597, 0.406440526, -0.577382147, 0.258828282, -0.965923369, -1.5671344e-07, -0.167737693, -0.0449467227, -0.984804809, 0.951247692, 0.254895747, -0.17365551) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0), | |
| 2094 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2095 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2096 | }, .3, false) | |
| 2097 | end | |
| 2098 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 2099 | Anim = "Walk" | |
| 2100 | if attack == false then | |
| 2101 | change = 2 | |
| 2102 | PlayAnimationFromTable({
| |
| 2103 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(-math.rad(35), 0, 0), | |
| 2104 | CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2105 | CFrame.new(1.53044462, 0.0434587747, 0.373253405, 0.981754541, -0.171075299, -0.0830325559, 0.190161183, 0.883219123, 0.428673476, 6.77824119e-07, -0.43664071, 0.89963758) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2106 | CFrame.new(-1.56102109, 0.0510505885, 0.286096632, 0.977345586, 0.197517931, 0.076041609, -0.211649761, 0.91208744, 0.351141959, 5.20918206e-07, -0.359280914, 0.933229327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2107 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2108 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2109 | }, .3, false) | |
| 2110 | end | |
| 2111 | end | |
| 2112 | if 0 < #Effects then | |
| 2113 | for e = 1, #Effects do | |
| 2114 | if Effects[e] ~= nil then | |
| 2115 | local Thing = Effects[e] | |
| 2116 | if Thing ~= nil then | |
| 2117 | local Part = Thing[1] | |
| 2118 | local Mode = Thing[2] | |
| 2119 | local Delay = Thing[3] | |
| 2120 | local IncX = Thing[4] | |
| 2121 | local IncY = Thing[5] | |
| 2122 | local IncZ = Thing[6] | |
| 2123 | if Thing[2] == "Shoot" then | |
| 2124 | local Look = Thing[1] | |
| 2125 | local move = 5 | |
| 2126 | local hit, pos = rayCast(Thing[4], Thing[1], move, Character) | |
| 2127 | if Thing[10] ~= nil then | |
| 2128 | da = pos | |
| 2129 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
| 2130 | cfa = CFrame.new(Thing[4], pos) | |
| 2131 | tehCF = cfa:lerp(cf2, 0.2) | |
| 2132 | Thing[1] = tehCF.lookVector | |
| 2133 | end | |
| 2134 | local mag = (Thing[4] - pos).magnitude | |
| 2135 | Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4) | |
| 2136 | Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, 3, 3, 5, 5, 5, 0.15) | |
| 2137 | Thing[4] = Thing[4] + Look * move | |
| 2138 | Thing[3] = Thing[3] - 1 | |
| 2139 | if 2 < Thing[5] then | |
| 2140 | Thing[5] = Thing[5] - 0.3 | |
| 2141 | Thing[6] = Thing[6] - 0.3 | |
| 2142 | end | |
| 2143 | if hit ~= nil then | |
| 2144 | Thing[3] = 0 | |
| 2145 | MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8) | |
| 2146 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 2147 | ref.Anchored = true | |
| 2148 | ref.CFrame = CFrame.new(pos) | |
| 2149 | Effects.Block.Create(BrickColor.new(Torso.Color), CFrame.new(pos), 1, 1, 1, 2, 2, 2, .05) | |
| 2150 | Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03) | |
| 2151 | game:GetService("Debris"):AddItem(ref, 1)
| |
| 2152 | end | |
| 2153 | if Thing[3] <= 0 then | |
| 2154 | table.remove(Effects, e) | |
| 2155 | end | |
| 2156 | end | |
| 2157 | do | |
| 2158 | do | |
| 2159 | if Thing[2] == "FireWave" then | |
| 2160 | if Thing[3] <= Thing[4] then | |
| 2161 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
| 2162 | Thing[3] = Thing[3] + 1 | |
| 2163 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
| 2164 | else | |
| 2165 | Part.Parent = nil | |
| 2166 | table.remove(Effects, e) | |
| 2167 | end | |
| 2168 | end | |
| 2169 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
| 2170 | if Thing[1].Transparency <= 1 then | |
| 2171 | if Thing[2] == "Block1" then | |
| 2172 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2173 | Mesh = Thing[7] | |
| 2174 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2175 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2176 | else | |
| 2177 | if Thing[2] == "Block2" then | |
| 2178 | Thing[1].CFrame = Thing[1].CFrame | |
| 2179 | Mesh = Thing[7] | |
| 2180 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2181 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2182 | else | |
| 2183 | if Thing[2] == "Fire" then | |
| 2184 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
| 2185 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2186 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2187 | else | |
| 2188 | if Thing[2] == "Cylinder" then | |
| 2189 | Mesh = Thing[7] | |
| 2190 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2191 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2192 | else | |
| 2193 | if Thing[2] == "Blood" then | |
| 2194 | Mesh = Thing[7] | |
| 2195 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
| 2196 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2197 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2198 | else | |
| 2199 | if Thing[2] == "Elec" then | |
| 2200 | Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 2201 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2202 | else | |
| 2203 | if Thing[2] == "Disappear" then | |
| 2204 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2205 | end | |
| 2206 | end | |
| 2207 | end | |
| 2208 | end | |
| 2209 | end | |
| 2210 | end | |
| 2211 | end | |
| 2212 | else | |
| 2213 | Part.Parent = nil | |
| 2214 | table.remove(Effects, e) | |
| 2215 | end | |
| 2216 | end | |
| 2217 | end | |
| 2218 | end | |
| 2219 | end | |
| 2220 | end | |
| 2221 | end | |
| 2222 | end | |
| 2223 | ||
| 2224 | if orbs1 == true then | |
| 2225 | orb1.CFrame=spinny.CFrame*CFrame.new(5,0,0) | |
| 2226 | end | |
| 2227 | ||
| 2228 | if orbs2 == true then | |
| 2229 | orb2.CFrame=spinny.CFrame*CFrame.new(-5,0,0) | |
| 2230 | end | |
| 2231 | ||
| 2232 | Humanoid.Health = math.huge | |
| 2233 | Effects.Ring.Create(BrickColor.new("Really black"), efekt2.CFrame, spo, spoi, spo, spo, spoi, spo, schpe, 2)
| |
| 2234 | Effects.Ring.Create(BrickColor.new(maincol), efekt3.CFrame, spo, spoi, spo, spo, spoi, spo, schpe, 2) | |
| 2235 | Effects.Ring.Create(BrickColor.new(maincol), efekt4.CFrame, spo/2, spoi/2, spo/2, spo/2, spoi/2, spo/2/2, .06, 2) | |
| 2236 | Effects.Ring.Create(BrickColor.new("Really black"), efekt5.CFrame, spo/2, spoi/2, spo/2, spo/2, spoi/2, spo/2, .06, 2)
| |
| 2237 | end |