SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has been converted to FE by iPxter | |
| 2 | ||
| 3 | ||
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | do | |
| 7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 8 | script.Parent = Player.Character | |
| 9 | ||
| 10 | --RemoteEvent for communicating | |
| 11 | local Event = Instance.new("RemoteEvent")
| |
| 12 | Event.Name = "UserInput_Event" | |
| 13 | ||
| 14 | --Fake event to make stuff like Mouse.KeyDown work | |
| 15 | local function fakeEvent() | |
| 16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 17 | - | local rs = game:GetService("RunService").RenderStepped
|
| 17 | + | t.connect = t.Connect |
| 18 | return t | |
| 19 | end | |
| 20 | ||
| 21 | --Creating fake input objects with fake variables | |
| 22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 26 | end} | |
| 27 | --Merged 2 functions into one by checking amount of arguments | |
| 28 | CAS.UnbindAction = CAS.BindAction | |
| 29 | ||
| 30 | --This function will trigger the events that have been :Connect()'ed | |
| 31 | local function te(self,ev,...) | |
| 32 | local t = m[ev] | |
| 33 | if t and t._fakeEvent and t.Function then | |
| 34 | t.Function(...) | |
| 35 | end | |
| 36 | end | |
| 37 | m.TrigEvent = te | |
| 38 | UIS.TrigEvent = te | |
| 39 | ||
| 40 | Event.OnServerEvent:Connect(function(plr,io) | |
| 41 | if plr~=Player then return end | |
| 42 | if io.isMouse then | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | else | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local UIS = game:GetService("UserInputService")
| |
| 66 | local input = function(io,a) | |
| 67 | if a then return end | |
| 68 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 70 | end | |
| 71 | UIS.InputBegan:Connect(input) | |
| 72 | UIS.InputEnded:Connect(input) | |
| 73 | ||
| 74 | local Mouse = Player:GetMouse() | |
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 85 | end | |
| 86 | ||
| 87 | local p = owner | |
| 88 | local char = p.Character | |
| 89 | local larm = char["Left Arm"] | |
| 90 | local rarm = char["Right Arm"] | |
| 91 | local lleg = char["Left Leg"] | |
| 92 | local rleg = char["Right Leg"] | |
| 93 | local hed = char.Head | |
| 94 | local torso = char.Torso | |
| 95 | local hum = char.Humanoid | |
| 96 | local cam = game.Workspace.CurrentCamera | |
| 97 | local root = char.HumanoidRootPart | |
| 98 | local deb = false | |
| 99 | local shot = 0 | |
| 100 | local debris=game:service"Debris" | |
| 101 | local l = game:GetService("Lighting")
| |
| 102 | local rs = game:GetService("RunService").Stepped
| |
| 103 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 104 | math.randomseed(os.time()) | |
| 105 | for i,v in pairs (hed:GetChildren()) do | |
| 106 | if v:IsA("Sound") then
| |
| 107 | v:Destroy() | |
| 108 | end | |
| 109 | end | |
| 110 | -------------------------------------------------------------------- | |
| 111 | ||
| 112 | hed.face.Texture = "rbxassetid://589766751" | |
| 113 | ---------------------------------------------------- | |
| 114 | Debounces = {
| |
| 115 | CanAttack = true; | |
| 116 | NoIdl = false; | |
| 117 | Slashing = false; | |
| 118 | Slashed = false; | |
| 119 | RPunch = false; | |
| 120 | RPunched = false; | |
| 121 | LPunch = false; | |
| 122 | LPunched = false; | |
| 123 | } | |
| 124 | local Touche = {char.Name, }
| |
| 125 | ---------------------------------------------------- | |
| 126 | char["Body Colors"].HeadColor = BrickColor.new("White")
| |
| 127 | char["Body Colors"].TorsoColor = BrickColor.new("White")
| |
| 128 | char["Body Colors"].LeftArmColor = BrickColor.new("White")
| |
| 129 | char["Body Colors"].RightArmColor = BrickColor.new("White")
| |
| 130 | ---------------------------------------------------- | |
| 131 | ---------------------------------------------------------------- | |
| 132 | ||
| 133 | ---------------------------- SHIRT AND PANTS -- | |
| 134 | -------------------------------- | |
| 135 | shirt = Instance.new("Shirt", char)
| |
| 136 | shirt.Name = "Shirt" | |
| 137 | pants = Instance.new("Pants", char)
| |
| 138 | pants.Name = "Pants" | |
| 139 | char.Shirt.ShirtTemplate = "rbxassetid://769121053" | |
| 140 | char.Pants.PantsTemplate = "rbxassetid://1507168534" | |
| 141 | ||
| 142 | --------------------------------------------------------- | |
| 143 | ||
| 144 | -------------- | |
| 145 | purple = Color3.new(1, 1, 1) | |
| 146 | local player = "LocalPlayer" | |
| 147 | local Character = game.Players[player].Character | |
| 148 | it = Instance.new | |
| 149 | vt = Vector3.new | |
| 150 | bc = BrickColor.new | |
| 151 | cf = CFrame.new | |
| 152 | local hed = Character.Head | |
| 153 | local ultcooldown = 99999 | |
| 154 | ||
| 155 | paly = game.Players.LocalPlayer | |
| 156 | p = game.Players.LocalPlayer | |
| 157 | char = paly.Character | |
| 158 | torso = char.Torso | |
| 159 | neck = char.Torso.Neck | |
| 160 | hum = char.Humanoid | |
| 161 | Player = game:GetService("Players").LocalPlayer
| |
| 162 | local mouse = Player:GetMouse() | |
| 163 | Character = Player.Character | |
| 164 | tors = Character.Torso | |
| 165 | lleg = Character["Left Leg"] | |
| 166 | root = Character.HumanoidRootPart | |
| 167 | hed = Character.Head | |
| 168 | rleg = Character["Right Leg"] | |
| 169 | rarm = Character["Right Arm"] | |
| 170 | larm = Character["Left Arm"] | |
| 171 | local Effects = {}
| |
| 172 | ||
| 173 | ||
| 174 | function ExplodeMass(rad,par) | |
| 175 | local expart = Instance.new("Part",script.Parent)
| |
| 176 | local expart2 = Instance.new("Part",script.Parent)
| |
| 177 | local partMesh = Instance.new("SpecialMesh",expart)
| |
| 178 | partMesh.MeshType = "Sphere" | |
| 179 | local partMesh2 = Instance.new("SpecialMesh",expart2)
| |
| 180 | partMesh2.MeshType = "Sphere" | |
| 181 | local expld = Instance.new("Explosion", script.Parent)
| |
| 182 | local plode = Instance.new("Sound",workspace)
| |
| 183 | plode.SoundId = "rbxassetid://579687077" | |
| 184 | plode.Volume = 1 | |
| 185 | plode.Pitch = 0.85 | |
| 186 | plode.Looped = false | |
| 187 | plode:Play() | |
| 188 | local plodez = Instance.new("Sound",workspace)
| |
| 189 | plodez.SoundId = "rbxassetid://288641686" | |
| 190 | plodez.Volume = 1 | |
| 191 | plodez.Pitch = 0.75 | |
| 192 | plodez.Looped = false | |
| 193 | plodez:Play() | |
| 194 | local plodeza = Instance.new("Sound",workspace)
| |
| 195 | plodeza.SoundId = "rbxassetid://197161452" | |
| 196 | plodeza.Volume = 0.85 | |
| 197 | plodeza.Pitch = 0.65 | |
| 198 | plodeza.Looped = false | |
| 199 | plodeza:Play() | |
| 200 | local plodezar = Instance.new("Sound",workspace)
| |
| 201 | plodezar.SoundId = "rbxassetid://197161452" | |
| 202 | plodezar.Volume = 0.85 | |
| 203 | plodezar.Pitch = 0.25 | |
| 204 | plodezar.Looped = false | |
| 205 | plodezar:Play() | |
| 206 | local s3 = Instance.new("Sound",workspace)
| |
| 207 | s3.SoundId = "rbxassetid://268931189" | |
| 208 | s3.Pitch = 1 | |
| 209 | s3.Volume = 1 | |
| 210 | s3.Looped = false | |
| 211 | s3:Play() | |
| 212 | xay = Instance.new("Sound",workspace)
| |
| 213 | xay.SoundId = "rbxassetid://419447292" | |
| 214 | xay.Pitch = 1 | |
| 215 | xay.Volume = 2.5 | |
| 216 | xay:Play() | |
| 217 | expld.BlastRadius = rad | |
| 218 | expld.Position = par.Position | |
| 219 | partMesh.Scale = vt(rad,rad,rad) | |
| 220 | expart.Size = vt(1,1,1)*1.5 | |
| 221 | expart.Transparency = 0 | |
| 222 | expart.Anchored = true | |
| 223 | expart.Material = "Neon" | |
| 224 | expart.BrickColor = bc("White")
| |
| 225 | expart.CFrame = par.CFrame | |
| 226 | partMesh2.Scale = vt(rad,rad,rad) | |
| 227 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
| 228 | expart2.Transparency = 0.5 | |
| 229 | expart2.Anchored = true | |
| 230 | expart2.Material = "Neon" | |
| 231 | expart2.BrickColor = Character.Torso.BrickColor | |
| 232 | expart2.CFrame = par.CFrame | |
| 233 | local value = 1*rad/10 | |
| 234 | par:Destroy() | |
| 235 | for i = 0, 300 do | |
| 236 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
| 237 | expart.CFrame = expart.CFrame | |
| 238 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
| 239 | expart2.CFrame = expart.CFrame | |
| 240 | value = value - 0.0175*rad/10 | |
| 241 | if value <= 0 then | |
| 242 | expart.Transparency = expart.Transparency + 0.0125 | |
| 243 | expart2.Transparency = expart2.Transparency + 0.0125 | |
| 244 | value = 0.25 | |
| 245 | end | |
| 246 | wait() | |
| 247 | end | |
| 248 | plode.Parent = nil | |
| 249 | expart.Parent = nil | |
| 250 | expart2.Parent = nil | |
| 251 | expld.Parent = nil | |
| 252 | end | |
| 253 | ||
| 254 | function ExplodeMass2(rad,par) | |
| 255 | local expart = Instance.new("Part",script.Parent)
| |
| 256 | local expart2 = Instance.new("Part",script.Parent)
| |
| 257 | local partMesh = Instance.new("SpecialMesh",expart)
| |
| 258 | partMesh.MeshType = "Sphere" | |
| 259 | local partMesh2 = Instance.new("SpecialMesh",expart2)
| |
| 260 | partMesh2.MeshType = "Sphere" | |
| 261 | local expld = Instance.new("Explosion", script.Parent)
| |
| 262 | local plode = Instance.new("Sound",workspace)
| |
| 263 | plode.SoundId = "rbxassetid://579687077" | |
| 264 | plode.Volume = 1 | |
| 265 | plode.Pitch = 0.8 | |
| 266 | plode.Looped = false | |
| 267 | plode:Play() | |
| 268 | local plodez = Instance.new("Sound",workspace)
| |
| 269 | plodez.SoundId = "rbxassetid://288641686" | |
| 270 | plodez.Volume = 1 | |
| 271 | plodez.Pitch = 0.7 | |
| 272 | plodez.Looped = false | |
| 273 | plodez:Play() | |
| 274 | local plodeza = Instance.new("Sound",workspace)
| |
| 275 | plodeza.SoundId = "rbxassetid://197161452" | |
| 276 | plodeza.Volume = 0.85 | |
| 277 | plodeza.Pitch = 0.6 | |
| 278 | plodeza.Looped = false | |
| 279 | plodeza:Play() | |
| 280 | local plodezar = Instance.new("Sound",workspace)
| |
| 281 | plodezar.SoundId = "rbxassetid://197161452" | |
| 282 | plodezar.Volume = 0.85 | |
| 283 | plodezar.Pitch = 0.2 | |
| 284 | plodezar.Looped = false | |
| 285 | plodezar:Play() | |
| 286 | local s3 = Instance.new("Sound",workspace)
| |
| 287 | s3.SoundId = "rbxassetid://268931189" | |
| 288 | s3.Pitch = 0.85 | |
| 289 | s3.Volume = 1 | |
| 290 | s3.Looped = false | |
| 291 | s3:Play() | |
| 292 | xay = Instance.new("Sound",workspace)
| |
| 293 | xay.SoundId = "rbxassetid://419447292" | |
| 294 | xay.Pitch = 1 | |
| 295 | xay.Volume = 3.5 | |
| 296 | xay:Play() | |
| 297 | expld.BlastRadius = rad | |
| 298 | expld.Position = par.Position | |
| 299 | partMesh.Scale = vt(rad,rad,rad) | |
| 300 | expart.Size = vt(1,1,1)*1.5 | |
| 301 | expart.Transparency = 0 | |
| 302 | expart.Anchored = true | |
| 303 | expart.Material = "Neon" | |
| 304 | expart.BrickColor = bc("Really black")
| |
| 305 | expart.CFrame = par.CFrame | |
| 306 | partMesh2.Scale = vt(rad,rad,rad) | |
| 307 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
| 308 | expart2.Transparency = 0.5 | |
| 309 | expart2.Anchored = true | |
| 310 | expart2.Material = "Neon" | |
| 311 | expart2.BrickColor = Character.Torso.BrickColor | |
| 312 | expart2.CFrame = par.CFrame | |
| 313 | local value = 1*rad/10 | |
| 314 | par:Destroy() | |
| 315 | for i = 0, 300 do | |
| 316 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
| 317 | expart.CFrame = expart.CFrame | |
| 318 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
| 319 | expart2.CFrame = expart.CFrame | |
| 320 | value = value - 0.0175*rad/10 | |
| 321 | if value <= 0 then | |
| 322 | expart.Transparency = expart.Transparency + 0.0125 | |
| 323 | expart2.Transparency = expart2.Transparency + 0.0125 | |
| 324 | value = 0.25 | |
| 325 | end | |
| 326 | wait() | |
| 327 | end | |
| 328 | plode.Parent = nil | |
| 329 | expart.Parent = nil | |
| 330 | expart2.Parent = nil | |
| 331 | expld.Parent = nil | |
| 332 | end | |
| 333 | ||
| 334 | function Blaze2() | |
| 335 | if ultcooldown >= 30 then | |
| 336 | ultcooldown = ultcooldown - 30 | |
| 337 | wit = Character.Torso.BrickColor.Color | |
| 338 | local sloc = Instance.new("Part",workspace)
| |
| 339 | local msh = Instance.new("SpecialMesh",sloc)
| |
| 340 | msh.MeshType = "Sphere" | |
| 341 | sloc.Size = vt(1,1,1) | |
| 342 | sloc.Transparency = 1 | |
| 343 | sloc.BrickColor = Character.Torso.BrickColor | |
| 344 | sloc.Position = hed.Position + vt(0,0,0) | |
| 345 | sloc.CanCollide = false | |
| 346 | sloc.Shape = "Ball" | |
| 347 | sloc.Anchored = true | |
| 348 | sloc.Material = "Neon" | |
| 349 | local forcefield = Instance.new("ForceField",Character)
| |
| 350 | local kolor = Instance.new("ColorCorrectionEffect",game.Lighting)
| |
| 351 | kolor.TintColor = Character.Torso.BrickColor.Color | |
| 352 | local glowz = Instance.new("ParticleEmitter")
| |
| 353 | glowz.LightEmission = 0 | |
| 354 | glowz.Parent = sloc | |
| 355 | glowz.Texture = "rbxassetid://284205403" | |
| 356 | glowz.Color = ColorSequence.new(wit) | |
| 357 | glowz.Size = NumberSequence.new(15) | |
| 358 | glowz.Speed = NumberRange.new(100,250) | |
| 359 | glowz.LockedToPart = false | |
| 360 | glowz.Transparency = NumberSequence.new(0.75) | |
| 361 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
| 362 | glowz.Lifetime = NumberRange.new(1) | |
| 363 | glowz.Rate = 50 | |
| 364 | glowz.VelocitySpread = 9001 | |
| 365 | local s = Instance.new("Sound",workspace)
| |
| 366 | s.SoundId = "rbxassetid://331888777" | |
| 367 | s.Pitch = 0.45 | |
| 368 | s.Volume = 1.5 | |
| 369 | s.Looped = false | |
| 370 | s:Play() | |
| 371 | local s2 = Instance.new("Sound",workspace)
| |
| 372 | s2.SoundId = "rbxassetid://331888777" | |
| 373 | s2.Pitch = 0.5 | |
| 374 | s2.Volume = 1.5 | |
| 375 | s2.Looped = false | |
| 376 | s2:Play() | |
| 377 | local val = 1*5 | |
| 378 | for i = 0 , 20 do | |
| 379 | sloc.Transparency = sloc.Transparency - 0.055 | |
| 380 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 381 | val = val - 0.05*5 | |
| 382 | kolor.Brightness = kolor.Brightness - 0.1 | |
| 383 | kolor.Contrast = kolor.Contrast + 0.1 | |
| 384 | wait() | |
| 385 | end | |
| 386 | for i = 0 , 5 do | |
| 387 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 388 | val = val + 0.05*5 | |
| 389 | kolor.Brightness = kolor.Brightness + 0.5 | |
| 390 | kolor.Contrast = kolor.Contrast - 0.5 | |
| 391 | wait() | |
| 392 | end | |
| 393 | for i = 0 , 5 do | |
| 394 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 395 | val = val - 0.05*5 | |
| 396 | kolor.Brightness = kolor.Brightness - 0.5 | |
| 397 | kolor.Contrast = kolor.Contrast + 0.5 | |
| 398 | wait() | |
| 399 | end | |
| 400 | for i = 0 , 5 do | |
| 401 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 402 | val = val + 0.05*10 | |
| 403 | kolor.Brightness = kolor.Brightness + 0.5 | |
| 404 | kolor.Contrast = kolor.Contrast - 0.5 | |
| 405 | wait() | |
| 406 | end | |
| 407 | for i = 0 , 5 do | |
| 408 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 409 | val = val - 0.05*10 | |
| 410 | kolor.Brightness = kolor.Brightness - 0.5 | |
| 411 | kolor.Contrast = kolor.Contrast + 0.5 | |
| 412 | wait() | |
| 413 | end | |
| 414 | for i = 0 , 5 do | |
| 415 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 416 | val = val + 0.05*20 | |
| 417 | kolor.Brightness = kolor.Brightness + 0.5 | |
| 418 | kolor.Contrast = kolor.Contrast - 0.5 | |
| 419 | wait() | |
| 420 | end | |
| 421 | for i = 0 , 5 do | |
| 422 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 423 | val = val - 0.05*20 | |
| 424 | kolor.Brightness = kolor.Brightness - 0.5 | |
| 425 | kolor.Contrast = kolor.Contrast + 0.5 | |
| 426 | wait() | |
| 427 | end | |
| 428 | for i = 0 , 5 do | |
| 429 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 430 | val = val + 0.05*40 | |
| 431 | kolor.Brightness = kolor.Brightness + 0.5 | |
| 432 | kolor.Contrast = kolor.Contrast - 0.5 | |
| 433 | wait() | |
| 434 | end | |
| 435 | for i = 0 , 5 do | |
| 436 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 437 | val = val - 0.05*40 | |
| 438 | kolor.Brightness = kolor.Brightness - 0.5 | |
| 439 | kolor.Contrast = kolor.Contrast + 0.5 | |
| 440 | wait() | |
| 441 | end | |
| 442 | for i = 0 , 5 do | |
| 443 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 444 | val = val + 0.05*45 | |
| 445 | kolor.Brightness = kolor.Brightness + 0.5 | |
| 446 | kolor.Contrast = kolor.Contrast - 0.5 | |
| 447 | wait() | |
| 448 | end | |
| 449 | for i = 0 , 5 do | |
| 450 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 451 | val = val - 0.05*45 | |
| 452 | kolor.Brightness = kolor.Brightness - 0.5 | |
| 453 | kolor.Contrast = kolor.Contrast + 0.5 | |
| 454 | wait() | |
| 455 | end | |
| 456 | for i = 0 , 5 do | |
| 457 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 458 | val = val + 0.05*50 | |
| 459 | kolor.Brightness = kolor.Brightness + 0.5 | |
| 460 | kolor.Contrast = kolor.Contrast - 0.5 | |
| 461 | wait() | |
| 462 | end | |
| 463 | for i = 0 , 20 do | |
| 464 | sloc.Transparency = sloc.Transparency + 0.055 | |
| 465 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 466 | val = val - 0.05*50 | |
| 467 | wait() | |
| 468 | end | |
| 469 | kolor:Destroy() | |
| 470 | ExplodeMass2(125,sloc) | |
| 471 | sloc:Destroy() | |
| 472 | forcefield:Destroy() | |
| 473 | end | |
| 474 | if ultcooldown < 1 then | |
| 475 | for i = 0, 29 do | |
| 476 | ultcooldown = ultcooldown + 1 | |
| 477 | wait(1) | |
| 478 | end | |
| 479 | end | |
| 480 | end | |
| 481 | ||
| 482 | function Blaze() | |
| 483 | if ultcooldown >= 30 then | |
| 484 | local kolor = Instance.new("ColorCorrectionEffect",game.Lighting)
| |
| 485 | local see = Instance.new("Sound",workspace)
| |
| 486 | see.SoundId = "rbxassetid://21420962" | |
| 487 | see.Pitch = 1 | |
| 488 | see.Volume = 2.75 | |
| 489 | see.Looped = false | |
| 490 | see:Play() | |
| 491 | kolor.Brightness = -1 | |
| 492 | kolor.Contrast = -1 | |
| 493 | kolor.TintColor = Character.Torso.BrickColor.Color | |
| 494 | wait(0.1) | |
| 495 | for i = 0, 9 do | |
| 496 | kolor.Brightness = kolor.Brightness + 0.35 | |
| 497 | kolor.Contrast = kolor.Contrast + 0.35 | |
| 498 | wait(0.05) | |
| 499 | end | |
| 500 | for i = 0, 9 do | |
| 501 | kolor.Brightness = kolor.Brightness - 0.35 | |
| 502 | kolor.Contrast = kolor.Contrast - 0.35 | |
| 503 | wait(0.05) | |
| 504 | end | |
| 505 | kolor:Destroy() | |
| 506 | local sloc = Instance.new("Part",workspace)
| |
| 507 | local msh = Instance.new("SpecialMesh",sloc)
| |
| 508 | msh.MeshType = "Sphere" | |
| 509 | sloc.Size = vt(1,1,1) | |
| 510 | sloc.Transparency = 1 | |
| 511 | - | local rs = game:GetService("RunService").RenderStepped
|
| 511 | + | |
| 512 | sloc.Position = hed.Position + vt(0,5,0) | |
| 513 | sloc.CanCollide = false | |
| 514 | sloc.Shape = "Ball" | |
| 515 | sloc.Anchored = true | |
| 516 | sloc.Material = "Neon" | |
| 517 | local s = Instance.new("Sound",workspace)
| |
| 518 | s.SoundId = "rbxassetid://342793847" | |
| 519 | s.Pitch = 1 | |
| 520 | s.Volume = 1 | |
| 521 | s.Looped = false | |
| 522 | s:Play() | |
| 523 | local s2 = Instance.new("Sound",workspace)
| |
| 524 | s2.SoundId = "rbxassetid://137463716" | |
| 525 | s2.Pitch = 0.25 | |
| 526 | s2.Volume = 1 | |
| 527 | s2.Looped = false | |
| 528 | s2:Play() | |
| 529 | local val = 0.65*5 | |
| 530 | for i = 0 , 75 do | |
| 531 | sloc.Transparency = sloc.Transparency - 0.035 | |
| 532 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 533 | sloc.Position = sloc.Position + vt(0,val,0) | |
| 534 | val = val - 0.0075*5 | |
| 535 | wait() | |
| 536 | end | |
| 537 | msh.Scale = msh.Scale - vt(1,1,1) | |
| 538 | sloc.Transparency = sloc.Transparency + 0.015 | |
| 539 | local spart = Instance.new("Part",workspace)
| |
| 540 | local msh2 = Instance.new("SpecialMesh",spart)
| |
| 541 | msh2.MeshType = "Sphere" | |
| 542 | spart.Size = vt(2,2,2) | |
| 543 | spart.Shape = "Ball" | |
| 544 | spart.BrickColor = Character.Torso.BrickColor | |
| 545 | spart.Material = "Neon" | |
| 546 | spart.Transparency = 0 | |
| 547 | spart.Anchored = false | |
| 548 | msh2.Scale = msh.Scale/2 | |
| 549 | spart.Rotation = hed.Rotation | |
| 550 | spart.CanCollide = false | |
| 551 | spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0)) | |
| 552 | local bv = Instance.new("BodyVelocity")
| |
| 553 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 554 | bv.velocity = spart.CFrame.lookVector*75 | |
| 555 | bv.Parent = spart | |
| 556 | local tick = Instance.new("Sound",workspace)
| |
| 557 | tick.SoundId = "rbxassetid://203691467" | |
| 558 | tick.Volume = 2 | |
| 559 | tick.Pitch = 0.75 | |
| 560 | tick:Play() | |
| 561 | sloc:Destroy() | |
| 562 | wait(0.00001) | |
| 563 | pewdiepie=spart.Touched:connect(function(hit) | |
| 564 | ExplodeMass(100,spart) | |
| 565 | end) | |
| 566 | sloc:Destroy() | |
| 567 | end | |
| 568 | if ultcooldown < 1 then | |
| 569 | for i = 0, 29 do | |
| 570 | ultcooldown = ultcooldown + 1 | |
| 571 | wait(1) | |
| 572 | end | |
| 573 | end | |
| 574 | end | |
| 575 | ||
| 576 | euler = CFrame.fromEulerAnglesXYZ | |
| 577 | angles = CFrame.Angles | |
| 578 | mr = math.rad | |
| 579 | local Weapon = {}
| |
| 580 | local p = game.Players.LocalPlayer | |
| 581 | local char = p.Character | |
| 582 | local mouse = p:GetMouse() | |
| 583 | local larm = char["Left Arm"] | |
| 584 | local rarm = char["Right Arm"] | |
| 585 | local lleg = char["Left Leg"] | |
| 586 | local rleg = char["Right Leg"] | |
| 587 | local hed = char.Head | |
| 588 | local torso = char.Torso | |
| 589 | local hum = char.Humanoid | |
| 590 | local cam = game.Workspace.CurrentCamera | |
| 591 | local root = char.HumanoidRootPart | |
| 592 | local deb = false | |
| 593 | local shot = 0 | |
| 594 | local debris=game:service"Debris" | |
| 595 | local l = game:GetService("Lighting")
| |
| 596 | local rs = game:GetService("RunService").Stepped
| |
| 597 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 598 | math.randomseed(os.time()) | |
| 599 | for i,v in pairs (hed:GetChildren()) do | |
| 600 | if v:IsA("Sound") then
| |
| 601 | v:Destroy() | |
| 602 | end | |
| 603 | end | |
| 604 | ||
| 605 | wait(0.016666666666667) | |
| 606 | script.Archivable = false | |
| 607 | Effects = {}
| |
| 608 | local Player = game.Players.localPlayer | |
| 609 | local Character = Player.Character | |
| 610 | local Humanoid = Character.Humanoid | |
| 611 | local mouse = Player:GetMouse() | |
| 612 | local m = Instance.new("Model", Character)
| |
| 613 | m.Name = "WeaponModel" | |
| 614 | local effect = Instance.new("Model", Character)
| |
| 615 | effect.Name = "effecsfsafzx" | |
| 616 | local demon = Instance.new("Model", Character)
| |
| 617 | demon.Name = "demdemd" | |
| 618 | local LeftArm = Character["Left Arm"] | |
| 619 | local RightArm = Character["Right Arm"] | |
| 620 | local LeftLeg = Character["Left Leg"] | |
| 621 | local RightLeg = Character["Right Leg"] | |
| 622 | local do2target = nil | |
| 623 | local Head = Character.Head | |
| 624 | local Torso = Character.Torso | |
| 625 | TorsoColor = Torso.BrickColor | |
| 626 | z = Instance.new("Sound", Torso)
| |
| 627 | z.SoundId = "rbxassetid://0" -- Put Music ID Here. | |
| 628 | z.Looped = true | |
| 629 | z.Pitch = 0 | |
| 630 | z.Volume = 0 | |
| 631 | wait(.1) | |
| 632 | z:Play() | |
| 633 | local cam = game.Workspace.CurrentCamera | |
| 634 | local RootPart = Character.HumanoidRootPart | |
| 635 | local RootJoint = RootPart.RootJoint | |
| 636 | local equipped = false | |
| 637 | local attack = false | |
| 638 | local Anim = "Idle" | |
| 639 | local idle = 0 | |
| 640 | local attacktype = 1 | |
| 641 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
| 642 | local velocity = RootPart.Velocity.y | |
| 643 | local sine = 0 | |
| 644 | local change = 1 | |
| 645 | local mana = 0 | |
| 646 | local it = Instance.new | |
| 647 | vt = Vector3.new | |
| 648 | local grabbed = false | |
| 649 | local cf = CFrame.new | |
| 650 | local mr = math.rad | |
| 651 | local angles = CFrame.Angles | |
| 652 | local ud = UDim2.new | |
| 653 | local c3 = Color3.new | |
| 654 | local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 655 | Humanoid.Animator:Destroy() | |
| 656 | Character.Animate:Destroy() | |
| 657 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 658 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 659 | local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0)) | |
| 660 | RSH = nil | |
| 661 | RW = Instance.new("Weld")
| |
| 662 | LW = Instance.new("Weld")
| |
| 663 | RH = Torso["Right Hip"] | |
| 664 | LH = Torso["Left Hip"] | |
| 665 | RSH = Torso["Right Shoulder"] | |
| 666 | LSH = Torso["Left Shoulder"] | |
| 667 | RSH.Parent = nil | |
| 668 | LSH.Parent = nil | |
| 669 | RW.Name = "RW" | |
| 670 | RW.Part0 = Torso | |
| 671 | RW.C0 = cf(1.5, 0.5, 0) | |
| 672 | RW.C1 = cf(0, 0.5, 0) | |
| 673 | RW.Part1 = RightArm | |
| 674 | RW.Parent = Torso | |
| 675 | LW.Name = "LW" | |
| 676 | LW.Part0 = Torso | |
| 677 | LW.C0 = cf(-1.5, 0.5, 0) | |
| 678 | LW.C1 = cf(0, 0.5, 0) | |
| 679 | LW.Part1 = LeftArm | |
| 680 | LW.Parent = Torso | |
| 681 | clerp = function(a, b, t) | |
| 682 | ||
| 683 | return a:lerp(b, t) | |
| 684 | end | |
| 685 | ||
| 686 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 687 | local Create = RbxUtility.Create | |
| 688 | RemoveOutlines = function(part) | |
| 689 | ||
| 690 | part.TopSurface = 10 | |
| 691 | end | |
| 692 | ||
| 693 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 694 | ||
| 695 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 696 | RemoveOutlines(Part) | |
| 697 | return Part | |
| 698 | end | |
| 699 | ||
| 700 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 701 | ||
| 702 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 703 | if Mesh == "SpecialMesh" then | |
| 704 | Msh.MeshType = MeshType | |
| 705 | Msh.MeshId = MeshId | |
| 706 | end | |
| 707 | return Msh | |
| 708 | end | |
| 709 | ||
| 710 | local co1 = 3 | |
| 711 | local co2 = 10 | |
| 712 | local co3 = 15 | |
| 713 | local co4 = 30 | |
| 714 | local cooldown1 = 0 | |
| 715 | local cooldown2 = 0 | |
| 716 | local cooldown3 = 0 | |
| 717 | local cooldown4 = 0 | |
| 718 | local maxEnergy = 100 | |
| 719 | local Energy = 0 | |
| 720 | local skill1stam = 1000 | |
| 721 | local skill2stam = 1000 | |
| 722 | local skill3stam = 1000 | |
| 723 | local skill4stam = 1000 | |
| 724 | local recovermana = 5 | |
| 725 | local skillcolorscheme = BrickColor.new("White").Color
| |
| 726 | local scrn = Instance.new("ScreenGui", Player.PlayerGui)
| |
| 727 | makeframe = function(par, trans, pos, size, color) | |
| 728 | ||
| 729 | local frame = Instance.new("Frame", par)
| |
| 730 | frame.BackgroundTransparency = trans | |
| 731 | frame.BorderSizePixel = 0 | |
| 732 | frame.Position = pos | |
| 733 | frame.Size = size | |
| 734 | frame.BackgroundColor3 = color | |
| 735 | return frame | |
| 736 | end | |
| 737 | ||
| 738 | makelabel = function(par, text) | |
| 739 | ||
| 740 | local label = Instance.new("TextLabel", par)
| |
| 741 | label.BackgroundTransparency = 1 | |
| 742 | label.Size = UDim2.new(1, 0, 1, 0) | |
| 743 | label.Position = UDim2.new(0, 0, 0, 0) | |
| 744 | label.TextColor3 = Color3.new(255, 255, 255) | |
| 745 | label.TextStrokeTransparency = 0 | |
| 746 | label.FontSize = Enum.FontSize.Size32 | |
| 747 | label.Font = Enum.Font.SourceSansLight | |
| 748 | label.BorderSizePixel = 0 | |
| 749 | label.TextScaled = true | |
| 750 | label.Text = text | |
| 751 | end | |
| 752 | ||
| 753 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 754 | ArtificialHB.Name = "Heartbeat" | |
| 755 | script:WaitForChild("Heartbeat")
| |
| 756 | frame = 0.033333333333333 | |
| 757 | tf = 0 | |
| 758 | allowframeloss = false | |
| 759 | tossremainder = false | |
| 760 | lastframe = tick() | |
| 761 | script.Heartbeat:Fire() | |
| 762 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 763 | ||
| 764 | tf = tf + s | |
| 765 | if frame <= tf then | |
| 766 | if allowframeloss then | |
| 767 | script.Heartbeat:Fire() | |
| 768 | lastframe = tick() | |
| 769 | else | |
| 770 | for i = 1, math.floor(tf / frame) do | |
| 771 | script.Heartbeat:Fire() | |
| 772 | end | |
| 773 | lastframe = tick() | |
| 774 | end | |
| 775 | if tossremainder then | |
| 776 | tf = 0 | |
| 777 | else | |
| 778 | tf = tf - frame * math.floor(tf / frame) | |
| 779 | end | |
| 780 | end | |
| 781 | end | |
| 782 | ) | |
| 783 | swait = function(num) | |
| 784 | ||
| 785 | if num == 0 or num == nil then | |
| 786 | ArtificialHB.Event:wait() | |
| 787 | else | |
| 788 | for i = 0, num do | |
| 789 | ArtificialHB.Event:wait() | |
| 790 | end | |
| 791 | end | |
| 792 | end | |
| 793 | ||
| 794 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
| 795 | ||
| 796 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
| |
| 797 | return Weld | |
| 798 | end | |
| 799 | ||
| 800 | rayCast = function(Position, Direction, Range, Ignore) | |
| 801 | ||
| 802 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 803 | end | |
| 804 | ||
| 805 | CreateSound = function(id, par, vol, pit) | |
| 806 | ||
| 807 | coroutine.resume(coroutine.create(function() | |
| 808 | ||
| 809 | local sou = Instance.new("Sound", par or workspace)
| |
| 810 | sou.Volume = vol | |
| 811 | sou.Pitch = pit or 1 | |
| 812 | sou.SoundId = id | |
| 813 | swait() | |
| 814 | sou:play() | |
| 815 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 816 | end | |
| 817 | )) | |
| 818 | end | |
| 819 | ||
| 820 | local getclosest = function(obj, distance) | |
| 821 | ||
| 822 | local last, lastx = distance + 1, nil | |
| 823 | for i,v in pairs(workspace:GetChildren()) do | |
| 824 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
| |
| 825 | local t = v.Torso | |
| 826 | local dist = t.Position - obj.Position.magnitude | |
| 827 | if dist <= distance and dist < last then | |
| 828 | last = dist | |
| 829 | lastx = v | |
| 830 | end | |
| 831 | end | |
| 832 | end | |
| 833 | return lastx | |
| 834 | end | |
| 835 | ||
| 836 | CreatePart2 = function(Parent, Material, Reflectance, Transparency, PartType, BColor, Name, Size) | |
| 837 | ||
| 838 | if PartType == "Part" then | |
| 839 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 840 | RemoveOutlines(Part) | |
| 841 | return Part | |
| 842 | else | |
| 843 | do | |
| 844 | if PartType == "WedgePart" then | |
| 845 | local Part = Create("WedgePart")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 846 | RemoveOutlines(Part) | |
| 847 | return Part | |
| 848 | end | |
| 849 | end | |
| 850 | end | |
| 851 | end | |
| 852 | ||
| 853 | for _,c in pairs(m:children()) do | |
| 854 | if c.className == "Weld" then | |
| 855 | table.insert(CBladeWelds, R67_PC6072) | |
| 856 | print(R66_PC6093) | |
| 857 | end | |
| 858 | end | |
| 859 | -- NIGH-OMNI FATAL ERROR at PC6105: Re-wrote register: R67 in 'AssignReg' | |
| 860 | ||
| 861 | -- NIGH-OMNI FATAL ERROR at PC6106: Re-wrote register: R67 in 'AssignReg' | |
| 862 | ||
| 863 | --Hit = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", R66_PC6093, R67_PC6072(5, 0.200000003, 5)) | |
| 864 | -- NIGH-OMNI FATAL ERROR at PC6120: Re-wrote register: R66 in 'AssignReg' | |
| 865 | ||
| 866 | -- NIGH-OMNI FATAL ERROR at PC6134: Re-wrote register: R66 in 'AssignReg' | |
| 867 | ||
| 868 | HitWeld = CreateWeld(demon, Character.HumanoidRootPart, Hit, CFrame.new(0, R66_PC6093, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(R66_PC6093, -3.50004387, 0.0299530029, 0, 1, 0, 0, 0, -1, -1, 0, 0)) | |
| 869 | CreateMesh("SpecialMesh", Hit, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(3, 4, 3))
| |
| 870 | FakeMotor = CreatePart(demon, Enum.Material.Neon, 0, 1, "Really black", "FakeMotor", Vector3.new(2.01999998, 0.2016, 2.36000013)) | |
| 871 | FakeMotorWeld = CreateWeld(demon, Hit, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0199999809, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 872 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
| 873 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -5.06998634, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
| 874 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(2.5, 10, 2.5))
| |
| 875 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
| 876 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -7.1599884, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
| 877 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(1, 10, 1))
| |
| 878 | TornadoHat = CreatePart(demon, Enum.Material.Neon, 0.20000000298023, 0.5, "Really black", "TornadoHat", Vector3.new(3, 0.400000006, 3)) | |
| 879 | TornadoHatWeld = CreateWeld(demon, FakeMotor, TornadoHat, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00997924805, -1.65001106, -0.0699994564, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
| 880 | CreateMesh("SpecialMesh", TornadoHat, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1051557", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
| |
| 881 | local DBlade = {}
| |
| 882 | local DBladeWelds = {}
| |
| 883 | for _,c in pairs(demon:children()) do | |
| 884 | if c.className == "Part" then | |
| 885 | table.insert(DBlade, c) | |
| 886 | end | |
| 887 | end | |
| 888 | for _,c in pairs(demon:children()) do | |
| 889 | if c.className == "Weld" then | |
| 890 | table.insert(DBladeWelds, c) | |
| 891 | print(c) | |
| 892 | end | |
| 893 | end | |
| 894 | demon.Parent = nil | |
| 895 | ||
| 896 | Debounces = {
| |
| 897 | CanAttack = true; | |
| 898 | NoIdl = false; | |
| 899 | Slashing = false; | |
| 900 | Slashed = false; | |
| 901 | RPunch = false; | |
| 902 | RPunched = false; | |
| 903 | LPunch = false; | |
| 904 | LPunched = false; | |
| 905 | } | |
| 906 | local Touche = {char.Name, }
| |
| 907 | ---------------------------------------------------- | |
| 908 | function lerp(a, b, t) -- Linear interpolation | |
| 909 | return a + (b - a)*t | |
| 910 | end | |
| 911 | ||
| 912 | function slerp(a, b, t) --Spherical interpolation | |
| 913 | dot = a:Dot(b) | |
| 914 | if dot > 0.99999 or dot < -0.99999 then | |
| 915 | return t <= 0.5 and a or b | |
| 916 | else | |
| 917 | r = math.acos(dot) | |
| 918 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 919 | end | |
| 920 | end | |
| 921 | ||
| 922 | function matrixInterpolate(a, b, t) | |
| 923 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 924 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 925 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 926 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 927 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 928 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 929 | local t = v1:Dot(v2) | |
| 930 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 931 | return CFrame.new() | |
| 932 | end | |
| 933 | return CFrame.new( | |
| 934 | v0.x, v0.y, v0.z, | |
| 935 | v1.x, v1.y, v1.z, | |
| 936 | v2.x, v2.y, v2.z, | |
| 937 | v3.x, v3.y, v3.z) | |
| 938 | end | |
| 939 | ---------------------------------------------------- | |
| 940 | function genWeld(a,b) | |
| 941 | local w = Instance.new("Weld",a)
| |
| 942 | w.Part0 = a | |
| 943 | w.Part1 = b | |
| 944 | return w | |
| 945 | end | |
| 946 | function weld(a, b) | |
| 947 | local weld = Instance.new("Weld")
| |
| 948 | weld.Name = "W" | |
| 949 | weld.Part0 = a | |
| 950 | weld.Part1 = b | |
| 951 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 952 | weld.Parent = a | |
| 953 | return weld; | |
| 954 | end | |
| 955 | ---------------------------------------------------- | |
| 956 | function Lerp(c1,c2,al) | |
| 957 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 958 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 959 | for i,v in pairs(com1) do | |
| 960 | com1[i] = v+(com2[i]-v)*al | |
| 961 | end | |
| 962 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 963 | end | |
| 964 | ---------------------------------------------------- | |
| 965 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 966 | local wld = Instance.new("Weld", wp1)
| |
| 967 | wld.Part0 = wp0 | |
| 968 | wld.Part1 = wp1 | |
| 969 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 970 | end | |
| 971 | ---------------------------------------------------- | |
| 972 | function Tween(a,b,c) | |
| 973 | return a+(b-a)*c | |
| 974 | end | |
| 975 | ---------------------------------------------------- | |
| 976 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 977 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 978 | local List = {}
| |
| 979 | for i,v in pairs(workspace:GetChildren())do | |
| 980 | if v:IsA("Model")then
| |
| 981 | if v:findFirstChild("Torso")then
| |
| 982 | if v ~= char then | |
| 983 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 984 | table.insert(List,v) | |
| 985 | end | |
| 986 | end | |
| 987 | end | |
| 988 | end | |
| 989 | end | |
| 990 | return List | |
| 991 | end | |
| 992 | ||
| 993 | mod3 = Instance.new("Model",rleg)
| |
| 994 | ||
| 995 | function Stomp() | |
| 996 | part=Instance.new('Part',mod3)
| |
| 997 | part.Anchored=true | |
| 998 | part.CanCollide=false | |
| 999 | part.FormFactor='Custom' | |
| 1000 | part.Size=Vector3.new(.2,.2,.2) | |
| 1001 | part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0) | |
| 1002 | part.Transparency=.7 | |
| 1003 | part.BrickColor=BrickColor.new('Bright green')
| |
| 1004 | mesh=Instance.new('SpecialMesh',part)
| |
| 1005 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 1006 | mesh.Scale=Vector3.new(25,25,25) | |
| 1007 | part2=part:clone() | |
| 1008 | part2.Parent=mod3 | |
| 1009 | part2.BrickColor=BrickColor.new('Bright green')
| |
| 1010 | mesh2=mesh:clone() | |
| 1011 | mesh2.Parent=part2 | |
| 1012 | mesh2.Scale=Vector3.new(15,15,15) | |
| 1013 | part3=part:clone() | |
| 1014 | part3.Parent=mod3 | |
| 1015 | part3.TopSurface=0 | |
| 1016 | part3.BottomSurface=0 | |
| 1017 | part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0) | |
| 1018 | mesh3=Instance.new('SpecialMesh',part3)
| |
| 1019 | mesh3.MeshType = 3 | |
| 1020 | mesh3.Scale=Vector3.new(12,12,12) | |
| 1021 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
| 1022 | if v:FindFirstChild('Humanoid') then
| |
| 1023 | v.Humanoid:TakeDamage(math.random(20,60)) | |
| 1024 | v.Humanoid.PlatformStand = true | |
| 1025 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 1026 | end | |
| 1027 | end | |
| 1028 | coroutine.resume(coroutine.create(function() | |
| 1029 | for i=0,3.8,0.05 do | |
| 1030 | wait() | |
| 1031 | part.CFrame=part.CFrame | |
| 1032 | part.Transparency=i | |
| 1033 | mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8) | |
| 1034 | part2.CFrame=part2.CFrame | |
| 1035 | part2.Transparency=i | |
| 1036 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
| 1037 | part3.CFrame=part3.CFrame | |
| 1038 | part3.Transparency=i | |
| 1039 | mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5) | |
| 1040 | end | |
| 1041 | end)) | |
| 1042 | end | |
| 1043 | ---------------------------------------------------- | |
| 1044 | function nwPrt(prnt,siz,cf,col) | |
| 1045 | local prt=Instance.new("Part")
| |
| 1046 | prt.Parent=prnt | |
| 1047 | prt.FormFactor=3 | |
| 1048 | prt.Name="Part" | |
| 1049 | prt.Size=siz | |
| 1050 | prt.CanCollide=false | |
| 1051 | prt.Anchored=true | |
| 1052 | prt.Locked=true | |
| 1053 | prt.TopSurface=10 | |
| 1054 | prt.BottomSurface=10 | |
| 1055 | prt.FrontSurface=10 | |
| 1056 | prt.BackSurface=10 | |
| 1057 | prt.LeftSurface=10 | |
| 1058 | prt.RightSurface=10 | |
| 1059 | prt:BreakJoints() | |
| 1060 | prt.CFrame=cf or CFrame.new(30,10,30) | |
| 1061 | prt.Material="Neon" | |
| 1062 | prt.BrickColor=TorsoColor | |
| 1063 | m=Instance.new("SpecialMesh",prt)
| |
| 1064 | m.MeshType=6 | |
| 1065 | return prt | |
| 1066 | end | |
| 1067 | ---------------------------------------------------- | |
| 1068 | function nwSnd(prnt,pch,vol,id) | |
| 1069 | local s=Instance.new("Sound",prnt)
| |
| 1070 | s.Pitch=pch | |
| 1071 | s.Volume=vol | |
| 1072 | s.SoundId="rbxassetid://"..id | |
| 1073 | s.PlayOnRemove=true | |
| 1074 | return s | |
| 1075 | end | |
| 1076 | ---------------------------------------------------- | |
| 1077 | function newRay(start,face,range,wat) | |
| 1078 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
| 1079 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
| 1080 | return rey,hit,pos | |
| 1081 | end | |
| 1082 | ---------------------------------------------------- | |
| 1083 | function Lerp(c1,c2,al) | |
| 1084 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 1085 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 1086 | for i,v in pairs(com1) do | |
| 1087 | com1[i] = v+(com2[i]-v)*al | |
| 1088 | end | |
| 1089 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 1090 | end | |
| 1091 | ---------------------------------------------------- | |
| 1092 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 1093 | local wld = Instance.new("Weld", wp1)
| |
| 1094 | wld.Part0 = wp0 | |
| 1095 | wld.Part1 = wp1 | |
| 1096 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 1097 | end | |
| 1098 | ---------------------------------------------------- | |
| 1099 | function weld5(part0, part1, c0, c1) | |
| 1100 | weeld=Instance.new("Weld", part0)
| |
| 1101 | weeld.Part0=part0 | |
| 1102 | weeld.Part1=part1 | |
| 1103 | weeld.C0=c0 | |
| 1104 | weeld.C1=c1 | |
| 1105 | return weeld | |
| 1106 | end | |
| 1107 | ---------------------------------------------------- | |
| 1108 | function HasntTouched(plrname) | |
| 1109 | local ret = true | |
| 1110 | for _, v in pairs(Touche) do | |
| 1111 | if v == plrname then | |
| 1112 | ret = false | |
| 1113 | end | |
| 1114 | end | |
| 1115 | return ret | |
| 1116 | end | |
| 1117 | ---------------------------------------------------- | |
| 1118 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 1119 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 1120 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 1121 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 1122 | newWeld(torso, hed, 0, 1.5, 0) | |
| 1123 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 1124 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 1125 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 1126 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 1127 | newWeld(root, torso, 0, -1, 0) | |
| 1128 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 1129 | ---------------------------------------------------- | |
| 1130 | z = Instance.new("Sound", char)
| |
| 1131 | z.SoundId = "rbxassetid://887320115"--887320115 | |
| 1132 | z.Looped = true | |
| 1133 | z.Pitch = 1 | |
| 1134 | z.Volume = 4 | |
| 1135 | wait(.1) | |
| 1136 | z:Play() | |
| 1137 | ---------------------------------------------------- | |
| 1138 | local Transforming = true | |
| 1139 | hum.WalkSpeed = 0 | |
| 1140 | local fx = Instance.new("Part",torso)
| |
| 1141 | wit = torso.BrickColor.Color | |
| 1142 | wit2 = Color3.new(0,0,0) | |
| 1143 | local glowz = Instance.new("ParticleEmitter",fx)
| |
| 1144 | glowz.LightEmission = 1 | |
| 1145 | glowz.Texture = "rbxassetid://284205403" | |
| 1146 | glowz.Color = ColorSequence.new(wit) | |
| 1147 | glowz.Size = NumberSequence.new(5) | |
| 1148 | glowz.Speed = NumberRange.new(25,50) | |
| 1149 | glowz.LockedToPart = false | |
| 1150 | glowz.Transparency = NumberSequence.new(0.75) | |
| 1151 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
| 1152 | glowz.Lifetime = NumberRange.new(1) | |
| 1153 | glowz.Rate = 50000 | |
| 1154 | glowz.VelocitySpread = 9001 | |
| 1155 | local glowz2 = Instance.new("ParticleEmitter",fx)
| |
| 1156 | glowz2.LightEmission = 0.5 | |
| 1157 | glowz.Texture = "rbxassetid://284205403" | |
| 1158 | glowz2.Color = ColorSequence.new(wit2) | |
| 1159 | glowz2.Size = NumberSequence.new(5) | |
| 1160 | glowz2.Speed = NumberRange.new(25,50) | |
| 1161 | glowz2.LockedToPart = false | |
| 1162 | glowz2.Transparency = NumberSequence.new(0.75) | |
| 1163 | glowz2.RotSpeed = NumberRange.new(-2000,2000) | |
| 1164 | glowz2.Lifetime = NumberRange.new(1) | |
| 1165 | glowz2.Rate = 50000 | |
| 1166 | glowz2.VelocitySpread = 9001 | |
| 1167 | fx.Anchored = true | |
| 1168 | fx.Material = "Neon" | |
| 1169 | fx.CanCollide = false | |
| 1170 | fx.Locked = true | |
| 1171 | fx.Transparency = 1 | |
| 1172 | fx.Material = "Neon" | |
| 1173 | fx.Size = Vector3.new(1,1,1) | |
| 1174 | fx.TopSurface = "SmoothNoOutlines" | |
| 1175 | fx.BottomSurface = "SmoothNoOutlines" | |
| 1176 | fx.BrickColor = BrickColor.new("Really black")
| |
| 1177 | fxm = Instance.new("SpecialMesh",fx)
| |
| 1178 | fxm.MeshType = "Sphere" | |
| 1179 | local sa2 = Instance.new("Sound",torso)
| |
| 1180 | sa2.SoundId = "rbxassetid://93724183" | |
| 1181 | sa2.Pitch = 0.5 | |
| 1182 | sa2.Volume = 5 | |
| 1183 | sa2.Looped = false | |
| 1184 | sa2:Play() | |
| 1185 | local value = 1 | |
| 1186 | fxm.Scale = Vector3.new(1,1,1) | |
| 1187 | for i = 1, 20 do rs:wait() | |
| 1188 | value = value - 0.05 | |
| 1189 | fx.Transparency = fx.Transparency - (1/20) | |
| 1190 | fx.CFrame = torso.CFrame | |
| 1191 | fxm.Scale = fxm.Scale + Vector3.new(value,value,value) | |
| 1192 | rs:wait() | |
| 1193 | end | |
| 1194 | ---------------------------------------------------- | |
| 1195 | GroundWave1 = function() | |
| 1196 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1197 | local Colors = {"White", "Really black"}
| |
| 1198 | local wave = Instance.new("Part", torso)
| |
| 1199 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 1200 | wave.Anchored = true | |
| 1201 | wave.CanCollide = false | |
| 1202 | wave.Locked = true | |
| 1203 | wave.Size = Vector3.new(1, 1, 1) | |
| 1204 | wave.TopSurface = "Smooth" | |
| 1205 | wave.BottomSurface = "Smooth" | |
| 1206 | wave.Transparency = 0.35 | |
| 1207 | wave.CFrame = HandCF | |
| 1208 | wm = Instance.new("SpecialMesh", wave)
| |
| 1209 | wm.MeshId = "rbxassetid://3270017" | |
| 1210 | coroutine.wrap(function() | |
| 1211 | for i = 1, 30, 1 do | |
| 1212 | wm.Scale = Vector3.new(50, 50, 1 + i*50) | |
| 1213 | wave.Size = wm.Scale | |
| 1214 | wave.CFrame = HandCF | |
| 1215 | wave.Transparency = i/30 | |
| 1216 | wait() | |
| 1217 | end | |
| 1218 | wait() | |
| 1219 | wave:Destroy() | |
| 1220 | end)() | |
| 1221 | end | |
| 1222 | ---------------------------------------------------- | |
| 1223 | GroundWave = function() | |
| 1224 | if Transforming == true then | |
| 1225 | local value = 5 | |
| 1226 | local value2 = 10 | |
| 1227 | local value3 = 20 | |
| 1228 | local sa2 = Instance.new("Sound",torso)
| |
| 1229 | sa2.SoundId = "rbxassetid://413682983" | |
| 1230 | sa2.Pitch = 1 | |
| 1231 | sa2.Volume = 10 | |
| 1232 | sa2.Looped = false | |
| 1233 | sa2:Play() | |
| 1234 | local wave = Instance.new("Part", torso)
| |
| 1235 | local glowz = Instance.new("ParticleEmitter",wave)
| |
| 1236 | glowz.LightEmission = 1 | |
| 1237 | glowz.Texture = "rbxassetid://284205403" | |
| 1238 | glowz.Color = ColorSequence.new(wit) | |
| 1239 | glowz.Size = NumberSequence.new(30) | |
| 1240 | glowz.Speed = NumberRange.new(25,100) | |
| 1241 | glowz.LockedToPart = false | |
| 1242 | glowz.Transparency = NumberSequence.new(0.75) | |
| 1243 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
| 1244 | glowz.Lifetime = NumberRange.new(1) | |
| 1245 | glowz.Rate = 50000 | |
| 1246 | glowz.VelocitySpread = 9001 | |
| 1247 | local glowz2 = Instance.new("ParticleEmitter",wave)
| |
| 1248 | glowz2.LightEmission = 1 | |
| 1249 | glowz.Texture = "rbxassetid://284205403" | |
| 1250 | glowz2.Color = ColorSequence.new(wit) | |
| 1251 | glowz2.Size = NumberSequence.new(30) | |
| 1252 | glowz2.Speed = NumberRange.new(25,100) | |
| 1253 | glowz2.LockedToPart = false | |
| 1254 | glowz2.Transparency = NumberSequence.new(0.75) | |
| 1255 | glowz2.RotSpeed = NumberRange.new(-2000,2000) | |
| 1256 | glowz2.Lifetime = NumberRange.new(1) | |
| 1257 | glowz2.Rate = 50000 | |
| 1258 | glowz2.VelocitySpread = 9001 | |
| 1259 | wave.BrickColor = TorsoColor | |
| 1260 | wave.Anchored = true | |
| 1261 | wave.CanCollide = false | |
| 1262 | wave.Locked = true | |
| 1263 | wave.Size = Vector3.new(1, 1, 1) | |
| 1264 | wave.TopSurface = "Smooth" | |
| 1265 | wave.BottomSurface = "Smooth" | |
| 1266 | wave.Transparency = 0.35 | |
| 1267 | wave.CFrame = fx.CFrame | |
| 1268 | wave.Material = "Neon" | |
| 1269 | wm = Instance.new("SpecialMesh", wave)
| |
| 1270 | wm.MeshType = "Sphere" | |
| 1271 | wm.Scale = Vector3.new(1,1,1) | |
| 1272 | local wave2 = Instance.new("Part", torso)
| |
| 1273 | wave2.BrickColor = TorsoColor | |
| 1274 | wave2.Anchored = true | |
| 1275 | wave2.CanCollide = false | |
| 1276 | wave2.Locked = true | |
| 1277 | wave2.Size = Vector3.new(1, 1, 1) | |
| 1278 | wave2.TopSurface = "Smooth" | |
| 1279 | wave2.BottomSurface = "Smooth" | |
| 1280 | wave2.Transparency = 0.35 | |
| 1281 | wave2.CFrame = fx.CFrame | |
| 1282 | wave2.Material = "Neon" | |
| 1283 | wm2 = Instance.new("SpecialMesh", wave2)
| |
| 1284 | wm2.MeshType = "FileMesh" | |
| 1285 | wm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1286 | wm2.Scale = Vector3.new(1,1,1) | |
| 1287 | local wave3 = Instance.new("Part", torso)
| |
| 1288 | wave3.BrickColor = BrickColor.new("Really black")
| |
| 1289 | wave3.Anchored = true | |
| 1290 | wave3.CanCollide = false | |
| 1291 | wave3.Locked = true | |
| 1292 | wave3.Size = Vector3.new(1, 1, 1) | |
| 1293 | wave3.TopSurface = "Smooth" | |
| 1294 | wave3.BottomSurface = "Smooth" | |
| 1295 | wave3.Transparency = 0.35 | |
| 1296 | wave3.CFrame = fx.CFrame | |
| 1297 | wave3.Material = "Neon" | |
| 1298 | wm3 = Instance.new("SpecialMesh", wave3)
| |
| 1299 | wm3.MeshType = "FileMesh" | |
| 1300 | wm3.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1301 | wm3.Scale = Vector3.new(1,1,1) | |
| 1302 | coroutine.wrap(function() | |
| 1303 | for i = 1, 18, 1 do | |
| 1304 | value = value - 0.5 | |
| 1305 | value2 = value2 - 0.75*1.5 | |
| 1306 | value3 = value3 - 0.475*1.5 | |
| 1307 | wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5) | |
| 1308 | wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5) | |
| 1309 | wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25) | |
| 1310 | --wave.Size = wm.Scale | |
| 1311 | wave.CFrame = fx.CFrame | |
| 1312 | wave.Transparency = i/14 | |
| 1313 | --wave2.Size = wm2.Scale | |
| 1314 | wave2.CFrame = fx.CFrame | |
| 1315 | wave2.Rotation = Vector3.new(90, 0, 0) | |
| 1316 | wave2.Transparency = i/14 | |
| 1317 | --wave3.Size = wm3.Scale | |
| 1318 | wave3.CFrame = fx.CFrame | |
| 1319 | wave3.Rotation = Vector3.new(90, 0, 0) | |
| 1320 | wave3.Transparency = i/14 | |
| 1321 | wait() | |
| 1322 | glowz.Rate = 0 | |
| 1323 | glowz2.Rate = 0 | |
| 1324 | end | |
| 1325 | wait() | |
| 1326 | wave:Destroy() | |
| 1327 | wave2:Destroy() | |
| 1328 | wave3:Destroy() | |
| 1329 | end)() | |
| 1330 | elseif Transforming == false then | |
| 1331 | wait() | |
| 1332 | end | |
| 1333 | end | |
| 1334 | ||
| 1335 | for i = 1, 100 do rs:wait() | |
| 1336 | fx.CFrame = torso.CFrame | |
| 1337 | end | |
| 1338 | ||
| 1339 | Spawn(function() | |
| 1340 | while wait(1) do | |
| 1341 | GroundWave() | |
| 1342 | end | |
| 1343 | end) | |
| 1344 | ||
| 1345 | wait(4) | |
| 1346 | ||
| 1347 | Transforming = false | |
| 1348 | ||
| 1349 | local value2 = 1 | |
| 1350 | for i = 1, 20 do rs:wait() | |
| 1351 | value2 = value2 - 0.05 | |
| 1352 | glowz.Rate = 0 | |
| 1353 | glowz2.Rate = 0 | |
| 1354 | fx.Transparency = fx.Transparency + (1/20) | |
| 1355 | fx.CFrame = torso.CFrame | |
| 1356 | fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2) | |
| 1357 | rs:wait() | |
| 1358 | end | |
| 1359 | glowz:Destroy() | |
| 1360 | glowz2:Destroy() | |
| 1361 | ||
| 1362 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1363 | local valuer = 5 | |
| 1364 | local valuer2 = 10 | |
| 1365 | local valuer3 = 15 | |
| 1366 | local sa2 = Instance.new("Sound",torso)
| |
| 1367 | sa2.SoundId = "rbxassetid://130972023" | |
| 1368 | sa2.Pitch = 1 | |
| 1369 | sa2.Volume = 5 | |
| 1370 | sa2.Looped = false | |
| 1371 | sa2:Play() | |
| 1372 | local sar2 = Instance.new("Sound",torso)
| |
| 1373 | sar2.SoundId = "rbxassetid://153274423" | |
| 1374 | sar2.Pitch = 1 | |
| 1375 | sar2.Volume = 5 | |
| 1376 | sar2.Looped = false | |
| 1377 | sar2:Play() | |
| 1378 | local wave = Instance.new("Part", torso)
| |
| 1379 | wave.BrickColor = TorsoColor | |
| 1380 | wave.Anchored = true | |
| 1381 | wave.CanCollide = false | |
| 1382 | wave.Locked = true | |
| 1383 | wave.Size = Vector3.new(1, 1, 1) | |
| 1384 | wave.TopSurface = "Smooth" | |
| 1385 | wave.BottomSurface = "Smooth" | |
| 1386 | wave.Transparency = 0.35 | |
| 1387 | wave.CFrame = HandCF | |
| 1388 | wm = Instance.new("SpecialMesh", wave)
| |
| 1389 | wm.MeshId = "rbxassetid://3270017" | |
| 1390 | local wave2 = Instance.new("Part", torso)
| |
| 1391 | wave2.BrickColor = BrickColor.new("Really black")
| |
| 1392 | wave2.Anchored = true | |
| 1393 | wave2.CanCollide = false | |
| 1394 | wave2.Locked = true | |
| 1395 | wave2.Size = Vector3.new(1, 1, 1) | |
| 1396 | wave2.TopSurface = "Smooth" | |
| 1397 | wave2.BottomSurface = "Smooth" | |
| 1398 | wave2.Transparency = 0.35 | |
| 1399 | wave2.CFrame = HandCF | |
| 1400 | wm2 = Instance.new("SpecialMesh", wave2)
| |
| 1401 | wm2.MeshId = "rbxassetid://3270017" | |
| 1402 | local wave3 = Instance.new("Part", torso)
| |
| 1403 | wave3.BrickColor = TorsoColor | |
| 1404 | wave3.Anchored = true | |
| 1405 | wave3.CanCollide = false | |
| 1406 | wave3.Locked = true | |
| 1407 | wave3.Size = Vector3.new(1, 1, 1) | |
| 1408 | wave3.TopSurface = "Smooth" | |
| 1409 | wave3.BottomSurface = "Smooth" | |
| 1410 | wave3.Transparency = 0.35 | |
| 1411 | wave3.CFrame = HandCF | |
| 1412 | wm3 = Instance.new("SpecialMesh", wave3)
| |
| 1413 | wm3.MeshId = "rbxassetid://3270017" | |
| 1414 | coroutine.wrap(function() | |
| 1415 | for i = 1, 14, 1 do | |
| 1416 | valuer = valuer - 0.35 | |
| 1417 | valuer2 = valuer - 0.45 | |
| 1418 | valuer3 = valuer3 - 0.475 | |
| 1419 | wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200) | |
| 1420 | wave.Size = wm.Scale | |
| 1421 | wave.CFrame = HandCF | |
| 1422 | wave.Transparency = i/14 | |
| 1423 | wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10) | |
| 1424 | wave2.Size = wm2.Scale | |
| 1425 | wave2.CFrame = HandCF | |
| 1426 | wave2.Transparency = i/14 | |
| 1427 | wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1) | |
| 1428 | wave3.Size = wm2.Scale | |
| 1429 | wave3.CFrame = HandCF | |
| 1430 | wave3.Transparency = i/14 | |
| 1431 | wait() | |
| 1432 | end | |
| 1433 | wait() | |
| 1434 | wave:Destroy() | |
| 1435 | wave2:Destroy() | |
| 1436 | end)() | |
| 1437 | hum.WalkSpeed = 16 | |
| 1438 | ---------------------------------------------------- | |
| 1439 | local cor = Instance.new("Part", char)
| |
| 1440 | cor.Name = "Thingy" | |
| 1441 | cor.Locked = true | |
| 1442 | cor.BottomSurface = 0 | |
| 1443 | cor.CanCollide = false | |
| 1444 | cor.Size = Vector3.new(1, 13, 1) | |
| 1445 | cor.Transparency = 1 | |
| 1446 | cor.TopSurface = 0 | |
| 1447 | corw = Instance.new("Weld", cor)
| |
| 1448 | corw.Part0 = rarm | |
| 1449 | corw.Part1 = cor | |
| 1450 | corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1451 | corw.C1 = CFrame.new(0, 0, 0) | |
| 1452 | weld1 = Instance.new("Weld", char)
| |
| 1453 | weld1.Part0 = cor | |
| 1454 | weld1.Part1 = p6 | |
| 1455 | weld1.C0 = CFrame.new(0, 0, 0) | |
| 1456 | ---------------------------------------------------- | |
| 1457 | Blast = function() | |
| 1458 | local Colors = {"Really black", "Really black"}
| |
| 1459 | local wave = Instance.new("Part", torso)
| |
| 1460 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 1461 | wave.Anchored = true | |
| 1462 | wave.CanCollide = false | |
| 1463 | wave.Locked = true | |
| 1464 | wave.Size = Vector3.new(1, 1, 1) | |
| 1465 | wave.TopSurface = "Smooth" | |
| 1466 | wave.BottomSurface = "Smooth" | |
| 1467 | wave.Transparency = 0.35 | |
| 1468 | wave.CFrame = rarm.CFrame | |
| 1469 | wm = Instance.new("SpecialMesh", wave)
| |
| 1470 | wm.MeshType = "Sphere" | |
| 1471 | wm.Scale = Vector3.new(1,1,1) | |
| 1472 | z = Instance.new("Sound",wave)
| |
| 1473 | z.SoundId = "rbxassetid://237035051" | |
| 1474 | z.Volume = 1 | |
| 1475 | z.Pitch = .9 | |
| 1476 | z:Play() | |
| 1477 | coroutine.wrap(function() | |
| 1478 | for i = 1, 30, 1 do | |
| 1479 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
| 1480 | --wave.Size = wm.Scale | |
| 1481 | wave.CFrame = rarm.CFrame | |
| 1482 | wave.Transparency = (1/14) | |
| 1483 | rs:wait() | |
| 1484 | end | |
| 1485 | rs:wait() | |
| 1486 | wave:Destroy() | |
| 1487 | z:Destroy() | |
| 1488 | end)() | |
| 1489 | end | |
| 1490 | ---------------------------------------------------- | |
| 1491 | rarm.Touched:connect(function(ht) | |
| 1492 | hit = ht.Parent | |
| 1493 | if ht and hit:IsA("Model") then
| |
| 1494 | if hit:FindFirstChild("Humanoid") then
| |
| 1495 | if hit.Name ~= p.Name then | |
| 1496 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1497 | Debounces.RPunched = true | |
| 1498 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1499 | if Debounces.ks==true then | |
| 1500 | z = Instance.new("Sound",hed)
| |
| 1501 | z.SoundId = "rbxassetid://169380525" | |
| 1502 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1503 | z.Volume = 1 | |
| 1504 | z:Play() | |
| 1505 | end | |
| 1506 | wait(.2) | |
| 1507 | Debounces.RPunched = false | |
| 1508 | end | |
| 1509 | end | |
| 1510 | end | |
| 1511 | elseif ht and hit:IsA("Hat") then
| |
| 1512 | if hit.Parent.Name ~= p.Name then | |
| 1513 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1514 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1515 | Debounces.RPunched = true | |
| 1516 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1517 | if Debounces.ks==true then | |
| 1518 | z = Instance.new("Sound",hed)
| |
| 1519 | z.SoundId = "rbxassetid://169380525" | |
| 1520 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1521 | z.Volume = 1 | |
| 1522 | z:Play() | |
| 1523 | end | |
| 1524 | wait(.2) | |
| 1525 | Debounces.RPunched = false | |
| 1526 | end | |
| 1527 | end | |
| 1528 | end | |
| 1529 | end | |
| 1530 | end) | |
| 1531 | larm.Touched:connect(function(ht) | |
| 1532 | hit = ht.Parent | |
| 1533 | if ht and hit:IsA("Model") then
| |
| 1534 | if hit:FindFirstChild("Humanoid") then
| |
| 1535 | if hit.Name ~= p.Name then | |
| 1536 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1537 | Debounces.LPunched = true | |
| 1538 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1539 | if Debounces.ks2==true then | |
| 1540 | z = Instance.new("Sound",hed)
| |
| 1541 | z.SoundId = "rbxassetid://169380525" | |
| 1542 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1543 | z.Volume = 1 | |
| 1544 | z:Play() | |
| 1545 | end | |
| 1546 | wait(.2) | |
| 1547 | Debounces.LPunched = false | |
| 1548 | end | |
| 1549 | end | |
| 1550 | end | |
| 1551 | elseif ht and hit:IsA("Hat") then
| |
| 1552 | if hit.Parent.Name ~= p.Name then | |
| 1553 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1554 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1555 | Debounces.LPunched = true | |
| 1556 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1557 | if Debounces.ks2==true then | |
| 1558 | z = Instance.new("Sound",hed)
| |
| 1559 | z.SoundId = "rbxassetid://169380525" | |
| 1560 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1561 | z.Volume = 1 | |
| 1562 | z:Play() | |
| 1563 | end | |
| 1564 | wait(.2) | |
| 1565 | Debounces.LPunched = false | |
| 1566 | end | |
| 1567 | end | |
| 1568 | end | |
| 1569 | end | |
| 1570 | end) | |
| 1571 | ---------------------------------------------------- | |
| 1572 | mod4 = Instance.new("Model",char)
| |
| 1573 | ||
| 1574 | ptez = {0.7, 0.8, 0.9, 1}
| |
| 1575 | ||
| 1576 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1577 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1578 | local List = {}
| |
| 1579 | for i,v in pairs(workspace:GetChildren())do | |
| 1580 | if v:IsA("Model")then
| |
| 1581 | if v:findFirstChild("Torso")then
| |
| 1582 | if v ~= char then | |
| 1583 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1584 | table.insert(List,v) | |
| 1585 | end | |
| 1586 | end | |
| 1587 | end | |
| 1588 | end | |
| 1589 | end | |
| 1590 | return List | |
| 1591 | end | |
| 1592 | ||
| 1593 | function Punch() | |
| 1594 | part=Instance.new('Part',mod4)
| |
| 1595 | part.Anchored=true | |
| 1596 | part.CanCollide=false | |
| 1597 | part.FormFactor='Custom' | |
| 1598 | part.Size=Vector3.new(.2,.2,.2) | |
| 1599 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
| 1600 | part.Transparency=.7 | |
| 1601 | part.BrickColor=BrickColor.new('Really black')
| |
| 1602 | mesh=Instance.new('SpecialMesh',part)
| |
| 1603 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 1604 | mesh.Scale=Vector3.new(3,3,3) | |
| 1605 | part2=Instance.new('Part',mod4)
| |
| 1606 | part2.Anchored=true | |
| 1607 | part2.CanCollide=false | |
| 1608 | part2.FormFactor='Custom' | |
| 1609 | part2.Size=Vector3.new(.2,.2,.2) | |
| 1610 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
| 1611 | part2.Transparency=.7 | |
| 1612 | part2.BrickColor=BrickColor.new('Really black')
| |
| 1613 | mesh2=Instance.new('SpecialMesh',part2)
| |
| 1614 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1615 | mesh2.Scale=Vector3.new(3,1.5,3) | |
| 1616 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
| 1617 | if v:FindFirstChild('Humanoid') then
| |
| 1618 | v.Humanoid:TakeDamage(math.random(2,6)) | |
| 1619 | end | |
| 1620 | end | |
| 1621 | coroutine.resume(coroutine.create(function() | |
| 1622 | for i=0,0.62,0.4 do | |
| 1623 | wait() | |
| 1624 | part.CFrame=part.CFrame | |
| 1625 | part.Transparency=i | |
| 1626 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
| 1627 | part2.CFrame=part2.CFrame | |
| 1628 | part2.Transparency=i | |
| 1629 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
| 1630 | end | |
| 1631 | part.Parent=nil | |
| 1632 | part2.Parent=nil | |
| 1633 | end)) | |
| 1634 | end | |
| 1635 | ---------------------------------------------------- | |
| 1636 | rarm.Touched:connect(function(ht) | |
| 1637 | hit = ht.Parent | |
| 1638 | if ht and hit:IsA("Model") then
| |
| 1639 | if hit:FindFirstChild("Humanoid") then
| |
| 1640 | if hit.Name ~= p.Name then | |
| 1641 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1642 | Debounces.RPunched = true | |
| 1643 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1644 | if Debounces.ks==true then | |
| 1645 | z = Instance.new("Sound",hed)
| |
| 1646 | z.SoundId = "rbxassetid://169380525" | |
| 1647 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1648 | z.Volume = 1 | |
| 1649 | z:Play() | |
| 1650 | end | |
| 1651 | wait(.2) | |
| 1652 | Debounces.RPunched = false | |
| 1653 | end | |
| 1654 | end | |
| 1655 | end | |
| 1656 | elseif ht and hit:IsA("Hat") then
| |
| 1657 | if hit.Parent.Name ~= p.Name then | |
| 1658 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1659 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1660 | Debounces.RPunched = true | |
| 1661 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1662 | if Debounces.ks==true then | |
| 1663 | z = Instance.new("Sound",hed)
| |
| 1664 | z.SoundId = "rbxassetid://169380525" | |
| 1665 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1666 | z.Volume = 1 | |
| 1667 | z:Play() | |
| 1668 | end | |
| 1669 | wait(.2) | |
| 1670 | Debounces.RPunched = false | |
| 1671 | end | |
| 1672 | end | |
| 1673 | end | |
| 1674 | end | |
| 1675 | end) | |
| 1676 | larm.Touched:connect(function(ht) | |
| 1677 | hit = ht.Parent | |
| 1678 | if ht and hit:IsA("Model") then
| |
| 1679 | if hit:FindFirstChild("Humanoid") then
| |
| 1680 | if hit.Name ~= p.Name then | |
| 1681 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1682 | Debounces.LPunched = true | |
| 1683 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1684 | if Debounces.ks2==true then | |
| 1685 | z = Instance.new("Sound",hed)
| |
| 1686 | z.SoundId = "rbxassetid://169380525" | |
| 1687 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1688 | z.Volume = 1 | |
| 1689 | z:Play() | |
| 1690 | end | |
| 1691 | wait(.2) | |
| 1692 | Debounces.LPunched = false | |
| 1693 | end | |
| 1694 | end | |
| 1695 | end | |
| 1696 | elseif ht and hit:IsA("Hat") then
| |
| 1697 | if hit.Parent.Name ~= p.Name then | |
| 1698 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1699 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1700 | Debounces.LPunched = true | |
| 1701 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1702 | if Debounces.ks2==true then | |
| 1703 | z = Instance.new("Sound",hed)
| |
| 1704 | z.SoundId = "rbxassetid://169380525" | |
| 1705 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1706 | z.Volume = 1 | |
| 1707 | z:Play() | |
| 1708 | end | |
| 1709 | wait(.2) | |
| 1710 | Debounces.LPunched = false | |
| 1711 | end | |
| 1712 | end | |
| 1713 | end | |
| 1714 | end | |
| 1715 | end) | |
| 1716 | ---------------------------------------------------- | |
| 1717 | local player = game.Players.LocalPlayer | |
| 1718 | local pchar = player.Character | |
| 1719 | local mouse = player:GetMouse() | |
| 1720 | local cam = workspace.CurrentCamera | |
| 1721 | ||
| 1722 | local rad = math.rad | |
| 1723 | ||
| 1724 | local keysDown = {}
| |
| 1725 | local flySpeed = 0 | |
| 1726 | local MAX_FLY_SPEED = 3000 | |
| 1727 | ||
| 1728 | local canFly = false | |
| 1729 | - | game:service'RunService'.RenderStepped:connect(function() |
| 1729 | + | |
| 1730 | ||
| 1731 | local forward, side = 0, 0 | |
| 1732 | local lastForward, lastSide = 0, 0 | |
| 1733 | ||
| 1734 | local floatBP = Instance.new("BodyPosition")
| |
| 1735 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
| 1736 | local flyBV = Instance.new("BodyVelocity")
| |
| 1737 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 1738 | local turnBG = Instance.new("BodyGyro")
| |
| 1739 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 1740 | ||
| 1741 | mouse.KeyDown:connect(function(key) | |
| 1742 | keysDown[key] = true | |
| 1743 | ||
| 1744 | if key == "f" then | |
| 1745 | flyToggled = not flyToggled | |
| 1746 | ||
| 1747 | if not flyToggled then | |
| 1748 | stanceToggle = "Normal" | |
| 1749 | floatBP.Parent = nil | |
| 1750 | flyBV.Parent = nil | |
| 1751 | turnBG.Parent = nil | |
| 1752 | root.Velocity = Vector3.new() | |
| 1753 | pchar.Humanoid.PlatformStand = false | |
| 1754 | end | |
| 1755 | end | |
| 1756 | ||
| 1757 | end) | |
| 1758 | mouse.KeyUp:connect(function(key) | |
| 1759 | keysDown[key] = nil | |
| 1760 | end) | |
| 1761 | ||
| 1762 | local function updateFly() | |
| 1763 | ||
| 1764 | if not flyToggled then return end | |
| 1765 | ||
| 1766 | lastForward = forward | |
| 1767 | lastSide = side | |
| 1768 | ||
| 1769 | forward = 0 | |
| 1770 | side = 0 | |
| 1771 | ||
| 1772 | if keysDown.w then | |
| 1773 | forward = forward + 1 | |
| 1774 | end | |
| 1775 | if keysDown.s then | |
| 1776 | forward = forward - 1 | |
| 1777 | end | |
| 1778 | if keysDown.a then | |
| 1779 | side = side - 1 | |
| 1780 | end | |
| 1781 | if keysDown.d then | |
| 1782 | side = side + 1 | |
| 1783 | end | |
| 1784 | ||
| 1785 | canFly = (forward ~= 0 or side ~= 0) | |
| 1786 | ||
| 1787 | if canFly then | |
| 1788 | stanceToggle = "Floating" | |
| 1789 | turnBG.Parent = root | |
| 1790 | floatBP.Parent = nil | |
| 1791 | flyBV.Parent = root | |
| 1792 | ||
| 1793 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
| 1794 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
| 1795 | else | |
| 1796 | floatBP.position = root.Position | |
| 1797 | floatBP.Parent = root | |
| 1798 | ||
| 1799 | flySpeed = flySpeed - 1 | |
| 1800 | if flySpeed < 0 then flySpeed = 0 end | |
| 1801 | end | |
| 1802 | ||
| 1803 | local camCF = cam.CoordinateFrame | |
| 1804 | local in_forward = canFly and forward or lastForward | |
| 1805 | local in_side = canFly and side or lastSide | |
| 1806 | ||
| 1807 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
| 1808 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
| 1809 | ||
| 1810 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
| 1811 | 0) | |
| 1812 | end | |
| 1813 | ||
| 1814 | game:service'RunService'.Stepped:connect(function() | |
| 1815 | if flyToggled then | |
| 1816 | pchar.Humanoid.PlatformStand = true | |
| 1817 | end | |
| 1818 | updateFly() | |
| 1819 | end) | |
| 1820 | ------------------------------- | |
| 1821 | mouse.KeyDown:connect(function(key) | |
| 1822 | if key == "q" then | |
| 1823 | if Debounces.CanAttack == true then | |
| 1824 | Debounces.CanAttack = false | |
| 1825 | Debounces.NoIdl = true | |
| 1826 | Debounces.on = true | |
| 1827 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1828 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1829 | local List = {}
| |
| 1830 | for i,v in pairs(workspace:GetChildren())do | |
| 1831 | if v:IsA("Model")then
| |
| 1832 | if v:findFirstChild("Torso")then
| |
| 1833 | if v ~= char then | |
| 1834 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1835 | table.insert(List,v) | |
| 1836 | end | |
| 1837 | end | |
| 1838 | end | |
| 1839 | end | |
| 1840 | end | |
| 1841 | return List | |
| 1842 | end | |
| 1843 | z = Instance.new("Sound",workspace)
| |
| 1844 | z.SoundId = "rbxassetid://232213955" | |
| 1845 | z.Pitch = 0.75 | |
| 1846 | z.Volume = 5 | |
| 1847 | wait(0.2) | |
| 1848 | z:Play() | |
| 1849 | sp = Instance.new("Part",rarm)
| |
| 1850 | sp.Anchored = true | |
| 1851 | sp.CanCollide = false | |
| 1852 | sp.Locked = true | |
| 1853 | sp.Transparency = 0 | |
| 1854 | sp.Material = "Neon" | |
| 1855 | sp.Size = Vector3.new(2,2,2) | |
| 1856 | sp.TopSurface = "SmoothNoOutlines" | |
| 1857 | sp.BottomSurface = "SmoothNoOutlines" | |
| 1858 | sp.BrickColor = TorsoColor | |
| 1859 | spm = Instance.new("SpecialMesh",sp)
| |
| 1860 | spm.MeshType = "Sphere" | |
| 1861 | spm.Scale = Vector3.new(42,42,42) | |
| 1862 | sp2 = Instance.new("Part", rarm)
| |
| 1863 | sp2.Name = "Energy" | |
| 1864 | sp2.BrickColor = TorsoColor | |
| 1865 | sp2.Size = Vector3.new(1, 1, 1) | |
| 1866 | sp2.Shape = "Ball" | |
| 1867 | sp2.CanCollide = false | |
| 1868 | sp2.Anchored = true | |
| 1869 | sp2.Locked = true | |
| 1870 | sp2.TopSurface = 0 | |
| 1871 | sp2.BottomSurface = 0 | |
| 1872 | sp2.Transparency = 1 | |
| 1873 | spm2 = Instance.new("SpecialMesh",sp2)
| |
| 1874 | spm2.MeshId = "rbxassetid://9982590" | |
| 1875 | spm2.Scale = Vector3.new(4,4,4) | |
| 1876 | sp3 = Instance.new("Part", rarm)
| |
| 1877 | sp3.Name = "Energy" | |
| 1878 | sp3.BrickColor = TorsoColor | |
| 1879 | sp3.Size = Vector3.new(1, 1, 1) | |
| 1880 | sp3.Shape = "Ball" | |
| 1881 | sp3.CanCollide = false | |
| 1882 | sp3.Anchored = true | |
| 1883 | sp3.Locked = true | |
| 1884 | sp3.TopSurface = 0 | |
| 1885 | sp3.BottomSurface = 0 | |
| 1886 | sp3.Transparency = 1 | |
| 1887 | spm3 = Instance.new("SpecialMesh",sp2)
| |
| 1888 | spm3.MeshId = "rbxassetid://9982590" | |
| 1889 | spm3.Scale = Vector3.new(8,8,8) | |
| 1890 | for i = 1, 20 do | |
| 1891 | spm.Scale = spm.Scale - Vector3.new(2,2,2) | |
| 1892 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1893 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
| 1894 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
| 1895 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 1896 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 1897 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1898 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1899 | if Debounces.on == false then break end | |
| 1900 | rs:wait() | |
| 1901 | end | |
| 1902 | for i = 1, 100, 20 do rs:wait() | |
| 1903 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1904 | end | |
| 1905 | for i = 1, 20 do | |
| 1906 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1907 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 1908 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4) | |
| 1909 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
| 1910 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
| 1911 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1912 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1913 | if Debounces.on == false then break end | |
| 1914 | rs:wait() | |
| 1915 | end | |
| 1916 | sp.Transparency = 1 | |
| 1917 | for i = 1, 20 do | |
| 1918 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 1919 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4) | |
| 1920 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
| 1921 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
| 1922 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1923 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1924 | if Debounces.on == false then break end | |
| 1925 | rs:wait() | |
| 1926 | end | |
| 1927 | wait(1) | |
| 1928 | sp.Transparency = 0 | |
| 1929 | sp2.Transparency = 0.84 | |
| 1930 | for i = 1, 20 do | |
| 1931 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
| 1932 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
| 1933 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
| 1934 | sp3.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
| 1935 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
| 1936 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
| 1937 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
| 1938 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1939 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
| 1940 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
| 1941 | if Debounces.on == false then break end | |
| 1942 | rs:wait() | |
| 1943 | end | |
| 1944 | for i = 1, 2880, 50 do | |
| 1945 | rs:wait() | |
| 1946 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
| 1947 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 1948 | sp3.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/-10), math.rad(-i/-10), math.rad(i/-10)) | |
| 1949 | rs:wait() | |
| 1950 | end | |
| 1951 | sp:Destroy() | |
| 1952 | sp2:Destroy() | |
| 1953 | sp3:Destroy() | |
| 1954 | local X = Instance.new("Part",char)
| |
| 1955 | local O = Instance.new("ObjectValue",X)
| |
| 1956 | O.Name = "creator" | |
| 1957 | X.Locked = true | |
| 1958 | X.Name = "Shell" | |
| 1959 | X.Anchored = false | |
| 1960 | X.CanCollide = false | |
| 1961 | X.Transparency = 0 | |
| 1962 | X.Reflectance = 0 | |
| 1963 | X.BottomSurface = 0 | |
| 1964 | X.TopSurface = 0 | |
| 1965 | X.Shape = 0 | |
| 1966 | local V = Instance.new("ObjectValue",X)
| |
| 1967 | V.Value = char | |
| 1968 | V.Name = "creator" | |
| 1969 | X.BrickColor = TorsoColor | |
| 1970 | X.Size = Vector3.new(2,2,2) | |
| 1971 | X.Material = "Neon" | |
| 1972 | local Z = Instance.new("SpecialMesh",X)
| |
| 1973 | Z.MeshType = "Sphere" | |
| 1974 | Z.Scale = Vector3.new(0.5,0.5,1) | |
| 1975 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
| 1976 | local bv = Instance.new("BodyVelocity",X)
| |
| 1977 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 1978 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
| 1979 | bv.velocity = X.CFrame.lookVector*75 | |
| 1980 | ||
| 1981 | Explode = X.Touched:connect(function(hit) | |
| 1982 | if hit ~= char and hit.Name ~= "Shell" then | |
| 1983 | local cf = X.CFrame | |
| 1984 | bv:Destroy() | |
| 1985 | X.Anchored = true | |
| 1986 | Z:Remove() | |
| 1987 | Explode:disconnect() | |
| 1988 | X.Size = Vector3.new(6,6,6) | |
| 1989 | X.Touched:connect(function(hit) end) | |
| 1990 | X.CanCollide = false | |
| 1991 | local part3 = Instance.new("Part", rarm)
| |
| 1992 | part3.Anchored=true | |
| 1993 | part3.CanCollide=false | |
| 1994 | part3.Locked = true | |
| 1995 | part3.TopSurface = "SmoothNoOutlines" | |
| 1996 | part3.BottomSurface = "SmoothNoOutlines" | |
| 1997 | part3.FormFactor='Custom' | |
| 1998 | part3.Size=Vector3.new(2,2, 2) | |
| 1999 | part3.CFrame=X.CFrame | |
| 2000 | part3.Transparency=0 | |
| 2001 | part3.BrickColor=TorsoColor | |
| 2002 | local mesh3 = Instance.new("SpecialMesh",part3)
| |
| 2003 | mesh3.MeshType = "Sphere" | |
| 2004 | mesh3.Scale = Vector3.new(2,2,2) | |
| 2005 | --debris:AddItem(X,8) | |
| 2006 | local part4 = Instance.new("Part", rarm)
| |
| 2007 | part4.Material = "Neon" | |
| 2008 | part4.Anchored=true | |
| 2009 | part4.CanCollide=false | |
| 2010 | part4.Locked = true | |
| 2011 | part4.TopSurface = "SmoothNoOutlines" | |
| 2012 | part4.BottomSurface = "SmoothNoOutlines" | |
| 2013 | part4.FormFactor='Custom' | |
| 2014 | part4.Size=Vector3.new(2,2, 2) | |
| 2015 | part4.CFrame=X.CFrame | |
| 2016 | part4.Transparency=0 | |
| 2017 | part4.BrickColor=BrickColor.new("Black")
| |
| 2018 | local mesh4 = Instance.new("SpecialMesh",part4)
| |
| 2019 | mesh4.MeshType = "Sphere" | |
| 2020 | mesh4.Scale = Vector3.new(1,1,1) | |
| 2021 | local part7 = Instance.new("Part", rarm)
| |
| 2022 | part7.Material = "Neon" | |
| 2023 | part7.Anchored=true | |
| 2024 | part7.CanCollide=false | |
| 2025 | part7.Locked = true | |
| 2026 | part7.TopSurface = "SmoothNoOutlines" | |
| 2027 | part7.BottomSurface = "SmoothNoOutlines" | |
| 2028 | part7.FormFactor='Custom' | |
| 2029 | part7.Size=Vector3.new(2,2, 2) | |
| 2030 | part7.CFrame=X.CFrame | |
| 2031 | part7.Transparency=0 | |
| 2032 | part7.BrickColor=BrickColor.new("Really black")
| |
| 2033 | local mesh7 = Instance.new("SpecialMesh",part7)
| |
| 2034 | mesh7.MeshType = "Sphere" | |
| 2035 | mesh7.Scale = Vector3.new(0.2, 0.2, 0.2) | |
| 2036 | --[[X.Touched:connect(function(ht) | |
| 2037 | hit = ht.Parent | |
| 2038 | if ht and hit:IsA("Model") then
| |
| 2039 | if hit:FindFirstChild("Humanoid") then
| |
| 2040 | if hit.Name ~= p.Name then | |
| 2041 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 2042 | wait(.3) | |
| 2043 | end | |
| 2044 | end | |
| 2045 | elseif ht and hit:IsA("Hat") then
| |
| 2046 | if hit.Parent.Name ~= p.Name then | |
| 2047 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2048 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 2049 | wait(.3) | |
| 2050 | end | |
| 2051 | end | |
| 2052 | end | |
| 2053 | end) | |
| 2054 | part3.Touched:connect(function(ht) | |
| 2055 | hit = ht.Parent | |
| 2056 | if ht and hit:IsA("Model") then
| |
| 2057 | if hit:FindFirstChild("Humanoid") then
| |
| 2058 | if hit.Name ~= p.Name then | |
| 2059 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 2060 | wait(.3) | |
| 2061 | end | |
| 2062 | end | |
| 2063 | elseif ht and hit:IsA("Hat") then
| |
| 2064 | if hit.Parent.Name ~= p.Name then | |
| 2065 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2066 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 2067 | wait(.3) | |
| 2068 | end | |
| 2069 | end | |
| 2070 | end | |
| 2071 | end)]]-- | |
| 2072 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
| 2073 | if v:FindFirstChild('Humanoid') then
| |
| 2074 | v.Humanoid:TakeDamage(math.random(60,90)) | |
| 2075 | v.Humanoid.PlatformStand = true | |
| 2076 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 2077 | end | |
| 2078 | end | |
| 2079 | ||
| 2080 | local acos = math.acos | |
| 2081 | local sqrt = math.sqrt | |
| 2082 | local Vec3 = Vector3.new | |
| 2083 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 2084 | ||
| 2085 | local function toAxisAngle(CFr) | |
| 2086 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 2087 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 2088 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 2089 | A = A == 0 and 0.00001 or A | |
| 2090 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 2091 | B = B == 0 and 0.00001 or B | |
| 2092 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 2093 | C = C == 0 and 0.00001 or C | |
| 2094 | local x = (R21-R12)/sqrt(A) | |
| 2095 | local y = (R02-R20)/sqrt(B) | |
| 2096 | local z = (R10-R01)/sqrt(C) | |
| 2097 | return Vec3(x,y,z),Angle | |
| 2098 | end | |
| 2099 | ||
| 2100 | function ApplyTrig(Num,Func) | |
| 2101 | local Min,Max = Func(0),Func(1) | |
| 2102 | local i = Func(Num) | |
| 2103 | return (i-Min)/(Max-Min) | |
| 2104 | end | |
| 2105 | ||
| 2106 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 2107 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 2108 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 2109 | end | |
| 2110 | ||
| 2111 | function Crater(Torso,Radius) | |
| 2112 | Spawn(function() | |
| 2113 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 2114 | local Ignore = {}
| |
| 2115 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 2116 | if v.Character ~= nil then | |
| 2117 | Ignore[#Ignore+1] = v.Character | |
| 2118 | end | |
| 2119 | end | |
| 2120 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 2121 | if Hit == nil then return end | |
| 2122 | local Parts = {}
| |
| 2123 | for i = 1,360,10 do | |
| 2124 | local P = Instance.new("Part",Torso.Parent)
| |
| 2125 | P.Anchored = true | |
| 2126 | P.FormFactor = "Custom" | |
| 2127 | P.BrickColor = Hit.BrickColor | |
| 2128 | P.Material = Hit.Material | |
| 2129 | P.TopSurface = "Smooth" | |
| 2130 | P.BottomSurface = "Smooth" | |
| 2131 | P.Size = Vector3.new(10,20,20)*(math.random(80,100)/100) | |
| 2132 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
| 2133 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
| |
| 2134 | if math.random(0,5) == 0 then -- rubble | |
| 2135 | local P = Instance.new("Part",Torso.Parent)
| |
| 2136 | P.Anchored = true | |
| 2137 | P.FormFactor = "Custom" | |
| 2138 | P.BrickColor = Hit.BrickColor | |
| 2139 | P.Material = Hit.Material | |
| 2140 | P.TopSurface = "Smooth" | |
| 2141 | P.BottomSurface = "Smooth" | |
| 2142 | P.Size = Vector3.new(4,4,4)*(math.random(80,100)/100) | |
| 2143 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
| 2144 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
| |
| 2145 | end | |
| 2146 | end | |
| 2147 | for i = 0,1,0.05 do | |
| 2148 | for i2,v in pairs(Parts) do | |
| 2149 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 2150 | end | |
| 2151 | wait(0.02) | |
| 2152 | end | |
| 2153 | for i,v in pairs(Parts) do | |
| 2154 | if v[1].Size.X > 2.1 then | |
| 2155 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 2156 | end | |
| 2157 | v[1].Anchored = false | |
| 2158 | end | |
| 2159 | for i = 0,1,0.05 do | |
| 2160 | for i2,v in pairs(Parts) do | |
| 2161 | v[1].Transparency = i | |
| 2162 | if i == 1 then | |
| 2163 | v[1]:Destroy() | |
| 2164 | elseif i >= 0.25 then | |
| 2165 | v[1].CanCollide = false | |
| 2166 | end | |
| 2167 | end | |
| 2168 | wait(0.02) | |
| 2169 | end | |
| 2170 | Parts = nil | |
| 2171 | end) | |
| 2172 | end | |
| 2173 | ||
| 2174 | ROW = function(out, trans, s, wt, t, ang, plus) | |
| 2175 | for i = 1, 360, 360/t do | |
| 2176 | local c = Instance.new("Part", game.Workspace)
| |
| 2177 | c.FormFactor = 3 | |
| 2178 | c.TopSurface = 0 | |
| 2179 | c.BottomSurface = 0 | |
| 2180 | c.Size = s | |
| 2181 | c.Anchored = true | |
| 2182 | c.CanCollide = wt | |
| 2183 | c.Material=workspace.Base.Material | |
| 2184 | c.Transparency = trans | |
| 2185 | c.BrickColor = workspace.Base.BrickColor | |
| 2186 | c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
| 2187 | c.Locked=true | |
| 2188 | game.Debris:AddItem(c,15) | |
| 2189 | end | |
| 2190 | end | |
| 2191 | ||
| 2192 | Part = function(x,y,z,color,tr,cc,an,parent) | |
| 2193 | local p = Instance.new('Part',parent or Weapon)
| |
| 2194 | p.formFactor = 'Custom' | |
| 2195 | p.Size = Vector3.new(x,y,z) | |
| 2196 | p.BrickColor = BrickColor.new(color) | |
| 2197 | p.CanCollide = cc | |
| 2198 | p.Transparency = tr | |
| 2199 | p.Anchored = an | |
| 2200 | p.TopSurface,p.BottomSurface = 0,0 | |
| 2201 | p.Locked=true | |
| 2202 | p:BreakJoints() | |
| 2203 | return p end | |
| 2204 | ||
| 2205 | Mesh = function(par,num,x,y,z) | |
| 2206 | local msh = _ | |
| 2207 | if num == 1 then msh = Instance.new("CylinderMesh",par)
| |
| 2208 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
| |
| 2209 | elseif num == 3 then msh = Instance.new("BlockMesh",par)
| |
| 2210 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
| |
| 2211 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
| |
| 2212 | end msh.Scale = Vector3.new(x,y,z) | |
| 2213 | return msh end | |
| 2214 | ||
| 2215 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
| 2216 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
| 2217 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
| 2218 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
| 2219 | v1,v2,v3=sz.x,sz.y,sz.z | |
| 2220 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
| 2221 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
| 2222 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
| 2223 | a.CFrame=cfr | |
| 2224 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 2225 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 2226 | ||
| 2227 | Spawn(function() | |
| 2228 | while wait() do | |
| 2229 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
| 2230 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
| 2231 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
| 2232 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
| 2233 | a.Transparency=a.Transparency+0.05 | |
| 2234 | a2.Transparency=a2.Transparency+0.05 | |
| 2235 | a3.Transparency=a3.Transparency+0.05 | |
| 2236 | end | |
| 2237 | end) | |
| 2238 | end | |
| 2239 | ||
| 2240 | Crater(X,20) | |
| 2241 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
| 2242 | z = Instance.new("Sound",workspace)
| |
| 2243 | z.SoundId = "rbxassetid://231917744" | |
| 2244 | z.Pitch = .5 | |
| 2245 | z.Volume = 5 | |
| 2246 | z1 = Instance.new("Sound",workspace)
| |
| 2247 | z1.SoundId = "rbxassetid://231917744" | |
| 2248 | z1.Pitch = .5 | |
| 2249 | z1.Volume = 5 | |
| 2250 | z2 = Instance.new("Sound",workspace)
| |
| 2251 | z2.SoundId = "rbxassetid://231917744" | |
| 2252 | z2.Pitch = .5 | |
| 2253 | z2.Volume = 5 | |
| 2254 | z3 = Instance.new("Sound",workspace)
| |
| 2255 | z3.SoundId = "rbxassetid://245537790" | |
| 2256 | z3.Pitch = .7 | |
| 2257 | z3.Volume = 5 | |
| 2258 | z4 = Instance.new("Sound",workspace)
| |
| 2259 | z4.SoundId = "rbxassetid://245537790" | |
| 2260 | z4.Pitch = .7 | |
| 2261 | z4.Volume = 5 | |
| 2262 | z4a = Instance.new("Sound",workspace)
| |
| 2263 | z4a.SoundId = "rbxassetid://419447292" | |
| 2264 | z4a.Pitch = 1 | |
| 2265 | z4a.Volume = 5 | |
| 2266 | z3a = Instance.new("Sound",workspace)
| |
| 2267 | z3a.SoundId = "rbxassetid://421328847" | |
| 2268 | z3a.Pitch = 1 | |
| 2269 | z3a.Volume = 5 | |
| 2270 | wait(0.1) | |
| 2271 | z:Play() | |
| 2272 | z1:Play() | |
| 2273 | z2:Play() | |
| 2274 | z3:Play() | |
| 2275 | z4:Play() | |
| 2276 | z3a:Play() | |
| 2277 | z4a:Play() | |
| 2278 | ||
| 2279 | local part=Instance.new('Part',rarm)
| |
| 2280 | part.Anchored=true | |
| 2281 | part.CanCollide=false | |
| 2282 | part.Locked = true | |
| 2283 | part.FormFactor='Custom' | |
| 2284 | part.Size=Vector3.new(2,2,2) | |
| 2285 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
| 2286 | part.Transparency=0 | |
| 2287 | part.BrickColor=BrickColor.new('Really black')
| |
| 2288 | local mesh=Instance.new('SpecialMesh',part)
| |
| 2289 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 2290 | mesh.Scale=Vector3.new(4,4,4) | |
| 2291 | local part2=part:clone() | |
| 2292 | part2.Parent = rarm | |
| 2293 | part2.BrickColor=TorsoColor | |
| 2294 | local part5=part:clone() | |
| 2295 | part5.Parent = rarm | |
| 2296 | part5.BrickColor=TorsoColor | |
| 2297 | local part6=part:clone() | |
| 2298 | part6.Parent = rarm | |
| 2299 | part6.BrickColor=BrickColor.new("Black")
| |
| 2300 | local mesh2=mesh:clone() | |
| 2301 | mesh2.Parent=part2 | |
| 2302 | mesh2.Scale=Vector3.new(6, 6, 6) | |
| 2303 | local mesh5=mesh:clone() | |
| 2304 | mesh5.Parent=part5 | |
| 2305 | mesh5.Scale=Vector3.new(6, 6, 6) | |
| 2306 | local mesh6=mesh:clone() | |
| 2307 | mesh6.Parent=part6 | |
| 2308 | mesh6.Scale=Vector3.new(6, 6, 6) | |
| 2309 | local blast = Instance.new("Part", rarm)
| |
| 2310 | blast.BrickColor = BrickColor.new("Really black")
| |
| 2311 | blast.Anchored = true | |
| 2312 | blast.CanCollide = false | |
| 2313 | blast.Locked = true | |
| 2314 | blast.Size = Vector3.new(2, 2, 2) | |
| 2315 | blast.TopSurface = "Smooth" | |
| 2316 | blast.BottomSurface = "Smooth" | |
| 2317 | blast.Transparency = 0 | |
| 2318 | blast.CFrame = HandCF | |
| 2319 | local bm = Instance.new("SpecialMesh", blast)
| |
| 2320 | bm.Scale = Vector3.new(10,2,10) | |
| 2321 | bm.MeshId = "rbxassetid://3270017" | |
| 2322 | local blast2 = Instance.new("Part", rarm)
| |
| 2323 | blast2.BrickColor = BrickColor.new("Really black")
| |
| 2324 | blast2.Anchored = true | |
| 2325 | blast2.CanCollide = false | |
| 2326 | blast2.Locked = true | |
| 2327 | blast2.Size = Vector3.new(2, 2, 2) | |
| 2328 | blast2.TopSurface = "Smooth" | |
| 2329 | blast2.BottomSurface = "Smooth" | |
| 2330 | blast2.Transparency = 0 | |
| 2331 | blast2.CFrame = HandCF | |
| 2332 | local bm2 = Instance.new("SpecialMesh", blast2)
| |
| 2333 | bm2.Scale = Vector3.new(6,2,6) | |
| 2334 | bm2.MeshId = "rbxassetid://3270017" | |
| 2335 | local blast3 = Instance.new("Part", rarm)
| |
| 2336 | blast3.BrickColor = BrickColor.new("Really black")
| |
| 2337 | blast3.Anchored = true | |
| 2338 | blast3.CanCollide = false | |
| 2339 | blast3.Locked = true | |
| 2340 | blast3.Size = Vector3.new(1, 1, 1) | |
| 2341 | blast3.TopSurface = "Smooth" | |
| 2342 | blast3.BottomSurface = "Smooth" | |
| 2343 | blast3.Transparency = 0 | |
| 2344 | blast3.CFrame = HandCF | |
| 2345 | local bm3 = Instance.new("SpecialMesh", blast3)
| |
| 2346 | bm3.Scale = Vector3.new(6,2,6) | |
| 2347 | bm3.MeshId = "rbxassetid://3270017" | |
| 2348 | for i = 1,120 do rs:wait() | |
| 2349 | X.Transparency = X.Transparency + (1/120) | |
| 2350 | part.Transparency = part.Transparency + (1/120) | |
| 2351 | part2.Transparency = part2.Transparency + (1/120) | |
| 2352 | part3.Transparency = part3.Transparency + (1/120) | |
| 2353 | part4.Transparency = part4.Transparency + (1/120) | |
| 2354 | part5.Transparency = part5.Transparency + (1/120) | |
| 2355 | part6.Transparency = part6.Transparency + (1/120) | |
| 2356 | part7.Transparency = part7.Transparency + (1/120) | |
| 2357 | blast.Transparency = blast.Transparency + (1/120) | |
| 2358 | blast2.Transparency = blast2.Transparency + (1/120) | |
| 2359 | blast3.Transparency = blast3.Transparency + (1/120) | |
| 2360 | X.Size = X.Size + Vector3.new(1.6,1.6,1.6) | |
| 2361 | --part3.Size = part3.Size + Vector3.new(6,6,6) | |
| 2362 | mesh.Scale = mesh.Scale + Vector3.new(2,.4,2) | |
| 2363 | mesh2.Scale = mesh2.Scale + Vector3.new(2.2,.4,2.2) | |
| 2364 | mesh3.Scale = mesh3.Scale + Vector3.new(6,6,6) | |
| 2365 | mesh4.Scale = mesh4.Scale + Vector3.new(3.4,3.4,3.4) | |
| 2366 | mesh5.Scale = mesh5.Scale + Vector3.new(3.2,.4,3.2) | |
| 2367 | mesh6.Scale = mesh6.Scale + Vector3.new(4,.4,4) | |
| 2368 | mesh7.Scale = mesh7.Scale + Vector3.new(8,8,8) | |
| 2369 | bm.Scale = bm.Scale + Vector3.new(12,12,.4) | |
| 2370 | bm2.Scale = bm2.Scale + Vector3.new(8,8,.4) | |
| 2371 | bm3.Scale = bm3.Scale + Vector3.new(8,8,.4) | |
| 2372 | X.CFrame = cf | |
| 2373 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
| 2374 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
| 2375 | part3.CFrame=X.CFrame | |
| 2376 | part4.CFrame=X.CFrame | |
| 2377 | part7.CFrame=X.CFrame | |
| 2378 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
| 2379 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
| 2380 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 2381 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
| 2382 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
| 2383 | rs:wait() | |
| 2384 | end | |
| 2385 | X:Destroy() | |
| 2386 | part:Destroy() | |
| 2387 | part2:Destroy() | |
| 2388 | part3:Destroy() | |
| 2389 | part4:Destroy() | |
| 2390 | part5:Destroy() | |
| 2391 | part6:Destroy() | |
| 2392 | blast:Destroy() | |
| 2393 | blast2:Destroy() | |
| 2394 | blast3:Destroy() | |
| 2395 | z:Destroy() | |
| 2396 | z1:Destroy() | |
| 2397 | z2:Destroy() | |
| 2398 | z3:Destroy() | |
| 2399 | z4:Destroy() | |
| 2400 | end | |
| 2401 | end) | |
| 2402 | for i = 1, 20 do | |
| 2403 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
| 2404 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
| 2405 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 2406 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
| 2407 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 2408 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 2409 | if Debounces.on == false then break end | |
| 2410 | rs:wait() | |
| 2411 | end | |
| 2412 | if Debounces.CanAttack == false then | |
| 2413 | Debounces.CanAttack = true | |
| 2414 | Debounces.NoIdl = false | |
| 2415 | Debounces.on = false | |
| 2416 | end | |
| 2417 | end | |
| 2418 | end | |
| 2419 | end) | |
| 2420 | ---------------------------------------------------- | |
| 2421 | mouse.KeyDown:connect(function(key) | |
| 2422 | if key == "c" then | |
| 2423 | Blaze() | |
| 2424 | end | |
| 2425 | end) | |
| 2426 | ---------------------------------------------------- | |
| 2427 | mouse.KeyDown:connect(function(key) | |
| 2428 | if key == "v" then | |
| 2429 | Blaze2() | |
| 2430 | end | |
| 2431 | end) | |
| 2432 | ---------------------------------------------------- | |
| 2433 | mouse.KeyDown:connect(function(key) | |
| 2434 | if key == "x" then | |
| 2435 | hum.WalkSpeed = 0.01 | |
| 2436 | if Debounces.CanAttack == true then | |
| 2437 | Debounces.CanAttack = false | |
| 2438 | Debounces.NoIdl = true | |
| 2439 | Debounces.on = true | |
| 2440 | for i = 1, 30 do | |
| 2441 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
| 2442 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
| 2443 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 2444 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 2445 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 2446 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 2447 | if Debounces.on == false then break end | |
| 2448 | rs:wait(6) | |
| 2449 | end | |
| 2450 | v = Instance.new("Sound")
| |
| 2451 | v.SoundId = "rbxassetid://435742675" | |
| 2452 | v.Parent = char | |
| 2453 | v.Looped = false | |
| 2454 | v.Pitch = 1 | |
| 2455 | v.Volume = 18 | |
| 2456 | wait(.01) | |
| 2457 | v:Play() | |
| 2458 | ||
| 2459 | if Daytime == true then | |
| 2460 | Daytime = false | |
| 2461 | l.TimeOfDay = 00 | |
| 2462 | else | |
| 2463 | Daytime = true | |
| 2464 | l.TimeOfDay = 12 | |
| 2465 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
| 2466 | end | |
| 2467 | ||
| 2468 | local Shockwave = function() | |
| 2469 | local rng1 = Instance.new("Part", char)
| |
| 2470 | rng1.Anchored = true | |
| 2471 | rng1.BrickColor = BrickColor.new("Really black")
| |
| 2472 | rng1.CanCollide = false | |
| 2473 | rng1.FormFactor = 3 | |
| 2474 | rng1.Name = "Ring" | |
| 2475 | rng1.Material = "Neon" | |
| 2476 | rng1.Size = Vector3.new(1, 1, 1) | |
| 2477 | rng1.Transparency = 0.35 | |
| 2478 | rng1.TopSurface = 0 | |
| 2479 | rng1.BottomSurface = 0 | |
| 2480 | local rngm1 = Instance.new("SpecialMesh", rng)
| |
| 2481 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2482 | rngm1.Scale = Vector3.new(10, 10, 1) | |
| 2483 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
| 2484 | local Wave = Instance.new("Part", game.Workspace--[[?]])
| |
| 2485 | Wave.Name = "Shockwave" | |
| 2486 | Wave.BrickColor = BrickColor.new("Really black")
| |
| 2487 | Wave.Material = "Neon" | |
| 2488 | Wave.Size = Vector3.new(1, 1, 1) | |
| 2489 | Wave.Shape = "Ball" | |
| 2490 | Wave.CanCollide = false | |
| 2491 | Wave.Anchored = true | |
| 2492 | Wave.TopSurface = 0 | |
| 2493 | Wave.BottomSurface = 0 | |
| 2494 | local Wave2 = Instance.new("Part", game.Workspace--[[?]])
| |
| 2495 | Wave2.Name = "Shockwave2" | |
| 2496 | Wave2.BrickColor = TorsoColor | |
| 2497 | Wave2.Material = "Neon" | |
| 2498 | Wave2.Size = Vector3.new(1, 1, 1) | |
| 2499 | Wave2.Shape = "Ball" | |
| 2500 | Wave2.CanCollide = false | |
| 2501 | Wave2.Anchored = true | |
| 2502 | Wave2.TopSurface = 0 | |
| 2503 | Wave2.BottomSurface = 0 | |
| 2504 | Wave2.Touched:connect(function(hit) | |
| 2505 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
| |
| 2506 | local Occlude = true | |
| 2507 | local NotOccludes = {
| |
| 2508 | char.Name; | |
| 2509 | "Wings"; | |
| 2510 | "Scythe"; | |
| 2511 | "Thingy"; | |
| 2512 | "Thingy2"; -- put all of the names in a table pls | |
| 2513 | } | |
| 2514 | for i,v in pairs(NotOccludes) do | |
| 2515 | if hit.Parent.Name == v then | |
| 2516 | Occlude = false | |
| 2517 | end | |
| 2518 | end | |
| 2519 | --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then | |
| 2520 | if Occlude then | |
| 2521 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
| |
| 2522 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
| |
| 2523 | end | |
| 2524 | end | |
| 2525 | end) | |
| 2526 | ||
| 2527 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
| |
| 2528 | ||
| 2529 | coroutine.wrap(function() | |
| 2530 | for i = 1, 20, 0.2 do | |
| 2531 | rngm1.Scale = Vector3.new(10 + i*20, 10 + i*20, 20) | |
| 2532 | rng1.Transparency = i/20 | |
| 2533 | wait() | |
| 2534 | end | |
| 2535 | wait() | |
| 2536 | rng1:Destroy() | |
| 2537 | end)() | |
| 2538 | ||
| 2539 | Delay(0, function() | |
| 2540 | ||
| 2541 | if Daytime == false then | |
| 2542 | for i = 3, 50, 1 do | |
| 2543 | Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3) | |
| 2544 | Wave.CFrame = char.Torso.CFrame | |
| 2545 | local t = i / 50 | |
| 2546 | Wave.Transparency = t | |
| 2547 | Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5) | |
| 2548 | Wave2.CFrame = char.Torso.CFrame | |
| 2549 | local tq = i / 50 | |
| 2550 | Wave2.Transparency = tq | |
| 2551 | wait() | |
| 2552 | end | |
| 2553 | else | |
| 2554 | for i = 3, 50, 1 do | |
| 2555 | Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3) | |
| 2556 | Wave.CFrame = char.Torso.CFrame | |
| 2557 | local t = i / 50 | |
| 2558 | Wave.Transparency = t | |
| 2559 | Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5) | |
| 2560 | Wave2.CFrame = char.Torso.CFrame | |
| 2561 | local tq = i / 50 | |
| 2562 | Wave2.Transparency = tq | |
| 2563 | wait() | |
| 2564 | end | |
| 2565 | end | |
| 2566 | Wave:Destroy() | |
| 2567 | Wave2:Destroy() | |
| 2568 | end) | |
| 2569 | Delay(0, function() | |
| 2570 | while wait() do | |
| 2571 | if Wave ~= nil then | |
| 2572 | Wave.CFrame = char.Torso.CFrame | |
| 2573 | else | |
| 2574 | break | |
| 2575 | end | |
| 2576 | end | |
| 2577 | end) | |
| 2578 | end | |
| 2579 | Shockwave() | |
| 2580 | for i = 1, 30 do | |
| 2581 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
| 2582 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
| 2583 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
| 2584 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
| 2585 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
| 2586 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
| 2587 | if Debounces.on == false then break end | |
| 2588 | rs:wait() | |
| 2589 | end | |
| 2590 | wait(2.4) | |
| 2591 | Debounces.NoIdl = false | |
| 2592 | hum.WalkSpeed = 16 | |
| 2593 | Debounces.on = false | |
| 2594 | wait() | |
| 2595 | if Debounces.CanAttack == false then | |
| 2596 | Debounces.CanAttack = true | |
| 2597 | v:Destroy() | |
| 2598 | end | |
| 2599 | end | |
| 2600 | end | |
| 2601 | end) | |
| 2602 | ---------------------------------------------------- | |
| 2603 | mouse.KeyDown:connect(function(key) | |
| 2604 | if key == "e" then | |
| 2605 | if Debounces.CanAttack == true then | |
| 2606 | Debounces.CanAttack = false | |
| 2607 | Debounces.on = true | |
| 2608 | Debounces.NoIdl = true | |
| 2609 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
| |
| 2610 | z = Instance.new("Sound", rarm)
| |
| 2611 | z.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
| 2612 | z.Volume = 1.25 | |
| 2613 | z.Pitch = pt[math.random(1,#pt)] | |
| 2614 | z.Looped = false | |
| 2615 | z:Play() | |
| 2616 | Debounces.RPunch = true | |
| 2617 | Debounces.LPunch = true | |
| 2618 | Debounces.ks = true | |
| 2619 | Debounces.ks2 = true | |
| 2620 | for i = 1, 3 do | |
| 2621 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 2622 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 2623 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2624 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2625 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2626 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2627 | if Debounces.on == false then break end | |
| 2628 | wait() | |
| 2629 | end | |
| 2630 | z2 = Instance.new("Sound", larm)
| |
| 2631 | z2.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2632 | z2.Volume = 1.25 | |
| 2633 | z2.Pitch = pt[math.random(1,#pt)] | |
| 2634 | z2.Looped = false | |
| 2635 | z2:Play() | |
| 2636 | for i = 1, 3 do | |
| 2637 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2638 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 2639 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2640 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2641 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2642 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2643 | if Debounces.on == false then break end | |
| 2644 | wait() | |
| 2645 | end | |
| 2646 | z3 = Instance.new("Sound", rarm)
| |
| 2647 | z3.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2648 | z3.Volume = 1.25 | |
| 2649 | z3.Pitch = pt[math.random(1,#pt)] | |
| 2650 | z3.Looped = false | |
| 2651 | z3:Play() | |
| 2652 | for i = 1, 3 do | |
| 2653 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2654 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 2655 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2656 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2657 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2658 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2659 | if Debounces.on == false then break end | |
| 2660 | wait() | |
| 2661 | end | |
| 2662 | z4 = Instance.new("Sound", larm)
| |
| 2663 | z4.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2664 | z4.Volume = 1.25 | |
| 2665 | z4.Pitch = pt[math.random(1,#pt)] | |
| 2666 | z4.Looped = false | |
| 2667 | z4:Play() | |
| 2668 | for i = 1, 3 do | |
| 2669 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2670 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2671 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2672 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2673 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2674 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2675 | if Debounces.on == false then break end | |
| 2676 | wait() | |
| 2677 | end | |
| 2678 | z5 = Instance.new("Sound", rarm)
| |
| 2679 | z5.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2680 | z5.Volume = 1.25 | |
| 2681 | z5.Pitch = pt[math.random(1,#pt)] | |
| 2682 | z5.Looped = false | |
| 2683 | z5:Play() | |
| 2684 | for i = 1, 3 do | |
| 2685 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 2686 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 2687 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2688 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2689 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 2690 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 2691 | if Debounces.on == false then break end | |
| 2692 | wait() | |
| 2693 | end | |
| 2694 | z6 = Instance.new("Sound", larm)
| |
| 2695 | z6.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2696 | z6.Volume = 1.25 | |
| 2697 | z6.Pitch = pt[math.random(1,#pt)] | |
| 2698 | z6.Looped = false | |
| 2699 | z6:Play() | |
| 2700 | for i = 1, 3 do | |
| 2701 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2702 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2703 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2704 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2705 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2706 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2707 | if Debounces.on == false then break end | |
| 2708 | wait() | |
| 2709 | end | |
| 2710 | z7 = Instance.new("Sound", rarm)
| |
| 2711 | z7.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
| 2712 | z7.Volume = 1.25 | |
| 2713 | z7.Pitch = pt[math.random(1,#pt)] | |
| 2714 | z7.Looped = false | |
| 2715 | z7:Play() | |
| 2716 | for i = 1, 3 do | |
| 2717 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 2718 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 2719 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2720 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2721 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2722 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2723 | if Debounces.on == false then break end | |
| 2724 | wait() | |
| 2725 | end | |
| 2726 | z8 = Instance.new("Sound", larm)
| |
| 2727 | z8.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2728 | z8.Volume = 1.25 | |
| 2729 | z8.Pitch = pt[math.random(1,#pt)] | |
| 2730 | z8.Looped = false | |
| 2731 | z8:Play() | |
| 2732 | for i = 1, 3 do | |
| 2733 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2734 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 2735 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2736 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2737 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2738 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2739 | if Debounces.on == false then break end | |
| 2740 | wait() | |
| 2741 | end | |
| 2742 | z9 = Instance.new("Sound", rarm)
| |
| 2743 | z9.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2744 | z9.Volume = 1.25 | |
| 2745 | z9.Pitch = pt[math.random(1,#pt)] | |
| 2746 | z9.Looped = false | |
| 2747 | z9:Play() | |
| 2748 | for i = 1, 3 do | |
| 2749 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2750 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 2751 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2752 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2753 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2754 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2755 | if Debounces.on == false then break end | |
| 2756 | wait() | |
| 2757 | end | |
| 2758 | z10 = Instance.new("Sound", larm)
| |
| 2759 | z10.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2760 | z10.Volume = 1.25 | |
| 2761 | z10.Pitch = pt[math.random(1,#pt)] | |
| 2762 | z10.Looped = false | |
| 2763 | z10:Play() | |
| 2764 | for i = 1, 3 do | |
| 2765 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2766 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2767 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2768 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2769 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2770 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2771 | if Debounces.on == false then break end | |
| 2772 | wait() | |
| 2773 | end | |
| 2774 | z11 = Instance.new("Sound", rarm)
| |
| 2775 | z11.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2776 | z11.Volume = 1.25 | |
| 2777 | z11.Pitch = pt[math.random(1,#pt)] | |
| 2778 | z11.Looped = false | |
| 2779 | z11:Play() | |
| 2780 | for i = 1, 3 do | |
| 2781 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 2782 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 2783 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2784 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2785 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 2786 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 2787 | if Debounces.on == false then break end | |
| 2788 | wait() | |
| 2789 | end | |
| 2790 | z12 = Instance.new("Sound", larm)
| |
| 2791 | z12.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2792 | z12.Volume = 1.25 | |
| 2793 | z12.Pitch = pt[math.random(1,#pt)] | |
| 2794 | z12.Looped = false | |
| 2795 | z12:Play() | |
| 2796 | for i = 1, 3 do | |
| 2797 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2798 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 2799 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2800 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2801 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2802 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2803 | if Debounces.on == false then break end | |
| 2804 | wait() | |
| 2805 | end | |
| 2806 | z13 = Instance.new("Sound", rarm)
| |
| 2807 | z13.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2808 | z13.Volume = 1.25 | |
| 2809 | z13.Pitch = pt[math.random(1,#pt)] | |
| 2810 | z13.Looped = false | |
| 2811 | z13:Play() | |
| 2812 | for i = 1, 3 do | |
| 2813 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2814 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 2815 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2816 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2817 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2818 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2819 | if Debounces.on == false then break end | |
| 2820 | wait() | |
| 2821 | end | |
| 2822 | z14 = Instance.new("Sound", larm)
| |
| 2823 | z14.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2824 | z14.Volume = 1.25 | |
| 2825 | z14.Pitch = pt[math.random(1,#pt)] | |
| 2826 | z14.Looped = false | |
| 2827 | z14:Play() | |
| 2828 | for i = 1, 3 do | |
| 2829 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2830 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2831 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2832 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2833 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2834 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2835 | if Debounces.on == false then break end | |
| 2836 | wait() | |
| 2837 | end | |
| 2838 | z15 = Instance.new("Sound", rarm)
| |
| 2839 | z15.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2840 | z15.Volume = 1.25 | |
| 2841 | z15.Pitch = pt[math.random(1,#pt)] | |
| 2842 | z15.Looped = false | |
| 2843 | z15:Play() | |
| 2844 | for i = 1, 3 do | |
| 2845 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 2846 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 2847 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2848 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2849 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 2850 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 2851 | if Debounces.on == false then break end | |
| 2852 | wait() | |
| 2853 | end | |
| 2854 | z16 = Instance.new("Sound", larm)
| |
| 2855 | z16.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2856 | z16.Volume = 1.25 | |
| 2857 | z16.Pitch = pt[math.random(1,#pt)] | |
| 2858 | z16.Looped = false | |
| 2859 | z16:Play() | |
| 2860 | for i = 1, 3 do | |
| 2861 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2862 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2863 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2864 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2865 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2866 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2867 | if Debounces.on == false then break end | |
| 2868 | wait() | |
| 2869 | end | |
| 2870 | z17 = Instance.new("Sound", rarm)
| |
| 2871 | z17.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
| 2872 | z17.Volume = 1.25 | |
| 2873 | z17.Pitch = pt[math.random(1,#pt)] | |
| 2874 | z17.Looped = false | |
| 2875 | z17:Play() | |
| 2876 | for i = 1, 3 do | |
| 2877 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 2878 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 2879 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2880 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2881 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2882 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2883 | if Debounces.on == false then break end | |
| 2884 | wait() | |
| 2885 | end | |
| 2886 | z18 = Instance.new("Sound", larm)
| |
| 2887 | z18.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2888 | z18.Volume = 1.25 | |
| 2889 | z18.Pitch = pt[math.random(1,#pt)] | |
| 2890 | z18.Looped = false | |
| 2891 | z18:Play() | |
| 2892 | for i = 1, 3 do | |
| 2893 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2894 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 2895 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2896 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2897 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2898 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2899 | if Debounces.on == false then break end | |
| 2900 | wait() | |
| 2901 | end | |
| 2902 | z19 = Instance.new("Sound", rarm)
| |
| 2903 | z19.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2904 | z19.Volume = 1.25 | |
| 2905 | z19.Pitch = pt[math.random(1,#pt)] | |
| 2906 | z19.Looped = false | |
| 2907 | z19:Play() | |
| 2908 | for i = 1, 3 do | |
| 2909 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2910 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 2911 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2912 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2913 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2914 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2915 | if Debounces.on == false then break end | |
| 2916 | wait() | |
| 2917 | end | |
| 2918 | z20 = Instance.new("Sound", larm)
| |
| 2919 | z20.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2920 | z20.Volume = 1.25 | |
| 2921 | z20.Pitch = pt[math.random(1,#pt)] | |
| 2922 | z20.Looped = false | |
| 2923 | z20:Play() | |
| 2924 | for i = 1, 3 do | |
| 2925 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2926 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2927 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2928 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2929 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2930 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2931 | if Debounces.on == false then break end | |
| 2932 | wait() | |
| 2933 | end | |
| 2934 | z:Destroy() | |
| 2935 | z2:Destroy() | |
| 2936 | z3:Destroy() | |
| 2937 | z4:Destroy() | |
| 2938 | z5:Destroy() | |
| 2939 | z6:Destroy() | |
| 2940 | z7:Destroy() | |
| 2941 | z8:Destroy() | |
| 2942 | z9:Destroy() | |
| 2943 | z10:Destroy() | |
| 2944 | z11:Destroy() | |
| 2945 | z12:Destroy() | |
| 2946 | z13:Destroy() | |
| 2947 | z14:Destroy() | |
| 2948 | z15:Destroy() | |
| 2949 | z16:Destroy() | |
| 2950 | z17:Destroy() | |
| 2951 | z18:Destroy() | |
| 2952 | z19:Destroy() | |
| 2953 | z20:Destroy() | |
| 2954 | Debounces.LPunch = false | |
| 2955 | Debounces.RPunch = false | |
| 2956 | Debounces.ks = false | |
| 2957 | Debounces.ks2 = false | |
| 2958 | if Debounces.CanAttack == false then | |
| 2959 | Debounces.CanAttack = true | |
| 2960 | Debounces.on = false | |
| 2961 | Debounces.NoIdl = false | |
| 2962 | end | |
| 2963 | end | |
| 2964 | end | |
| 2965 | end) | |
| 2966 | ------------------------------- | |
| 2967 | mouse.KeyDown:connect(function(key) | |
| 2968 | if key == "t" then | |
| 2969 | if Debounces.CanAttack == true then | |
| 2970 | Debounces.CanAttack = false | |
| 2971 | Debounces.NoIdl = true | |
| 2972 | Debounces.on = true | |
| 2973 | Debounces.ks = true | |
| 2974 | kik = rleg.Touched:connect(function(ht) | |
| 2975 | hit = ht.Parent | |
| 2976 | if ht and hit:IsA("Model") then
| |
| 2977 | if hit:FindFirstChild("Humanoid") then
| |
| 2978 | if hit.Name ~= p.Name then | |
| 2979 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2980 | Debounces.Slashed = true]]-- | |
| 2981 | if Debounces.ks==true then | |
| 2982 | z = Instance.new("Sound",hed)
| |
| 2983 | z.SoundId = "rbxassetid://169380525" | |
| 2984 | z.Volume = 1 | |
| 2985 | z:Play() | |
| 2986 | Debounces.ks=false | |
| 2987 | end | |
| 2988 | hit:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 2989 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 2990 | --Debounces.Slashed = false | |
| 2991 | --end | |
| 2992 | end | |
| 2993 | end | |
| 2994 | elseif ht and hit:IsA("Hat") then
| |
| 2995 | if hit.Parent.Name ~= p.Name then | |
| 2996 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2997 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2998 | Debounces.Slashed = true]]-- | |
| 2999 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 3000 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 3001 | --Debounces.Slashed = false | |
| 3002 | --end | |
| 3003 | end | |
| 3004 | end | |
| 3005 | end | |
| 3006 | end) | |
| 3007 | for i = 1,20 do | |
| 3008 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 3009 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4) | |
| 3010 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3011 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
| 3012 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
| 3013 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
| 3014 | if Debounces.on == false then break end | |
| 3015 | rs:wait() | |
| 3016 | end | |
| 3017 | kik:disconnect() | |
| 3018 | if Debounces.CanAttack == false then | |
| 3019 | Debounces.CanAttack = true | |
| 3020 | Debounces.NoIdl = false | |
| 3021 | Debounces.on = false | |
| 3022 | end | |
| 3023 | end | |
| 3024 | end | |
| 3025 | end) | |
| 3026 | ---------------------------------------------------- | |
| 3027 | mouse.KeyDown:connect(function(key) | |
| 3028 | if key == "y" then | |
| 3029 | if Debounces.CanAttack == true then | |
| 3030 | Debounces.CanAttack = false | |
| 3031 | Debounces.on = true | |
| 3032 | Debounces.NoIdl = true | |
| 3033 | for i = 1, 15 do | |
| 3034 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,-0.25)*CFrame.Angles(math.rad(0),math.rad(-35),math.rad(-90)), 0.2) | |
| 3035 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(-35),math.rad(-90)), 0.6) | |
| 3036 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2) | |
| 3037 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.4) | |
| 3038 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 3039 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 3040 | if Debounces.on == false then break end | |
| 3041 | rs:wait(2.7) | |
| 3042 | end | |
| 3043 | xa = Instance.new("Sound",char)
| |
| 3044 | xa.SoundId = "rbxassetid://419447292" | |
| 3045 | xa.Pitch = 1 | |
| 3046 | xa.Volume = 2.5 | |
| 3047 | wait(.1) | |
| 3048 | xa:Play() | |
| 3049 | Debounces.on = false | |
| 3050 | Debounces.Here = false | |
| 3051 | shot = shot + 1 | |
| 3052 | local rng = Instance.new("Part", larm)
| |
| 3053 | rng.Anchored = true | |
| 3054 | rng.BrickColor = TorsoColor | |
| 3055 | rng.CanCollide = false | |
| 3056 | rng.FormFactor = 3 | |
| 3057 | rng.Name = "Ring" | |
| 3058 | rng.Size = Vector3.new(1, 1, 1) | |
| 3059 | rng.Transparency = 0.35 | |
| 3060 | rng.TopSurface = 0 | |
| 3061 | rng.BottomSurface = 0 | |
| 3062 | rng2 = rng:clone() | |
| 3063 | rng3 = rng2:clone() | |
| 3064 | rng4 = rng2:clone() | |
| 3065 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3066 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 3067 | rngm.Scale = Vector3.new(10, 10, 1) | |
| 3068 | rngm2 = rngm:clone() | |
| 3069 | rngm2.Scale = Vector3.new(5, 5, 3) | |
| 3070 | rngm3=rngm2:clone() | |
| 3071 | rngm3.Parent = rng3 | |
| 3072 | rngm3.Scale = Vector3.new(8, 8, 1) | |
| 3073 | rngm4 = rngm2:clone() | |
| 3074 | rngm4.Parent = rng4 | |
| 3075 | rngm4.Scale = Vector3.new(6, 6, 1) | |
| 3076 | local bem = Instance.new("Part", larm)
| |
| 3077 | bem.Anchored = true | |
| 3078 | bem.BrickColor = BrickColor.new("Really black")
| |
| 3079 | bem.CanCollide = false | |
| 3080 | bem.FormFactor = 3 | |
| 3081 | bem.Name = "Beam" .. shot | |
| 3082 | bem.Size = Vector3.new(1, 1, 1) | |
| 3083 | bem.Transparency = 0.35 | |
| 3084 | bem.Material = "Neon" | |
| 3085 | bem.TopSurface = 0 | |
| 3086 | bem.BottomSurface = 0 | |
| 3087 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 3088 | bemm.MeshType = 4 | |
| 3089 | bemm.Scale = Vector3.new(1, 50, 50) | |
| 3090 | local out = Instance.new("Part", larm)
| |
| 3091 | out.Anchored = true | |
| 3092 | out.BrickColor = BrickColor.new("Really black")
| |
| 3093 | out.CanCollide = false | |
| 3094 | out.FormFactor = 3 | |
| 3095 | out.Name = "Out" | |
| 3096 | out.Size = Vector3.new(8, 8, 8) | |
| 3097 | out.Transparency = 0.35 | |
| 3098 | out.TopSurface = 0 | |
| 3099 | out.BottomSurface = 0 | |
| 3100 | local outm = Instance.new("SpecialMesh", out)
| |
| 3101 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 3102 | outm.Scale = Vector3.new(12, 8, 12) | |
| 3103 | local bnd = Instance.new("Part", larm)
| |
| 3104 | bnd.Anchored = true | |
| 3105 | bnd.BrickColor = BrickColor.new("Really black")
| |
| 3106 | bnd.CanCollide = false | |
| 3107 | bnd.FormFactor = 3 | |
| 3108 | bnd.Name = "ink sans" | |
| 3109 | bnd.Size = Vector3.new(1, 1, 1) | |
| 3110 | bnd.Transparency = 1 | |
| 3111 | bnd.TopSurface = 0 | |
| 3112 | bnd.BottomSurface = 0 | |
| 3113 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 3114 | bndm.MeshType = 3 | |
| 3115 | bndm.Scale = Vector3.new(16, 16, 16) | |
| 3116 | out.CFrame = larm.CFrame * CFrame.new(0, -5.4, 0) | |
| 3117 | bem.CFrame = out.CFrame * CFrame.new(0, -50, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 3118 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 3119 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 3120 | rng3.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
| 3121 | rng4.CFrame = rng.CFrame * CFrame.new(0, -2, 0) | |
| 3122 | Debounces.Shewt = true | |
| 3123 | coroutine.wrap(function() | |
| 3124 | for i = 1, 20, 0.2 do | |
| 3125 | rngm.Scale = Vector3.new(20 + i*4, 20 + i*4, 2) | |
| 3126 | rngm3.Scale = Vector3.new(16 + i*6, 16 + i*6, 2) | |
| 3127 | rngm4.Scale = Vector3.new(12 + i*8, 12 + i*8, 2) | |
| 3128 | rng.Transparency = i/20 | |
| 3129 | rng3.Transparency = 1/24 | |
| 3130 | rng4.Transparency = i/26 | |
| 3131 | wait() | |
| 3132 | end | |
| 3133 | wait() | |
| 3134 | rng:Destroy() | |
| 3135 | end)() | |
| 3136 | if Debounces.Shewt == true then | |
| 3137 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 3138 | hit = ht.Parent | |
| 3139 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 3140 | if HasntTouched(hit.Name) == true and deb == false then | |
| 3141 | deb = true | |
| 3142 | coroutine.wrap(function() | |
| 3143 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 3144 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 275
| |
| 3145 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
| |
| 3146 | end)() | |
| 3147 | table.insert(Touche, hit.Name) | |
| 3148 | deb = false | |
| 3149 | end | |
| 3150 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 3151 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 3152 | deb = true | |
| 3153 | coroutine.wrap(function() | |
| 3154 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 3155 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 275
| |
| 3156 | wait(1) | |
| 3157 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 3158 | end)() | |
| 3159 | table.insert(Touche, hit.Parent.Name) | |
| 3160 | deb = false | |
| 3161 | for i, v in pairs(Touche) do | |
| 3162 | print(v) | |
| 3163 | end | |
| 3164 | end | |
| 3165 | end | |
| 3166 | end) | |
| 3167 | end | |
| 3168 | for i = 0, 260, 8 do | |
| 3169 | bem.Size = Vector3.new(i, 30, 30) | |
| 3170 | out.CFrame = larm.CFrame * CFrame.new(0, -5.4, 0) | |
| 3171 | bem.CFrame = larm.CFrame * CFrame.new(0, -42 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 3172 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
| 3173 | bnd.Size = Vector3.new(2,2,2) | |
| 3174 | bndm.Scale = Vector3.new(16,16,16) | |
| 3175 | if i % 10 == 0 then | |
| 3176 | local newRng = rng2:Clone() | |
| 3177 | newRng.Parent = larm | |
| 3178 | newRng.CFrame = larm.CFrame * CFrame.new(0, -8.4-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 3179 | local newRngm = rngm2:clone() | |
| 3180 | newRngm.Parent=newRng | |
| 3181 | coroutine.wrap(function() | |
| 3182 | for i = 1, 10, 0.2 do | |
| 3183 | newRngm.Scale = Vector3.new(16 + i*4, 16 + i*4, 6) | |
| 3184 | newRng.Transparency = i/10 | |
| 3185 | wait() | |
| 3186 | end | |
| 3187 | wait() | |
| 3188 | newRng:Destroy() | |
| 3189 | end)() | |
| 3190 | end | |
| 3191 | wait() | |
| 3192 | end | |
| 3193 | wait() | |
| 3194 | Debounces.Shewt = false | |
| 3195 | bem:Destroy() | |
| 3196 | out:Destroy() | |
| 3197 | bnd:Destroy() | |
| 3198 | Debounces.Ready = false | |
| 3199 | for i, v in pairs(Touche) do | |
| 3200 | table.remove(Touche, i) | |
| 3201 | end | |
| 3202 | wait() | |
| 3203 | table.insert(Touche, char.Name) | |
| 3204 | Debounces.NoIdl = false | |
| 3205 | if Debounces.CanAttack == false then | |
| 3206 | Debounces.CanAttack = true | |
| 3207 | end | |
| 3208 | end | |
| 3209 | end | |
| 3210 | end) | |
| 3211 | ---------------------------------------------------- | |
| 3212 | mouse.KeyDown:connect(function(key) | |
| 3213 | if key == "h" then | |
| 3214 | if Debounces.CanAttack == true then | |
| 3215 | Debounces.CanAttack = false | |
| 3216 | Debounces.on = true | |
| 3217 | Debounces.NoIdl = true | |
| 3218 | for i = 1, 20 do | |
| 3219 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
| 3220 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
| 3221 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
| 3222 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 3223 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
| 3224 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
| 3225 | if Debounces.on == false then break end | |
| 3226 | rs:wait(2.6) | |
| 3227 | end | |
| 3228 | Spawn(function() | |
| 3229 | local Parts = {}
| |
| 3230 | for Y = -5,5 do | |
| 3231 | local P = Instance.new("Part",char)
| |
| 3232 | P.Anchored = true | |
| 3233 | P.FormFactor = "Custom" | |
| 3234 | P.CanCollide = false | |
| 3235 | P.Size = Vector3.new(2,4,2) | |
| 3236 | P.TopSurface = "SmoothNoOutlines" | |
| 3237 | P.BottomSurface = "SmoothNoOutlines" | |
| 3238 | P.Material = "Neon" | |
| 3239 | P.BrickColor = BrickColor.new("Really black")
| |
| 3240 | P.Name = tostring(Y) | |
| 3241 | local i = (Y+5)/(10) | |
| 3242 | i = 1-math.cos(math.pi*i-(math.pi/2)) | |
| 3243 | P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0) | |
| 3244 | --[[P.Touched:connect(function(ht) | |
| 3245 | local hit = ht.Parent | |
| 3246 | if hit:FindFirstChild("Humanoid") then
| |
| 3247 | hit.Humanoid:TakeDamage(math.random(20,50)) | |
| 3248 | end | |
| 3249 | end)]]-- | |
| 3250 | s = Instance.new("Sound",P)
| |
| 3251 | s.SoundId = "rbxassetid://228343271" | |
| 3252 | s.Volume = 1 | |
| 3253 | s.Pitch = 0.9 | |
| 3254 | s:Play() | |
| 3255 | sa = Instance.new("Sound",P)
| |
| 3256 | sa.SoundId = "rbxassetid://419447292" | |
| 3257 | sa.Volume = 1 | |
| 3258 | sa.Pitch = 1 | |
| 3259 | sa:Play() | |
| 3260 | P.Touched:connect(function(ht) | |
| 3261 | hit = ht.Parent | |
| 3262 | if ht and hit:IsA("Model") then
| |
| 3263 | if hit:FindFirstChild("Humanoid") then
| |
| 3264 | if hit.Name ~= p.Name then | |
| 3265 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 3266 | Debounces.Slashed = true]]-- | |
| 3267 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3))
| |
| 3268 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 3269 | wait(1) | |
| 3270 | --Debounces.Slashed = false | |
| 3271 | --end | |
| 3272 | end | |
| 3273 | end | |
| 3274 | elseif ht and hit:IsA("Hat") then
| |
| 3275 | if hit.Parent.Name ~= p.Name then | |
| 3276 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 3277 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 3278 | Debounces.Slashed = true]]-- | |
| 3279 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
| |
| 3280 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 3281 | wait(1) | |
| 3282 | --Debounces.Slashed = false | |
| 3283 | --end | |
| 3284 | end | |
| 3285 | end | |
| 3286 | end | |
| 3287 | end) | |
| 3288 | Parts[#Parts+1] = P | |
| 3289 | end | |
| 3290 | local BREAKIT = false | |
| 3291 | local CParts = {}
| |
| 3292 | local Rocks = {}
| |
| 3293 | local LastPos = nil | |
| 3294 | for i = 1,70 do | |
| 3295 | for i2,v in pairs(Parts) do | |
| 3296 | v.CFrame = v.CFrame*CFrame.new(0,0,-4) | |
| 3297 | local cf = v.CFrame | |
| 3298 | v.Size = v.Size+Vector3.new(0.4,0.35,0) | |
| 3299 | v.CFrame = cf | |
| 3300 | v.Transparency = v.Transparency+0.02 | |
| 3301 | if v.Transparency >= 0.975 then BREAKIT = true end | |
| 3302 | if v.Name == "0" then | |
| 3303 | local Ignore = {}
| |
| 3304 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 3305 | if v.Character ~= nil then | |
| 3306 | Ignore[#Ignore+1] = v.Character | |
| 3307 | end | |
| 3308 | end | |
| 3309 | local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0)) | |
| 3310 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore) | |
| 3311 | if Hit ~= nil then | |
| 3312 | if #Rocks == 0 then | |
| 3313 | for i = 1,5 do | |
| 3314 | local P = Instance.new("Part",char)
| |
| 3315 | Rocks[#Rocks+1] = P | |
| 3316 | P.Anchored = true | |
| 3317 | P.FormFactor = "Custom" | |
| 3318 | P.BrickColor = Hit.BrickColor | |
| 3319 | P.Material = Hit.Material | |
| 3320 | P.TopSurface = "Smooth" | |
| 3321 | P.BottomSurface = "Smooth" | |
| 3322 | P.Size = Vector3.new(2,2,2)*(math.random(500,900)/100) | |
| 3323 | end | |
| 3324 | end | |
| 3325 | for i,P in pairs(Rocks) do | |
| 3326 | P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
| 3327 | end | |
| 3328 | local P = Instance.new("Part",char)
| |
| 3329 | CParts[#CParts+1] = {P,tick()}
| |
| 3330 | P.Anchored = true | |
| 3331 | P.FormFactor = "Custom" | |
| 3332 | P.BrickColor = Hit.BrickColor | |
| 3333 | P.Material = Hit.Material | |
| 3334 | P.TopSurface = "Smooth" | |
| 3335 | P.BottomSurface = "Smooth" | |
| 3336 | P.Size = Vector3.new(2,2,2)*(math.random(100,300)/100) | |
| 3337 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
| 3338 | Pos = Pos.p | |
| 3339 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
| 3340 | local P = P:Clone() | |
| 3341 | CParts[#CParts+1] = {P,tick()}
| |
| 3342 | P.Parent = char | |
| 3343 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0) | |
| 3344 | Pos = Pos.p | |
| 3345 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20))) | |
| 3346 | if LastPos ~= nil then | |
| 3347 | local P = P:Clone() | |
| 3348 | CParts[#CParts+1] = {P,tick()}
| |
| 3349 | P.Parent = char | |
| 3350 | P.BrickColor = TorsoColor | |
| 3351 | P.Material = "Neon" | |
| 3352 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
| 3353 | Pos = Pos.p | |
| 3354 | local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
| 3355 | P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25) | |
| 3356 | --P.Velocity = Vector3.new(0,-1000,0) | |
| 3357 | P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2) | |
| 3358 | end | |
| 3359 | LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
| 3360 | end | |
| 3361 | end | |
| 3362 | end | |
| 3363 | if BREAKIT then break end | |
| 3364 | wait(0.002) | |
| 3365 | end | |
| 3366 | for i,v in pairs(Rocks) do | |
| 3367 | CParts[#CParts+1] = {v,tick()}
| |
| 3368 | end | |
| 3369 | for i,v in pairs(Parts) do | |
| 3370 | v:Destroy() | |
| 3371 | end | |
| 3372 | Parts = nil | |
| 3373 | while true do | |
| 3374 | local t = tick() | |
| 3375 | local p = nil | |
| 3376 | for i,v in pairs(CParts) do | |
| 3377 | if t-v[2] > 4 then | |
| 3378 | v[1].Transparency = v[1].Transparency+0.05 | |
| 3379 | if v[1].Transparency >= 1 then | |
| 3380 | v[1]:Destroy() | |
| 3381 | CParts[i] = nil | |
| 3382 | end | |
| 3383 | end | |
| 3384 | p = v | |
| 3385 | end | |
| 3386 | if p == nil then break end | |
| 3387 | wait(0.002) | |
| 3388 | end | |
| 3389 | for i,v in pairs(CParts) do | |
| 3390 | v:Destroy() | |
| 3391 | end | |
| 3392 | CParts = {}
| |
| 3393 | end) | |
| 3394 | for i = 1, 20 do | |
| 3395 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
| 3396 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
| 3397 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 3398 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
| 3399 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 3400 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 3401 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1) | |
| 3402 | if Debounces.on == false then break end | |
| 3403 | rs:wait(2) | |
| 3404 | end | |
| 3405 | if Debounces.CanAttack == false then | |
| 3406 | Debounces.CanAttack = true | |
| 3407 | Debounces.on = false | |
| 3408 | Debounces.NoIdl = false | |
| 3409 | end | |
| 3410 | end | |
| 3411 | end | |
| 3412 | end) | |
| 3413 | ---------------------------------------------------- | |
| 3414 | local orbt={}
| |
| 3415 | local stlt={}
| |
| 3416 | local chot={}
| |
| 3417 | local cfxt={}
| |
| 3418 | local pfxt={}
| |
| 3419 | local cns=0 | |
| 3420 | local cnOrb=nil | |
| 3421 | mouse.KeyDown:connect(function(key) | |
| 3422 | if key == "u" then | |
| 3423 | if Debounces.CanAttack == true then | |
| 3424 | Debounces.CanAttack = false | |
| 3425 | Debounces.NoIdl = true | |
| 3426 | Debounces.on = true | |
| 3427 | orbt={}
| |
| 3428 | stlt={}
| |
| 3429 | chot={}
| |
| 3430 | cfxt={}
| |
| 3431 | for i = 1, 20 do | |
| 3432 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2) | |
| 3433 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6) | |
| 3434 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
| 3435 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
| 3436 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 3437 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 3438 | if Debounces.on == false then end | |
| 3439 | rs:wait() | |
| 3440 | end | |
| 3441 | z2 = Instance.new("Sound",char)
| |
| 3442 | z2.SoundId = "rbxassetid://489657591" | |
| 3443 | z2.Pitch = 1 | |
| 3444 | z2.Volume = 2 | |
| 3445 | wait(0.1) | |
| 3446 | z2:Play() | |
| 3447 | cnOrb=nwPrt(char,Vector3.new(1,1,1),larm.CFrame*CFrame.new(0,-3.4,-0.1),"White") | |
| 3448 | debris:AddItem(cnOrb,50) | |
| 3449 | cnOrb.Mesh.MeshType=3 | |
| 3450 | cnOrb.Transparency = 0.5 | |
| 3451 | table.insert(orbt,cnOrb) | |
| 3452 | table.insert(stlt,cnOrb) | |
| 3453 | local nt=0 | |
| 3454 | for i=0,14.75,0.02 do | |
| 3455 | nt=nt+1 | |
| 3456 | cns=i | |
| 3457 | if nt>=2 then | |
| 3458 | nt=0 | |
| 3459 | local cho=nwPrt(mod3,Vector3.new(0.2,0.2,0.2),cnOrb.CFrame*CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))*CFrame.new(0,5+cns,0),"White") | |
| 3460 | debris:AddItem(cho,1) | |
| 3461 | cho.Mesh.MeshType=3 | |
| 3462 | cho.Transparency = 1 | |
| 3463 | table.insert(chot,cho) | |
| 3464 | end | |
| 3465 | cnOrb.CFrame=larm.CFrame*CFrame.new(0,-3.4-(cns/2),-0.1) | |
| 3466 | cnOrb.Mesh.Scale=Vector3.new(i,i,i) | |
| 3467 | wait() | |
| 3468 | end | |
| 3469 | for i = 1, 14 do | |
| 3470 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
| 3471 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
| 3472 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
| 3473 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 3474 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
| 3475 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
| 3476 | if Debounces.on == false then end | |
| 3477 | rs:wait() | |
| 3478 | end | |
| 3479 | coroutine.wrap(function() | |
| 3480 | for i = 1, 20 do | |
| 3481 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
| 3482 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
| 3483 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 3484 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
| 3485 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 3486 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 3487 | if Debounces.on == false then end | |
| 3488 | rs:wait() | |
| 3489 | end | |
| 3490 | end)() | |
| 3491 | wait(0.1) | |
| 3492 | stlt={}
| |
| 3493 | local ry,ht,ps=newRay(root.CFrame*CFrame.new(0,0,-4),root.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(math.rad(-5),0,0)*CFrame.new(0,0,-2),160,{char})
| |
| 3494 | cnOrb.CFrame=root.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(math.rad(-5),0,0) | |
| 3495 | local nt=0 | |
| 3496 | for i=0,160,3 do | |
| 3497 | cnOrb.CFrame=cnOrb.CFrame*CFrame.new(0,0,-3) | |
| 3498 | nt=nt+1 | |
| 3499 | if nt>=6 then | |
| 3500 | nt=0 | |
| 3501 | local cfx=nwPrt(mod3,Vector3.new(10,10,10),cnOrb.CFrame*CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,0),"Really black") | |
| 3502 | cfx.Mesh.MeshId="rbxassetid://0" | |
| 3503 | cfx.Transparency=0.4 | |
| 3504 | table.insert(cfxt,cfx) | |
| 3505 | debris:AddItem(cfx,1) | |
| 3506 | end | |
| 3507 | if (cnOrb.Position-ps).magnitude<12 then | |
| 3508 | break | |
| 3509 | end | |
| 3510 | wait() | |
| 3511 | end | |
| 3512 | orbt={}
| |
| 3513 | ||
| 3514 | for i=0,1,0.1 do | |
| 3515 | local cs=cnOrb.Mesh.Scale | |
| 3516 | cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,100,i),Tween(cs.Y,100,i),Tween(cs.Z,100,i)) | |
| 3517 | wait() | |
| 3518 | end | |
| 3519 | local ofx=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame,"Really black") | |
| 3520 | ofx.Transparency=0.5 | |
| 3521 | ofx.Mesh.MeshType=3 | |
| 3522 | ofx.Mesh.Scale=Vector3.new(30,30,30) | |
| 3523 | for _,v in pairs(game:service"Players":GetChildren()) do | |
| 3524 | pcall(function() | |
| 3525 | for _,c in pairs(v.Character:GetChildren()) do | |
| 3526 | if v~=p and c:IsA("Part") and (cnOrb.CFrame.p-c.CFrame.p).magnitude<120 and (cnOrb.CFrame.p-c.CFrame.p).magnitude>50 then
| |
| 3527 | local hrp=v.Character:FindFirstChild("HumanoidRootPart")
| |
| 3528 | hrp.Velocity=CFrame.new(hrp.CFrame.p,(cnOrb.CFrame*CFrame.new(0,10,0)).p).lookVector*2500 | |
| 3529 | end | |
| 3530 | end | |
| 3531 | end) | |
| 3532 | end | |
| 3533 | for i=0,1,0.05 do | |
| 3534 | local cs=cnOrb.Mesh.Scale | |
| 3535 | cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,0.1,i),Tween(cs.Y,0.1,i),Tween(cs.Z,0.1,i)) | |
| 3536 | local ofs=ofx.Mesh.Scale | |
| 3537 | ofx.Mesh.Scale=Vector3.new(Tween(ofs.X,0.1,i),Tween(ofs.Y,0.1,i),Tween(ofs.Z,0.1,i)) | |
| 3538 | ofx.Transparency=Tween(ofx.Transparency,1,i) | |
| 3539 | wait() | |
| 3540 | end | |
| 3541 | ofx:Destroy() | |
| 3542 | cnOrb.CFrame=CFrame.new(cnOrb.Position)*CFrame.new(0,10,0) | |
| 3543 | local cnfx=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"Really black") | |
| 3544 | cnfx.Mesh.MeshType=3 | |
| 3545 | cnOrb.Transparency=0.5 | |
| 3546 | local cnr=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"Really black") | |
| 3547 | cnr.Transparency=0.5 | |
| 3548 | cnr.Mesh.MeshType=3 | |
| 3549 | local rn1=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame*CFrame.Angles(math.rad(90),0,0),"White") | |
| 3550 | rn1.Transparency=1 | |
| 3551 | rn1.Mesh.MeshId="rbxassetid://3270017" | |
| 3552 | local rn2=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame,"White") | |
| 3553 | rn2.Transparency=1 | |
| 3554 | rn2.Mesh.MeshId="rbxassetid://3270017" | |
| 3555 | local rn3=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame*CFrame.Angles(math.rad(-90),0,0),"White") | |
| 3556 | rn3.Transparency=1 | |
| 3557 | rn3.Mesh.MeshId="rbxassetid://3270017" | |
| 3558 | local rn4=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"White") | |
| 3559 | rn4.Transparency=1 | |
| 3560 | rn4.Mesh.MeshId="rbxassetid://3270017" | |
| 3561 | local rn5=nwPrt(cnOrb,Vector3.new(200,200,100),cnOrb.CFrame,"White") | |
| 3562 | rn5.Transparency=1 | |
| 3563 | rn5.Mesh.MeshId="rbxassetid://3270017" | |
| 3564 | local rn6=nwPrt(cnOrb,Vector3.new(200,200,100),cnOrb.CFrame,"White") | |
| 3565 | rn6.Transparency=1 | |
| 3566 | rn6.Mesh.MeshId="rbxassetid://3270017" | |
| 3567 | local nt=0 | |
| 3568 | local cs=nil | |
| 3569 | z4 = Instance.new("Sound",char)
| |
| 3570 | z4.SoundId = "rbxassetid://419447292" | |
| 3571 | z4.Pitch = 1 | |
| 3572 | z4.Volume = 10 | |
| 3573 | wait(0.1) | |
| 3574 | z4:Play() | |
| 3575 | z3 = Instance.new("Sound",char)
| |
| 3576 | z3.SoundId = "rbxassetid://421328847" | |
| 3577 | z3.Pitch = 1 | |
| 3578 | z3.Volume = 10 | |
| 3579 | wait(0.1) | |
| 3580 | z3:Play() | |
| 3581 | for i=0,1,0.05 do | |
| 3582 | cs=cnOrb.Mesh.Scale | |
| 3583 | cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,100,i),Tween(cs.Y,100,i),Tween(cs.Z,100,i)) | |
| 3584 | local fs=cnfx.Mesh.Scale | |
| 3585 | cnfx.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,120,i)) | |
| 3586 | cnfx.Transparency=cnfx.Transparency+0.05 | |
| 3587 | rn1.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,60,i)) | |
| 3588 | rn2.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,60,i)) | |
| 3589 | rn1.CFrame=rn1.CFrame*CFrame.Angles(math.rad(10),math.rad(6),math.rad(3)) | |
| 3590 | rn2.CFrame=rn2.CFrame*CFrame.Angles(math.rad(10),math.rad(6),math.rad(3)) | |
| 3591 | rn1.Transparency=Tween(rn1.Transparency,0.8,i) | |
| 3592 | rn2.Transparency=Tween(rn2.Transparency,0.8,i) | |
| 3593 | rn3.Mesh.Scale=Vector3.new(Tween(fs.X,1200,i),Tween(fs.Y,1200,i),Tween(fs.Z,600,i)) | |
| 3594 | rn4.Mesh.Scale=Vector3.new(Tween(fs.X,1200,i),Tween(fs.Y,1200,i),Tween(fs.Z,600,i)) | |
| 3595 | rn3.CFrame=rn3.CFrame*CFrame.Angles(math.rad(-10),math.rad(-6),math.rad(-3)) | |
| 3596 | rn4.CFrame=rn4.CFrame*CFrame.Angles(math.rad(-10),math.rad(-6),math.rad(-3)) | |
| 3597 | rn3.Transparency=Tween(rn1.Transparency,0.8,i) | |
| 3598 | rn4.Transparency=Tween(rn2.Transparency,0.8,i) | |
| 3599 | rn5.Transparency=Tween(rn2.Transparency,0.25,i) | |
| 3600 | rn5.CFrame=rn5.CFrame*CFrame.Angles(math.rad(-20),math.rad(-18),math.rad(-9)) | |
| 3601 | rn5.Mesh.Scale=Vector3.new(Tween(fs.X,2400,i),Tween(fs.Y,2400,i),Tween(fs.Z,1200,i)) | |
| 3602 | rn6.Transparency=Tween(rn2.Transparency,0.25,i) | |
| 3603 | rn6.CFrame=rn6.CFrame*CFrame.Angles(math.rad(20),math.rad(18),math.rad(9)) | |
| 3604 | rn6.Mesh.Scale=Vector3.new(Tween(fs.X,2400,i),Tween(fs.Y,2400,i),Tween(fs.Z,1200,i)) | |
| 3605 | local rs=cnr.Mesh.Scale | |
| 3606 | cnr.Mesh.Scale=Vector3.new(Tween(rs.X,10,i),Tween(rs.Y,10,i),Tween(rs.Z,10,i)) | |
| 3607 | nt=nt+1 | |
| 3608 | if nt>=6 then | |
| 3609 | local pls={}
| |
| 3610 | for _,v in pairs(game.Players:GetChildren()) do | |
| 3611 | table.insert(pls,v) | |
| 3612 | end | |
| 3613 | local ry2,ht2,ps2=newRay(cnOrb.CFrame,cnOrb.CFrame*CFrame.new(0,-1,0),1000,pls) | |
| 3614 | local pffx=nwPrt(mod3,Vector3.new(1,1,1),CFrame.new(ps2)*CFrame.new(0,10,-12),"White") | |
| 3615 | pffx.Mesh.MeshId="rbxassetid://0" | |
| 3616 | pffx.Mesh.Scale=Vector3.new(cs.X,cs.Y/5,cs.Z) | |
| 3617 | debris:AddItem(pffx,2) | |
| 3618 | table.insert(pfxt,pffx) | |
| 3619 | nt=0 | |
| 3620 | end | |
| 3621 | wait() | |
| 3622 | end | |
| 3623 | local int=0 | |
| 3624 | coroutine.wrap(function() | |
| 3625 | for i=1,500 do | |
| 3626 | rn1.CFrame=rn1.CFrame*CFrame.Angles(math.rad(10),math.rad(5),math.rad(5)) | |
| 3627 | rn2.CFrame=rn2.CFrame*CFrame.Angles(math.rad(10),math.rad(5),math.rad(5)) | |
| 3628 | rn3.CFrame=rn3.CFrame*CFrame.Angles(math.rad(-10),math.rad(-5),math.rad(-5)) | |
| 3629 | rn4.CFrame=rn4.CFrame*CFrame.Angles(math.rad(-10),math.rad(-5),math.rad(-5)) | |
| 3630 | rn5.CFrame=rn5.CFrame*CFrame.Angles(math.rad(5),math.rad(5),math.rad(5)) | |
| 3631 | rn6.CFrame=rn6.CFrame*CFrame.Angles(math.rad(-5),math.rad(-5),math.rad(-5)) | |
| 3632 | nt=nt+1 | |
| 3633 | int=int+1 | |
| 3634 | local htd={p}
| |
| 3635 | for _,v in pairs(game:service"Players":GetChildren()) do | |
| 3636 | pcall(function() | |
| 3637 | for _,c in pairs(v.Character:GetChildren()) do | |
| 3638 | if c:IsA("Part") and not inT(v,htd) and (cnOrb.CFrame.p-c.CFrame.p).magnitude<50 then
| |
| 3639 | v.Character:FindFirstChild("Humanoid").Health=v.Character:FindFirstChild("Humanoid").Health-2
| |
| 3640 | v.Character:FindFirstChild("HumanoidRootPart").Velocity=Vector3.new(0,0,0)
| |
| 3641 | table.insert(htd,v) | |
| 3642 | end | |
| 3643 | end | |
| 3644 | end) | |
| 3645 | end | |
| 3646 | htd={p}
| |
| 3647 | if int>=6 then | |
| 3648 | for _,v in pairs(game:service"Players":GetChildren()) do | |
| 3649 | pcall(function() | |
| 3650 | for _,c in pairs(v.Character:GetChildren()) do | |
| 3651 | if c:IsA("Part") and not inT(v,htd) and (cnOrb.CFrame.p-c.CFrame.p).magnitude<50 then
| |
| 3652 | table.insert(htd,v) | |
| 3653 | local hfx=nwPrt(mod3,Vector3.new(1,1,1),c.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2)),"White") | |
| 3654 | hfx.Mesh.Scale=Vector3.new(2,2,2) | |
| 3655 | hfx.Mesh.MeshType=3 | |
| 3656 | debris:AddItem(hfx,2) | |
| 3657 | coroutine.wrap(function() | |
| 3658 | pcall(function() | |
| 3659 | for i=0,1,0.05 do | |
| 3660 | pcall(function() | |
| 3661 | local hs=hfx.Mesh.Scale | |
| 3662 | hfx.CFrame=Lerp(hfx.CFrame,cnOrb.CFrame,i) | |
| 3663 | hfx.Mesh.Scale=Vector3.new(Tween(hs.X,0.1,i),Tween(hs.Y,0.1,i),Tween(hs.Z,0.1,i)) | |
| 3664 | end) | |
| 3665 | wait() | |
| 3666 | end | |
| 3667 | hfx:Destroy() | |
| 3668 | end) | |
| 3669 | end)() | |
| 3670 | end | |
| 3671 | end | |
| 3672 | end) | |
| 3673 | end | |
| 3674 | int=0 | |
| 3675 | end | |
| 3676 | if nt>=4 then | |
| 3677 | local pls={}
| |
| 3678 | for _,v in pairs(game.Players:GetChildren()) do | |
| 3679 | table.insert(pls,v) | |
| 3680 | end | |
| 3681 | local ry2,ht2,ps2=newRay(cnOrb.CFrame,cnOrb.CFrame*CFrame.new(0,-1,0),1000,pls) | |
| 3682 | local pffx=nwPrt(mod3,Vector3.new(1,1,1),CFrame.new(ps2)*CFrame.new(0,10,-12),"White") | |
| 3683 | pffx.Transparency=0.4 | |
| 3684 | pffx.Mesh.MeshId="rbxassetid://0" | |
| 3685 | pffx.Mesh.Scale=Vector3.new(cs.X-10,cs.Y/5,cs.Z-10) | |
| 3686 | debris:AddItem(pffx,2) | |
| 3687 | table.insert(pfxt,pffx) | |
| 3688 | nt=0 | |
| 3689 | end | |
| 3690 | wait() | |
| 3691 | end | |
| 3692 | cnOrb:Destroy() | |
| 3693 | cnfx:Destroy() | |
| 3694 | for _,v in pairs(mod3:GetChildren()) do | |
| 3695 | v:Destroy() | |
| 3696 | end | |
| 3697 | orbt={}
| |
| 3698 | stlt={}
| |
| 3699 | chot={}
| |
| 3700 | cfxt={}
| |
| 3701 | pfxt={}
| |
| 3702 | end)() | |
| 3703 | if Debounces.CanAttack == false then | |
| 3704 | Debounces.CanAttack = true | |
| 3705 | Debounces.NoIdl = false | |
| 3706 | Debounces.on = false | |
| 3707 | end | |
| 3708 | end | |
| 3709 | end | |
| 3710 | end) | |
| 3711 | ---------------------------------------------------- | |
| 3712 | --[[mouse.KeyDown:connect(function(key) | |
| 3713 | if key == "y" then | |
| 3714 | if Debounces.CanAttack == true then | |
| 3715 | Debounces.CanAttack = false | |
| 3716 | Debounces.NoIdl = true | |
| 3717 | Debounces.on = true | |
| 3718 | local shell = Instance.new("Part",torso)
| |
| 3719 | shell.BrickColor = TorsoColor | |
| 3720 | shell.Anchored = false | |
| 3721 | shell.CanCollide = false | |
| 3722 | shell.Locked = true | |
| 3723 | shell.TopSurface = "SmoothNoOutlines" | |
| 3724 | shell.BottomSurface = "SmoothNoOutlines" | |
| 3725 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
| 3726 | shell.FormFactor = 3 | |
| 3727 | local shellm = Instance.new("SpecialMesh",shell)
| |
| 3728 | shellm.MeshType = "Sphere" | |
| 3729 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
| 3730 | Omega = function() | |
| 3731 | local X = Instance.new("Part",char)
| |
| 3732 | local O = Instance.new("ObjectValue",X)
| |
| 3733 | O.Name = "creator" | |
| 3734 | X.Locked = true | |
| 3735 | X.Name = "Shell" | |
| 3736 | X.Anchored = false | |
| 3737 | X.CanCollide = false | |
| 3738 | X.Transparency = 0.5 | |
| 3739 | X.Reflectance = 0 | |
| 3740 | X.BottomSurface = 0 | |
| 3741 | X.TopSurface = 0 | |
| 3742 | X.Shape = 0 | |
| 3743 | local V = Instance.new("ObjectValue",X)
| |
| 3744 | V.Value = char | |
| 3745 | V.Name = "creator" | |
| 3746 | X.BrickColor = TorsoColor | |
| 3747 | X.Size = Vector3.new(40,40,40) | |
| 3748 | --X.Material = "Neon" | |
| 3749 | local Z = Instance.new("SpecialMesh",X)
| |
| 3750 | Z.MeshType = "Sphere" | |
| 3751 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
| 3752 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 3753 | local bv = Instance.new("BodyVelocity",X)
| |
| 3754 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 3755 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 3756 | bv.velocity = root.CFrame.lookVector*10 | |
| 3757 | Explode = X.Touched:connect(function(hit) | |
| 3758 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 3759 | local cf = X.CFrame | |
| 3760 | bv:Destroy() | |
| 3761 | X.Anchored = true | |
| 3762 | Z:Remove() | |
| 3763 | Explode:disconnect() | |
| 3764 | X.Size = Vector3.new(3,3,3) | |
| 3765 | X.Touched:connect(function(hit) end) | |
| 3766 | X.CanCollide = false | |
| 3767 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
| 3768 | if v:FindFirstChild('Humanoid') then
| |
| 3769 | v.Humanoid:TakeDamage(math.random(80,120)) | |
| 3770 | end | |
| 3771 | end | |
| 3772 | for i = 1, (40) do rs:wait() | |
| 3773 | X.Transparency = X.Transparency + (1/40) | |
| 3774 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 3775 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
| 3776 | end | |
| 3777 | X:Destroy() | |
| 3778 | end | |
| 3779 | end) | |
| 3780 | end | |
| 3781 | for i = 1,200 do | |
| 3782 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3783 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03) | |
| 3784 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 3785 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3786 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3787 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3788 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3789 | if Debounces.on == false then break end | |
| 3790 | rs:wait() | |
| 3791 | end | |
| 3792 | for i = 1,30 do | |
| 3793 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
| 3794 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4) | |
| 3795 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4) | |
| 3796 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3797 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3798 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3799 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3800 | if Debounces.on == false then break end | |
| 3801 | rs:wait() | |
| 3802 | end | |
| 3803 | for i = 1,40 do | |
| 3804 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
| 3805 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 3806 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4) | |
| 3807 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4) | |
| 3808 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3809 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3810 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3811 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3812 | if Debounces.on == false then break end | |
| 3813 | rs:wait() | |
| 3814 | end | |
| 3815 | for i = 1,40 do | |
| 3816 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
| 3817 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4) | |
| 3818 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4) | |
| 3819 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3820 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3821 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3822 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3823 | if Debounces.on == false then break end | |
| 3824 | rs:wait() | |
| 3825 | end | |
| 3826 | for i = 1,60 do | |
| 3827 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 3828 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4) | |
| 3829 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4) | |
| 3830 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3831 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3832 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3833 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3834 | if Debounces.on == false then break end | |
| 3835 | rs:wait() | |
| 3836 | end | |
| 3837 | for i = 1,60 do | |
| 3838 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 3839 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 3840 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4) | |
| 3841 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4) | |
| 3842 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3843 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3844 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3845 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3846 | if Debounces.on == false then break end | |
| 3847 | rs:wait() | |
| 3848 | end | |
| 3849 | if Debounces.CanAttack == false then | |
| 3850 | Debounces.CanAttack = true | |
| 3851 | Debounces.NoIdl = false | |
| 3852 | Debounces.on = false | |
| 3853 | end | |
| 3854 | end | |
| 3855 | end | |
| 3856 | end)]]-- | |
| 3857 | ---------------------------------------------------- | |
| 3858 | Charging = false | |
| 3859 | mouse.KeyDown:connect(function(key) | |
| 3860 | if key == "r" then | |
| 3861 | if Charging == false then | |
| 3862 | Charging = true | |
| 3863 | if Debounces.CanAttack == true then | |
| 3864 | Debounces.CanAttack = false | |
| 3865 | Debounces.NoIdl = true | |
| 3866 | Debounces.on = true | |
| 3867 | for i = 1,20 do | |
| 3868 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
| 3869 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
| 3870 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 3871 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 3872 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 3873 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 3874 | if Debounces.on == false then break end | |
| 3875 | rs:wait() | |
| 3876 | end | |
| 3877 | --[[for i = 1,20 do | |
| 3878 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
| 3879 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
| 3880 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
| 3881 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
| 3882 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
| 3883 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
| 3884 | if Debounces.on == false then break end | |
| 3885 | rs:wait() | |
| 3886 | end]]-- | |
| 3887 | xay = Instance.new("Sound",char)
| |
| 3888 | xay.SoundId = "rbxassetid://419447292" | |
| 3889 | xay.Pitch = 1 | |
| 3890 | xay.Volume = 2.5 | |
| 3891 | xay:Play() | |
| 3892 | pt=Instance.new('Part',torso)
| |
| 3893 | pt.Anchored=true | |
| 3894 | pt.CanCollide=false | |
| 3895 | pt.Locked = true | |
| 3896 | pt.FormFactor='Custom' | |
| 3897 | pt.Size=Vector3.new(1,1,1) | |
| 3898 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 3899 | pt.Transparency=.6 | |
| 3900 | pt.BrickColor=BrickColor.new('Really black')
| |
| 3901 | msh=Instance.new('SpecialMesh',pt)
| |
| 3902 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 3903 | msh.Scale=Vector3.new(8,4,8) | |
| 3904 | pt2=pt:clone() | |
| 3905 | pt2.Parent = torso | |
| 3906 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 3907 | pt2.BrickColor=TorsoColor | |
| 3908 | msh2=msh:clone() | |
| 3909 | msh2.Parent=pt2 | |
| 3910 | msh2.Scale=Vector3.new(10,5,10) | |
| 3911 | ||
| 3912 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
| |
| 3913 | ||
| 3914 | bl = Instance.new("Part", char)
| |
| 3915 | bl.Locked = true | |
| 3916 | bl.Name = "Shell" | |
| 3917 | bl.BrickColor = BrickColor.new("Really black")
| |
| 3918 | bl.Anchored = true | |
| 3919 | bl.CanCollide = false | |
| 3920 | bl.Transparency = 0 | |
| 3921 | bl.Reflectance = 0 | |
| 3922 | bl.BottomSurface = 0 | |
| 3923 | bl.TopSurface = 0 | |
| 3924 | bl.Shape = 0 | |
| 3925 | blm = Instance.new("SpecialMesh",bl)
| |
| 3926 | blm.MeshType = "Sphere" | |
| 3927 | blm.Scale = Vector3.new(1,1,1) | |
| 3928 | blm.MeshId = "rbxassetid://9982590" | |
| 3929 | ||
| 3930 | bl2 = Instance.new("Part", char)
| |
| 3931 | bl2.Locked = true | |
| 3932 | bl2.Name = "Shella" | |
| 3933 | bl2.BrickColor = BrickColor.new("Really black")
| |
| 3934 | bl2.Anchored = true | |
| 3935 | bl2.CanCollide = false | |
| 3936 | bl2.Transparency = 0 | |
| 3937 | bl2.Reflectance = 0 | |
| 3938 | bl2.BottomSurface = 0 | |
| 3939 | bl2.TopSurface = 0 | |
| 3940 | bl2.Shape = 0 | |
| 3941 | blm2 = Instance.new("SpecialMesh",bl2)
| |
| 3942 | blm2.MeshType = "Sphere" | |
| 3943 | blm2.Scale = Vector3.new(1,1,1) | |
| 3944 | blm2.MeshId = "rbxassetid://9982590" | |
| 3945 | ||
| 3946 | coroutine.resume(coroutine.create(function() | |
| 3947 | for i=1, math.huge, 4 do | |
| 3948 | if Charging == true then | |
| 3949 | rs:wait() | |
| 3950 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 3951 | blm.Scale = blm.Scale + Vector3.new(15, 15, 15) | |
| 3952 | bl.Transparency = bl.Transparency + 0.075 | |
| 3953 | bl2.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 3954 | blm2.Scale = blm2.Scale + Vector3.new(5, 5, 5) | |
| 3955 | bl2.Transparency = bl2.Transparency + 0.025 | |
| 3956 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
| 3957 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
| 3958 | msh.Scale = msh.Scale + Vector3.new(5,2.5,5) | |
| 3959 | msh2.Scale = msh2.Scale + Vector3.new(10,5,10) | |
| 3960 | elseif Charging == false then break | |
| 3961 | end | |
| 3962 | end | |
| 3963 | end)) | |
| 3964 | ||
| 3965 | repeat | |
| 3966 | local p = Instance.new('Part',torso)
| |
| 3967 | p.formFactor = 'Custom' | |
| 3968 | p.Size = Vector3.new(1,1,1) | |
| 3969 | p.BrickColor = workspace.Base.BrickColor | |
| 3970 | p.CanCollide = false | |
| 3971 | p.Transparency = 0 | |
| 3972 | p.Anchored = true | |
| 3973 | p.Locked=true | |
| 3974 | p.Material = workspace.Base.Material | |
| 3975 | s = math.random(1,40)/10 | |
| 3976 | local m = Instance.new("BlockMesh",p)
| |
| 3977 | m.Scale = Vector3.new(s,s,s) | |
| 3978 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 3979 | --[[coroutine.wrap(function() | |
| 3980 | wait(2) | |
| 3981 | while Charging == true do | |
| 3982 | wait(2) | |
| 3983 | GroundWave1() | |
| 3984 | wait(2) | |
| 3985 | end | |
| 3986 | end)()]]-- | |
| 3987 | Spawn(function() | |
| 3988 | while rs:wait() do | |
| 3989 | if Charging == true then | |
| 3990 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
| 3991 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
| 3992 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
| 3993 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
| 3994 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
| 3995 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
| 3996 | elseif Charging == false then break | |
| 3997 | end | |
| 3998 | end | |
| 3999 | end) | |
| 4000 | Spawn(function() | |
| 4001 | while rs:wait() do | |
| 4002 | if p.Transparency >= 1 then p:Destroy() break end | |
| 4003 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
| 4004 | p.Transparency = p.Transparency+0.01 | |
| 4005 | end | |
| 4006 | end) | |
| 4007 | wait(.3) | |
| 4008 | until Charging == false | |
| 4009 | end | |
| 4010 | end | |
| 4011 | end | |
| 4012 | end) | |
| 4013 | ---------------------------------------------------- | |
| 4014 | mouse.KeyUp:connect(function(key) | |
| 4015 | if key == "r" then | |
| 4016 | if Charging == true then | |
| 4017 | Charging = false | |
| 4018 | pt:Destroy() | |
| 4019 | pt2:Destroy() | |
| 4020 | bl:Destroy() | |
| 4021 | if Debounces.CanAttack == false then | |
| 4022 | Debounces.CanAttack = true | |
| 4023 | Debounces.NoIdl = false | |
| 4024 | Debounces.on = false | |
| 4025 | end | |
| 4026 | end | |
| 4027 | end | |
| 4028 | end) | |
| 4029 | ---------------------------------------------------- | |
| 4030 | mouse.KeyDown:connect(function(key) | |
| 4031 | if key == "g" then | |
| 4032 | if Debounces.CanAttack == true then | |
| 4033 | Debounces.CanAttack = false | |
| 4034 | Debounces.NoIdl = true | |
| 4035 | Debounces.on = true | |
| 4036 | local shell = Instance.new("Part",torso)
| |
| 4037 | shell.BrickColor = TorsoColor | |
| 4038 | shell.Anchored = true | |
| 4039 | shell.CanCollide = false | |
| 4040 | shell.Locked = true | |
| 4041 | shell.TopSurface = "SmoothNoOutlines" | |
| 4042 | shell.BottomSurface = "SmoothNoOutlines" | |
| 4043 | shell.Size = Vector3.new(1,1,1) | |
| 4044 | shellm = Instance.new("SpecialMesh",shell)
| |
| 4045 | shellm.MeshType = "Sphere" | |
| 4046 | shellm.Scale = Vector3.new(1,1,1) | |
| 4047 | local shell2 = Instance.new("Part",torso)
| |
| 4048 | shell2.BrickColor = TorsoColor | |
| 4049 | shell2.Anchored = true | |
| 4050 | shell2.CanCollide = false | |
| 4051 | shell2.Locked = true | |
| 4052 | shell2.TopSurface = "SmoothNoOutlines" | |
| 4053 | shell2.BottomSurface = "SmoothNoOutlines" | |
| 4054 | shell2.Size = Vector3.new(1,1,1) | |
| 4055 | shellm2 = Instance.new("SpecialMesh",shell2)
| |
| 4056 | shellm2.MeshType = "Sphere" | |
| 4057 | shellm2.Scale = Vector3.new(1,1,1) | |
| 4058 | ||
| 4059 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 4060 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 4061 | local List = {}
| |
| 4062 | for i,v in pairs(workspace:GetChildren())do | |
| 4063 | if v:IsA("Model")then
| |
| 4064 | if v:findFirstChild("Torso")then
| |
| 4065 | if v ~= char then | |
| 4066 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 4067 | table.insert(List,v) | |
| 4068 | end | |
| 4069 | end | |
| 4070 | end | |
| 4071 | end | |
| 4072 | end | |
| 4073 | return List | |
| 4074 | end | |
| 4075 | ||
| 4076 | Shell = function() | |
| 4077 | local X = Instance.new("Part",char)
| |
| 4078 | local O = Instance.new("ObjectValue",X)
| |
| 4079 | O.Name = "creator" | |
| 4080 | X.Locked = true | |
| 4081 | X.Name = "Shell" | |
| 4082 | X.Anchored = false | |
| 4083 | X.CanCollide = false | |
| 4084 | X.Transparency = 0 | |
| 4085 | X.Reflectance = 0 | |
| 4086 | X.BottomSurface = 0 | |
| 4087 | X.TopSurface = 0 | |
| 4088 | X.Shape = 0 | |
| 4089 | local V = Instance.new("ObjectValue",X)
| |
| 4090 | V.Value = char | |
| 4091 | V.Name = "creator" | |
| 4092 | X.BrickColor = TorsoColor | |
| 4093 | X.Size = Vector3.new(1,1,1) | |
| 4094 | --X.Material = "Neon" | |
| 4095 | local Z = Instance.new("SpecialMesh",X)
| |
| 4096 | Z.MeshType = "Sphere" | |
| 4097 | Z.Scale = Vector3.new(1,1,1) | |
| 4098 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 4099 | local bv = Instance.new("BodyVelocity",X)
| |
| 4100 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 4101 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 4102 | bv.velocity = root.CFrame.lookVector*65 | |
| 4103 | Explode = X.Touched:connect(function(hit) | |
| 4104 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 4105 | local cf = X.CFrame | |
| 4106 | bv:Destroy() | |
| 4107 | X.Anchored = true | |
| 4108 | Z:Remove() | |
| 4109 | Explode:disconnect() | |
| 4110 | X.Size = Vector3.new(3,3,3) | |
| 4111 | X.Touched:connect(function(hit) end) | |
| 4112 | X.CanCollide = false | |
| 4113 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
| 4114 | if v:FindFirstChild('Humanoid') then
| |
| 4115 | v.Humanoid:TakeDamage(math.random(6,12)) | |
| 4116 | end | |
| 4117 | end | |
| 4118 | for i = 1, (40) do rs:wait() | |
| 4119 | X.Transparency = X.Transparency + (1/40) | |
| 4120 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 4121 | X.CFrame = cf | |
| 4122 | end | |
| 4123 | X:Destroy() | |
| 4124 | end | |
| 4125 | end) | |
| 4126 | end | |
| 4127 | Shell() | |
| 4128 | for i = 1, 10 do | |
| 4129 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4130 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4131 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4132 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4133 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
| 4134 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
| 4135 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7) | |
| 4136 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7) | |
| 4137 | if Debounces.on == false then break end | |
| 4138 | rs:wait() | |
| 4139 | end | |
| 4140 | Shell() | |
| 4141 | shell.Transparency = 1 | |
| 4142 | for i = 1, 10 do | |
| 4143 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4144 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4145 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4146 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4147 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4148 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4149 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4150 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4151 | if Debounces.on == false then break end | |
| 4152 | rs:wait() | |
| 4153 | end | |
| 4154 | Shell() | |
| 4155 | shell.Transparency = 0 | |
| 4156 | shell2.Transparency = 1 | |
| 4157 | for i = 1, 10 do | |
| 4158 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4159 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4160 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4161 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4162 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4163 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4164 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4165 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4166 | if Debounces.on == false then break end | |
| 4167 | rs:wait() | |
| 4168 | end | |
| 4169 | Shell() | |
| 4170 | shell2.Transparency = 0 | |
| 4171 | shell.Transparency = 1 | |
| 4172 | for i = 1, 10 do | |
| 4173 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4174 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4175 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4176 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4177 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4178 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4179 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4180 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4181 | if Debounces.on == false then break end | |
| 4182 | rs:wait() | |
| 4183 | end | |
| 4184 | Shell() | |
| 4185 | shell.Transparency = 0 | |
| 4186 | shell2.Transparency = 1 | |
| 4187 | for i = 1, 10 do | |
| 4188 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4189 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4190 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4191 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4192 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4193 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4194 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4195 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4196 | if Debounces.on == false then break end | |
| 4197 | rs:wait() | |
| 4198 | end | |
| 4199 | Shell() | |
| 4200 | shell2.Transparency = 0 | |
| 4201 | shell.Transparency = 1 | |
| 4202 | for i = 1, 10 do | |
| 4203 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4204 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4205 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4206 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4207 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4208 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4209 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4210 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4211 | if Debounces.on == false then break end | |
| 4212 | rs:wait() | |
| 4213 | end | |
| 4214 | Shell() | |
| 4215 | shell.Transparency = 0 | |
| 4216 | shell2.Transparency = 1 | |
| 4217 | for i = 1, 10 do | |
| 4218 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4219 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4220 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4221 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
| 4222 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4223 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4224 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4225 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4226 | if Debounces.on == false then break end | |
| 4227 | rs:wait() | |
| 4228 | end | |
| 4229 | Shell() | |
| 4230 | shell2.Transparency = 0 | |
| 4231 | shell.Transparency = 1 | |
| 4232 | for i = 1, 10 do | |
| 4233 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4234 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4235 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4236 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4237 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4238 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4239 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4240 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4241 | if Debounces.on == false then break end | |
| 4242 | rs:wait() | |
| 4243 | end | |
| 4244 | Shell() | |
| 4245 | shell.Transparency = 0 | |
| 4246 | shell2.Transparency = 1 | |
| 4247 | for i = 1, 10 do | |
| 4248 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4249 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4250 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4251 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4252 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4253 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4254 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4255 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4256 | if Debounces.on == false then break end | |
| 4257 | rs:wait() | |
| 4258 | end | |
| 4259 | Shell() | |
| 4260 | shell2.Transparency = 0 | |
| 4261 | shell.Transparency = 1 | |
| 4262 | for i = 1, 10 do | |
| 4263 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4264 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4265 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4266 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4267 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4268 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4269 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4270 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4271 | if Debounces.on == false then break end | |
| 4272 | rs:wait() | |
| 4273 | end | |
| 4274 | Shell() | |
| 4275 | shell.Transparency = 0 | |
| 4276 | shell2.Transparency = 1 | |
| 4277 | for i = 1, 10 do | |
| 4278 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4279 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4280 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4281 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4282 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4283 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4284 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4285 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4286 | if Debounces.on == false then break end | |
| 4287 | rs:wait() | |
| 4288 | end | |
| 4289 | Shell() | |
| 4290 | shell2.Transparency = 0 | |
| 4291 | shell.Transparency = 1 | |
| 4292 | for i = 1, 10 do | |
| 4293 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4294 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4295 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4296 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4297 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4298 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4299 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4300 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4301 | if Debounces.on == false then break end | |
| 4302 | rs:wait() | |
| 4303 | end | |
| 4304 | Shell() | |
| 4305 | shell.Transparency = 0 | |
| 4306 | shell2.Transparency = 1 | |
| 4307 | for i = 1, 10 do | |
| 4308 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4309 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4310 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4311 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4312 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4313 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4314 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4315 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4316 | if Debounces.on == false then break end | |
| 4317 | rs:wait() | |
| 4318 | end | |
| 4319 | shell.Transparency = 1 | |
| 4320 | if Debounces.CanAttack == false then | |
| 4321 | Debounces.CanAttack = true | |
| 4322 | Debounces.NoIdl = false | |
| 4323 | Debounces.on = false | |
| 4324 | end | |
| 4325 | end | |
| 4326 | end | |
| 4327 | end) | |
| 4328 | ---------------------------------------------------- | |
| 4329 | Search = false | |
| 4330 | mouse.KeyDown:connect(function(key) | |
| 4331 | if key == "n" then | |
| 4332 | if Search == false then | |
| 4333 | Search = true | |
| 4334 | for i,v in pairs(game.Players:getPlayers()) do | |
| 4335 | if v.Name~=char.Name then | |
| 4336 | for j,k in pairs(v.Character:GetChildren()) do | |
| 4337 | if k:IsA("BasePart") and k.Transparency >= 1 then
| |
| 4338 | bawx=Instance.new("SelectionBox",cam)
| |
| 4339 | bawx.Color = BrickColor.new("Bright red")
| |
| 4340 | bawx.Transparency = .5 | |
| 4341 | bawx.Adornee = k | |
| 4342 | end | |
| 4343 | end | |
| 4344 | end | |
| 4345 | end | |
| 4346 | elseif Search == true then | |
| 4347 | Search = false | |
| 4348 | for i, v in pairs(cam:GetChildren()) do | |
| 4349 | if v:IsA("SelectionBox") then
| |
| 4350 | v:Destroy() | |
| 4351 | end | |
| 4352 | end | |
| 4353 | end | |
| 4354 | end | |
| 4355 | end) | |
| 4356 | ---------------------------------------------------- | |
| 4357 | Grab = false | |
| 4358 | mouse.KeyDown:connect(function(key) | |
| 4359 | if key == "z" then | |
| 4360 | Debounces.on = true | |
| 4361 | Debounces.NoIdl = true | |
| 4362 | Debounces.ks = true | |
| 4363 | if Grab == false then | |
| 4364 | gp = nil | |
| 4365 | for i = 1, 20 do | |
| 4366 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2) | |
| 4367 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2) | |
| 4368 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 4369 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 4370 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
| 4371 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
| 4372 | if Debounces.on == false then break end | |
| 4373 | rs:wait() | |
| 4374 | end | |
| 4375 | con1=larm.Touched:connect(function(hit) -- this is grab | |
| 4376 | ht = hit.Parent | |
| 4377 | hum1=ht:FindFirstChild('Humanoid')
| |
| 4378 | if hum1 ~= nil then | |
| 4379 | if Debounces.ks==true then | |
| 4380 | z = Instance.new("Sound",hed)
| |
| 4381 | z.SoundId = "rbxassetid://169380525" | |
| 4382 | z.Volume = 1 | |
| 4383 | z:Play() | |
| 4384 | Debounces.ks=false | |
| 4385 | end | |
| 4386 | hum1.PlatformStand=true | |
| 4387 | gp = ht | |
| 4388 | Grab = true | |
| 4389 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
| |
| 4390 | asd.Parent = larm | |
| 4391 | asd.Name = "asd" | |
| 4392 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
| 4393 | --[[elseif hum1 == nil then | |
| 4394 | con1:disconnect() | |
| 4395 | wait() return]]-- | |
| 4396 | end | |
| 4397 | end) | |
| 4398 | for i = 1, 20 do | |
| 4399 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2) | |
| 4400 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2) | |
| 4401 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 4402 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 4403 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
| 4404 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
| 4405 | if Debounces.on == false then break end | |
| 4406 | rs:wait() | |
| 4407 | end | |
| 4408 | if hum1 == nil then | |
| 4409 | Debounces.on = false | |
| 4410 | Debounces.NoIdl = false | |
| 4411 | end | |
| 4412 | con1:disconnect() | |
| 4413 | elseif Grab == true then | |
| 4414 | Grab = false | |
| 4415 | Punch() | |
| 4416 | z = Instance.new("Sound",hed)
| |
| 4417 | z.SoundId = "rbxassetid://169380525" | |
| 4418 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4419 | z.Volume = 1 | |
| 4420 | z:Play() | |
| 4421 | for i = 1, 10 do | |
| 4422 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 4423 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 4424 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 4425 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 4426 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4427 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4428 | if Debounces.on == false then break end | |
| 4429 | rs:wait() | |
| 4430 | end | |
| 4431 | Punch() | |
| 4432 | z = Instance.new("Sound",hed)
| |
| 4433 | z.SoundId = "rbxassetid://169380525" | |
| 4434 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4435 | z.Volume = 1 | |
| 4436 | z:Play() | |
| 4437 | for i = 1, 10 do | |
| 4438 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 4439 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 4440 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 4441 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 4442 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4443 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4444 | if Debounces.on == false then break end | |
| 4445 | rs:wait() | |
| 4446 | end | |
| 4447 | Punch() | |
| 4448 | z = Instance.new("Sound",hed)
| |
| 4449 | z.SoundId = "rbxassetid://169380525" | |
| 4450 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4451 | z.Volume = 1 | |
| 4452 | z:Play() | |
| 4453 | for i = 1, 10 do | |
| 4454 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 4455 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 4456 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 4457 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 4458 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4459 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4460 | if Debounces.on == false then break end | |
| 4461 | rs:wait() | |
| 4462 | end | |
| 4463 | Punch() | |
| 4464 | z = Instance.new("Sound",hed)
| |
| 4465 | z.SoundId = "rbxassetid://169380525" | |
| 4466 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4467 | z.Volume = 1 | |
| 4468 | z:Play() | |
| 4469 | for i = 1, 10 do | |
| 4470 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 4471 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 4472 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 4473 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 4474 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4475 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4476 | if Debounces.on == false then break end | |
| 4477 | rs:wait() | |
| 4478 | end | |
| 4479 | Punch() | |
| 4480 | z = Instance.new("Sound",hed)
| |
| 4481 | z.SoundId = "rbxassetid://169380525" | |
| 4482 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4483 | z.Volume = 1 | |
| 4484 | z:Play() | |
| 4485 | for i = 1, 10 do | |
| 4486 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 4487 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 4488 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 4489 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 4490 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4491 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4492 | if Debounces.on == false then break end | |
| 4493 | rs:wait() | |
| 4494 | end | |
| 4495 | Punch() | |
| 4496 | z = Instance.new("Sound",hed)
| |
| 4497 | z.SoundId = "rbxassetid://169380525" | |
| 4498 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4499 | z.Volume = 1 | |
| 4500 | z:Play() | |
| 4501 | for i = 1, 10 do | |
| 4502 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 4503 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 4504 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 4505 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 4506 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4507 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4508 | if Debounces.on == false then break end | |
| 4509 | rs:wait() | |
| 4510 | end | |
| 4511 | Punch() | |
| 4512 | z = Instance.new("Sound",hed)
| |
| 4513 | z.SoundId = "rbxassetid://169380525" | |
| 4514 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4515 | z.Volume = 1 | |
| 4516 | z:Play() | |
| 4517 | for i = 1, 10 do | |
| 4518 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 4519 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 4520 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 4521 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 4522 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4523 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4524 | if Debounces.on == false then break end | |
| 4525 | rs:wait() | |
| 4526 | end | |
| 4527 | Punch() | |
| 4528 | z = Instance.new("Sound",hed)
| |
| 4529 | z.SoundId = "rbxassetid://169380525" | |
| 4530 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4531 | z.Volume = 1 | |
| 4532 | z:Play() | |
| 4533 | for i = 1, 10 do | |
| 4534 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 4535 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 4536 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 4537 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 4538 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4539 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4540 | if Debounces.on == false then break end | |
| 4541 | rs:wait() | |
| 4542 | end | |
| 4543 | Punch() | |
| 4544 | z = Instance.new("Sound",hed)
| |
| 4545 | z.SoundId = "rbxassetid://169380525" | |
| 4546 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4547 | z.Volume = 1 | |
| 4548 | z:Play() | |
| 4549 | for i = 1, 10 do | |
| 4550 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 4551 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 4552 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 4553 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 4554 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4555 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4556 | if Debounces.on == false then break end | |
| 4557 | rs:wait() | |
| 4558 | end | |
| 4559 | Punch() | |
| 4560 | z = Instance.new("Sound",hed)
| |
| 4561 | z.SoundId = "rbxassetid://169380525" | |
| 4562 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4563 | z.Volume = 1 | |
| 4564 | z:Play() | |
| 4565 | for i = 1, 10 do | |
| 4566 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 4567 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 4568 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 4569 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 4570 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4571 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4572 | if Debounces.on == false then break end | |
| 4573 | rs:wait() | |
| 4574 | end | |
| 4575 | Punch() | |
| 4576 | z = Instance.new("Sound",hed)
| |
| 4577 | z.SoundId = "rbxassetid://169380525" | |
| 4578 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4579 | z.Volume = 1 | |
| 4580 | z:Play() | |
| 4581 | for i = 1, 10 do | |
| 4582 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 4583 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 4584 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 4585 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 4586 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4587 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4588 | if Debounces.on == false then break end | |
| 4589 | rs:wait() | |
| 4590 | end | |
| 4591 | Punch() | |
| 4592 | z = Instance.new("Sound",hed)
| |
| 4593 | z.SoundId = "rbxassetid://169380525" | |
| 4594 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4595 | z.Volume = 1 | |
| 4596 | z:Play() | |
| 4597 | for i = 1, 10 do | |
| 4598 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 4599 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 4600 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 4601 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 4602 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4603 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4604 | if Debounces.on == false then break end | |
| 4605 | rs:wait() | |
| 4606 | end | |
| 4607 | con1:disconnect() | |
| 4608 | Debounces.on = false | |
| 4609 | Debounces.NoIdl = false | |
| 4610 | if gp ~= nil then | |
| 4611 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
| |
| 4612 | for i,v in pairs(larm:GetChildren()) do | |
| 4613 | if v.Name == "asd" and v:IsA("Weld") then
| |
| 4614 | v:Remove() | |
| 4615 | end | |
| 4616 | end | |
| 4617 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
| |
| 4618 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
| 4619 | bv.P = 125000 | |
| 4620 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
| 4621 | hum1=nil | |
| 4622 | ht=nil | |
| 4623 | Debounces.on = false | |
| 4624 | Debounces.NoIdl = false | |
| 4625 | elseif ht == nil then wait() | |
| 4626 | - | game:GetService("RunService").RenderStepped:connect(function()
|
| 4626 | + | |
| 4627 | Debounces.on = false | |
| 4628 | Debounces.NoIdl = false | |
| 4629 | end | |
| 4630 | end | |
| 4631 | end | |
| 4632 | end) | |
| 4633 | ---------------------------------------------------- | |
| 4634 | paly = game.Players.LocalPlayer | |
| 4635 | paly = game.Players.LocalPlayer | |
| 4636 | p = game.Players.LocalPlayer | |
| 4637 | char = paly.Character | |
| 4638 | vt = Vector3.new | |
| 4639 | rarm = char["Right Arm"] | |
| 4640 | larm = char["Left Arm"] | |
| 4641 | local maincolor = char.Torso.BrickColor | |
| 4642 | ||
| 4643 | local orb = Instance.new("Part")
| |
| 4644 | orb.Parent = char | |
| 4645 | orb.Size = Vector3.new(0.5, 0.5, 0.5) | |
| 4646 | orb.Archivable = true | |
| 4647 | orb.Transparency = 1 | |
| 4648 | orb.BrickColor = maincolor | |
| 4649 | orb.Material = "Neon" | |
| 4650 | orb.CanCollide = false | |
| 4651 | local weld1 = Instance.new("Weld")
| |
| 4652 | weld1.Parent = rarm | |
| 4653 | weld1.Part0 = rarm | |
| 4654 | weld1.Part1 = orb | |
| 4655 | weld1.C1 = CFrame.new(0, 1.125, 0) | |
| 4656 | local pt1 = NumberSequenceKeypoint.new(0,0.85,0) | |
| 4657 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
| 4658 | local effecto = Instance.new("ParticleEmitter",orb)
| |
| 4659 | effecto.LightEmission = 1 | |
| 4660 | effecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 4661 | effecto.Color = ColorSequence.new(maincolor.Color) | |
| 4662 | effecto.Rate = 10000 | |
| 4663 | effecto.Lifetime = NumberRange.new(1) | |
| 4664 | effecto.Size = NumberSequence.new({pt1,pt2})
| |
| 4665 | effecto.Speed = NumberRange.new(0,0) | |
| 4666 | effecto.RotSpeed = NumberRange.new(100,100) | |
| 4667 | ||
| 4668 | local orbz = Instance.new("Part")
| |
| 4669 | orbz.Parent = char | |
| 4670 | orbz.Size = Vector3.new(0.5, 0.5, 0.5) | |
| 4671 | orbz.Archivable = true | |
| 4672 | orbz.Transparency = 1 | |
| 4673 | orbz.BrickColor = maincolor | |
| 4674 | orbz.Material = "Neon" | |
| 4675 | orbz.CanCollide = false | |
| 4676 | local weldz1 = Instance.new("Weld")
| |
| 4677 | weldz1.Parent = larm | |
| 4678 | weldz1.Part0 = larm | |
| 4679 | weldz1.Part1 = orbz | |
| 4680 | weldz1.C1 = CFrame.new(0, 1.125, 0) | |
| 4681 | local effecton = Instance.new("ParticleEmitter",orbz)
| |
| 4682 | effecton.LightEmission = 1 | |
| 4683 | effecton.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 4684 | effecton.Color = ColorSequence.new(maincolor.Color) | |
| 4685 | effecton.Rate = 10000 | |
| 4686 | effecton.Lifetime = NumberRange.new(1) | |
| 4687 | effecton.Size = NumberSequence.new({pt1,pt2})
| |
| 4688 | effecton.Speed = NumberRange.new(0,0) | |
| 4689 | effecton.RotSpeed = NumberRange.new(100,100) | |
| 4690 | ------------------------------------------- | |
| 4691 | ||
| 4692 | mouse.KeyDown:connect(function(key) | |
| 4693 | if string.byte(key) == 52 then | |
| 4694 | char.Humanoid.WalkSpeed = 60 | |
| 4695 | end | |
| 4696 | end) | |
| 4697 | mouse.KeyUp:connect(function(key) | |
| 4698 | if string.byte(key) == 52 then | |
| 4699 | char.Humanoid.WalkSpeed = 8 | |
| 4700 | end | |
| 4701 | end) | |
| 4702 | ------------------------------- | |
| 4703 | local animpose = "Idle" | |
| 4704 | local lastanimpose = "Idle" | |
| 4705 | local sine = 0 | |
| 4706 | local change = 1 | |
| 4707 | local val = 0 | |
| 4708 | local och = 0 | |
| 4709 | local ffing = false | |
| 4710 | ------------------------------- | |
| 4711 | game:GetService("RunService").Stepped:connect(function()
| |
| 4712 | --[[if char.Humanoid.Jump == true then | |
| 4713 | jump = true | |
| 4714 | else | |
| 4715 | jump = false | |
| 4716 | end]] | |
| 4717 | char.Humanoid.FreeFalling:connect(function(f) | |
| 4718 | if f then | |
| 4719 | ffing = true | |
| 4720 | else | |
| 4721 | ffing = false | |
| 4722 | end | |
| 4723 | end) | |
| 4724 | sine = sine + change | |
| 4725 | if jumpn == true then | |
| 4726 | animpose = "Jumping" | |
| 4727 | elseif ffing == true then | |
| 4728 | animpose = "Freefalling" | |
| 4729 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 4730 | animpose = "Idle" | |
| 4731 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 4732 | animpose = "Walking" | |
| 4733 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 4734 | animpose = "Running" | |
| 4735 | end | |
| 4736 | if animpose ~= lastanimpose then | |
| 4737 | sine = 0 | |
| 4738 | if Debounces.NoIdl == false then | |
| 4739 | if animpose == "Idle" then | |
| 4740 | for i = 1, 2 do | |
| 4741 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
| 4742 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
| 4743 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 4744 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 4745 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.625, -0.35) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 4746 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 4747 | end | |
| 4748 | elseif animpose == "Walking" then | |
| 4749 | for i = 1, 2 do | |
| 4750 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 4751 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 4752 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 4753 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 4754 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 4755 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 4756 | end | |
| 4757 | elseif animpose == "Running" then | |
| 4758 | for i = 1, 2 do | |
| 4759 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15) | |
| 4760 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15) | |
| 4761 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15) | |
| 4762 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15) | |
| 4763 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15) | |
| 4764 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15) | |
| 4765 | wait() | |
| 4766 | end | |
| 4767 | end | |
| 4768 | else | |
| 4769 | end | |
| 4770 | end | |
| 4771 | lastanimpose = animpose | |
| 4772 | if Debounces.NoIdl == false then | |
| 4773 | if animpose == "Idle" then | |
| 4774 | change = 0.5 | |
| 4775 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3) | |
| 4776 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3) | |
| 4777 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2) | |
| 4778 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2+2*math.cos(sine/22)), math.rad(0), 0), 0.2) | |
| 4779 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(5), math.rad(-5)), 0.2) | |
| 4780 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(-5), math.rad(5)), 0.2) | |
| 4781 | elseif animpose == "Walking" then | |
| 4782 | change = 1 | |
| 4783 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-32),math.rad(-28),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 4784 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(50),math.rad(-45),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 4785 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 4786 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 4787 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.215, -0.35) * CFrame.Angles(-0.35, 0, 0), 0.4) | |
| 4788 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(-0.475,0,0), 0.4) | |
| 4789 | elseif animpose == "Running" then | |
| 4790 | change = 1 | |
| 4791 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15) | |
| 4792 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15) | |
| 4793 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15) | |
| 4794 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15) | |
| 4795 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15) | |
| 4796 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15) | |
| 4797 | end | |
| 4798 | end | |
| 4799 | end) | |
| 4800 | ||
| 4801 | hum.MaxHealth = math.huge | |
| 4802 | wait(3) | |
| 4803 | hum.Health = hum.MaxHealth | |
| 4804 | ||
| 4805 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
| 4806 | --[[Part0 = Vector3 (Start pos) | |
| 4807 | Part1 = Vector3 (End pos) | |
| 4808 | Times = number (Amount of lightning parts) | |
| 4809 | Offset = number (Offset) | |
| 4810 | Color = color (brickcolor value) | |
| 4811 | Thickness = number (thickness) | |
| 4812 | Trans = number (transparency) | |
| 4813 | ]]-- | |
| 4814 | local magz = (Part0 - Part1).magnitude | |
| 4815 | local curpos = Part0 | |
| 4816 | local trz = {-Offset,Offset}
| |
| 4817 | for i=1,Times do | |
| 4818 | local li = Instance.new("Part", torso)
| |
| 4819 | li.Name = "Lightning" | |
| 4820 | li.TopSurface =0 | |
| 4821 | li.Material = "Neon" | |
| 4822 | li.BottomSurface = 0 | |
| 4823 | li.Anchored = true | |
| 4824 | li.Locked = true | |
| 4825 | li.Transparency = Trans or 0.4 | |
| 4826 | li.BrickColor = TorsoColor | |
| 4827 | li.formFactor = "Custom" | |
| 4828 | li.CanCollide = false | |
| 4829 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
| 4830 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
| 4831 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
| 4832 | if Times == i then | |
| 4833 | local magz2 = (curpos - Part1).magnitude | |
| 4834 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
| 4835 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
| 4836 | else | |
| 4837 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
| 4838 | end | |
| 4839 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
| 4840 | game.Debris:AddItem(li,.1) | |
| 4841 | end | |
| 4842 | end | |
| 4843 | ||
| 4844 | BodyParts = {} -- Parts to emit lightning effects from
| |
| 4845 | for _, v in pairs(char:GetChildren()) do | |
| 4846 | if v:IsA("Part") then
| |
| 4847 | table.insert(BodyParts, v) | |
| 4848 | end | |
| 4849 | end | |
| 4850 | ||
| 4851 | Bounding = {} -- Calculate the bounding boxes
| |
| 4852 | for _, v in pairs(BodyParts) do | |
| 4853 | local temp = {X=nil, Y=nil, Z=nil}
| |
| 4854 | temp.X = v.Size.X/2 * 10 | |
| 4855 | temp.Y = v.Size.Y/2 * 10 | |
| 4856 | temp.Z = v.Size.Z/2 * 10 | |
| 4857 | Bounding[v.Name] = temp | |
| 4858 | --table.insert(Bounding, v.Name, temp) | |
| 4859 | end | |
| 4860 | ||
| 4861 | while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly | |
| 4862 | local Body1 = BodyParts[math.random(#BodyParts)] | |
| 4863 | local Body2 = BodyParts[math.random(#BodyParts)] | |
| 4864 | local Pos1 = Vector3.new( | |
| 4865 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
| 4866 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
| 4867 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
| 4868 | ) | |
| 4869 | local Pos2 = Vector3.new( | |
| 4870 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
| 4871 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
| 4872 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
| 4873 | ) | |
| 4874 | local SPos1 = Body1.Position + Pos1 | |
| 4875 | local SPos2 = Body2.Position + Pos2 | |
| 4876 | Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56) | |
| 4877 | end | |
| 4878 | och=och+1 | |
| 4879 | for _,v in pairs(orbt) do | |
| 4880 | pcall(function() | |
| 4881 | v.Mesh.Scale=Vector3.new(cns+(0.2*math.cos(och/12)),cns+(0.2*math.cos(och/10)),cns+(0.2*math.cos(och/8))) | |
| 4882 | end) | |
| 4883 | end | |
| 4884 | for _,v in pairs(stlt) do | |
| 4885 | pcall(function() | |
| 4886 | v.CFrame=larm.CFrame*CFrame.new(0,-3.5-(cns/2),-0.1) | |
| 4887 | end) | |
| 4888 | end | |
| 4889 | for _,v in pairs(chot) do | |
| 4890 | pcall(function() | |
| 4891 | v.CFrame=Lerp(v.CFrame,cnOrb.CFrame,0.1) | |
| 4892 | v.Mesh.Scale=Vector3.new(Tween(v.Mesh.Scale.X,0,0.1),Tween(v.Mesh.Scale.Y,0,0.1),Tween(v.Mesh.Scale.Z,0,0.1)) | |
| 4893 | end) | |
| 4894 | end | |
| 4895 | for _,v in pairs(cfxt) do | |
| 4896 | pcall(function() | |
| 4897 | local vs=v.Mesh.Scale | |
| 4898 | v.Mesh.Scale=Vector3.new(vs.x+0.5,vs.y+0.1,vs.z+0.5) | |
| 4899 | v.Transparency=v.Transparency+0.05 | |
| 4900 | end) | |
| 4901 | end | |
| 4902 | for _,v in pairs(pfxt) do | |
| 4903 | pcall(function() | |
| 4904 | local vs=v.Mesh.Scale | |
| 4905 | v.Mesh.Scale=Vector3.new(vs.x+2,vs.y+0.5,vs.z+2) | |
| 4906 | v.Transparency=v.Transparency+0.025 | |
| 4907 | end) | |
| 4908 | end |