SHOW:
|
|
- or go back to the newest paste.
| 1 | -------[[ Lets start with something simple like the Variables & Settings ]]----- | |
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | local char = game.Players.LocalPlayer.Character | |
| 6 | for i,v in pairs(char:children()) do | |
| 7 | if v:IsA("Accessory") then
| |
| 8 | v:Destroy() | |
| 9 | end | |
| 10 | end | |
| 11 | local aura = Instance.new("ParticleEmitter",game.Players.LocalPlayer.Character.Torso)
| |
| 12 | aura.Size = NumberSequence.new(0) | |
| 13 | aura.Lifetime = NumberRange.new(0) | |
| 14 | aura.LightEmission = 0 | |
| 15 | local jun = game.Players.LocalPlayer | |
| 16 | local Player=game.Players.LocalPlayer | |
| 17 | repeat wait() | |
| 18 | until Player | |
| 19 | local Char=Player.Character | |
| 20 | repeat wait() | |
| 21 | until Char | |
| 22 | local CurrentEffects={}
| |
| 23 | local CurrentDamages={}
| |
| 24 | local Human=Char.Humanoid | |
| 25 | local LArm=Char["Left Arm"] | |
| 26 | local RArm=Char["Right Arm"] | |
| 27 | local LLeg=Char["Left Leg"] | |
| 28 | local RLeg=Char["Right Leg"] | |
| 29 | local Torso=Char.Torso | |
| 30 | local RS=Torso["Right Shoulder"] | |
| 31 | local LS=Torso["Left Shoulder"] | |
| 32 | local RH=Torso["Right Hip"] | |
| 33 | local LH=Torso["Left Hip"] | |
| 34 | local Head=Char.Head | |
| 35 | local Neck=Torso.Neck | |
| 36 | local RootPart=Char.HumanoidRootPart | |
| 37 | local RootJoint=RootPart.RootJoint | |
| 38 | local equipped=false | |
| 39 | local Debounce=false | |
| 40 | local Anim="Idle" | |
| 41 | local chat = game:GetService("Chat")
| |
| 42 | local Mouse=Player:GetMouse() | |
| 43 | local Lighting=game.Lighting | |
| 44 | local cf=CFrame.new | |
| 45 | local v3=Vector3.new | |
| 46 | local c3=Color3.new | |
| 47 | local it=Instance.new | |
| 48 | local angles=CFrame.Angles | |
| 49 | local rad=math.rad | |
| 50 | local ran=math.random | |
| 51 | local huge=math.huge | |
| 52 | local attacking=false | |
| 53 | local attacktype=1 | |
| 54 | local Portalling=false | |
| 55 | local p = game.Players.LocalPlayer | |
| 56 | local char = p.Character | |
| 57 | local mouse = p:GetMouse() | |
| 58 | local larm = char["Left Arm"] | |
| 59 | local rarm = char["Right Arm"] | |
| 60 | local lleg = char["Left Leg"] | |
| 61 | local rleg = char["Right Leg"] | |
| 62 | local hed = char.Head | |
| 63 | local symbolimg = "rbxassetid://349165228" | |
| 64 | local torso = char.Torso | |
| 65 | local hum = char.Humanoid | |
| 66 | local cam = game.Workspace.CurrentCamera | |
| 67 | local root = char.HumanoidRootPart | |
| 68 | local deb = false | |
| 69 | local shot = 0 | |
| 70 | local debris=game:service"Debris" | |
| 71 | local l = game:GetService("Lighting")
| |
| 72 | local rs = game:GetService("RunService").RenderStepped
| |
| 73 | local eColors = {"Royal purple", "Really black"}
| |
| 74 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 75 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 76 | LSC0=cf(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 77 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 78 | RSC0=cf(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 79 | ROOTC0 = cf(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 80 | r=game:service'RunService'.RenderStepped | |
| 81 | -------------------------------------------------------------------- | |
| 82 | ||
| 83 | ||
| 84 | ||
| 85 | local Transforming = true | |
| 86 | Human.WalkSpeed = 0 | |
| 87 | ||
| 88 | ||
| 89 | - | Player:ClearCharacterAppearance() |
| 89 | + | --Player:ClearCharacterAppearance() |
| 90 | wait(0.1) | |
| 91 | - | Player.Character.Head.BrickColor = BrickColor.new("Really black")
|
| 91 | + | --[[Player.Character.Head.BrickColor = BrickColor.new("Really black")
|
| 92 | Player.Character.Torso.BrickColor = BrickColor.new("Really black")
| |
| 93 | Player.Character["Right Arm"].BrickColor = BrickColor.new("Really black")
| |
| 94 | Player.Character["Right Leg"].BrickColor = BrickColor.new("Really black")
| |
| 95 | Player.Character["Left Leg"].BrickColor = BrickColor.new("Really black")
| |
| 96 | Player.Character["Left Arm"].BrickColor = BrickColor.new("Really black")
| |
| 97 | - | Player.Character.Head.face:Destroy() |
| 97 | + | Player.Character.Head.face:Destroy()]] |
| 98 | ||
| 99 | ||
| 100 | ||
| 101 | ||
| 102 | ||
| 103 | ||
| 104 | ||
| 105 | - | local selectionBoxOfTorso = Instance.new("SelectionBox",Torso)
|
| 105 | + | --[[local selectionBoxOfTorso = Instance.new("SelectionBox",Torso)
|
| 106 | selectionBoxOfTorso.Adornee = Torso | |
| 107 | selectionBoxOfTorso.Color = BrickColor.new("Lime green")
| |
| 108 | selectionBoxOfTorso.LineThickness = 0.01 | |
| 109 | selectionBoxOfTorso.Transparency = 0 | |
| 110 | ||
| 111 | local selectionBoxOfRightArm = Instance.new("SelectionBox",Char["Right Arm"])
| |
| 112 | selectionBoxOfRightArm.Adornee = Char["Right Arm"] | |
| 113 | selectionBoxOfRightArm.Color = BrickColor.new("Lime green")
| |
| 114 | selectionBoxOfRightArm.LineThickness = 0.01 | |
| 115 | selectionBoxOfRightArm.Transparency = 0 | |
| 116 | ||
| 117 | local selectionBoxOfRightLeg = Instance.new("SelectionBox",Char["Right Leg"])
| |
| 118 | selectionBoxOfRightLeg.Adornee = Char["Right Leg"] | |
| 119 | selectionBoxOfRightLeg.Color = BrickColor.new("Lime green")
| |
| 120 | selectionBoxOfRightLeg.LineThickness = 0.01 | |
| 121 | selectionBoxOfRightLeg.Transparency = 0 | |
| 122 | ||
| 123 | local selectionBoxOfLeftArm = Instance.new("SelectionBox",Char["Left Arm"])
| |
| 124 | selectionBoxOfLeftArm.Adornee = Char["Left Arm"] | |
| 125 | selectionBoxOfLeftArm.Color = BrickColor.new("Lime green")
| |
| 126 | selectionBoxOfLeftArm.LineThickness = 0.01 | |
| 127 | selectionBoxOfLeftArm.Transparency = 0 | |
| 128 | ||
| 129 | local selectionBoxOfLeftLeg = Instance.new("SelectionBox",Char["Left Leg"])
| |
| 130 | selectionBoxOfLeftLeg.Adornee = Char["Left Leg"] | |
| 131 | selectionBoxOfLeftLeg.Color = BrickColor.new("Lime green")
| |
| 132 | selectionBoxOfLeftLeg.LineThickness = 0.01 | |
| 133 | selectionBoxOfLeftLeg.Transparency = 0 | |
| 134 | ||
| 135 | ||
| 136 | LightOnBody = Instance.new("PointLight", Head)
| |
| 137 | LightOnBody.Brightness = 3000 | |
| 138 | LightOnBody.Range = 20 | |
| 139 | - | LightOnBody.Color = Color3.new(0, 225, 0) |
| 139 | + | LightOnBody.Color = Color3.new(0, 225, 0)]] |
| 140 | ||
| 141 | ||
| 142 | ||
| 143 | local p = game.Players.LocalPlayer | |
| 144 | local char = p.Character | |
| 145 | GodOfDestruction = Instance.new("Model",game.Players.LocalPlayer.Character.Torso)
| |
| 146 | - | GodOfDestruction.Name = "GodOfDestruction" |
| 146 | + | GodOfDestruction.Name = "God Of Destruction" |
| 147 | - | humanoid = Instance.new("Humanoid",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
|
| 147 | + | humanoid = Instance.new("Humanoid",game.Players.LocalPlayer.Character.Torso["God Of Destruction"])
|
| 148 | - | shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
|
| 148 | + | shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character.Torso["God Of Destruction"])
|
| 149 | shirt.Name = "Shirt" | |
| 150 | - | pants = Instance.new("Pants",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
|
| 150 | + | pants = Instance.new("Pants",game.Players.LocalPlayer.Character.Torso["God Of Destruction"])
|
| 151 | pants.Name = "Pants" | |
| 152 | - | torso = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
|
| 152 | + | torso = Instance.new("Part",game.Players.LocalPlayer.Character.Torso["God Of Destruction"])
|
| 153 | torso.Size = Vector3.new(2,2,1) | |
| 154 | torso.Rotation = Vector3.new(0,180,0) | |
| 155 | torso.Position = Vector3.new(0,4,0) | |
| 156 | torso.BrickColor = BrickColor.new("Really black")
| |
| 157 | torso.Name = "Torso" | |
| 158 | - | head = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
|
| 158 | + | head = Instance.new("Part",game.Players.LocalPlayer.Character.Torso["God Of Destruction"])
|
| 159 | head.Size = Vector3.new(1.25,1.25,1.25) | |
| 160 | head.BrickColor = BrickColor.new("Really black")
| |
| 161 | head.Name = "Head" | |
| 162 | head.Position = Vector3.new(0,6,0) | |
| 163 | headmesh = Instance.new("SpecialMesh",head)
| |
| 164 | headmesh.MeshType = "Head" | |
| 165 | - | larm = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
|
| 165 | + | larm = Instance.new("Part",game.Players.LocalPlayer.Character.Torso["God Of Destruction"])
|
| 166 | larm.Size = Vector3.new(1,2,1) | |
| 167 | larm.BrickColor = BrickColor.new("Really black")
| |
| 168 | larm.Name = "Left Arm" | |
| 169 | larm.Position = Vector3.new(-2,4,0) | |
| 170 | - | rarm = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
|
| 170 | + | rarm = Instance.new("Part",game.Players.LocalPlayer.Character.Torso["God Of Destruction"])
|
| 171 | rarm.Size = Vector3.new(1,2,1) | |
| 172 | rarm.BrickColor = BrickColor.new("Really black")
| |
| 173 | rarm.Name = "Right Arm" | |
| 174 | rarm.Position = Vector3.new(2,4,0) | |
| 175 | - | lleg = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
|
| 175 | + | lleg = Instance.new("Part",game.Players.LocalPlayer.Character.Torso["God Of Destruction"])
|
| 176 | lleg.Size = Vector3.new(1,2,1) | |
| 177 | lleg.Name = "Left Leg" | |
| 178 | lleg.Position = Vector3.new(1,2,0) | |
| 179 | lleg.BrickColor = BrickColor.new("Really black")
| |
| 180 | - | rleg = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
|
| 180 | + | rleg = Instance.new("Part",game.Players.LocalPlayer.Character.Torso["God Of Destruction"])
|
| 181 | rleg.Size = Vector3.new(1,2,1) | |
| 182 | rleg.Name = "Right Leg" | |
| 183 | rleg.Position = Vector3.new(-1,2,0) | |
| 184 | rleg.BrickColor = BrickColor.new("Really black")
| |
| 185 | - | headweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Head)
|
| 185 | + | headweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso["God Of Destruction"].Head)
|
| 186 | - | headweld.Part0 = game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Head |
| 186 | + | headweld.Part0 = game.Players.LocalPlayer.Character.Torso["God Of Destruction"].Head |
| 187 | headweld.Part1 = torso | |
| 188 | headweld.C0 = CFrame.new(0, -1.5, 0) | |
| 189 | - | larmweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso)
|
| 189 | + | larmweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso["God Of Destruction"].Torso)
|
| 190 | - | larmweld.Part0 = game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso |
| 190 | + | larmweld.Part0 = game.Players.LocalPlayer.Character.Torso["God Of Destruction"].Torso |
| 191 | larmweld.Part1 = larm | |
| 192 | larmweld.C0 = CFrame.new(1.5, 0, 0) | |
| 193 | - | rarmweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso)
|
| 193 | + | rarmweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso["God Of Destruction"].Torso)
|
| 194 | - | rarmweld.Part0 = game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso |
| 194 | + | rarmweld.Part0 = game.Players.LocalPlayer.Character.Torso["God Of Destruction"].Torso |
| 195 | rarmweld.Part1 = rarm | |
| 196 | rarmweld.C0 = CFrame.new(-1.5, 0, 0) | |
| 197 | - | rlegweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso)
|
| 197 | + | rlegweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso["God Of Destruction"].Torso)
|
| 198 | - | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso |
| 198 | + | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso["God Of Destruction"].Torso |
| 199 | rlegweld.Part1 = rleg | |
| 200 | rlegweld.C0 = CFrame.new(-0.5, -2, 0) | |
| 201 | - | llegweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso)
|
| 201 | + | llegweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso["God Of Destruction"].Torso)
|
| 202 | - | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso |
| 202 | + | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso["God Of Destruction"].Torso |
| 203 | llegweld.Part1 = lleg | |
| 204 | llegweld.C0 = CFrame.new(0.5, -2, 0) | |
| 205 | npctoplayer = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso)
| |
| 206 | npctoplayer.Part0 = game.Players.LocalPlayer.Character.Torso | |
| 207 | npctoplayer.Part1 = torso | |
| 208 | npctoplayer.C0 = CFrame.new(0, 0, -10) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) | |
| 209 | ||
| 210 | ||
| 211 | local selectionBoxOfTorso = Instance.new("SelectionBox",torso)
| |
| 212 | selectionBoxOfTorso.Adornee = torso | |
| 213 | selectionBoxOfTorso.Color = BrickColor.new("Really red")
| |
| 214 | selectionBoxOfTorso.LineThickness = 0.01 | |
| 215 | selectionBoxOfTorso.Transparency = 0 | |
| 216 | ||
| 217 | local selectionBoxOfRightArm = Instance.new("SelectionBox",rarm)
| |
| 218 | selectionBoxOfRightArm.Adornee =rarm | |
| 219 | selectionBoxOfRightArm.Color = BrickColor.new("Really red")
| |
| 220 | selectionBoxOfRightArm.LineThickness = 0.01 | |
| 221 | selectionBoxOfRightArm.Transparency = 0 | |
| 222 | ||
| 223 | local selectionBoxOfRightLeg = Instance.new("SelectionBox",rleg)
| |
| 224 | selectionBoxOfRightLeg.Adornee =rleg | |
| 225 | selectionBoxOfRightLeg.Color = BrickColor.new("Really red")
| |
| 226 | selectionBoxOfRightLeg.LineThickness = 0.01 | |
| 227 | selectionBoxOfRightLeg.Transparency = 0 | |
| 228 | ||
| 229 | local selectionBoxOfLeftArm = Instance.new("SelectionBox",larm)
| |
| 230 | selectionBoxOfLeftArm.Adornee = larm | |
| 231 | selectionBoxOfLeftArm.Color = BrickColor.new("Really red")
| |
| 232 | selectionBoxOfLeftArm.LineThickness = 0.01 | |
| 233 | selectionBoxOfLeftArm.Transparency = 0 | |
| 234 | ||
| 235 | local selectionBoxOfLeftLeg = Instance.new("SelectionBox",lleg)
| |
| 236 | selectionBoxOfLeftLeg.Adornee = lleg | |
| 237 | selectionBoxOfLeftLeg.Color = BrickColor.new("Really red")
| |
| 238 | selectionBoxOfLeftLeg.LineThickness = 0.01 | |
| 239 | selectionBoxOfLeftLeg.Transparency = 0 | |
| 240 | ||
| 241 | ||
| 242 | LightOnBody = Instance.new("PointLight", head)
| |
| 243 | LightOnBody.Brightness = 3000 | |
| 244 | LightOnBody.Range = 20 | |
| 245 | LightOnBody.Color = Color3.new(225, 0, 0) | |
| 246 | ||
| 247 | ||
| 248 | ||
| 249 | ||
| 250 | ||
| 251 | ||
| 252 | ||
| 253 | ||
| 254 | CV="Pastel blue" | |
| 255 | ||
| 256 | local txt = Instance.new("BillboardGui", GodOfDestruction)
| |
| 257 | txt.Adornee = head | |
| 258 | txt.Name = "_status" | |
| 259 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 260 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 261 | local text = Instance.new("TextLabel", txt)
| |
| 262 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 263 | text.FontSize = "Size24" | |
| 264 | text.TextScaled = true | |
| 265 | text.TextTransparency = 0 | |
| 266 | text.BackgroundTransparency = 1 | |
| 267 | text.TextTransparency = 0 | |
| 268 | text.TextStrokeTransparency = 0 | |
| 269 | text.Font = "Antique" | |
| 270 | text.TextStrokeColor3 = Color3.new(225,0,0) | |
| 271 | ||
| 272 | v=Instance.new("Part")
| |
| 273 | v.Name = "ColorBrick" | |
| 274 | v.Parent=Player.Character | |
| 275 | v.FormFactor="Symmetric" | |
| 276 | v.Anchored=true | |
| 277 | v.CanCollide=false | |
| 278 | v.BottomSurface="Smooth" | |
| 279 | v.TopSurface="Smooth" | |
| 280 | v.Size=Vector3.new(10,5,3) | |
| 281 | v.Transparency=1 | |
| 282 | v.CFrame=Char.Torso.CFrame | |
| 283 | v.BrickColor=BrickColor.new(CV) | |
| 284 | v.Transparency=1 | |
| 285 | text.TextColor3 = Color3.new(0,0,0) | |
| 286 | v.Shape="Block" | |
| 287 | text.Text = "God Of Destruction" | |
| 288 | ||
| 289 | ||
| 290 | ||
| 291 | ||
| 292 | local ChatService = game:GetService("Chat")
| |
| 293 | ||
| 294 | ChatService:Chat(Head, "If we fuse...we will become the omni god..", "Green") | |
| 295 | wait(4) | |
| 296 | ChatService:Chat(Head, "No one will be able to stop us...", "Green") | |
| 297 | wait(4) | |
| 298 | ChatService:Chat(Head, "Lets do this...", "Green") | |
| 299 | ||
| 300 | ||
| 301 | local close = -10 | |
| 302 | for i=1,10 do | |
| 303 | wait(0.2) | |
| 304 | close = close + 1 | |
| 305 | npctoplayer.C0 = CFrame.new(0, 0, close) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) | |
| 306 | end | |
| 307 | - | game.Players.LocalPlayer.Character.Torso.GodOfDestruction:Destroy() |
| 307 | + | game.Players.LocalPlayer.Character.Torso["God Of Destruction"]:Destroy() |
| 308 | wait(0.1) | |
| 309 | local p = game.Players.LocalPlayer | |
| 310 | local char = p.Character | |
| 311 | local mouse = p:GetMouse() | |
| 312 | local larm = char["Left Arm"] | |
| 313 | local rarm = char["Right Arm"] | |
| 314 | local lleg = char["Left Leg"] | |
| 315 | local rleg = char["Right Leg"] | |
| 316 | local hed = char.Head | |
| 317 | local torso = char.Torso | |
| 318 | local hum = char.Humanoid | |
| 319 | local cam = game.Workspace.CurrentCamera | |
| 320 | local root = char.HumanoidRootPart | |
| 321 | local deb = false | |
| 322 | local shot = 0 | |
| 323 | local debris=game:service"Debris" | |
| 324 | local l = game:GetService("Lighting")
| |
| 325 | local rs = game:GetService("RunService").RenderStepped
| |
| 326 | ||
| 327 | ||
| 328 | Debounces = {
| |
| 329 | CanAttack = true; | |
| 330 | NoIdl = false; | |
| 331 | Slashing = false; | |
| 332 | Slashed = false; | |
| 333 | RPunch = false; | |
| 334 | Invisible = false; | |
| 335 | RPunched = false; | |
| 336 | LPunch = false; | |
| 337 | LPunched = false; | |
| 338 | } | |
| 339 | local Touche = {char.Name, }
| |
| 340 | ||
| 341 | ||
| 342 | function genWeld(a,b) | |
| 343 | local w = Instance.new("Weld",a)
| |
| 344 | w.Part0 = a | |
| 345 | w.Part1 = b | |
| 346 | return w | |
| 347 | end | |
| 348 | function weld(a, b) | |
| 349 | local weld = Instance.new("Weld")
| |
| 350 | weld.Name = "W" | |
| 351 | weld.Part0 = a | |
| 352 | weld.Part1 = b | |
| 353 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 354 | weld.Parent = a | |
| 355 | return weld; | |
| 356 | end | |
| 357 | ---------------------------------------------------- | |
| 358 | function Lerp(c1,c2,al) | |
| 359 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 360 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 361 | for i,v in pairs(com1) do | |
| 362 | com1[i] = v+(com2[i]-v)*al | |
| 363 | end | |
| 364 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 365 | end | |
| 366 | ---------------------------------------------------- | |
| 367 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 368 | local wld = Instance.new("Weld", wp1)
| |
| 369 | wld.Part0 = wp0 | |
| 370 | wld.Part1 = wp1 | |
| 371 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 372 | end | |
| 373 | ---------------------------------------------------- | |
| 374 | function weld5(part0, part1, c0, c1) | |
| 375 | weeld=Instance.new("Weld", part0)
| |
| 376 | weeld.Part0=part0 | |
| 377 | weeld.Part1=part1 | |
| 378 | weeld.C0=c0 | |
| 379 | weeld.C1=c1 | |
| 380 | return weeld | |
| 381 | end | |
| 382 | ---------------------------------------------------- | |
| 383 | function HasntTouched(plrname) | |
| 384 | local ret = true | |
| 385 | for _, v in pairs(Touche) do | |
| 386 | if v == plrname then | |
| 387 | ret = false | |
| 388 | end | |
| 389 | end | |
| 390 | return ret | |
| 391 | end | |
| 392 | ---------------------------------------------------- | |
| 393 | ||
| 394 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 395 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 396 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 397 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 398 | newWeld(torso, hed, 0, 1.5, 0) | |
| 399 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 400 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 401 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 402 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 403 | newWeld(root, torso, 0, -1, 0) | |
| 404 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 405 | ||
| 406 | ||
| 407 | p = Instance.new("Part")
| |
| 408 | p.BrickColor = BrickColor.new("Dark indigo")
| |
| 409 | p.Transparency = 1 | |
| 410 | TorsoColor = p.BrickColor | |
| 411 | ||
| 412 | ||
| 413 | local Transforming = true | |
| 414 | hum.WalkSpeed = 0 | |
| 415 | ||
| 416 | ||
| 417 | ||
| 418 | ||
| 419 | local fx = Instance.new("Part",Torso)
| |
| 420 | wit = p.BrickColor.Color | |
| 421 | wit2 = Color3.new(85,0,127) | |
| 422 | local glowz = Instance.new("ParticleEmitter",fx)
| |
| 423 | glowz.LightEmission = 1 | |
| 424 | glowz.Texture = "rbxassetid://284205403" | |
| 425 | glowz.Color = ColorSequence.new(wit) | |
| 426 | glowz.Size = NumberSequence.new(5) | |
| 427 | glowz.Speed = NumberRange.new(25,50) | |
| 428 | glowz.LockedToPart = false | |
| 429 | glowz.Transparency = NumberSequence.new(0.75) | |
| 430 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
| 431 | glowz.Lifetime = NumberRange.new(1) | |
| 432 | glowz.Rate = 50000 | |
| 433 | glowz.VelocitySpread = 9001 | |
| 434 | local glowz2 = Instance.new("ParticleEmitter",fx)
| |
| 435 | glowz2.LightEmission = 0.5 | |
| 436 | glowz.Texture = "rbxassetid://284205403" | |
| 437 | glowz2.Color = ColorSequence.new(wit2) | |
| 438 | glowz2.Size = NumberSequence.new(5) | |
| 439 | glowz2.Speed = NumberRange.new(25,50) | |
| 440 | glowz2.LockedToPart = false | |
| 441 | glowz2.Transparency = NumberSequence.new(0.75) | |
| 442 | glowz2.RotSpeed = NumberRange.new(-2000,2000) | |
| 443 | glowz2.Lifetime = NumberRange.new(1) | |
| 444 | glowz2.Rate = 50000 | |
| 445 | glowz2.VelocitySpread = 9001 | |
| 446 | fx.Anchored = true | |
| 447 | fx.Material = "Neon" | |
| 448 | fx.CanCollide = false | |
| 449 | fx.Locked = true | |
| 450 | fx.Transparency = 1 | |
| 451 | fx.Material = "Neon" | |
| 452 | fx.Size = Vector3.new(1,1,1) | |
| 453 | fx.TopSurface = "SmoothNoOutlines" | |
| 454 | fx.BottomSurface = "SmoothNoOutlines" | |
| 455 | fx.BrickColor = BrickColor.new("Really black")
| |
| 456 | fxm = Instance.new("SpecialMesh",fx)
| |
| 457 | fxm.MeshType = "Sphere" | |
| 458 | local sa2 = Instance.new("Sound",Torso)
| |
| 459 | sa2.SoundId = "rbxassetid://93724183" | |
| 460 | sa2.Pitch = 0.5 | |
| 461 | sa2.Volume = 5 | |
| 462 | sa2.Looped = false | |
| 463 | sa2:Play() | |
| 464 | local value = 1 | |
| 465 | fxm.Scale = Vector3.new(1,1,1) | |
| 466 | for i = 1, 20 do rs:wait() | |
| 467 | value = value - 0.05 | |
| 468 | fx.Transparency = fx.Transparency - (1/20) | |
| 469 | fx.CFrame = Torso.CFrame | |
| 470 | fxm.Scale = fxm.Scale + Vector3.new(value,value,value) | |
| 471 | rs:wait() | |
| 472 | end | |
| 473 | ||
| 474 | ||
| 475 | - | selectionBoxOfTorso:Destroy() |
| 475 | + | --[[selectionBoxOfTorso:Destroy() |
| 476 | selectionBoxOfRightArm:Destroy() | |
| 477 | selectionBoxOfRightLeg:Destroy() | |
| 478 | selectionBoxOfLeftArm:Destroy() | |
| 479 | selectionBoxOfLeftLeg:Destroy() | |
| 480 | - | LightOnBody:Destroy() |
| 480 | + | LightOnBody:Destroy()]] |
| 481 | ||
| 482 | ||
| 483 | - | local selectionBoxOfTorso = Instance.new("SelectionBox",Torso)
|
| 483 | + | --[[local selectionBoxOfTorso = Instance.new("SelectionBox",Torso)
|
| 484 | selectionBoxOfTorso.Adornee = Torso | |
| 485 | selectionBoxOfTorso.Color = BrickColor.new("Royal purple")
| |
| 486 | selectionBoxOfTorso.LineThickness = 0.01 | |
| 487 | selectionBoxOfTorso.Transparency = 0 | |
| 488 | ||
| 489 | local selectionBoxOfRightArm = Instance.new("SelectionBox",Char["Right Arm"])
| |
| 490 | selectionBoxOfRightArm.Adornee = Char["Right Arm"] | |
| 491 | selectionBoxOfRightArm.Color = BrickColor.new("Royal purple")
| |
| 492 | selectionBoxOfRightArm.LineThickness = 0.01 | |
| 493 | selectionBoxOfRightArm.Transparency = 0 | |
| 494 | ||
| 495 | local selectionBoxOfRightLeg = Instance.new("SelectionBox",Char["Right Leg"])
| |
| 496 | selectionBoxOfRightLeg.Adornee = Char["Right Leg"] | |
| 497 | selectionBoxOfRightLeg.Color = BrickColor.new("Royal purple")
| |
| 498 | selectionBoxOfRightLeg.LineThickness = 0.01 | |
| 499 | selectionBoxOfRightLeg.Transparency = 0 | |
| 500 | ||
| 501 | local selectionBoxOfLeftArm = Instance.new("SelectionBox",Char["Left Arm"])
| |
| 502 | selectionBoxOfLeftArm.Adornee = Char["Left Arm"] | |
| 503 | selectionBoxOfLeftArm.Color = BrickColor.new("Royal purple")
| |
| 504 | selectionBoxOfLeftArm.LineThickness = 0.01 | |
| 505 | selectionBoxOfLeftArm.Transparency = 0 | |
| 506 | ||
| 507 | local selectionBoxOfLeftLeg = Instance.new("SelectionBox",Char["Left Leg"])
| |
| 508 | selectionBoxOfLeftLeg.Adornee = Char["Left Leg"] | |
| 509 | selectionBoxOfLeftLeg.Color = BrickColor.new("Royal purple")
| |
| 510 | selectionBoxOfLeftLeg.LineThickness = 0.01 | |
| 511 | selectionBoxOfLeftLeg.Transparency = 0]] | |
| 512 | ||
| 513 | ||
| 514 | ||
| 515 | ||
| 516 | local Orbd = Instance.new("Part", char)
| |
| 517 | Orbd.Name = "Orbd" | |
| 518 | Orbd.Shape = Enum.PartType.Ball | |
| 519 | Orbd.CanCollide = false | |
| 520 | ||
| 521 | Orbd.BrickColor = BrickColor.new("Royal purple")
| |
| 522 | ||
| 523 | Orbd.Transparency = 0 | |
| 524 | Orbd.Material = "Neon" | |
| 525 | Orbd.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 526 | Orbd.TopSurface = Enum.SurfaceType.Smooth | |
| 527 | Orbd.BottomSurface = Enum.SurfaceType.Smooth | |
| 528 | ||
| 529 | local Weld = Instance.new("Weld", Orbd)
| |
| 530 | Weld.Part0 = char.Head | |
| 531 | Weld.Part1 = Orbd | |
| 532 | Weld.C1 = CFrame.new(-0.2, -0.2, 0.5) | |
| 533 | local glov = Instance.new("PointLight", Orbd)
| |
| 534 | glov.Brightness = 3000 | |
| 535 | glov.Range = 20 | |
| 536 | glov.Color = Color3.new(255, 0, 255) | |
| 537 | ||
| 538 | -------------------------------------------------------- | |
| 539 | local Orbvc = Instance.new("Part", char)
| |
| 540 | Orbvc.Name = "Orbvc" | |
| 541 | Orbvc.Shape = Enum.PartType.Ball | |
| 542 | Orbvc.CanCollide = false | |
| 543 | ||
| 544 | Orbvc.BrickColor = BrickColor.new("Royal purple")
| |
| 545 | ||
| 546 | Orbvc.Transparency = 0 | |
| 547 | Orbvc.Material = "Neon" | |
| 548 | Orbvc.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 549 | Orbvc.TopSurface = Enum.SurfaceType.Smooth | |
| 550 | Orbvc.BottomSurface = Enum.SurfaceType.Smooth | |
| 551 | ||
| 552 | local Weld = Instance.new("Weld", Orbvc)
| |
| 553 | Weld.Part0 = char.Head | |
| 554 | Weld.Part1 = Orbvc | |
| 555 | Weld.C1 = CFrame.new(0.2, -0.2, 0.5) | |
| 556 | local glo = Instance.new("PointLight", Orbvc)
| |
| 557 | glo.Brightness = 3000 | |
| 558 | glo.Range = 20 | |
| 559 | glo.Color = Color3.new(255, 0, 255) | |
| 560 | ---------------------------------------------------- | |
| 561 | ||
| 562 | ||
| 563 | ||
| 564 | ||
| 565 | ||
| 566 | ||
| 567 | ||
| 568 | ||
| 569 | ||
| 570 | ||
| 571 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 572 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 573 | local List = {}
| |
| 574 | for i,v in pairs(workspace:GetChildren())do | |
| 575 | if v:IsA("Model")then
| |
| 576 | if v:findFirstChild("Torso")then
| |
| 577 | if v ~= char then | |
| 578 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 579 | table.insert(List,v) | |
| 580 | end | |
| 581 | end | |
| 582 | end | |
| 583 | end | |
| 584 | end | |
| 585 | return List | |
| 586 | end | |
| 587 | ||
| 588 | ||
| 589 | ||
| 590 | ||
| 591 | GroundWave1 = function() | |
| 592 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 593 | local Colors = {"Royal purple", "Really black"}
| |
| 594 | local wave = Instance.new("Part", Torso)
| |
| 595 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 596 | wave.Anchored = true | |
| 597 | wave.CanCollide = false | |
| 598 | wave.Locked = true | |
| 599 | wave.Size = Vector3.new(1, 1, 1) | |
| 600 | wave.TopSurface = "Smooth" | |
| 601 | wave.BottomSurface = "Smooth" | |
| 602 | wave.Transparency = 0.35 | |
| 603 | wave.CFrame = HandCF | |
| 604 | wm = Instance.new("SpecialMesh", wave)
| |
| 605 | wm.MeshId = "rbxassetid://3270017" | |
| 606 | coroutine.wrap(function() | |
| 607 | for i = 1, 30, 1 do | |
| 608 | wm.Scale = Vector3.new(50, 50, 1 + i*50) | |
| 609 | wave.Size = wm.Scale | |
| 610 | wave.CFrame = HandCF | |
| 611 | wave.Transparency = i/30 | |
| 612 | wait() | |
| 613 | end | |
| 614 | wait() | |
| 615 | wave:Destroy() | |
| 616 | end)() | |
| 617 | end | |
| 618 | ---------------------------------------------------- | |
| 619 | ||
| 620 | ||
| 621 | GroundWave3 = function() | |
| 622 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 623 | local Colors = {"Royal purple", "Royal purple"}
| |
| 624 | local wave = Instance.new("Part", torso)
| |
| 625 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 626 | wave.Anchored = true | |
| 627 | wave.CanCollide = false | |
| 628 | wave.Locked = true | |
| 629 | wave.Size = Vector3.new(1, 1, 1) | |
| 630 | wave.TopSurface = "Smooth" | |
| 631 | wave.BottomSurface = "Smooth" | |
| 632 | wave.Transparency = 0.35 | |
| 633 | wave.CFrame = HandCF | |
| 634 | wm = Instance.new("SpecialMesh", wave)
| |
| 635 | wm.MeshId = "rbxassetid://3270017" | |
| 636 | coroutine.wrap(function() | |
| 637 | for i = 1, 14, 1 do | |
| 638 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
| 639 | wave.Size = wm.Scale | |
| 640 | wave.CFrame = HandCF | |
| 641 | wave.Transparency = i/14 | |
| 642 | wait() | |
| 643 | end | |
| 644 | wait() | |
| 645 | wave:Destroy() | |
| 646 | end)() | |
| 647 | end | |
| 648 | ||
| 649 | ||
| 650 | ||
| 651 | ||
| 652 | ||
| 653 | local acos = math.acos | |
| 654 | local sqrt = math.sqrt | |
| 655 | local Vec3 = Vector3.new | |
| 656 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 657 | ||
| 658 | local function toAxisAngle(CFr) | |
| 659 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 660 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 661 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 662 | A = A == 0 and 0.00001 or A | |
| 663 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 664 | B = B == 0 and 0.00001 or B | |
| 665 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 666 | C = C == 0 and 0.00001 or C | |
| 667 | local x = (R21-R12)/sqrt(A) | |
| 668 | local y = (R02-R20)/sqrt(B) | |
| 669 | local z = (R10-R01)/sqrt(C) | |
| 670 | return Vec3(x,y,z),Angle | |
| 671 | end | |
| 672 | ||
| 673 | local acos = math.acos | |
| 674 | local sqrt = math.sqrt | |
| 675 | local Vec3 = Vector3.new | |
| 676 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 677 | ||
| 678 | local function toAxisAngle(CFr) | |
| 679 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 680 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 681 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 682 | A = A == 0 and 0.00001 or A | |
| 683 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 684 | B = B == 0 and 0.00001 or B | |
| 685 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 686 | C = C == 0 and 0.00001 or C | |
| 687 | local x = (R21-R12)/sqrt(A) | |
| 688 | local y = (R02-R20)/sqrt(B) | |
| 689 | local z = (R10-R01)/sqrt(C) | |
| 690 | return Vec3(x,y,z),Angle | |
| 691 | end | |
| 692 | ||
| 693 | function ApplyTrig(Num,Func) | |
| 694 | local Min,Max = Func(0),Func(1) | |
| 695 | local i = Func(Num) | |
| 696 | return (i-Min)/(Max-Min) | |
| 697 | --[[if Func == "sin" then | |
| 698 | return (math.sin((1-Num)*math.pi)+1)/2 | |
| 699 | elseif Func == "cos" then | |
| 700 | return (math.cos((1-Num)*math.pi)+1)/2 | |
| 701 | end]] | |
| 702 | end | |
| 703 | ||
| 704 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 705 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 706 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 707 | end | |
| 708 | ||
| 709 | ||
| 710 | ||
| 711 | local togglecamshake = true | |
| 712 | ||
| 713 | function camshake(partoz, magn, intens) | |
| 714 | if togglecamshake == true then | |
| 715 | return | |
| 716 | end | |
| 717 | for _, guy in pairs(workspace:GetChildren()) do | |
| 718 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Torso") and guy.Name ~= "Noob" and magn > (guy:FindFirstChild("Torso").Position - partoz.Position).magnitude then
| |
| 719 | coroutine.resume(coroutine.create(function() | |
| 720 | local humz = guy:FindFirstChild("Humanoid")
| |
| 721 | local torse = guy:FindFirstChild("Torso")
| |
| 722 | for _ = 1, 5 * intens do | |
| 723 | wait() | |
| 724 | humz.CameraOffset = Vector3.new(2 * math.random(-intens, intens), 0.5 * math.random(-intens, intens), 2 * math.random(-intens, intens)) | |
| 725 | end | |
| 726 | humz.CameraOffset = Vector3.new(0, 0, 0) | |
| 727 | end)) | |
| 728 | end | |
| 729 | end | |
| 730 | end | |
| 731 | ||
| 732 | ||
| 733 | function Crater(Torso,Radius) | |
| 734 | Spawn(function() | |
| 735 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 736 | local Ignore = {}
| |
| 737 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 738 | if v.Character ~= nil then | |
| 739 | Ignore[#Ignore+1] = v.Character | |
| 740 | end | |
| 741 | end | |
| 742 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 743 | if Hit == nil then return end | |
| 744 | local Parts = {}
| |
| 745 | for i = 1,360,10 do | |
| 746 | local P = Instance.new("Part",Torso.Parent)
| |
| 747 | P.Anchored = true | |
| 748 | P.FormFactor = "Custom" | |
| 749 | P.BrickColor = BrickColor.new("Royal purple")
| |
| 750 | P.Material = "Granite" | |
| 751 | P.TopSurface = "Smooth" | |
| 752 | P.BottomSurface = "Smooth" | |
| 753 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
| 754 | 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))) | |
| 755 | 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}
| |
| 756 | if math.random(0,5) == 0 then -- rubble | |
| 757 | local P = Instance.new("Part",Torso.Parent)
| |
| 758 | P.Anchored = true | |
| 759 | P.FormFactor = "Custom" | |
| 760 | P.BrickColor = BrickColor.new("Royal Purple")
| |
| 761 | P.Material = Hit.Material | |
| 762 | P.TopSurface = "Smooth" | |
| 763 | P.BottomSurface = "Smooth" | |
| 764 | P.Size = Vector3.new(5,5,5)*(math.random(80,100)/100) | |
| 765 | 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))) | |
| 766 | 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}
| |
| 767 | end | |
| 768 | end | |
| 769 | for i = 0,1,0.05 do | |
| 770 | for i2,v in pairs(Parts) do | |
| 771 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 772 | end | |
| 773 | wait(0.02) | |
| 774 | end | |
| 775 | for i,v in pairs(Parts) do | |
| 776 | if v[1].Size.X > 2.1 then | |
| 777 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 778 | end | |
| 779 | v[1].Anchored = false | |
| 780 | end | |
| 781 | for i = 0,1,0.05 do | |
| 782 | for i2,v in pairs(Parts) do | |
| 783 | v[1].Transparency = i | |
| 784 | if i == 1 then | |
| 785 | v[1]:Destroy() | |
| 786 | elseif i >= 0.25 then | |
| 787 | v[1].CanCollide = false | |
| 788 | end | |
| 789 | end | |
| 790 | wait(0.02) | |
| 791 | end | |
| 792 | Parts = nil | |
| 793 | end) | |
| 794 | end | |
| 795 | ||
| 796 | ||
| 797 | ||
| 798 | GroundWave = function() | |
| 799 | if Transforming == true then | |
| 800 | local value = 5 | |
| 801 | local value2 = 10 | |
| 802 | local value3 = 20 | |
| 803 | local sa2 = Instance.new("Sound",Torso)
| |
| 804 | sa2.SoundId = "rbxassetid://393621716" | |
| 805 | sa2.Pitch = 1 | |
| 806 | sa2.Volume = 10 | |
| 807 | sa2.Looped = false | |
| 808 | sa2:Play() | |
| 809 | local wave = Instance.new("Part", Torso)
| |
| 810 | local glowz = Instance.new("ParticleEmitter",wave)
| |
| 811 | glowz.LightEmission = 1 | |
| 812 | glowz.Texture = "rbxassetid://284205403" | |
| 813 | glowz.Color = ColorSequence.new(wit) | |
| 814 | glowz.Size = NumberSequence.new(30) | |
| 815 | glowz.Speed = NumberRange.new(25,100) | |
| 816 | glowz.LockedToPart = false | |
| 817 | glowz.Transparency = NumberSequence.new(0.75) | |
| 818 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
| 819 | glowz.Lifetime = NumberRange.new(1) | |
| 820 | glowz.Rate = 50000 | |
| 821 | glowz.VelocitySpread = 9001 | |
| 822 | local glowz2 = Instance.new("ParticleEmitter",wave)
| |
| 823 | glowz2.LightEmission = 1 | |
| 824 | glowz.Texture = "rbxassetid://284205403" | |
| 825 | glowz2.Color = ColorSequence.new(wit) | |
| 826 | glowz2.Size = NumberSequence.new(30) | |
| 827 | glowz2.Speed = NumberRange.new(25,100) | |
| 828 | glowz2.LockedToPart = false | |
| 829 | glowz2.Transparency = NumberSequence.new(0.75) | |
| 830 | glowz2.RotSpeed = NumberRange.new(-2000,2000) | |
| 831 | glowz2.Lifetime = NumberRange.new(1) | |
| 832 | glowz2.Rate = 50000 | |
| 833 | glowz2.VelocitySpread = 9001 | |
| 834 | wave.BrickColor = BrickColor.new("Really black")
| |
| 835 | wave.Anchored = true | |
| 836 | wave.CanCollide = false | |
| 837 | wave.Locked = true | |
| 838 | wave.Size = Vector3.new(1, 1, 1) | |
| 839 | wave.TopSurface = "Smooth" | |
| 840 | wave.BottomSurface = "Smooth" | |
| 841 | wave.Transparency = 0.35 | |
| 842 | wave.CFrame = fx.CFrame | |
| 843 | wave.Material = "Neon" | |
| 844 | wm = Instance.new("SpecialMesh", wave)
| |
| 845 | wm.MeshType = "Sphere" | |
| 846 | wm.Scale = Vector3.new(1,1,1) | |
| 847 | local wave2 = Instance.new("Part", Torso)
| |
| 848 | wave2.BrickColor = TorsoColor | |
| 849 | wave2.Anchored = true | |
| 850 | wave2.CanCollide = false | |
| 851 | wave2.Locked = true | |
| 852 | wave2.Size = Vector3.new(1, 1, 1) | |
| 853 | wave2.TopSurface = "Smooth" | |
| 854 | wave2.BottomSurface = "Smooth" | |
| 855 | wave2.Transparency = 0.35 | |
| 856 | wave2.CFrame = fx.CFrame | |
| 857 | wave2.Material = "Neon" | |
| 858 | wm2 = Instance.new("SpecialMesh", wave2)
| |
| 859 | wm2.MeshType = "FileMesh" | |
| 860 | wm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 861 | wm2.Scale = Vector3.new(1,1,1) | |
| 862 | local wave3 = Instance.new("Part", Torso)
| |
| 863 | wave3.BrickColor = BrickColor.new("Really black")
| |
| 864 | wave3.Anchored = true | |
| 865 | wave3.CanCollide = false | |
| 866 | wave3.Locked = true | |
| 867 | wave3.Size = Vector3.new(1, 1, 1) | |
| 868 | wave3.TopSurface = "Smooth" | |
| 869 | wave3.BottomSurface = "Smooth" | |
| 870 | wave3.Transparency = 0.35 | |
| 871 | wave3.CFrame = fx.CFrame | |
| 872 | wave3.Material = "Neon" | |
| 873 | wm3 = Instance.new("SpecialMesh", wave3)
| |
| 874 | wm3.MeshType = "FileMesh" | |
| 875 | wm3.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 876 | wm3.Scale = Vector3.new(1,1,1) | |
| 877 | coroutine.wrap(function() | |
| 878 | for i = 1, 18, 1 do | |
| 879 | value = value - 0.5 | |
| 880 | value2 = value2 - 0.75*1.5 | |
| 881 | value3 = value3 - 0.475*1.5 | |
| 882 | wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5) | |
| 883 | wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5) | |
| 884 | wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25) | |
| 885 | --wave.Size = wm.Scale | |
| 886 | wave.CFrame = fx.CFrame | |
| 887 | wave.Transparency = i/14 | |
| 888 | --wave2.Size = wm2.Scale | |
| 889 | wave2.CFrame = fx.CFrame | |
| 890 | wave2.Rotation = Vector3.new(90, 0, 0) | |
| 891 | wave2.Transparency = i/14 | |
| 892 | --wave3.Size = wm3.Scale | |
| 893 | wave3.CFrame = fx.CFrame | |
| 894 | wave3.Rotation = Vector3.new(90, 0, 0) | |
| 895 | wave3.Transparency = i/14 | |
| 896 | wait() | |
| 897 | glowz.Rate = 0 | |
| 898 | glowz2.Rate = 0 | |
| 899 | end | |
| 900 | wait() | |
| 901 | wave:Destroy() | |
| 902 | wave2:Destroy() | |
| 903 | wave3:Destroy() | |
| 904 | end)() | |
| 905 | elseif Transforming == false then | |
| 906 | wait() | |
| 907 | end | |
| 908 | end | |
| 909 | ||
| 910 | for i = 1, 100 do rs:wait() | |
| 911 | fx.CFrame = Torso.CFrame | |
| 912 | end | |
| 913 | ||
| 914 | spawn(function() | |
| 915 | while wait(1) do | |
| 916 | GroundWave() | |
| 917 | end | |
| 918 | end) | |
| 919 | ||
| 920 | ||
| 921 | ||
| 922 | ||
| 923 | ||
| 924 | ||
| 925 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 926 | local Create = RbxUtility.Create | |
| 927 | ||
| 928 | function RemoveOutlines(part) | |
| 929 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 930 | end | |
| 931 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 932 | local Part = Create("Part"){
| |
| 933 | Parent = Parent, | |
| 934 | Reflectance = Reflectance, | |
| 935 | Transparency = Transparency, | |
| 936 | CanCollide = false, | |
| 937 | Locked = true, | |
| 938 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 939 | Name = Name, | |
| 940 | Size = Size, | |
| 941 | Material = Material, | |
| 942 | } | |
| 943 | RemoveOutlines(Part) | |
| 944 | return Part | |
| 945 | end | |
| 946 | local Effects = {}
| |
| 947 | ||
| 948 | ||
| 949 | ||
| 950 | wait(2) | |
| 951 | - | local Muss = Instance.new("Sound",char)
|
| 951 | + | local Muss = Instance.new("Sound",char)-- Change boss music here
|
| 952 | - | Muss.SoundId = "rbxassetid://186942568" |
| 952 | + | Muss.SoundId = "rbxassetid://481585635" |
| 953 | Muss.Pitch = 1 | |
| 954 | Muss.Volume = 0 | |
| 955 | Muss.Looped = true | |
| 956 | --Muss:Play() | |
| 957 | Transforming = false | |
| 958 | ||
| 959 | ||
| 960 | local value2 = 1 | |
| 961 | for i = 1, 20 do rs:wait() | |
| 962 | value2 = value2 - 0.05 | |
| 963 | glowz.Rate = 0 | |
| 964 | glowz2.Rate = 0 | |
| 965 | fx.Transparency = fx.Transparency + (1/20) | |
| 966 | fx.CFrame = torso.CFrame | |
| 967 | fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2) | |
| 968 | rs:wait() | |
| 969 | end | |
| 970 | ||
| 971 | ||
| 972 | local Mus = Instance.new("Sound",char)
| |
| 973 | Mus.SoundId = "rbxassetid://752647397" | |
| 974 | Mus.Pitch = 1 | |
| 975 | Mus.Volume = 40 | |
| 976 | Mus.Looped = false | |
| 977 | wait(0.3) | |
| 978 | Mus:Play() | |
| 979 | ||
| 980 | glowz:Destroy() | |
| 981 | glowz2:Destroy() | |
| 982 | for i = 1,20 do | |
| 983 | ||
| 984 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 985 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2) | |
| 986 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) | |
| 987 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4) | |
| 988 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.4, -.7) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.4) | |
| 989 | end | |
| 990 | wait(1) | |
| 991 | for i = 1,20 do | |
| 992 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 993 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2) | |
| 994 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) | |
| 995 | ||
| 996 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.4) | |
| 997 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.4) | |
| 998 | ||
| 999 | end | |
| 1000 | ||
| 1001 | ||
| 1002 | wait(5) | |
| 1003 | ||
| 1004 | wait(1.3) | |
| 1005 | for i = 1,20 do | |
| 1006 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(30)), 0.2) | |
| 1007 | ||
| 1008 | ||
| 1009 | end | |
| 1010 | wait(0.4) | |
| 1011 | for i = 1,20 do | |
| 1012 | ||
| 1013 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-30)), 0.2) | |
| 1014 | end | |
| 1015 | wait(0.6) | |
| 1016 | for i = 1,20 do | |
| 1017 | wait() | |
| 1018 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2) | |
| 1019 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-35)), 0.2) | |
| 1020 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(35)), 0.2) | |
| 1021 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4) | |
| 1022 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4) | |
| 1023 | end | |
| 1024 | wait(0.2) | |
| 1025 | for i = 1,20 do | |
| 1026 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 1027 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(30)), 0.2) | |
| 1028 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-30)), 0.2) | |
| 1029 | ||
| 1030 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.4) | |
| 1031 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.4) | |
| 1032 | ||
| 1033 | end | |
| 1034 | wait() | |
| 1035 | ||
| 1036 | camshake(torso, 48, 6) | |
| 1037 | for i,v in pairs(FindNearestTorso(Torso.CFrame.p,40))do | |
| 1038 | if v:FindFirstChild('Humanoid') then
| |
| 1039 | v.Humanoid:TakeDamage(math.random(999999999999999999999999,99999999999999999999999999999999999999)) | |
| 1040 | end | |
| 1041 | end | |
| 1042 | ||
| 1043 | ||
| 1044 | ||
| 1045 | ||
| 1046 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
| 1047 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
| |
| 1048 | end | |
| 1049 | ||
| 1050 | function rayCast(Position, Direction, MaxDistance, IgnoreList) | |
| 1051 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
| |
| 1052 | end | |
| 1053 | local TBlast, TBMesh = Instance.new("Part"), Instance.new("SpecialMesh")
| |
| 1054 | TBlast.BrickColor = BrickColor.new("Pink")
| |
| 1055 | TBlast.Transparency = 1 | |
| 1056 | TBlast.Anchored = true | |
| 1057 | TBlast.CanCollide = false | |
| 1058 | TBlast.CFrame = root.CFrame | |
| 1059 | TBlast.Size = Vector3.new(2,2,2) | |
| 1060 | TBMesh.Parent = TBlast | |
| 1061 | TBMesh.MeshType = "Sphere" | |
| 1062 | game.Lighting.Brightness = 0 | |
| 1063 | game.Lighting.OutdoorAmbient = TBlast.BrickColor.Color | |
| 1064 | game.Lighting.TimeOfDay = 0.1 | |
| 1065 | game.Lighting.FogEnd = 1000 | |
| 1066 | game.Lighting.FogColor = TBlast.BrickColor.Color | |
| 1067 | game.Lighting.TimeOfDay = "00:00:00" | |
| 1068 | game.Lighting.Ambient = Color3.new(0,0,0) | |
| 1069 | game.Lighting.FogColor = Color3.new(0,0,0) | |
| 1070 | game.Lighting.FogEnd = 500 | |
| 1071 | game.Lighting.FogStart = 0 | |
| 1072 | game.Lighting.GlobalShadows = true | |
| 1073 | ||
| 1074 | ||
| 1075 | ||
| 1076 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1077 | local valuer = 5 | |
| 1078 | local valuer2 = 10 | |
| 1079 | local valuer3 = 15 | |
| 1080 | local sa2 = Instance.new("Sound",torso)
| |
| 1081 | sa2.SoundId = "rbxassetid://130972023" | |
| 1082 | sa2.Pitch = 1 | |
| 1083 | sa2.Volume = 5 | |
| 1084 | sa2.Looped = false | |
| 1085 | sa2:Play() | |
| 1086 | local sar2 = Instance.new("Sound",torso)
| |
| 1087 | sar2.SoundId = "rbxassetid://153274423" | |
| 1088 | sar2.Pitch = 1 | |
| 1089 | sar2.Volume = 5 | |
| 1090 | sar2.Looped = false | |
| 1091 | sar2:Play() | |
| 1092 | Crater(torso,67) | |
| 1093 | ||
| 1094 | GroundWave4 = function() | |
| 1095 | ||
| 1096 | local wave = Instance.new("Part", torso)
| |
| 1097 | wave.BrickColor = BrickColor.new("Royal purple")
| |
| 1098 | wave.Anchored = true | |
| 1099 | wave.CanCollide = false | |
| 1100 | wave.Locked = true | |
| 1101 | wave.Size = Vector3.new(1, 1, 1) | |
| 1102 | wave.TopSurface = "Smooth" | |
| 1103 | wave.BottomSurface = "Smooth" | |
| 1104 | wave.Transparency = 0.35 | |
| 1105 | wave.CFrame = fx.CFrame | |
| 1106 | wm = Instance.new("SpecialMesh", wave)
| |
| 1107 | wm.MeshType = "Sphere" | |
| 1108 | wm.Scale = Vector3.new(1,1,1) | |
| 1109 | coroutine.wrap(function() | |
| 1110 | for i = 1, 18, 1 do | |
| 1111 | wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
| 1112 | --wave.Size = wm.Scale | |
| 1113 | wave.CFrame = fx.CFrame | |
| 1114 | wave.Transparency = i/14 | |
| 1115 | wait() | |
| 1116 | end | |
| 1117 | wait() | |
| 1118 | wave:Destroy() | |
| 1119 | end)() | |
| 1120 | ||
| 1121 | end | |
| 1122 | ||
| 1123 | ||
| 1124 | ||
| 1125 | ||
| 1126 | ||
| 1127 | GroundWave1() | |
| 1128 | ||
| 1129 | ||
| 1130 | CV="Pastel blue" | |
| 1131 | ||
| 1132 | local txt = Instance.new("BillboardGui", Char)
| |
| 1133 | txt.Adornee = Char .Head | |
| 1134 | txt.Name = "_status" | |
| 1135 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 1136 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 1137 | local text = Instance.new("TextLabel", txt)
| |
| 1138 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 1139 | text.FontSize = "Size24" | |
| 1140 | text.TextScaled = true | |
| 1141 | text.TextTransparency = 0 | |
| 1142 | text.BackgroundTransparency = 1 | |
| 1143 | text.TextTransparency = 0 | |
| 1144 | text.TextStrokeTransparency = 0 | |
| 1145 | text.Font = "Antique" | |
| 1146 | text.TextStrokeColor3 = Color3.new(170,0,255) | |
| 1147 | ||
| 1148 | v=Instance.new("Part")
| |
| 1149 | v.Name = "ColorBrick" | |
| 1150 | v.Parent=Player.Character | |
| 1151 | v.FormFactor="Symmetric" | |
| 1152 | v.Anchored=true | |
| 1153 | v.CanCollide=false | |
| 1154 | v.BottomSurface="Smooth" | |
| 1155 | v.TopSurface="Smooth" | |
| 1156 | v.Size=Vector3.new(10,5,3) | |
| 1157 | v.Transparency=1 | |
| 1158 | v.CFrame=Char.Torso.CFrame | |
| 1159 | v.BrickColor=BrickColor.new(CV) | |
| 1160 | v.Transparency=1 | |
| 1161 | text.TextColor3 = Color3.new(0,0,0) | |
| 1162 | v.Shape="Block" | |
| 1163 | - | text.Text = "The Omni-God of Erradication" |
| 1163 | + | text.Text = game.Players.LocalPlayer.Name |
| 1164 | ||
| 1165 | ||
| 1166 | ||
| 1167 | ||
| 1168 | ROW = function(out, trans, s, wt, t, ang, plus) | |
| 1169 | for i = 1, 360, 360/t do | |
| 1170 | local c = Instance.new("Part", game.Workspace)
| |
| 1171 | c.FormFactor = 3 | |
| 1172 | c.TopSurface = 0 | |
| 1173 | c.BottomSurface = 0 | |
| 1174 | c.Size = s | |
| 1175 | c.Anchored = true | |
| 1176 | c.CanCollide = wt | |
| 1177 | c.Material=workspace.Base.Material | |
| 1178 | c.Transparency = trans | |
| 1179 | c.BrickColor = workspace.Base.BrickColor | |
| 1180 | c.CFrame = CFrame.new(Torso.CFrame.x,0,Torso.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
| 1181 | c.Locked=true | |
| 1182 | game.Debris:AddItem(c,15) | |
| 1183 | end | |
| 1184 | end | |
| 1185 | ||
| 1186 | 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) | |
| 1187 | ||
| 1188 | ||
| 1189 | ||
| 1190 | ||
| 1191 | ||
| 1192 | ||
| 1193 | ||
| 1194 | local wave = Instance.new("Part", torso)
| |
| 1195 | wave.BrickColor = TorsoColor | |
| 1196 | wave.Anchored = true | |
| 1197 | wave.CanCollide = false | |
| 1198 | wave.Locked = true | |
| 1199 | wave.Size = Vector3.new(1, 1, 1) | |
| 1200 | wave.TopSurface = "Smooth" | |
| 1201 | wave.BottomSurface = "Smooth" | |
| 1202 | wave.Transparency = 0.35 | |
| 1203 | wave.CFrame = HandCF | |
| 1204 | wm = Instance.new("SpecialMesh", wave)
| |
| 1205 | wm.MeshId = "rbxassetid://3270017" | |
| 1206 | local wave2 = Instance.new("Part", torso)
| |
| 1207 | wave2.BrickColor = BrickColor.new("Really black")
| |
| 1208 | wave2.Anchored = true | |
| 1209 | wave2.CanCollide = false | |
| 1210 | wave2.Locked = true | |
| 1211 | wave2.Size = Vector3.new(1, 1, 1) | |
| 1212 | wave2.TopSurface = "Smooth" | |
| 1213 | wave2.BottomSurface = "Smooth" | |
| 1214 | wave2.Transparency = 0.35 | |
| 1215 | wave2.CFrame = HandCF | |
| 1216 | wm2 = Instance.new("SpecialMesh", wave2)
| |
| 1217 | wm2.MeshId = "rbxassetid://3270017" | |
| 1218 | local wave3 = Instance.new("Part", torso)
| |
| 1219 | wave3.BrickColor = TorsoColor | |
| 1220 | wave3.Anchored = true | |
| 1221 | wave3.CanCollide = false | |
| 1222 | wave3.Locked = true | |
| 1223 | wave3.Size = Vector3.new(1, 1, 1) | |
| 1224 | wave3.TopSurface = "Smooth" | |
| 1225 | wave3.BottomSurface = "Smooth" | |
| 1226 | wave3.Transparency = 0.35 | |
| 1227 | wave3.CFrame = HandCF | |
| 1228 | wm3 = Instance.new("SpecialMesh", wave3)
| |
| 1229 | wm3.MeshId = "rbxassetid://3270017" | |
| 1230 | coroutine.wrap(function() | |
| 1231 | for i = 1, 14, 1 do | |
| 1232 | valuer = valuer - 0.35 | |
| 1233 | valuer2 = valuer - 0.45 | |
| 1234 | valuer3 = valuer3 - 0.475 | |
| 1235 | wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200) | |
| 1236 | wave.Size = wm.Scale | |
| 1237 | wave.CFrame = HandCF | |
| 1238 | wave.Transparency = i/14 | |
| 1239 | wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10) | |
| 1240 | wave2.Size = wm2.Scale | |
| 1241 | wave2.CFrame = HandCF | |
| 1242 | wave2.Transparency = i/14 | |
| 1243 | wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1) | |
| 1244 | wave3.Size = wm2.Scale | |
| 1245 | wave3.CFrame = HandCF | |
| 1246 | wave3.Transparency = i/14 | |
| 1247 | wait() | |
| 1248 | end | |
| 1249 | wait() | |
| 1250 | wave:Destroy() | |
| 1251 | wave2:Destroy() | |
| 1252 | end)() | |
| 1253 | ||
| 1254 | local torso = game.Players.LocalPlayer.Character.Torso | |
| 1255 | local block = Instance.new("Part",torso)
| |
| 1256 | block.Size = Vector3.new(0.1,0.1,0.1) | |
| 1257 | block.Position = block.Position + Vector3.new(2,2,2) | |
| 1258 | block.Transparency = 1 | |
| 1259 | local weld = Instance.new("Weld",torso)
| |
| 1260 | weld.Part0 = torso | |
| 1261 | weld.Part1 = block | |
| 1262 | weld.C0 = CFrame.new(0,5,0) | |
| 1263 | local tables = {5,4,3,2,1}
| |
| 1264 | local part = Instance.new("ParticleEmitter")
| |
| 1265 | part.Parent = game.Players.LocalPlayer.Character.Torso | |
| 1266 | part.LockedToPart = true | |
| 1267 | ||
| 1268 | part.Texture = "rbxassetid://300899196" | |
| 1269 | part.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,18),NumberSequenceKeypoint.new(1,1)})
| |
| 1270 | part.Transparency = NumberSequence.new(0.7) | |
| 1271 | part.Lifetime = NumberRange.new(2) | |
| 1272 | part.Rate = 30 | |
| 1273 | local part2 = Instance.new("ParticleEmitter",block)
| |
| 1274 | part2.Lifetime = NumberRange.new(5) | |
| 1275 | part2.Speed = NumberRange.new(0) | |
| 1276 | part2.Size = NumberSequence.new(18) | |
| 1277 | part2.LockedToPart = true | |
| 1278 | part2.Transparency = NumberSequence.new(0.5) | |
| 1279 | part2.Rate = 3 | |
| 1280 | part2.Color = ColorSequence.new(Color3.fromRGB(170,0,255)) | |
| 1281 | part2.Texture = "http://www.roblox.com/asset/?id=358965396" | |
| 1282 | local model = Instance.new("Model",torso)
| |
| 1283 | ||
| 1284 | local ball0 = Instance.new("Part",model)
| |
| 1285 | ball0.Position = ball0.Position + Vector3.new(2,2,2) | |
| 1286 | ball0.Transparency = 0.5 | |
| 1287 | ball0.BrickColor = BrickColor.new("Royal purple")
| |
| 1288 | ball0.Size = Vector3.new(1,1,1) | |
| 1289 | ball0mesh = Instance.new("SpecialMesh",ball0)
| |
| 1290 | ball0mesh.MeshType = "Sphere" | |
| 1291 | ball0mesh.Scale = Vector3.new(1,1,1) | |
| 1292 | ballweld = Instance.new("Weld",model)
| |
| 1293 | ballweld.Part0 = torso | |
| 1294 | ballweld.Part1 = ball0 | |
| 1295 | ||
| 1296 | ||
| 1297 | ||
| 1298 | ||
| 1299 | for i = 1,15 do | |
| 1300 | wait(0.1) | |
| 1301 | part.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30),NumberSequenceKeypoint.new(1,1)})
| |
| 1302 | part2.Size = NumberSequence.new(15) | |
| 1303 | for i = 1 , 3 do | |
| 1304 | wait() | |
| 1305 | ball0mesh.Scale = ball0mesh.Scale + Vector3.new(13,13,13) | |
| 1306 | ||
| 1307 | end | |
| 1308 | ||
| 1309 | wait(0.1) | |
| 1310 | part2.Size = NumberSequence.new(8) | |
| 1311 | part.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,18),NumberSequenceKeypoint.new(1,1)})
| |
| 1312 | ball0mesh.Scale = Vector3.new(1,1,1) | |
| 1313 | ||
| 1314 | end | |
| 1315 | ||
| 1316 | hum.WalkSpeed = 16 | |
| 1317 | Muss:Play() | |
| 1318 | Muss.Volume = 8 | |
| 1319 | ||
| 1320 | ||
| 1321 | Charging = true | |
| 1322 | 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}
| |
| 1323 | function FDebris() | |
| 1324 | repeat | |
| 1325 | local p = Instance.new('Part',Torso)
| |
| 1326 | p.formFactor = 'Custom' | |
| 1327 | p.Size = Vector3.new(1,1,1) | |
| 1328 | p.BrickColor = BrickColor.new("Dark indigo")
| |
| 1329 | p.CanCollide = false | |
| 1330 | p.Transparency = 0.2 | |
| 1331 | p.Anchored = true | |
| 1332 | p.Locked=true | |
| 1333 | p.Material = "Neon" | |
| 1334 | s = math.random(1,40)/10 | |
| 1335 | local m = Instance.new("BlockMesh",p)
| |
| 1336 | m.Scale = Vector3.new(s,s,s) | |
| 1337 | 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()) | |
| 1338 | --[[coroutine.wrap(function() | |
| 1339 | wait(2) | |
| 1340 | while Charging == true do | |
| 1341 | wait(2) | |
| 1342 | GroundWave1() | |
| 1343 | wait(2) | |
| 1344 | end | |
| 1345 | end)()]]-- | |
| 1346 | ||
| 1347 | spawn(function() | |
| 1348 | while rs:wait() do | |
| 1349 | if p.Transparency >= 1 then p:Destroy() break end | |
| 1350 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
| 1351 | p.Transparency = p.Transparency+0.01 | |
| 1352 | end | |
| 1353 | end) | |
| 1354 | wait(.3) | |
| 1355 | until Charging == false | |
| 1356 | end | |
| 1357 | ||
| 1358 | ||
| 1359 | spawn(function() | |
| 1360 | while wait(.01) | |
| 1361 | do | |
| 1362 | FDebris() | |
| 1363 | end | |
| 1364 | end) | |
| 1365 | ||
| 1366 | ||
| 1367 | ||
| 1368 | FloatPart = function() | |
| 1369 | local Part = Instance.new('Part',Torso)
| |
| 1370 | Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87) | |
| 1371 | Part.Anchored = true | |
| 1372 | Part.Material = 'Neon' | |
| 1373 | Part.CanCollide = false | |
| 1374 | Part.BrickColor = BrickColor.new("Royal purple")
| |
| 1375 | local Mesh = Instance.new('SpecialMesh',Part)
| |
| 1376 | Mesh.Scale = Vector3.new(4,4,.2) | |
| 1377 | Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017' | |
| 1378 | Mesh.VertexColor = Vector3.new(0,170,255) | |
| 1379 | spawn(function() | |
| 1380 | for i = 1,30 do | |
| 1381 | Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0) | |
| 1382 | Part.Transparency = Part.Transparency + .035 | |
| 1383 | game["Run Service"].RenderStepped:wait() | |
| 1384 | end | |
| 1385 | Part:Destroy() | |
| 1386 | end) | |
| 1387 | end; | |
| 1388 | ||
| 1389 | DubPart = function() | |
| 1390 | local Part = Instance.new('Part',Torso)
| |
| 1391 | Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87) | |
| 1392 | Part.Anchored = true | |
| 1393 | Part.CanCollide = false | |
| 1394 | Part.Material = 'Neon' | |
| 1395 | Part.BrickColor = BrickColor.new(SecondaryColor) | |
| 1396 | local Mesh = Instance.new('SpecialMesh',Part)
| |
| 1397 | Mesh.Scale = Vector3.new(7,7,.2) | |
| 1398 | Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017' | |
| 1399 | Mesh.VertexColor = Vector3.new(0,170,255) | |
| 1400 | spawn(function() | |
| 1401 | for i = 1,30 do | |
| 1402 | Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0) | |
| 1403 | Part.Transparency = Part.Transparency + .035 | |
| 1404 | game["Run Service"].RenderStepped:wait() | |
| 1405 | end | |
| 1406 | Part:Destroy() | |
| 1407 | end) | |
| 1408 | end; | |
| 1409 | ||
| 1410 | Fade = function(Item,t) | |
| 1411 | spawn(function() | |
| 1412 | for i = 1,20 do | |
| 1413 | Item.Transparency = Item.Transparency + .05 | |
| 1414 | if t then | |
| 1415 | wait(t) | |
| 1416 | else | |
| 1417 | wait() | |
| 1418 | end | |
| 1419 | end | |
| 1420 | Item:Destroy() | |
| 1421 | end) | |
| 1422 | end | |
| 1423 | ||
| 1424 | Particle = function(PrimaryColor) | |
| 1425 | local Part = Instance.new('Part',Torso)
| |
| 1426 | Part.BrickColor = BrickColor.new(PrimaryColor) | |
| 1427 | Part.Anchored = true | |
| 1428 | Part.Transparency = .3 | |
| 1429 | Part.CanCollide = false | |
| 1430 | Part.CFrame = Torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random()) | |
| 1431 | local Mesh = Instance.new('BlockMesh',Part)
| |
| 1432 | Mesh.Scale = Vector3.new(.05,.1,.1) | |
| 1433 | spawn(function() | |
| 1434 | for i = 1,40 do | |
| 1435 | Part.Transparency = Part.Transparency + .0125 | |
| 1436 | Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0) | |
| 1437 | game["Run Service"].RenderStepped:wait() | |
| 1438 | end | |
| 1439 | Part:Destroy() | |
| 1440 | end) | |
| 1441 | end; | |
| 1442 | ||
| 1443 | --[[spawn(function() | |
| 1444 | while wait() do | |
| 1445 | wait(.05) | |
| 1446 | FloatPart() | |
| 1447 | wait(.08) | |
| 1448 | FloatPart() | |
| 1449 | wait(.05) | |
| 1450 | DubPart() | |
| 1451 | wait(.08) | |
| 1452 | end | |
| 1453 | end)]] | |
| 1454 | ||
| 1455 | game["Run Service"].RenderStepped:connect(function(_) | |
| 1456 | Particle("Royale purple")
| |
| 1457 | Particle("Really black")
| |
| 1458 | Particle("Royal purple")
| |
| 1459 | --Character['HumanoidRootPart'].C1 = Character['HumanoidRootPart'].C1 * CFrame.new(0,Height+math.sin(tick())/150,0) | |
| 1460 | end) | |
| 1461 | ||
| 1462 | ||
| 1463 | ||
| 1464 | ||
| 1465 | ||
| 1466 | ||
| 1467 | ||
| 1468 | ||
| 1469 | ||
| 1470 | ||
| 1471 | ||
| 1472 | ||
| 1473 | ||
| 1474 | ||
| 1475 | ||
| 1476 | ||
| 1477 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1478 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1479 | local List = {}
| |
| 1480 | for i,v in pairs(workspace:GetChildren())do | |
| 1481 | if v:IsA("Model")then
| |
| 1482 | if v:findFirstChild("Torso")then
| |
| 1483 | if v ~= char then | |
| 1484 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1485 | table.insert(List,v) | |
| 1486 | end | |
| 1487 | end | |
| 1488 | end | |
| 1489 | end | |
| 1490 | end | |
| 1491 | return List | |
| 1492 | end | |
| 1493 | ||
| 1494 | ||
| 1495 | ||
| 1496 | ||
| 1497 | vt = Vector3.new | |
| 1498 | ||
| 1499 | ||
| 1500 | ||
| 1501 | local player = game.Players.LocalPlayer | |
| 1502 | local pchar = player.Character | |
| 1503 | local mouse = player:GetMouse() | |
| 1504 | local cam = workspace.CurrentCamera | |
| 1505 | ||
| 1506 | local rad = math.rad | |
| 1507 | bodyparts = {}
| |
| 1508 | local keysDown = {}
| |
| 1509 | local flySpeed = 0 | |
| 1510 | local MAX_FLY_SPEED = 150 | |
| 1511 | ||
| 1512 | local canFly = false | |
| 1513 | local flyToggled = false | |
| 1514 | ||
| 1515 | local forward, side = 0, 0 | |
| 1516 | local lastForward, lastSide = 0, 0 | |
| 1517 | ||
| 1518 | local floatBP = Instance.new("BodyPosition")
| |
| 1519 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
| 1520 | local flyBV = Instance.new("BodyVelocity")
| |
| 1521 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 1522 | local turnBG = Instance.new("BodyGyro")
| |
| 1523 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 1524 | ||
| 1525 | mouse.KeyDown:connect(function(key) | |
| 1526 | keysDown[key] = true | |
| 1527 | ||
| 1528 | if key == "f" then | |
| 1529 | flyToggled = not flyToggled | |
| 1530 | ||
| 1531 | if not flyToggled then | |
| 1532 | stanceToggle = "Normal" | |
| 1533 | floatBP.Parent = nil | |
| 1534 | flyBV.Parent = nil | |
| 1535 | turnBG.Parent = nil | |
| 1536 | root.Velocity = Vector3.new() | |
| 1537 | pchar.Humanoid.PlatformStand = false | |
| 1538 | end | |
| 1539 | end | |
| 1540 | ||
| 1541 | end) | |
| 1542 | mouse.KeyUp:connect(function(key) | |
| 1543 | keysDown[key] = nil | |
| 1544 | end) | |
| 1545 | ||
| 1546 | local function updateFly() | |
| 1547 | ||
| 1548 | ||
| 1549 | ||
| 1550 | ||
| 1551 | if not flyToggled then return end | |
| 1552 | ||
| 1553 | lastForward = forward | |
| 1554 | lastSide = side | |
| 1555 | ||
| 1556 | forward = 0 | |
| 1557 | side = 0 | |
| 1558 | ||
| 1559 | if keysDown.w then | |
| 1560 | forward = forward + 1 | |
| 1561 | end | |
| 1562 | if keysDown.s then | |
| 1563 | forward = forward - 1 | |
| 1564 | end | |
| 1565 | if keysDown.a then | |
| 1566 | side = side - 1 | |
| 1567 | end | |
| 1568 | if keysDown.d then | |
| 1569 | side = side + 1 | |
| 1570 | end | |
| 1571 | ||
| 1572 | canFly = (forward ~= 0 or side ~= 0) | |
| 1573 | ||
| 1574 | if canFly then | |
| 1575 | stanceToggle = "Floating" | |
| 1576 | turnBG.Parent = root | |
| 1577 | floatBP.Parent = nil | |
| 1578 | flyBV.Parent = root | |
| 1579 | ||
| 1580 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
| 1581 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
| 1582 | else | |
| 1583 | floatBP.position = root.Position | |
| 1584 | floatBP.Parent = root | |
| 1585 | ||
| 1586 | flySpeed = flySpeed - 1 | |
| 1587 | if flySpeed < 0 then flySpeed = 0 end | |
| 1588 | end | |
| 1589 | ||
| 1590 | local camCF = cam.CoordinateFrame | |
| 1591 | local in_forward = canFly and forward or lastForward | |
| 1592 | local in_side = canFly and side or lastSide | |
| 1593 | ||
| 1594 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
| 1595 | ||
| 1596 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,0) | |
| 1597 | end | |
| 1598 | ||
| 1599 | game:service'RunService'.RenderStepped:connect(function() | |
| 1600 | if flyToggled then | |
| 1601 | pchar.Humanoid.PlatformStand = true | |
| 1602 | end | |
| 1603 | updateFly() | |
| 1604 | end) | |
| 1605 | ||
| 1606 | ||
| 1607 | ||
| 1608 | mouse.KeyDown:connect(function(key) | |
| 1609 | if key == "b" then | |
| 1610 | hum.WalkSpeed = 0 | |
| 1611 | if Debounces.CanAttack == true then | |
| 1612 | Debounces.CanAttack = false | |
| 1613 | Debounces.NoIdl = true | |
| 1614 | Debounces.on = true | |
| 1615 | v = Instance.new("Sound")
| |
| 1616 | v.SoundId = "http://www.roblox.com/asset/?id=753551986" | |
| 1617 | v.Parent = char | |
| 1618 | v.Looped = false | |
| 1619 | v.Pitch = 1 | |
| 1620 | v.Volume = 3000 | |
| 1621 | wait(0.01) | |
| 1622 | v:Play() | |
| 1623 | wait() | |
| 1624 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1) | |
| 1625 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1) | |
| 1626 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1) | |
| 1627 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1) | |
| 1628 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(-5)), 0.1) | |
| 1629 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(5)), 0.1) | |
| 1630 | if Debounces.on == false then | |
| 1631 | end | |
| 1632 | wait() | |
| 1633 | end | |
| 1634 | wait() | |
| 1635 | ||
| 1636 | ||
| 1637 | local function Shockwave7() | |
| 1638 | local ENERGY = Instance.new("Part", Char)
| |
| 1639 | ENERGY.Name = "ENERGY" | |
| 1640 | ENERGY.CanCollide = false | |
| 1641 | ENERGY.BrickColor = BrickColor.new("Really black")
| |
| 1642 | ENERGY.Transparency = 0.2 | |
| 1643 | ENERGY.TopSurface = 0 | |
| 1644 | ENERGY.BottomSurface = 0 | |
| 1645 | ENERGY.Anchored = true | |
| 1646 | local cm = Instance.new("CylinderMesh", ENERGY)
| |
| 1647 | cm.Scale = Vector3.new(1, 20, 1) | |
| 1648 | ENERGY.Size = Vector3.new(5, 20, 5) | |
| 1649 | ENERGY.CFrame = char.Torso.CFrame | |
| 1650 | ENERGY.Touched:connect(function(hit) | |
| 1651 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
| |
| 1652 | local Occlude = true | |
| 1653 | local NotOccludes = {
| |
| 1654 | char.Name; | |
| 1655 | "Wings"; | |
| 1656 | "Scythe"; | |
| 1657 | "Thingy"; | |
| 1658 | "Thingy2"; -- put all of the names in a table pls | |
| 1659 | } | |
| 1660 | for i,v in pairs(NotOccludes) do | |
| 1661 | if hit.Parent.Name == v then | |
| 1662 | Occlude = false | |
| 1663 | end | |
| 1664 | end | |
| 1665 | --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 | |
| 1666 | if Occlude then | |
| 1667 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 9999999999999999999999999999999999999999999999999999999999999999999999999999999999
| |
| 1668 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * 220
| |
| 1669 | end | |
| 1670 | end | |
| 1671 | end) | |
| 1672 | for i = 1, 50 do | |
| 1673 | ENERGY.CFrame = char.Torso.CFrame | |
| 1674 | ENERGY.Transparency = ENERGY.Transparency + 0.012 | |
| 1675 | ENERGY.Size = ENERGY.Size + Vector3.new(0.2, 0, 0.2) | |
| 1676 | wait() | |
| 1677 | end | |
| 1678 | ENERGY:Destroy() | |
| 1679 | end | |
| 1680 | Shockwave7() | |
| 1681 | ||
| 1682 | ||
| 1683 | pt=Instance.new('Part',torso)
| |
| 1684 | pt.Anchored=true | |
| 1685 | pt.CanCollide=false | |
| 1686 | pt.Locked = true | |
| 1687 | pt.FormFactor='Custom' | |
| 1688 | pt.Size=Vector3.new(1,1,1) | |
| 1689 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 1690 | pt.Transparency=.6 | |
| 1691 | pt.BrickColor=BrickColor.new('Royal purple')
| |
| 1692 | msh=Instance.new('SpecialMesh',pt)
| |
| 1693 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1694 | msh.Scale=Vector3.new(8,4,8) | |
| 1695 | pt2=pt:clone() | |
| 1696 | pt2.Parent = torso | |
| 1697 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 1698 | pt2.BrickColor=BrickColor.new("Really black")
| |
| 1699 | msh2=msh:clone() | |
| 1700 | msh2.Parent=pt2 | |
| 1701 | msh2.Scale=Vector3.new(10,5,10) | |
| 1702 | ||
| 1703 | 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}
| |
| 1704 | bl = Instance.new("Part", char)
| |
| 1705 | bl.Locked = true | |
| 1706 | bl.Name = "Shell" | |
| 1707 | bl.BrickColor = BrickColor.new("Royal purple")
| |
| 1708 | bl.Anchored = true | |
| 1709 | bl.CanCollide = false | |
| 1710 | bl.Transparency = 0 | |
| 1711 | bl.Reflectance = 0 | |
| 1712 | bl.BottomSurface = 0 | |
| 1713 | bl.TopSurface = 0 | |
| 1714 | bl.Shape = 0 | |
| 1715 | blm = Instance.new("SpecialMesh",bl)
| |
| 1716 | blm.MeshType = "Sphere" | |
| 1717 | blm.Scale = Vector3.new(1,1,1) | |
| 1718 | blm.MeshId = "rbxassetid://9982590" | |
| 1719 | ||
| 1720 | coroutine.resume(coroutine.create(function() | |
| 1721 | for i=1, math.huge, 4 do | |
| 1722 | rs:wait() | |
| 1723 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 1724 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
| 1725 | bl.Transparency = bl.Transparency + 0.005 | |
| 1726 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
| 1727 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
| 1728 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
| 1729 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
| 1730 | end | |
| 1731 | end)) | |
| 1732 | ||
| 1733 | for i = 1, 15 do | |
| 1734 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
| 1735 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
| 1736 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
| 1737 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
| 1738 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
| 1739 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 1740 | if Debounces.on == false then | |
| 1741 | break | |
| 1742 | end | |
| 1743 | wait() | |
| 1744 | end | |
| 1745 | for i = 1, 15 do | |
| 1746 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
| 1747 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
| 1748 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
| 1749 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
| 1750 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 1751 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
| 1752 | if Debounces.on == false then | |
| 1753 | break | |
| 1754 | end | |
| 1755 | wait() | |
| 1756 | end | |
| 1757 | for i = 1, 15 do | |
| 1758 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
| 1759 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
| 1760 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
| 1761 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
| 1762 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
| 1763 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 1764 | if Debounces.on == false then | |
| 1765 | break | |
| 1766 | end | |
| 1767 | wait() | |
| 1768 | end | |
| 1769 | for i = 1, 15 do | |
| 1770 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
| 1771 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
| 1772 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
| 1773 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
| 1774 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 1775 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
| 1776 | if Debounces.on == false then | |
| 1777 | break | |
| 1778 | end | |
| 1779 | wait() | |
| 1780 | end | |
| 1781 | for i = 1, 15 do | |
| 1782 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
| 1783 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
| 1784 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
| 1785 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
| 1786 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
| 1787 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 1788 | if Debounces.on == false then | |
| 1789 | break | |
| 1790 | end | |
| 1791 | wait() | |
| 1792 | end | |
| 1793 | for i = 1, 10 do | |
| 1794 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
| 1795 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
| 1796 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
| 1797 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
| 1798 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 1799 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
| 1800 | if Debounces.on == false then | |
| 1801 | break | |
| 1802 | end | |
| 1803 | wait() | |
| 1804 | end | |
| 1805 | wait(1.4) | |
| 1806 | Debounces.NoIdl = false | |
| 1807 | hum.WalkSpeed = 5 | |
| 1808 | Debounces.on = false | |
| 1809 | wait() | |
| 1810 | if Debounces.CanAttack == false then | |
| 1811 | Debounces.CanAttack = true | |
| 1812 | v:Destroy() | |
| 1813 | bl:Destroy() | |
| 1814 | blm:Destroy() | |
| 1815 | pt:Destroy() | |
| 1816 | pt2:Destroy() | |
| 1817 | msh:Destroy() | |
| 1818 | msh2:Destroy() | |
| 1819 | end | |
| 1820 | end | |
| 1821 | end) | |
| 1822 | ||
| 1823 | ||
| 1824 | ||
| 1825 | ||
| 1826 | ||
| 1827 | local grabbed = false | |
| 1828 | local cf = CFrame.new | |
| 1829 | local mr = math.rad | |
| 1830 | local angles = CFrame.Angles | |
| 1831 | local ud = UDim2.new | |
| 1832 | local c3 = Color3.new | |
| 1833 | local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 1834 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 1835 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 1836 | local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0)) | |
| 1837 | ||
| 1838 | clerp = function(a, b, t) | |
| 1839 | return a:lerp(b, t) | |
| 1840 | end | |
| 1841 | ||
| 1842 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 1843 | local Create = RbxUtility.Create | |
| 1844 | RemoveOutlines = function(part) | |
| 1845 | part.TopSurface = 10 | |
| 1846 | end | |
| 1847 | ||
| 1848 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 1849 | 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})
| |
| 1850 | RemoveOutlines(Part) | |
| 1851 | return Part | |
| 1852 | end | |
| 1853 | ||
| 1854 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1855 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 1856 | if Mesh == "SpecialMesh" then | |
| 1857 | Msh.MeshType = MeshType | |
| 1858 | Msh.MeshId = MeshId | |
| 1859 | end | |
| 1860 | return Msh | |
| 1861 | end | |
| 1862 | ||
| 1863 | ||
| 1864 | ||
| 1865 | ||
| 1866 | ||
| 1867 | ||
| 1868 | ||
| 1869 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 1870 | ArtificialHB.Name = "Heartbeat" | |
| 1871 | script:WaitForChild("Heartbeat")
| |
| 1872 | frame = 0.033333333333333 | |
| 1873 | tf = 0 | |
| 1874 | allowframeloss = false | |
| 1875 | tossremainder = false | |
| 1876 | lastframe = tick() | |
| 1877 | script.Heartbeat:Fire() | |
| 1878 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 1879 | tf = tf + s | |
| 1880 | if frame <= tf then | |
| 1881 | if allowframeloss then | |
| 1882 | script.Heartbeat:Fire() | |
| 1883 | lastframe = tick() | |
| 1884 | else | |
| 1885 | for i = 1, math.floor(tf / frame) do | |
| 1886 | script.Heartbeat:Fire() | |
| 1887 | end | |
| 1888 | lastframe = tick() | |
| 1889 | end | |
| 1890 | if tossremainder then | |
| 1891 | tf = 0 | |
| 1892 | else | |
| 1893 | tf = tf - frame * math.floor(tf / frame) | |
| 1894 | end | |
| 1895 | end | |
| 1896 | end | |
| 1897 | ) | |
| 1898 | swait = function(num) | |
| 1899 | if num == 0 or num == nil then | |
| 1900 | ArtificialHB.Event:wait() | |
| 1901 | else | |
| 1902 | for i = 0, num do | |
| 1903 | ArtificialHB.Event:wait() | |
| 1904 | end | |
| 1905 | end | |
| 1906 | end | |
| 1907 | ||
| 1908 | ||
| 1909 | ||
| 1910 | ||
| 1911 | ||
| 1912 | ||
| 1913 | ||
| 1914 | ||
| 1915 | ||
| 1916 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
| 1917 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
| |
| 1918 | return Weld | |
| 1919 | end | |
| 1920 | ||
| 1921 | rayCast = function(Position, Direction, Range, Ignore) | |
| 1922 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 1923 | end | |
| 1924 | ||
| 1925 | CreateSound = function(id, par, vol, pit) | |
| 1926 | coroutine.resume(coroutine.create(function() | |
| 1927 | local sou = Instance.new("Sound", par or workspace)
| |
| 1928 | sou.Volume = vol | |
| 1929 | sou.Pitch = pit or 1 | |
| 1930 | sou.SoundId = id | |
| 1931 | swait() | |
| 1932 | sou:play() | |
| 1933 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 1934 | end | |
| 1935 | )) | |
| 1936 | end | |
| 1937 | ||
| 1938 | local getclosest = function(obj, distance) | |
| 1939 | local last, lastx = distance + 1, nil | |
| 1940 | for i,v in pairs(workspace:GetChildren()) do | |
| 1941 | if v:IsA("Model") and v ~= char and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
| |
| 1942 | local t = v.Torso | |
| 1943 | local dist = t.Position - obj.Position.magnitude | |
| 1944 | if dist <= distance and dist < last then | |
| 1945 | last = dist | |
| 1946 | lastx = v | |
| 1947 | end | |
| 1948 | end | |
| 1949 | end | |
| 1950 | return lastx | |
| 1951 | end | |
| 1952 | ||
| 1953 | Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 1954 | if hit.Parent == nil then | |
| 1955 | return | |
| 1956 | end | |
| 1957 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 1958 | for _,v in pairs(hit.Parent:children()) do | |
| 1959 | if v:IsA("Humanoid") then
| |
| 1960 | h = v | |
| 1961 | end | |
| 1962 | end | |
| 1963 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 1964 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 1965 | return | |
| 1966 | end | |
| 1967 | local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
| |
| 1968 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1969 | if HitSound ~= nil and HitPitch ~= nil then | |
| 1970 | CreateSound(HitSound, hit, 1, HitPitch) | |
| 1971 | end | |
| 1972 | local Damage = math.random(minim, maxim) | |
| 1973 | local blocked = false | |
| 1974 | local block = hit.Parent:findFirstChild("Block")
| |
| 1975 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 1976 | blocked = true | |
| 1977 | block.Value = block.Value - 1 | |
| 1978 | print(block.Value) | |
| 1979 | end | |
| 1980 | if blocked == false then | |
| 1981 | h.Health = h.Health - Damage | |
| 1982 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1983 | else | |
| 1984 | h.Health = h.Health - Damage / 2 | |
| 1985 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1986 | end | |
| 1987 | if Type == "Knockdown" then | |
| 1988 | local hum = hit.Parent.Humanoid | |
| 1989 | hum.PlatformStand = true | |
| 1990 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1991 | swait(1) | |
| 1992 | HHumanoid.PlatformStand = false | |
| 1993 | end | |
| 1994 | ), hum) | |
| 1995 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 1996 | local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 1997 | local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
| |
| 1998 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 1999 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 2000 | else | |
| 2001 | do | |
| 2002 | if Type == "Debuff" then | |
| 2003 | print'hi' | |
| 2004 | else | |
| 2005 | if Type == "Up" then | |
| 2006 | local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 2007 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 2008 | else | |
| 2009 | do | |
| 2010 | if Type == "DarkUp" then | |
| 2011 | coroutine.resume(coroutine.create(function() | |
| 2012 | for i = 0, 1, 0.1 do | |
| 2013 | swait() | |
| 2014 | BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
| |
| 2015 | end | |
| 2016 | end | |
| 2017 | )) | |
| 2018 | local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 2019 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 2020 | else | |
| 2021 | do | |
| 2022 | if Type == "Snare" then | |
| 2023 | local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
| |
| 2024 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 2025 | else | |
| 2026 | do | |
| 2027 | if Type == "Freeze" then | |
| 2028 | local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
| |
| 2029 | local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
| |
| 2030 | hit.Parent.Torso.Anchored = true | |
| 2031 | coroutine.resume(coroutine.create(function(Part) | |
| 2032 | swait(1.5) | |
| 2033 | Part.Anchored = false | |
| 2034 | end), hit.Parent.Torso) | |
| 2035 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 2036 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 2037 | end | |
| 2038 | do | |
| 2039 | local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
| |
| 2040 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 2041 | c = Instance.new("ObjectValue")
| |
| 2042 | c.Name = "creator" | |
| 2043 | c.Value = Player | |
| 2044 | c.Parent = h | |
| 2045 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 2046 | end | |
| 2047 | end | |
| 2048 | end | |
| 2049 | end | |
| 2050 | end | |
| 2051 | end | |
| 2052 | end | |
| 2053 | end | |
| 2054 | end | |
| 2055 | end | |
| 2056 | end | |
| 2057 | end | |
| 2058 | ||
| 2059 | ShowDamage = function(Pos, Text, Time, Color) | |
| 2060 | local Rate = 0.033333333333333 | |
| 2061 | if not Pos then | |
| 2062 | local Pos = Vector3.new(0, 0, 0) | |
| 2063 | end | |
| 2064 | local Text = Text or "" | |
| 2065 | local Time = Time or 2 | |
| 2066 | if not Color then | |
| 2067 | local Color = Color3.new(1, 0, 1) | |
| 2068 | end | |
| 2069 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0)) | |
| 2070 | EffectPart.Anchored = true | |
| 2071 | local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
| |
| 2072 | local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
| |
| 2073 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 2074 | EffectPart.Parent = game:GetService("Workspace")
| |
| 2075 | delay(0, function() | |
| 2076 | local Frames = Time / Rate | |
| 2077 | for Frame = 1, Frames do | |
| 2078 | wait(Rate) | |
| 2079 | local Percent = Frame / Frames | |
| 2080 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 2081 | TextLabel.TextTransparency = Percent | |
| 2082 | end | |
| 2083 | if EffectPart and EffectPart.Parent then | |
| 2084 | EffectPart:Destroy() | |
| 2085 | end | |
| 2086 | end | |
| 2087 | ) | |
| 2088 | end | |
| 2089 | ||
| 2090 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) | |
| 2091 | for _,c in pairs(workspace:children()) do | |
| 2092 | local hum = c:findFirstChild("Humanoid")
| |
| 2093 | if hum ~= nil then | |
| 2094 | local head = c:findFirstChild("Torso")
| |
| 2095 | if head ~= nil then | |
| 2096 | local targ = head.Position - Part.Position | |
| 2097 | local mag = targ.magnitude | |
| 2098 | if mag <= magni and c.Name ~= Player.Name then | |
| 2099 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1) | |
| 2100 | end | |
| 2101 | end | |
| 2102 | end | |
| 2103 | end | |
| 2104 | end | |
| 2105 | ||
| 2106 | ||
| 2107 | ||
| 2108 | ||
| 2109 | ||
| 2110 | local effect = Instance.new("Model", Char)
| |
| 2111 | effect.Name = "Effects" | |
| 2112 | ||
| 2113 | ||
| 2114 | ||
| 2115 | ||
| 2116 | ||
| 2117 | BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 2118 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 2119 | prt.Anchored = true | |
| 2120 | prt.CFrame = cframe | |
| 2121 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 2122 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 2123 | if Type == 1 or Type == nil then | |
| 2124 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
| |
| 2125 | else | |
| 2126 | if Type == 2 then | |
| 2127 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
| |
| 2128 | end | |
| 2129 | end | |
| 2130 | end | |
| 2131 | ||
| 2132 | ||
| 2133 | ||
| 2134 | ||
| 2135 | WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2136 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 2137 | prt.Anchored = true | |
| 2138 | prt.CFrame = cframe | |
| 2139 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 2140 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 2141 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 2142 | end | |
| 2143 | ||
| 2144 | ||
| 2145 | ||
| 2146 | local grabbing = false | |
| 2147 | WindFloor = function() | |
| 2148 | ||
| 2149 | end | |
| 2150 | ||
| 2151 | ||
| 2152 | ||
| 2153 | bc = BrickColor.new | |
| 2154 | function WindFloor2() | |
| 2155 | local shur = Instance.new("Part",char)
| |
| 2156 | local gahd = Instance.new("Sound",shur)
| |
| 2157 | gahd.SoundId = "rbxassetid://402981977" | |
| 2158 | gahd.Volume = 5 | |
| 2159 | gahd.Pitch = 0.75 | |
| 2160 | gahd:Play() | |
| 2161 | shur.Transparency = 1 | |
| 2162 | shur.Material = "Neon" | |
| 2163 | shur.BrickColor = bc("Royal purple")
| |
| 2164 | shur.Anchored = true | |
| 2165 | shur.CFrame = mouse.Hit | |
| 2166 | shur.Rotation = vt(0,math.random(-500,500),0) | |
| 2167 | shur.Size = vt(1,0.2,1) | |
| 2168 | shur.CanCollide = false | |
| 2169 | local dec = Instance.new("Decal",shur)
| |
| 2170 | dec.Texture = symbolimg | |
| 2171 | dec.Face = "Top" | |
| 2172 | local dec2 = dec:Clone() | |
| 2173 | dec2.Parent = shur | |
| 2174 | dec2.Face = "Bottom" | |
| 2175 | local Meshshur = Instance.new("CylinderMesh",shur)
| |
| 2176 | Meshshur.Scale = vt(0,1,0) | |
| 2177 | local value1 = 1*2.25 | |
| 2178 | for i = 0, 50 do | |
| 2179 | Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1) | |
| 2180 | value1 = value1 - 0.015*2.25 | |
| 2181 | wait(0) | |
| 2182 | end | |
| 2183 | local spart = Instance.new("Part",char)
| |
| 2184 | local tick = Instance.new("Sound",spart)
| |
| 2185 | tick.SoundId = "rbxassetid://414516914" | |
| 2186 | tick.Volume = 2.5 | |
| 2187 | tick.Pitch = 0.45 | |
| 2188 | tick:Play() | |
| 2189 | spart.Size = vt(1,1,1) | |
| 2190 | spart.BrickColor = BrickColor.new("Royal purple")
| |
| 2191 | spart.Transparency = 0.1 | |
| 2192 | spart.Anchored = true | |
| 2193 | spart.CanCollide = false | |
| 2194 | spart.CFrame = shur.CFrame + vt(0,2.5,0) | |
| 2195 | local expld = Instance.new("Explosion", spart)
| |
| 2196 | expld.BlastRadius = 27.5 | |
| 2197 | expld.Position = spart.Position | |
| 2198 | local mesh = Instance.new("SpecialMesh",spart)
| |
| 2199 | mesh.MeshType = "FileMesh" | |
| 2200 | mesh.Scale = vt(1,0.01,1) | |
| 2201 | mesh.MeshId = "http://www.roblox.com/asset/?id=102638417" | |
| 2202 | local parz = spart:Clone() | |
| 2203 | local mshe = parz.Mesh | |
| 2204 | mshe.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2205 | parz.CFrame = spart.CFrame | |
| 2206 | parz.Parent = char | |
| 2207 | local par2 = spart:Clone() | |
| 2208 | local msh = par2.Mesh | |
| 2209 | par2.Mesh.MeshType = "Sphere" | |
| 2210 | par2.Material = "Neon" | |
| 2211 | par2.CFrame = spart.CFrame | |
| 2212 | par2.BrickColor = BrickColor.new("Royal purple")
| |
| 2213 | par2.Parent = char | |
| 2214 | local par3 = spart:Clone() | |
| 2215 | local msh3 = par2.Mesh | |
| 2216 | msh3.Scale = vt(15,0,15) | |
| 2217 | par3.Mesh.MeshType = "Sphere" | |
| 2218 | par3.Material = "Neon" | |
| 2219 | par3.CFrame = spart.CFrame | |
| 2220 | par3.BrickColor = BrickColor.new("Royal purple")
| |
| 2221 | par3.Parent = char | |
| 2222 | for i = 0, 150 do | |
| 2223 | spart.Transparency = spart.Transparency + 0.01 | |
| 2224 | mesh.Scale = mesh.Scale + vt(2.25,0.15,2.25) | |
| 2225 | spart.Position = spart.Position | |
| 2226 | spart.CFrame = spart.CFrame*CFrame.Angles(0,0.5,0) | |
| 2227 | par2.Transparency = par2.Transparency + 0.01 | |
| 2228 | msh.Scale = msh.Scale + vt(1.5/1.25,1.5/1.25,1.5/1.25) | |
| 2229 | par2.Position = par2.Position | |
| 2230 | par2.CFrame = par2.CFrame*CFrame.Angles(0,-0.5,0) | |
| 2231 | par3.Transparency = par2.Transparency + 0.05 | |
| 2232 | msh3.Scale = msh3.Scale + vt(-0.5,50/1.25,-0.5) | |
| 2233 | par3.Position = par2.Position | |
| 2234 | par3.CFrame = par2.CFrame*CFrame.Angles(0,-0.5,0) | |
| 2235 | parz.Transparency = par2.Transparency + 0.01 | |
| 2236 | mshe.Scale = msh.Scale + vt(4,1,4) | |
| 2237 | parz.Position = parz.Position | |
| 2238 | parz.CFrame = parz.CFrame*CFrame.Angles(0,-0.5,0) | |
| 2239 | wait(0) | |
| 2240 | end | |
| 2241 | for i = 0, 100 do | |
| 2242 | dec.Transparency = dec.Transparency + 0.015 | |
| 2243 | dec2.Transparency = dec.Transparency | |
| 2244 | Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1) | |
| 2245 | value1 = value1 - 0.015*2.25 | |
| 2246 | wait(0) | |
| 2247 | end | |
| 2248 | shur:Destroy() | |
| 2249 | par2:Destroy() | |
| 2250 | spart:Destroy() | |
| 2251 | end | |
| 2252 | ||
| 2253 | ||
| 2254 | ||
| 2255 | ||
| 2256 | ||
| 2257 | ||
| 2258 | ||
| 2259 | function BlastStorm() | |
| 2260 | ||
| 2261 | local lag = Instance.new("Sound", workspace)
| |
| 2262 | lag.SoundId = "rbxassetid://752783199" | |
| 2263 | lag.Volume = 20000 | |
| 2264 | lag.Pitch = 1 | |
| 2265 | lag:Play() | |
| 2266 | wait(0) | |
| 2267 | local ff = Instance.new("ForceField",char)
| |
| 2268 | local shur = Instance.new("Part",char)
| |
| 2269 | local gahd = Instance.new("Sound",char)
| |
| 2270 | gahd.SoundId = "rbxassetid://402981977" | |
| 2271 | gahd.Volume = 2.5 | |
| 2272 | gahd.Pitch = 0.6 | |
| 2273 | gahd:Play() | |
| 2274 | shur.Transparency = 1 | |
| 2275 | shur.Material = "Neon" | |
| 2276 | shur.BrickColor = bc("Royal purple")
| |
| 2277 | shur.Anchored = true | |
| 2278 | shur.CFrame = mouse.Hit | |
| 2279 | shur.Size = vt(1,0.2,1) | |
| 2280 | shur.CanCollide = false | |
| 2281 | local dec = Instance.new("Decal",shur)
| |
| 2282 | dec.Texture = symbolimg | |
| 2283 | dec.Face = "Top" | |
| 2284 | local dec2 = dec:Clone() | |
| 2285 | dec2.Parent = shur | |
| 2286 | dec2.Face = "Bottom" | |
| 2287 | local Meshshur = Instance.new("CylinderMesh",shur)
| |
| 2288 | Meshshur.Scale = vt(0,1,0) | |
| 2289 | local value1 = 1*12.5 | |
| 2290 | for i = 0, 50 do | |
| 2291 | shur.CFrame = torso.CFrame + vt(0,-2.5,0) | |
| 2292 | Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1) | |
| 2293 | value1 = value1 - 0.015*12.5 | |
| 2294 | wait(0) | |
| 2295 | end | |
| 2296 | ||
| 2297 | wait(0) | |
| 2298 | local spart = Instance.new("Part",char)
| |
| 2299 | local tick = Instance.new("Sound",char)
| |
| 2300 | tick.SoundId = "rbxassetid://414516914" | |
| 2301 | tick.Volume = 2.5 | |
| 2302 | tick.Pitch = 0.4 | |
| 2303 | tick:Play() | |
| 2304 | local tickz = Instance.new("Sound",char)
| |
| 2305 | tickz.SoundId = "rbxassetid://435742675" | |
| 2306 | tickz.Volume = 1 | |
| 2307 | tickz.Pitch = 1 | |
| 2308 | tickz:Play() | |
| 2309 | local tickr = Instance.new("Sound",char)
| |
| 2310 | tickr.SoundId = "rbxassetid://435742675" | |
| 2311 | tickr.Volume = 2.5 | |
| 2312 | tickr.Pitch = 0.5 | |
| 2313 | tickr:Play() | |
| 2314 | local tickel = Instance.new("Sound",char)
| |
| 2315 | tickel.SoundId = "rbxassetid://2248511" | |
| 2316 | tickel.Volume = 3 | |
| 2317 | tickel.Pitch = 0.2 | |
| 2318 | tickel:Play() | |
| 2319 | spart.Size = vt(1,1,1) | |
| 2320 | spart.BrickColor = BrickColor.new("Royal purple")
| |
| 2321 | spart.Transparency = 0.1 | |
| 2322 | spart.Anchored = true | |
| 2323 | spart.CanCollide = false | |
| 2324 | spart.CFrame = mouse.Hit | |
| 2325 | local expld = Instance.new("Explosion", spart)
| |
| 2326 | expld.BlastRadius = 500000 | |
| 2327 | expld.Position = spart.Position | |
| 2328 | local mesh = Instance.new("SpecialMesh",spart)
| |
| 2329 | mesh.MeshType = "FileMesh" | |
| 2330 | mesh.Scale = vt(1,0.01,1) | |
| 2331 | mesh.MeshId = "http://www.roblox.com/asset/?id=102638417" | |
| 2332 | local parz = spart:Clone() | |
| 2333 | local mshe = parz.Mesh | |
| 2334 | mshe.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2335 | parz.CFrame = spart.CFrame | |
| 2336 | parz.Parent = char | |
| 2337 | local par2 = spart:Clone() | |
| 2338 | local msh = par2.Mesh | |
| 2339 | par2.Mesh.MeshType = "Sphere" | |
| 2340 | par2.Material = "Neon" | |
| 2341 | par2.CFrame = spart.CFrame | |
| 2342 | par2.BrickColor = BrickColor.new("Royal purple")
| |
| 2343 | par2.Parent = char | |
| 2344 | for i = 0, 200 do | |
| 2345 | spart.Transparency = spart.Transparency + 0.005 | |
| 2346 | mesh.Scale = mesh.Scale + vt(10,1,10) | |
| 2347 | spart.Position = spart.Position | |
| 2348 | spart.CFrame = spart.CFrame*CFrame.Angles(0,0.5,0) | |
| 2349 | par2.Transparency = par2.Transparency + 0.005 | |
| 2350 | msh.Scale = msh.Scale + vt(5/1.25,1000/1.25,5/1.25) | |
| 2351 | par2.Position = par2.Position | |
| 2352 | par2.CFrame = par2.CFrame*CFrame.Angles(0,-0.5,0) | |
| 2353 | parz.Transparency = par2.Transparency + 0.005 | |
| 2354 | mshe.Scale = msh.Scale + vt(6,1,6) | |
| 2355 | parz.Position = parz.Position | |
| 2356 | parz.CFrame = parz.CFrame*CFrame.Angles(0,-0.5,0) | |
| 2357 | wait(0) | |
| 2358 | end | |
| 2359 | ff:Destroy() | |
| 2360 | for i = 0, 100 do | |
| 2361 | dec.Transparency = dec.Transparency + 0.015 | |
| 2362 | dec2.Transparency = dec.Transparency | |
| 2363 | Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1) | |
| 2364 | value1 = value1 - 0.015*12.5 | |
| 2365 | wait(0) | |
| 2366 | end | |
| 2367 | shur:Destroy() | |
| 2368 | par2:Destroy() | |
| 2369 | spart:Destroy() | |
| 2370 | tick:Destroy() | |
| 2371 | tickr:Destroy() | |
| 2372 | tickz:Destroy() | |
| 2373 | tickel:Destroy() | |
| 2374 | end | |
| 2375 | ||
| 2376 | ||
| 2377 | ||
| 2378 | ||
| 2379 | ||
| 2380 | ||
| 2381 | ||
| 2382 | ||
| 2383 | local maincolor = Color3.new(170/255,0/255,255/255) | |
| 2384 | ||
| 2385 | ||
| 2386 | ||
| 2387 | function noobyisscripter() | |
| 2388 | local hitted = false | |
| 2389 | local valuesize = 5 | |
| 2390 | local lb = Instance.new("Part")
| |
| 2391 | lb.Parent = char | |
| 2392 | lb.Material = "Neon" | |
| 2393 | lb.BrickColor = BrickColor.new(maincolor) | |
| 2394 | lb.CanCollide = false | |
| 2395 | lb.Shape = "Ball" | |
| 2396 | lb.CFrame = char.Torso.CFrame + Vector3.new(0,0.7,0) | |
| 2397 | lb.Anchored = false | |
| 2398 | lb.Size = vt(1,1,1) | |
| 2399 | local thing = Instance.new("SpecialMesh",lb)
| |
| 2400 | thing.MeshType = "Sphere" | |
| 2401 | local trail = Instance.new("ParticleEmitter",lb)
| |
| 2402 | trail.Texture = "rbxassetid://296874871" | |
| 2403 | trail.LightEmission = 0.95 | |
| 2404 | trail.Color = ColorSequence.new(maincolor) | |
| 2405 | trail.Rate = 10000 | |
| 2406 | trail.Lifetime = NumberRange.new(1.5) | |
| 2407 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2408 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2409 | trail.Speed = NumberRange.new(0,0) | |
| 2410 | trail.RotSpeed = NumberRange.new(-500,500) | |
| 2411 | local bv = Instance.new("BodyVelocity")
| |
| 2412 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 2413 | bv.velocity = mouse.Hit.lookVector *100 | |
| 2414 | bv.Parent = lb | |
| 2415 | wait(0.1) | |
| 2416 | pewdiepie=lb.Touched:connect(function(hit) | |
| 2417 | if hitted == false then | |
| 2418 | local sd = Instance.new("Sound",lb)
| |
| 2419 | sd.SoundId = "rbxassetid://138210320" | |
| 2420 | sd.Volume = 2.5 | |
| 2421 | sd:Play() | |
| 2422 | hitted = true | |
| 2423 | trail.Rate = 0 | |
| 2424 | lb.Anchored = true | |
| 2425 | local explosion = Instance.new("Explosion",lb)
| |
| 2426 | explosion.BlastRadius = 10 | |
| 2427 | explosion.Position = lb.Position | |
| 2428 | local ex = Instance.new("ParticleEmitter",lb)
| |
| 2429 | ex.Texture = "rbxassetid://296874871" | |
| 2430 | ex.LightEmission = 0.95 | |
| 2431 | ex.Color = ColorSequence.new(maincolor) | |
| 2432 | ex.Rate = 10000 | |
| 2433 | ex.Lifetime = NumberRange.new(1.75) | |
| 2434 | ex.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,25,0)})
| |
| 2435 | ex.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2436 | ex.Speed = NumberRange.new(25,45) | |
| 2437 | ex.VelocitySpread = 90000 | |
| 2438 | ex.RotSpeed = NumberRange.new(-500,500) | |
| 2439 | for i = 0, 19 do | |
| 2440 | wait() | |
| 2441 | valuesize = valuesize - 0.25 | |
| 2442 | thing.Scale = thing.Scale + vt(valuesize,valuesize,valuesize) | |
| 2443 | end | |
| 2444 | ex.Rate = 0 | |
| 2445 | for i = 0, 9 do | |
| 2446 | wait() | |
| 2447 | lb.Transparency = lb.Transparency + 0.1 | |
| 2448 | end | |
| 2449 | wait(5) | |
| 2450 | lb:Destroy() | |
| 2451 | end | |
| 2452 | end) | |
| 2453 | end | |
| 2454 | ||
| 2455 | ||
| 2456 | mouse.KeyDown:connect(function(key) | |
| 2457 | if key == "g" then | |
| 2458 | if Debounces.CanAttack == true then | |
| 2459 | Debounces.CanAttack = false | |
| 2460 | Debounces.on = true | |
| 2461 | Debounces.NoIdl = true | |
| 2462 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
| |
| 2463 | shot1 = Instance.new("Sound",Torso)
| |
| 2464 | shot1.SoundId = "rbxassetid://200633492" | |
| 2465 | shot1.Looped = false | |
| 2466 | shot1.Pitch = 3 | |
| 2467 | shot1.Volume = 400 | |
| 2468 | shot1:Play() | |
| 2469 | Debounces.RPunch = true | |
| 2470 | Debounces.LPunch = true | |
| 2471 | Debounces.ks = true | |
| 2472 | Debounces.ks2 = true | |
| 2473 | for i = 1, 3 do | |
| 2474 | 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) | |
| 2475 | 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) | |
| 2476 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2477 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2478 | 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) | |
| 2479 | 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) | |
| 2480 | if Debounces.on == false then break end | |
| 2481 | wait() | |
| 2482 | end | |
| 2483 | shot1 = Instance.new("Sound",Torso)
| |
| 2484 | shot1.SoundId = "rbxassetid://200633492" | |
| 2485 | shot1.Looped = false | |
| 2486 | shot1.Pitch = 3 | |
| 2487 | shot1.Volume = 400 | |
| 2488 | shot1:Play() | |
| 2489 | wait(0.5) | |
| 2490 | noobyisscripter() | |
| 2491 | for i = 1, 3 do | |
| 2492 | 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) | |
| 2493 | 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) | |
| 2494 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2495 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2496 | 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) | |
| 2497 | 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) | |
| 2498 | if Debounces.on == false then break end | |
| 2499 | wait() | |
| 2500 | end | |
| 2501 | shot1 = Instance.new("Sound",Torso)
| |
| 2502 | shot1.SoundId = "rbxassetid://200633492" | |
| 2503 | shot1.Looped = false | |
| 2504 | shot1.Pitch = 3 | |
| 2505 | shot1.Volume = 400 | |
| 2506 | shot1:Play() | |
| 2507 | wait(0.5) | |
| 2508 | noobyisscripter() | |
| 2509 | for i = 1, 3 do | |
| 2510 | 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) | |
| 2511 | 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) | |
| 2512 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2513 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2514 | 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) | |
| 2515 | 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) | |
| 2516 | if Debounces.on == false then break end | |
| 2517 | wait() | |
| 2518 | end | |
| 2519 | shot1 = Instance.new("Sound",Torso)
| |
| 2520 | shot1.SoundId = "rbxassetid://200633492" | |
| 2521 | shot1.Looped = false | |
| 2522 | shot1.Pitch = 3 | |
| 2523 | shot1.Volume = 400 | |
| 2524 | shot1:Play() | |
| 2525 | wait(0.5) | |
| 2526 | noobyisscripter() | |
| 2527 | for i = 1, 3 do | |
| 2528 | 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) | |
| 2529 | 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) | |
| 2530 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2531 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2532 | 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) | |
| 2533 | 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) | |
| 2534 | if Debounces.on == false then break end | |
| 2535 | wait() | |
| 2536 | end | |
| 2537 | shot1 = Instance.new("Sound",Torso)
| |
| 2538 | shot1.SoundId = "rbxassetid://200633492" | |
| 2539 | shot1.Looped = false | |
| 2540 | shot1.Pitch = 3 | |
| 2541 | shot1.Volume = 400 | |
| 2542 | shot1:Play() | |
| 2543 | wait(0.5) | |
| 2544 | noobyisscripter() | |
| 2545 | for i = 1, 3 do | |
| 2546 | 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) | |
| 2547 | 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) | |
| 2548 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2549 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2550 | 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) | |
| 2551 | 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) | |
| 2552 | if Debounces.on == false then break end | |
| 2553 | wait() | |
| 2554 | end | |
| 2555 | shot1 = Instance.new("Sound",Torso)
| |
| 2556 | shot1.SoundId = "rbxassetid://200633492" | |
| 2557 | shot1.Looped = false | |
| 2558 | shot1.Pitch = 3 | |
| 2559 | shot1.Volume = 400 | |
| 2560 | shot1:Play() | |
| 2561 | wait(0.5) | |
| 2562 | noobyisscripter() | |
| 2563 | for i = 1, 3 do | |
| 2564 | 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) | |
| 2565 | 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) | |
| 2566 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2567 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2568 | 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) | |
| 2569 | 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) | |
| 2570 | if Debounces.on == false then break end | |
| 2571 | wait() | |
| 2572 | end | |
| 2573 | shot1 = Instance.new("Sound",Torso)
| |
| 2574 | shot1.SoundId = "rbxassetid://200633492" | |
| 2575 | shot1.Looped = false | |
| 2576 | shot1.Pitch = 3 | |
| 2577 | shot1.Volume = 400 | |
| 2578 | shot1:Play() | |
| 2579 | wait(0.5) | |
| 2580 | noobyisscripter() | |
| 2581 | for i = 1, 3 do | |
| 2582 | 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) | |
| 2583 | 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) | |
| 2584 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2585 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2586 | 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) | |
| 2587 | 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) | |
| 2588 | if Debounces.on == false then break end | |
| 2589 | wait() | |
| 2590 | end | |
| 2591 | shot1 = Instance.new("Sound",Torso)
| |
| 2592 | shot1.SoundId = "rbxassetid://200633492" | |
| 2593 | shot1.Looped = false | |
| 2594 | shot1.Pitch = 3 | |
| 2595 | shot1.Volume = 400 | |
| 2596 | shot1:Play() | |
| 2597 | wait(0.5) | |
| 2598 | noobyisscripter() | |
| 2599 | for i = 1, 3 do | |
| 2600 | 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) | |
| 2601 | 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) | |
| 2602 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2603 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2604 | 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) | |
| 2605 | 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) | |
| 2606 | if Debounces.on == false then break end | |
| 2607 | wait() | |
| 2608 | end | |
| 2609 | shot1 = Instance.new("Sound",Torso)
| |
| 2610 | shot1.SoundId = "rbxassetid://200633492" | |
| 2611 | shot1.Looped = false | |
| 2612 | shot1.Pitch = 3 | |
| 2613 | shot1.Volume = 400 | |
| 2614 | shot1:Play() | |
| 2615 | wait(0.5) | |
| 2616 | noobyisscripter() | |
| 2617 | for i = 1, 3 do | |
| 2618 | 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) | |
| 2619 | 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) | |
| 2620 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2621 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2622 | 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) | |
| 2623 | 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) | |
| 2624 | if Debounces.on == false then break end | |
| 2625 | wait() | |
| 2626 | end | |
| 2627 | shot1 = Instance.new("Sound",Torso)
| |
| 2628 | shot1.SoundId = "rbxassetid://200633492" | |
| 2629 | shot1.Looped = false | |
| 2630 | shot1.Pitch = 3 | |
| 2631 | shot1.Volume = 400 | |
| 2632 | shot1:Play() | |
| 2633 | wait(0.5) | |
| 2634 | noobyisscripter() | |
| 2635 | for i = 1, 3 do | |
| 2636 | 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) | |
| 2637 | 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) | |
| 2638 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2639 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2640 | 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) | |
| 2641 | 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) | |
| 2642 | if Debounces.on == false then break end | |
| 2643 | wait() | |
| 2644 | end | |
| 2645 | shot1 = Instance.new("Sound",Torso)
| |
| 2646 | shot1.SoundId = "rbxassetid://200633492" | |
| 2647 | shot1.Looped = false | |
| 2648 | shot1.Pitch = 3 | |
| 2649 | shot1.Volume = 400 | |
| 2650 | shot1:Play() | |
| 2651 | wait(0.5) | |
| 2652 | noobyisscripter() | |
| 2653 | for i = 1, 3 do | |
| 2654 | 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) | |
| 2655 | 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) | |
| 2656 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2657 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2658 | 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) | |
| 2659 | 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) | |
| 2660 | if Debounces.on == false then break end | |
| 2661 | wait() | |
| 2662 | end | |
| 2663 | shot1 = Instance.new("Sound",Torso)
| |
| 2664 | shot1.SoundId = "rbxassetid://200633492" | |
| 2665 | shot1.Looped = false | |
| 2666 | shot1.Pitch = 3 | |
| 2667 | shot1.Volume = 400 | |
| 2668 | shot1:Play() | |
| 2669 | wait(0.5) | |
| 2670 | noobyisscripter() | |
| 2671 | for i = 1, 3 do | |
| 2672 | 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) | |
| 2673 | 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) | |
| 2674 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2675 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2676 | 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) | |
| 2677 | 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) | |
| 2678 | if Debounces.on == false then break end | |
| 2679 | wait() | |
| 2680 | end | |
| 2681 | shot1 = Instance.new("Sound",Torso)
| |
| 2682 | shot1.SoundId = "rbxassetid://200633492" | |
| 2683 | shot1.Looped = false | |
| 2684 | shot1.Pitch = 3 | |
| 2685 | shot1.Volume = 400 | |
| 2686 | shot1:Play() | |
| 2687 | wait(0.5) | |
| 2688 | noobyisscripter() | |
| 2689 | for i = 1, 3 do | |
| 2690 | 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) | |
| 2691 | 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) | |
| 2692 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2693 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2694 | 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) | |
| 2695 | 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) | |
| 2696 | if Debounces.on == false then break end | |
| 2697 | wait() | |
| 2698 | end | |
| 2699 | shot1 = Instance.new("Sound",Torso)
| |
| 2700 | shot1.SoundId = "rbxassetid://200633492" | |
| 2701 | shot1.Looped = false | |
| 2702 | shot1.Pitch = 3 | |
| 2703 | shot1.Volume = 400 | |
| 2704 | shot1:Play() | |
| 2705 | wait(0.5) | |
| 2706 | noobyisscripter() | |
| 2707 | for i = 1, 3 do | |
| 2708 | 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) | |
| 2709 | 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) | |
| 2710 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2711 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2712 | 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) | |
| 2713 | 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) | |
| 2714 | if Debounces.on == false then break end | |
| 2715 | wait() | |
| 2716 | end | |
| 2717 | shot1 = Instance.new("Sound",Torso)
| |
| 2718 | shot1.SoundId = "rbxassetid://200633492" | |
| 2719 | shot1.Looped = false | |
| 2720 | shot1.Pitch = 3 | |
| 2721 | shot1.Volume = 400 | |
| 2722 | shot1:Play() | |
| 2723 | wait(0.5) | |
| 2724 | noobyisscripter() | |
| 2725 | for i = 1, 3 do | |
| 2726 | 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) | |
| 2727 | 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) | |
| 2728 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2729 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2730 | 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) | |
| 2731 | 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) | |
| 2732 | if Debounces.on == false then break end | |
| 2733 | wait() | |
| 2734 | end | |
| 2735 | shot1 = Instance.new("Sound",Torso)
| |
| 2736 | shot1.SoundId = "rbxassetid://200633492" | |
| 2737 | shot1.Looped = false | |
| 2738 | shot1.Pitch = 3 | |
| 2739 | shot1.Volume = 400 | |
| 2740 | shot1:Play() | |
| 2741 | wait(0.5) | |
| 2742 | noobyisscripter() | |
| 2743 | for i = 1, 3 do | |
| 2744 | 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) | |
| 2745 | 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) | |
| 2746 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2747 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2748 | 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) | |
| 2749 | 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) | |
| 2750 | if Debounces.on == false then break end | |
| 2751 | wait() | |
| 2752 | end | |
| 2753 | shot1 = Instance.new("Sound",Torso)
| |
| 2754 | shot1.SoundId = "rbxassetid://200633492" | |
| 2755 | shot1.Looped = false | |
| 2756 | shot1.Pitch = 3 | |
| 2757 | shot1.Volume = 400 | |
| 2758 | shot1:Play() | |
| 2759 | wait(0.5) | |
| 2760 | noobyisscripter() | |
| 2761 | for i = 1, 3 do | |
| 2762 | 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) | |
| 2763 | 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) | |
| 2764 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2765 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2766 | 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) | |
| 2767 | 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) | |
| 2768 | if Debounces.on == false then break end | |
| 2769 | wait() | |
| 2770 | end | |
| 2771 | shot1 = Instance.new("Sound",Torso)
| |
| 2772 | shot1.SoundId = "rbxassetid://200633492" | |
| 2773 | shot1.Looped = false | |
| 2774 | shot1.Pitch = 3 | |
| 2775 | shot1.Volume = 400 | |
| 2776 | shot1:Play() | |
| 2777 | wait(0.5) | |
| 2778 | noobyisscripter() | |
| 2779 | for i = 1, 3 do | |
| 2780 | 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) | |
| 2781 | 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) | |
| 2782 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2783 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2784 | 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) | |
| 2785 | 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) | |
| 2786 | if Debounces.on == false then break end | |
| 2787 | wait() | |
| 2788 | end | |
| 2789 | shot1 = Instance.new("Sound",Torso)
| |
| 2790 | shot1.SoundId = "rbxassetid://200633492" | |
| 2791 | shot1.Looped = false | |
| 2792 | shot1.Pitch = 3 | |
| 2793 | shot1.Volume = 400 | |
| 2794 | shot1:Play() | |
| 2795 | wait(0.5) | |
| 2796 | noobyisscripter() | |
| 2797 | for i = 1, 3 do | |
| 2798 | 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) | |
| 2799 | 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) | |
| 2800 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2801 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2802 | 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) | |
| 2803 | 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) | |
| 2804 | if Debounces.on == false then break end | |
| 2805 | wait() | |
| 2806 | end | |
| 2807 | shot1 = Instance.new("Sound",Torso)
| |
| 2808 | shot1.SoundId = "rbxassetid://200633492" | |
| 2809 | shot1.Looped = false | |
| 2810 | shot1.Pitch = 3 | |
| 2811 | shot1.Volume = 400 | |
| 2812 | shot1:Play() | |
| 2813 | wait(0.5) | |
| 2814 | noobyisscripter() | |
| 2815 | for i = 1, 3 do | |
| 2816 | 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) | |
| 2817 | 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) | |
| 2818 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2819 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2820 | 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) | |
| 2821 | 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) | |
| 2822 | if Debounces.on == false then break end | |
| 2823 | wait() | |
| 2824 | end | |
| 2825 | ||
| 2826 | Debounces.LPunch = false | |
| 2827 | Debounces.RPunch = false | |
| 2828 | Debounces.ks = false | |
| 2829 | Debounces.ks2 = false | |
| 2830 | if Debounces.CanAttack == false then | |
| 2831 | Debounces.CanAttack = true | |
| 2832 | Debounces.on = false | |
| 2833 | Debounces.NoIdl = false | |
| 2834 | end | |
| 2835 | end | |
| 2836 | end | |
| 2837 | end) | |
| 2838 | ||
| 2839 | ||
| 2840 | ||
| 2841 | ||
| 2842 | mouse.KeyDown:connect(function(key) | |
| 2843 | if key == "r" then | |
| 2844 | ||
| 2845 | if Debounces.CanAttack == true then | |
| 2846 | Debounces.CanAttack = false | |
| 2847 | Debounces.NoIdl = true | |
| 2848 | Debounces.on = true | |
| 2849 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Here is all of my energy","Red")
| |
| 2850 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 2851 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 2852 | local List = {}
| |
| 2853 | for i,v in pairs(workspace:GetChildren())do | |
| 2854 | if v:IsA("Model")then
| |
| 2855 | if v:findFirstChild("Torso")then
| |
| 2856 | if v ~= char then | |
| 2857 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 2858 | table.insert(List,v) | |
| 2859 | end | |
| 2860 | end | |
| 2861 | end | |
| 2862 | end | |
| 2863 | end | |
| 2864 | return List | |
| 2865 | end | |
| 2866 | z = Instance.new("Sound",hed)
| |
| 2867 | z.SoundId = "rbxassetid://232213955" | |
| 2868 | z.Pitch = 1 | |
| 2869 | z.Volume = 1 | |
| 2870 | wait(0.2) | |
| 2871 | z:Play() | |
| 2872 | sp = Instance.new("Part",hed)
| |
| 2873 | sp.Anchored = true | |
| 2874 | sp.CanCollide = false | |
| 2875 | sp.Locked = false | |
| 2876 | sp.Transparency = 0 | |
| 2877 | sp.Material = "Neon" | |
| 2878 | sp.Size = Vector3.new(1,1,1) | |
| 2879 | sp.TopSurface = "SmoothNoOutlines" | |
| 2880 | sp.BottomSurface = "SmoothNoOutlines" | |
| 2881 | sp.BrickColor = BrickColor.new("Royal purple")
| |
| 2882 | spm = Instance.new("SpecialMesh",sp)
| |
| 2883 | spm.MeshType = "Sphere" | |
| 2884 | spm.Scale = Vector3.new(100,100,100) | |
| 2885 | sp2 = Instance.new("Part", rarm)
| |
| 2886 | sp2.Name = "Energy" | |
| 2887 | sp2.BrickColor = BrickColor.new("Royal purple")
| |
| 2888 | sp2.Size = Vector3.new(1,1,1) | |
| 2889 | sp2.Shape = "Ball" | |
| 2890 | sp2.CanCollide = false | |
| 2891 | sp2.Anchored = true | |
| 2892 | sp2.Locked = true | |
| 2893 | sp2.TopSurface = 0 | |
| 2894 | sp2.BottomSurface = 0 | |
| 2895 | sp2.Transparency = 1 | |
| 2896 | spm2 = Instance.new("SpecialMesh",sp2)
| |
| 2897 | spm2.MeshId = "rbxassetid://9982590" | |
| 2898 | spm2.Scale = Vector3.new(100,100,100) | |
| 2899 | for i = 1, 20 do | |
| 2900 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
| 2901 | sp.CFrame = root.CFrame*CFrame.new(0,100,0) | |
| 2902 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.4) | |
| 2903 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4) | |
| 2904 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2905 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2906 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 2907 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 2908 | if Debounces.on == false then break end | |
| 2909 | rs:wait() | |
| 2910 | end | |
| 2911 | for i = 1, 100, 20 do rs:wait() | |
| 2912 | sp.CFrame = root.CFrame*CFrame.new(0,100,0) | |
| 2913 | end | |
| 2914 | for i = 1, 20 do | |
| 2915 | sp.CFrame = root.CFrame*CFrame.new(0,100,0) | |
| 2916 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4) | |
| 2917 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.4) | |
| 2918 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.4) | |
| 2919 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2920 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 2921 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 2922 | if Debounces.on == false then break end | |
| 2923 | rs:wait() | |
| 2924 | end | |
| 2925 | sp.Transparency = 0 | |
| 2926 | for i = 1, 20 do | |
| 2927 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4) | |
| 2928 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.4) | |
| 2929 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.4) | |
| 2930 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2931 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 2932 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 2933 | if Debounces.on == false then break end | |
| 2934 | rs:wait() | |
| 2935 | end | |
| 2936 | wait(1) | |
| 2937 | sp.Transparency = 0 | |
| 2938 | sp2.Transparency = 0.84 | |
| 2939 | for i = 1, 20 do | |
| 2940 | --spm.Scale = spm.Scale - Vector3.new(15,15,15) | |
| 2941 | sp.CFrame = root.CFrame*CFrame.new(0,100,0) | |
| 2942 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
| 2943 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4) | |
| 2944 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.2) | |
| 2945 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 2946 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2947 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-8)), 0.2) | |
| 2948 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(8)), 0.2) | |
| 2949 | if Debounces.on == false then break end | |
| 2950 | rs:wait() | |
| 2951 | end | |
| 2952 | for i = 1, 2880, 50 do | |
| 2953 | rs:wait() | |
| 2954 | sp.CFrame = root.CFrame*CFrame.new(0,100,0) | |
| 2955 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) | |
| 2956 | rs:wait() | |
| 2957 | end | |
| 2958 | sp:Destroy() | |
| 2959 | sp2:Destroy() | |
| 2960 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"TAKE THIS!","Red")
| |
| 2961 | local X = Instance.new("Part",char)
| |
| 2962 | local O = Instance.new("ObjectValue",X)
| |
| 2963 | O.Name = "creator" | |
| 2964 | X.Locked = true | |
| 2965 | X.Name = "Shell" | |
| 2966 | X.Anchored = false | |
| 2967 | X.CanCollide = false | |
| 2968 | X.Transparency = 0 | |
| 2969 | X.Reflectance = 0 | |
| 2970 | X.BottomSurface = 0 | |
| 2971 | X.TopSurface = 0 | |
| 2972 | X.Shape = 0 | |
| 2973 | local V = Instance.new("ObjectValue",X)
| |
| 2974 | V.Value = char | |
| 2975 | V.Name = "creator" | |
| 2976 | X.BrickColor = BrickColor.new("Royal purple")
| |
| 2977 | X.Size = Vector3.new(1,1,1) | |
| 2978 | X.Material = "Neon" | |
| 2979 | local Z = Instance.new("SpecialMesh",X)
| |
| 2980 | Z.MeshType = "Sphere" | |
| 2981 | Z.Scale = Vector3.new(100,100,100) | |
| 2982 | X.CFrame = rarm.CFrame*CFrame.new(15,15,15) | |
| 2983 | local bv = Instance.new("BodyVelocity",X)
| |
| 2984 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 2985 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
| 2986 | bv.velocity = X.CFrame.lookVector*65 | |
| 2987 | ||
| 2988 | Explode = X.Touched:connect(function(hit) | |
| 2989 | ||
| 2990 | local cf = X.CFrame | |
| 2991 | bv:Destroy() | |
| 2992 | X.Anchored = true | |
| 2993 | Z:Remove() | |
| 2994 | Explode:disconnect() | |
| 2995 | ||
| 2996 | local ROW2 = function(out, trans, s, wt, t, ang, plus) | |
| 2997 | for i = 1, 360, 360/t do | |
| 2998 | local c = Instance.new("Part", game.Workspace)
| |
| 2999 | c.FormFactor = 3 | |
| 3000 | c.TopSurface = 0 | |
| 3001 | c.BottomSurface = 0 | |
| 3002 | c.Size = s | |
| 3003 | c.Anchored = true | |
| 3004 | c.CanCollide = wt | |
| 3005 | c.Material=workspace.Base.Material | |
| 3006 | c.Transparency = trans | |
| 3007 | c.BrickColor = workspace.Base.BrickColor | |
| 3008 | 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 | |
| 3009 | c.Locked=true | |
| 3010 | game.Debris:AddItem(c,25) | |
| 3011 | end | |
| 3012 | end | |
| 3013 | ||
| 3014 | ROW2(18, 0, Vector3.new(34.5, 70, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
| 3015 | ||
| 3016 | ||
| 3017 | local ra = Ray.new(X.Position, X.CFrame.upVector * 3) | |
| 3018 | local part, positi = workspace:FindPartOnRayWithIgnoreList(ra, {Char}, false, true)
| |
| 3019 | if part then | |
| 3020 | local cfremz = CFrame.new(positi) | |
| 3021 | debris(cfremz, part, 30) | |
| 3022 | end | |
| 3023 | ||
| 3024 | X.Size = Vector3.new(6,6,6) | |
| 3025 | X.Touched:connect(function(hit) end) | |
| 3026 | X.CanCollide = false | |
| 3027 | local part3 = Instance.new("Part", rarm)
| |
| 3028 | part3.Anchored=true | |
| 3029 | part3.CanCollide=false | |
| 3030 | part3.Locked = true | |
| 3031 | part3.TopSurface = "SmoothNoOutlines" | |
| 3032 | part3.BottomSurface = "SmoothNoOutlines" | |
| 3033 | part3.FormFactor='Custom' | |
| 3034 | part3.Size=Vector3.new(2,2, 2) | |
| 3035 | part3.CFrame=X.CFrame | |
| 3036 | part3.Transparency=0 | |
| 3037 | part3.BrickColor=TorsoColor | |
| 3038 | local mesh3 = Instance.new("SpecialMesh",part3)
| |
| 3039 | mesh3.MeshType = "Sphere" | |
| 3040 | mesh3.Scale = Vector3.new(2,2,2) | |
| 3041 | --debris:AddItem(X,8) | |
| 3042 | local part4 = Instance.new("Part", rarm)
| |
| 3043 | part4.Material = "Neon" | |
| 3044 | part4.Anchored=true | |
| 3045 | part4.CanCollide=false | |
| 3046 | part4.Locked = true | |
| 3047 | part4.TopSurface = "SmoothNoOutlines" | |
| 3048 | part4.BottomSurface = "SmoothNoOutlines" | |
| 3049 | part4.FormFactor='Custom' | |
| 3050 | part4.Size=Vector3.new(2,2, 2) | |
| 3051 | part4.CFrame=X.CFrame | |
| 3052 | part4.Transparency=0 | |
| 3053 | part4.BrickColor=BrickColor.new("Black")
| |
| 3054 | local mesh4 = Instance.new("SpecialMesh",part4)
| |
| 3055 | mesh4.MeshType = "Sphere" | |
| 3056 | mesh4.Scale = Vector3.new(1,1,1) | |
| 3057 | local part7 = Instance.new("Part", rarm)
| |
| 3058 | part7.Material = "Neon" | |
| 3059 | part7.Anchored=true | |
| 3060 | part7.CanCollide=false | |
| 3061 | part7.Locked = true | |
| 3062 | part7.TopSurface = "SmoothNoOutlines" | |
| 3063 | part7.BottomSurface = "SmoothNoOutlines" | |
| 3064 | part7.FormFactor='Custom' | |
| 3065 | part7.Size=Vector3.new(2,2, 2) | |
| 3066 | part7.CFrame=X.CFrame | |
| 3067 | part7.Transparency=0 | |
| 3068 | part7.BrickColor=BrickColor.new("Really black")
| |
| 3069 | local mesh7 = Instance.new("SpecialMesh",part7)
| |
| 3070 | mesh7.MeshType = "Sphere" | |
| 3071 | mesh7.Scale = Vector3.new(0.2, 0.2, 0.2) | |
| 3072 | --[[X.Touched:connect(function(ht) | |
| 3073 | hit = ht.Parent | |
| 3074 | if ht and hit:IsA("Model") then
| |
| 3075 | if hit:FindFirstChild("Humanoid") then
| |
| 3076 | if hit.Name ~= p.Name then | |
| 3077 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 3078 | wait(.3) | |
| 3079 | end | |
| 3080 | end | |
| 3081 | elseif ht and hit:IsA("Hat") then
| |
| 3082 | if hit.Parent.Name ~= p.Name then | |
| 3083 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 3084 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 3085 | wait(.3) | |
| 3086 | end | |
| 3087 | end | |
| 3088 | end | |
| 3089 | end) | |
| 3090 | part3.Touched:connect(function(ht) | |
| 3091 | hit = ht.Parent | |
| 3092 | if ht and hit:IsA("Model") then
| |
| 3093 | if hit:FindFirstChild("Humanoid") then
| |
| 3094 | if hit.Name ~= p.Name then | |
| 3095 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 3096 | wait(.3) | |
| 3097 | end | |
| 3098 | end | |
| 3099 | elseif ht and hit:IsA("Hat") then
| |
| 3100 | if hit.Parent.Name ~= p.Name then | |
| 3101 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 3102 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 3103 | wait(.3) | |
| 3104 | end | |
| 3105 | end | |
| 3106 | end | |
| 3107 | end)]]-- | |
| 3108 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
| 3109 | if v:FindFirstChild('Humanoid') then
| |
| 3110 | v.Humanoid:TakeDamage(math.random(999999999999999999999999999999999999999999,999999999999999999999999999999999999999)) | |
| 3111 | v.Humanoid.PlatformStand = true | |
| 3112 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 999
| |
| 3113 | end | |
| 3114 | end | |
| 3115 | ||
| 3116 | local acos = math.acos | |
| 3117 | local sqrt = math.sqrt | |
| 3118 | local Vec3 = Vector3.new | |
| 3119 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 3120 | ||
| 3121 | local function toAxisAngle(CFr) | |
| 3122 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 3123 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 3124 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 3125 | A = A == 0 and 0.00001 or A | |
| 3126 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 3127 | B = B == 0 and 0.00001 or B | |
| 3128 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 3129 | C = C == 0 and 0.00001 or C | |
| 3130 | local x = (R21-R12)/sqrt(A) | |
| 3131 | local y = (R02-R20)/sqrt(B) | |
| 3132 | local z = (R10-R01)/sqrt(C) | |
| 3133 | return Vec3(x,y,z),Angle | |
| 3134 | end | |
| 3135 | ||
| 3136 | function ApplyTrig(Num,Func) | |
| 3137 | local Min,Max = Func(0),Func(1) | |
| 3138 | local i = Func(Num) | |
| 3139 | return (i-Min)/(Max-Min) | |
| 3140 | end | |
| 3141 | ||
| 3142 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 3143 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 3144 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 3145 | end | |
| 3146 | ||
| 3147 | function Crater(Torso,Radius) | |
| 3148 | Spawn(function() | |
| 3149 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 3150 | local Ignore = {}
| |
| 3151 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 3152 | if v.Character ~= nil then | |
| 3153 | Ignore[#Ignore+1] = v.Character | |
| 3154 | end | |
| 3155 | end | |
| 3156 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 3157 | if Hit == nil then return end | |
| 3158 | local Parts = {}
| |
| 3159 | for i = 1,360,10 do | |
| 3160 | local P = Instance.new("Part",Torso.Parent)
| |
| 3161 | P.Anchored = true | |
| 3162 | P.FormFactor = "Custom" | |
| 3163 | P.BrickColor = Hit.BrickColor | |
| 3164 | P.Material = Hit.Material | |
| 3165 | P.TopSurface = "Smooth" | |
| 3166 | P.BottomSurface = "Smooth" | |
| 3167 | P.Size = Vector3.new(10,20,20)*(math.random(80,100)/100) | |
| 3168 | 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))) | |
| 3169 | 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}
| |
| 3170 | if math.random(0,5) == 0 then -- rubble | |
| 3171 | local P = Instance.new("Part",Torso.Parent)
| |
| 3172 | P.Anchored = true | |
| 3173 | P.FormFactor = "Custom" | |
| 3174 | P.BrickColor = Hit.BrickColor | |
| 3175 | P.Material = Hit.Material | |
| 3176 | P.TopSurface = "Smooth" | |
| 3177 | P.BottomSurface = "Smooth" | |
| 3178 | P.Size = Vector3.new(4,4,4)*(math.random(80,100)/100) | |
| 3179 | 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))) | |
| 3180 | 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}
| |
| 3181 | end | |
| 3182 | end | |
| 3183 | for i = 0,1,0.05 do | |
| 3184 | for i2,v in pairs(Parts) do | |
| 3185 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 3186 | end | |
| 3187 | wait(0.02) | |
| 3188 | end | |
| 3189 | for i,v in pairs(Parts) do | |
| 3190 | if v[1].Size.X > 2.1 then | |
| 3191 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 3192 | end | |
| 3193 | v[1].Anchored = false | |
| 3194 | end | |
| 3195 | for i = 0,1,0.05 do | |
| 3196 | for i2,v in pairs(Parts) do | |
| 3197 | v[1].Transparency = i | |
| 3198 | if i == 1 then | |
| 3199 | v[1]:Destroy() | |
| 3200 | elseif i >= 0.25 then | |
| 3201 | v[1].CanCollide = false | |
| 3202 | end | |
| 3203 | end | |
| 3204 | wait(0.02) | |
| 3205 | end | |
| 3206 | Parts = nil | |
| 3207 | end) | |
| 3208 | end | |
| 3209 | ||
| 3210 | ||
| 3211 | Part = function(x,y,z,color,tr,cc,an,parent) | |
| 3212 | local p = Instance.new('Part',parent or Weapon)
| |
| 3213 | p.formFactor = 'Custom' | |
| 3214 | p.Size = Vector3.new(x,y,z) | |
| 3215 | p.BrickColor = BrickColor.new(color) | |
| 3216 | p.CanCollide = cc | |
| 3217 | p.Transparency = tr | |
| 3218 | p.Anchored = an | |
| 3219 | p.TopSurface,p.BottomSurface = 0,0 | |
| 3220 | p.Locked=true | |
| 3221 | p:BreakJoints() | |
| 3222 | return p end | |
| 3223 | ||
| 3224 | Mesh = function(par,num,x,y,z) | |
| 3225 | local msh = _ | |
| 3226 | if num == 1 then msh = Instance.new("CylinderMesh",par)
| |
| 3227 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
| |
| 3228 | elseif num == 3 then msh = Instance.new("BlockMesh",par)
| |
| 3229 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
| |
| 3230 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
| |
| 3231 | end msh.Scale = Vector3.new(x,y,z) | |
| 3232 | return msh end | |
| 3233 | ||
| 3234 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
| 3235 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
| 3236 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
| 3237 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
| 3238 | v1,v2,v3=sz.x,sz.y,sz.z | |
| 3239 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
| 3240 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
| 3241 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
| 3242 | a.CFrame=cfr | |
| 3243 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 3244 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 3245 | ||
| 3246 | Spawn(function() | |
| 3247 | while wait() do | |
| 3248 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
| 3249 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
| 3250 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
| 3251 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
| 3252 | a.Transparency=a.Transparency+0.05 | |
| 3253 | a2.Transparency=a2.Transparency+0.05 | |
| 3254 | a3.Transparency=a3.Transparency+0.05 | |
| 3255 | end | |
| 3256 | end) | |
| 3257 | end | |
| 3258 | ||
| 3259 | Crater(X,120) | |
| 3260 | Crater(X,220) | |
| 3261 | Crater(X,320) | |
| 3262 | z = Instance.new("Sound",workspace)
| |
| 3263 | z.SoundId = "rbxassetid://231917744" | |
| 3264 | z.Pitch = .5 | |
| 3265 | z.Volume = 5 | |
| 3266 | z1 = Instance.new("Sound",workspace)
| |
| 3267 | z1.SoundId = "rbxassetid://231917744" | |
| 3268 | z1.Pitch = .5 | |
| 3269 | z1.Volume = 5 | |
| 3270 | z2 = Instance.new("Sound",workspace)
| |
| 3271 | z2.SoundId = "rbxassetid://231917744" | |
| 3272 | z2.Pitch = .5 | |
| 3273 | z2.Volume = 5 | |
| 3274 | z3 = Instance.new("Sound",workspace)
| |
| 3275 | z3.SoundId = "rbxassetid://245537790" | |
| 3276 | z3.Pitch = .7 | |
| 3277 | z3.Volume = 5 | |
| 3278 | z4 = Instance.new("Sound",workspace)
| |
| 3279 | z4.SoundId = "rbxassetid://245537790" | |
| 3280 | z4.Pitch = .7 | |
| 3281 | z4.Volume = 5 | |
| 3282 | z4a = Instance.new("Sound",workspace)
| |
| 3283 | z4a.SoundId = "rbxassetid://419447292" | |
| 3284 | z4a.Pitch = 1 | |
| 3285 | z4a.Volume = 5 | |
| 3286 | z3a = Instance.new("Sound",workspace)
| |
| 3287 | z3a.SoundId = "rbxassetid://421328847" | |
| 3288 | z3a.Pitch = 1 | |
| 3289 | z3a.Volume = 5 | |
| 3290 | wait(0.1) | |
| 3291 | z:Play() | |
| 3292 | z1:Play() | |
| 3293 | z2:Play() | |
| 3294 | z3:Play() | |
| 3295 | z4:Play() | |
| 3296 | z3a:Play() | |
| 3297 | z4a:Play() | |
| 3298 | ||
| 3299 | local part=Instance.new('Part',rarm)
| |
| 3300 | part.Anchored=true | |
| 3301 | part.CanCollide=false | |
| 3302 | part.Locked = true | |
| 3303 | part.FormFactor='Custom' | |
| 3304 | part.Size=Vector3.new(2,2,2) | |
| 3305 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
| 3306 | part.Transparency=0 | |
| 3307 | part.BrickColor=BrickColor.new('Really black')
| |
| 3308 | local mesh=Instance.new('SpecialMesh',part)
| |
| 3309 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 3310 | mesh.Scale=Vector3.new(4,4,4) | |
| 3311 | local part2=part:clone() | |
| 3312 | part2.Parent = rarm | |
| 3313 | part2.BrickColor=TorsoColor | |
| 3314 | local part5=part:clone() | |
| 3315 | part5.Parent = rarm | |
| 3316 | part5.BrickColor=TorsoColor | |
| 3317 | local part6=part:clone() | |
| 3318 | part6.Parent = rarm | |
| 3319 | part6.BrickColor=BrickColor.new("Black")
| |
| 3320 | local mesh2=mesh:clone() | |
| 3321 | mesh2.Parent=part2 | |
| 3322 | mesh2.Scale=Vector3.new(6, 6, 6) | |
| 3323 | local mesh5=mesh:clone() | |
| 3324 | mesh5.Parent=part5 | |
| 3325 | mesh5.Scale=Vector3.new(6, 6, 6) | |
| 3326 | local mesh6=mesh:clone() | |
| 3327 | mesh6.Parent=part6 | |
| 3328 | mesh6.Scale=Vector3.new(6, 6, 6) | |
| 3329 | local blast = Instance.new("Part", rarm)
| |
| 3330 | blast.BrickColor = BrickColor.new("Really black")
| |
| 3331 | blast.Anchored = true | |
| 3332 | blast.CanCollide = false | |
| 3333 | blast.Locked = true | |
| 3334 | blast.Size = Vector3.new(2, 2, 2) | |
| 3335 | blast.TopSurface = "Smooth" | |
| 3336 | blast.BottomSurface = "Smooth" | |
| 3337 | blast.Transparency = 0 | |
| 3338 | blast.CFrame = HandCF | |
| 3339 | local bm = Instance.new("SpecialMesh", blast)
| |
| 3340 | bm.Scale = Vector3.new(10,2,10) | |
| 3341 | bm.MeshId = "rbxassetid://3270017" | |
| 3342 | local blast2 = Instance.new("Part", rarm)
| |
| 3343 | blast2.BrickColor = BrickColor.new("Really black")
| |
| 3344 | blast2.Anchored = true | |
| 3345 | blast2.CanCollide = false | |
| 3346 | blast2.Locked = true | |
| 3347 | blast2.Size = Vector3.new(2, 2, 2) | |
| 3348 | blast2.TopSurface = "Smooth" | |
| 3349 | blast2.BottomSurface = "Smooth" | |
| 3350 | blast2.Transparency = 0 | |
| 3351 | blast2.CFrame = HandCF | |
| 3352 | local bm2 = Instance.new("SpecialMesh", blast2)
| |
| 3353 | bm2.Scale = Vector3.new(6,2,6) | |
| 3354 | bm2.MeshId = "rbxassetid://3270017" | |
| 3355 | local blast3 = Instance.new("Part", rarm)
| |
| 3356 | blast3.BrickColor = BrickColor.new("Really black")
| |
| 3357 | blast3.Anchored = true | |
| 3358 | blast3.CanCollide = false | |
| 3359 | blast3.Locked = true | |
| 3360 | blast3.Size = Vector3.new(1, 1, 1) | |
| 3361 | blast3.TopSurface = "Smooth" | |
| 3362 | blast3.BottomSurface = "Smooth" | |
| 3363 | blast3.Transparency = 0 | |
| 3364 | blast3.CFrame = HandCF | |
| 3365 | local bm3 = Instance.new("SpecialMesh", blast3)
| |
| 3366 | bm3.Scale = Vector3.new(6,2,6) | |
| 3367 | bm3.MeshId = "rbxassetid://3270017" | |
| 3368 | for i = 1,120 do rs:wait() | |
| 3369 | X.Transparency = X.Transparency + (1/120) | |
| 3370 | part.Transparency = part.Transparency + (1/120) | |
| 3371 | part2.Transparency = part2.Transparency + (1/120) | |
| 3372 | part3.Transparency = part3.Transparency + (1/120) | |
| 3373 | part4.Transparency = part4.Transparency + (1/120) | |
| 3374 | part5.Transparency = part5.Transparency + (1/120) | |
| 3375 | part6.Transparency = part6.Transparency + (1/120) | |
| 3376 | part7.Transparency = part7.Transparency + (1/120) | |
| 3377 | blast.Transparency = blast.Transparency + (1/120) | |
| 3378 | blast2.Transparency = blast2.Transparency + (1/120) | |
| 3379 | blast3.Transparency = blast3.Transparency + (1/120) | |
| 3380 | X.Size = X.Size + Vector3.new(1.6,1.6,1.6) | |
| 3381 | --part3.Size = part3.Size + Vector3.new(6,6,6) | |
| 3382 | mesh.Scale = mesh.Scale + Vector3.new(2,.4,2) | |
| 3383 | mesh2.Scale = mesh2.Scale + Vector3.new(2.2,.4,2.2) | |
| 3384 | mesh3.Scale = mesh3.Scale + Vector3.new(6,6,6) | |
| 3385 | mesh4.Scale = mesh4.Scale + Vector3.new(3.4,3.4,3.4) | |
| 3386 | mesh5.Scale = mesh5.Scale + Vector3.new(3.2,.4,3.2) | |
| 3387 | mesh6.Scale = mesh6.Scale + Vector3.new(4,.4,4) | |
| 3388 | mesh7.Scale = mesh7.Scale + Vector3.new(8,8,8) | |
| 3389 | bm.Scale = bm.Scale + Vector3.new(12,12,.4) | |
| 3390 | bm2.Scale = bm2.Scale + Vector3.new(8,8,.4) | |
| 3391 | bm3.Scale = bm3.Scale + Vector3.new(8,8,.4) | |
| 3392 | X.CFrame = cf | |
| 3393 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
| 3394 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
| 3395 | part3.CFrame=X.CFrame | |
| 3396 | part4.CFrame=X.CFrame | |
| 3397 | part7.CFrame=X.CFrame | |
| 3398 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
| 3399 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
| 3400 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 3401 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
| 3402 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
| 3403 | rs:wait() | |
| 3404 | end | |
| 3405 | X:Destroy() | |
| 3406 | part:Destroy() | |
| 3407 | part2:Destroy() | |
| 3408 | part3:Destroy() | |
| 3409 | part4:Destroy() | |
| 3410 | part5:Destroy() | |
| 3411 | part6:Destroy() | |
| 3412 | blast:Destroy() | |
| 3413 | blast2:Destroy() | |
| 3414 | blast3:Destroy() | |
| 3415 | z:Destroy() | |
| 3416 | z1:Destroy() | |
| 3417 | z2:Destroy() | |
| 3418 | z3:Destroy() | |
| 3419 | z4:Destroy() | |
| 3420 | for i = 1, 20 do | |
| 3421 | 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) | |
| 3422 | 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) | |
| 3423 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 3424 | 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) | |
| 3425 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 3426 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 3427 | if Debounces.on == false then break end | |
| 3428 | rs:wait() | |
| 3429 | end | |
| 3430 | if Debounces.CanAttack == false then | |
| 3431 | Debounces.CanAttack = true | |
| 3432 | Debounces.NoIdl = false | |
| 3433 | Debounces.on = false | |
| 3434 | end | |
| 3435 | end) | |
| 3436 | end | |
| 3437 | end | |
| 3438 | end) | |
| 3439 | ||
| 3440 | ||
| 3441 | ||
| 3442 | ||
| 3443 | ||
| 3444 | ||
| 3445 | ||
| 3446 | WindFloor = function() | |
| 3447 | local useRageVer = false | |
| 3448 | local locor = 0 | |
| 3449 | if TrackFunction ~= nil then | |
| 3450 | TrackFunction:disconnect() | |
| 3451 | TrackFunction = nil | |
| 3452 | end | |
| 3453 | Ult = true | |
| 3454 | Ragemode = false | |
| 3455 | CanInterrupt(false) | |
| 3456 | PlayerIsAttacking = true | |
| 3457 | local cl = 0 | |
| 3458 | local clastframe = lastframe | |
| 3459 | BodyVel.velocity = Vector3.new() | |
| 3460 | local CPlane = MousePlane() | |
| 3461 | BodyVel.maxForce = Vector3.new(1000000, 1000000, 1000000) | |
| 3462 | vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50) | |
| 3463 | BodyGyro.cframe = CFrame.new(vPlayer.Character.HumanoidRootPart.CFrame.p, vPlayer.Character.HumanoidRootPart.CFrame.p + CPlane * 50) | |
| 3464 | local cl = 0 | |
| 3465 | DesiredWalkspeed = 0 | |
| 3466 | p = Instance.new("Sound", vPlayer.Character.Torso)
| |
| 3467 | p.Volume = 0.8 | |
| 3468 | p.Pitch = 1 | |
| 3469 | p.SoundId = "http://www.roblox.com/asset/?id=240517975" | |
| 3470 | p:Play() | |
| 3471 | game:GetService("Debris"):AddItem(p, 3)
| |
| 3472 | local pb = Instance.new("Sound", vPlayer.Character.Torso)
| |
| 3473 | pb.Volume = 1 | |
| 3474 | pb.Pitch = 0.85 | |
| 3475 | pb.SoundId = "http://www.roblox.com/asset/?id=240517987" | |
| 3476 | pb:Play() | |
| 3477 | game:GetService("Debris"):AddItem(pb, 10)
| |
| 3478 | do | |
| 3479 | for i = 1, 8 do | |
| 3480 | swait() | |
| 3481 | cl = cl + i * 0.02 | |
| 3482 | LerpWelds(clastframe, cl, Animations.LHB.Animation(0)) | |
| 3483 | if i == 4 then | |
| 3484 | local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position - Vector3.new(0, 2.5, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "Really black", "SpecialMesh", Vector3.new(11, 1, 11)) | |
| 3485 | pc.Mesh.MeshType = "FileMesh" | |
| 3486 | pc.Anchored = true | |
| 3487 | pc.CanCollide = false | |
| 3488 | pc.Parent = workspace | |
| 3489 | pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 3490 | pc.Name = "Shockwave" | |
| 3491 | game:GetService("Debris"):AddItem(pc, 5)
| |
| 3492 | coroutine.resume(coroutine.create(function(p) | |
| 3493 | for ii = 1, 10 do | |
| 3494 | p.Transparency = ii / 10 | |
| 3495 | p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(10 + ii), 0) - Vector3.new(0, 0, 0) | |
| 3496 | p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.5, 0, 0.5) | |
| 3497 | swait() | |
| 3498 | end | |
| 3499 | p:Remove() | |
| 3500 | end), pc) | |
| 3501 | end | |
| 3502 | end | |
| 3503 | end | |
| 3504 | BodyVel.Parent = vPlayer.Character.HumanoidRootPart | |
| 3505 | BodyGyro.Parent = vPlayer.Character.HumanoidRootPart | |
| 3506 | cl = 0 | |
| 3507 | clastframe = lastframe | |
| 3508 | for i = 1, 6 do | |
| 3509 | swait() | |
| 3510 | cl = cl + i * 0.05 | |
| 3511 | LerpWelds(clastframe, cl, Animations.LHB.Animation(1)) | |
| 3512 | local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.new(math.random(-20, 20) / 30, math.random(-20, 20) / 30, math.random(-20, 20) / 30) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(12, 12, 12)) | |
| 3513 | eff.Parent = workspace | |
| 3514 | eff.Name = "BloodEffect" | |
| 3515 | eff.Anchored = true | |
| 3516 | eff.CanCollide = false | |
| 3517 | game:GetService("Debris"):AddItem(eff, 5)
| |
| 3518 | coroutine.resume(coroutine.create(function(p, V, x) | |
| 3519 | A = vPlayer.Character.Torso.Velocity / 60 | |
| 3520 | for i = 1, 12 do | |
| 3521 | p.Mesh.Scale = p.Mesh.Scale - Vector3.new(11, 1, 11) / 12 | |
| 3522 | p.Transparency = 0.75 + i / 48 | |
| 3523 | p.CFrame = p.CFrame * V + A | |
| 3524 | swait() | |
| 3525 | end | |
| 3526 | p:Remove() | |
| 3527 | end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2))) | |
| 3528 | if i ~= 1 and (i ~= 4 or i == 6) then | |
| 3529 | local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position - Vector3.new(0, 1.5, 0)) * CFrame.Angles(0, math.rad(i * 20), 0), "White", "SpecialMesh", Vector3.new(8, 1, 8)) | |
| 3530 | pc.Mesh.MeshType = "FileMesh" | |
| 3531 | pc.Anchored = true | |
| 3532 | pc.CanCollide = false | |
| 3533 | pc.Parent = workspace | |
| 3534 | pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 3535 | pc.Name = "Shockwave" | |
| 3536 | game:GetService("Debris"):AddItem(pc, 5)
| |
| 3537 | coroutine.resume(coroutine.create(function(p) | |
| 3538 | for ii = 1, 7 do | |
| 3539 | p.Transparency = ii / 7 | |
| 3540 | p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(3), 0) - Vector3.new(0, 0, 0) | |
| 3541 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.4, 0, 1.4) | |
| 3542 | swait() | |
| 3543 | end | |
| 3544 | p:Remove() | |
| 3545 | end), pc) | |
| 3546 | end | |
| 3547 | end | |
| 3548 | swait() | |
| 3549 | for i = 1, 20 do | |
| 3550 | do | |
| 3551 | CPlane = MousePlane() | |
| 3552 | BodyGyro.Parent = vPlayer.Character.HumanoidRootPart | |
| 3553 | BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50) | |
| 3554 | if i == 5 or i == 10 then | |
| 3555 | local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position - Vector3.new(0, 1.5, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "Really black", "SpecialMesh", Vector3.new(8, 2, 8)) | |
| 3556 | pc.Mesh.MeshType = "FileMesh" | |
| 3557 | pc.Anchored = true | |
| 3558 | pc.CanCollide = false | |
| 3559 | pc.Parent = workspace | |
| 3560 | pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 3561 | pc.Name = "Shockwave" | |
| 3562 | game:GetService("Debris"):AddItem(pc, 5)
| |
| 3563 | coroutine.resume(coroutine.create(function(p) | |
| 3564 | for ii = 1, 13 do | |
| 3565 | p.Transparency = ii / 13 | |
| 3566 | p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(10 + ii), 0) - Vector3.new(0, 0, 0) | |
| 3567 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(3, 0, 3) | |
| 3568 | swait() | |
| 3569 | end | |
| 3570 | p:Remove() | |
| 3571 | end), pc) | |
| 3572 | else | |
| 3573 | do | |
| 3574 | do | |
| 3575 | if i == 2 or i == 10 then | |
| 3576 | local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)) * CFrame.Angles(math.rad(90), 0, 0), "Really black", "SpecialMesh", Vector3.new(56, 56, 1)) | |
| 3577 | pc.Mesh.MeshType = "FileMesh" | |
| 3578 | pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 3579 | pc.Parent = workspace | |
| 3580 | pc.Anchored = true | |
| 3581 | pc.CanCollide = false | |
| 3582 | pc.Transparency = 0.5 | |
| 3583 | game:GetService("Debris"):AddItem(pc, 5)
| |
| 3584 | coroutine.resume(coroutine.create(function(p) | |
| 3585 | for ii = 1, 20 do | |
| 3586 | p.Transparency = ii / 20 | |
| 3587 | p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) | |
| 3588 | p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1.4, 1.4, 0) * 2 | |
| 3589 | swait() | |
| 3590 | end | |
| 3591 | p:Remove() | |
| 3592 | end), pc) | |
| 3593 | end | |
| 3594 | if i % 4 == 0 then | |
| 3595 | for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0), 35)) do | |
| 3596 | applyCameraShake(v, 80 + i * 10, 4) | |
| 3597 | end | |
| 3598 | local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position - Vector3.new(0, 1.5, 0)) * CFrame.Angles(0, math.rad(i * 20), 0), "Really black", "SpecialMesh", Vector3.new(18, 2, 18)) | |
| 3599 | pc.Mesh.MeshType = "FileMesh" | |
| 3600 | pc.Anchored = true | |
| 3601 | pc.CanCollide = false | |
| 3602 | pc.Parent = workspace | |
| 3603 | pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 3604 | pc.Name = "Shockwave" | |
| 3605 | game:GetService("Debris"):AddItem(pc, 5)
| |
| 3606 | coroutine.resume(coroutine.create(function(p) | |
| 3607 | for ii = 1, 10 do | |
| 3608 | p.Transparency = ii / 10 | |
| 3609 | p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(7 + ii), 0) - Vector3.new(0, 0, 0) | |
| 3610 | p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1.4, 0, 1.4) | |
| 3611 | swait() | |
| 3612 | end | |
| 3613 | p:Remove() | |
| 3614 | end), pc) | |
| 3615 | else | |
| 3616 | do | |
| 3617 | do | |
| 3618 | if i % 1 == 0 then | |
| 3619 | local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.new(math.random(-20, 20) / 10, math.random(-20, 20) / 10, math.random(-20, 20) / 10) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(0.7, 0.7, 0.7)) | |
| 3620 | eff.Parent = workspace | |
| 3621 | eff.Name = "BloodEffect" | |
| 3622 | eff.Anchored = true | |
| 3623 | eff.CanCollide = false | |
| 3624 | game:GetService("Debris"):AddItem(eff, 5)
| |
| 3625 | coroutine.resume(coroutine.create(function(p, V, x) | |
| 3626 | A = vPlayer.Character.Torso.Velocity / 60 | |
| 3627 | for i = 1, 8 do | |
| 3628 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(6, 6, 6) / 8 | |
| 3629 | p.Transparency = 0.2 | |
| 3630 | p.CFrame = p.CFrame * V + A | |
| 3631 | swait() | |
| 3632 | end | |
| 3633 | p:Remove() | |
| 3634 | end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2))) | |
| 3635 | local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.new(math.random(-20, 20) / 30, math.random(-20, 20) / 30, math.random(-20, 20) / 30) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(12, 12, 12)) | |
| 3636 | eff.Parent = workspace | |
| 3637 | eff.Name = "BloodEffect" | |
| 3638 | eff.Anchored = true | |
| 3639 | eff.CanCollide = false | |
| 3640 | game:GetService("Debris"):AddItem(eff, 5)
| |
| 3641 | coroutine.resume(coroutine.create(function(p, V, x) | |
| 3642 | A = vPlayer.Character.Torso.Velocity / 60 | |
| 3643 | for i = 1, 12 do | |
| 3644 | p.Mesh.Scale = p.Mesh.Scale - Vector3.new(11, 1, 11) / 12 | |
| 3645 | p.Transparency = 0.75 + i / 48 | |
| 3646 | p.CFrame = p.CFrame * V + A | |
| 3647 | swait() | |
| 3648 | end | |
| 3649 | p:Remove() | |
| 3650 | end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2))) | |
| 3651 | end | |
| 3652 | do | |
| 3653 | fwait() | |
| 3654 | end | |
| 3655 | -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT | |
| 3656 | ||
| 3657 | -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 3658 | ||
| 3659 | -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_STMT | |
| 3660 | ||
| 3661 | -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT | |
| 3662 | ||
| 3663 | -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT | |
| 3664 | ||
| 3665 | -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 3666 | ||
| 3667 | -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_STMT | |
| 3668 | ||
| 3669 | -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT | |
| 3670 | ||
| 3671 | end | |
| 3672 | end | |
| 3673 | end | |
| 3674 | end | |
| 3675 | end | |
| 3676 | end | |
| 3677 | end | |
| 3678 | end | |
| 3679 | cl = 0 | |
| 3680 | clastframe = lastframe | |
| 3681 | for i = 1, 6 do | |
| 3682 | swait() | |
| 3683 | cl = cl + i * 0.05 | |
| 3684 | LerpWelds(clastframe, cl, Animations.LHB.Animation(2)) | |
| 3685 | local pc = NewPart(Vector3.new(1, 1, 1), vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.5, 0) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(2.3, 2.3, 2.3)) | |
| 3686 | pc.CanCollide = false | |
| 3687 | pc.Anchored = true | |
| 3688 | pc.Parent = workspace | |
| 3689 | game:GetService("Debris"):AddItem(pc, 5)
| |
| 3690 | coroutine.resume(coroutine.create(function(p) | |
| 3691 | local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5)) | |
| 3692 | local C = Vector3.new(math.random(-5, 5) / 40, math.random(-5, 5) / 40, math.random(-5, 5) / 40) + vPlayer.Character.Torso.Velocity / 120 | |
| 3693 | for i = 1, 30 do | |
| 3694 | p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2, 2, 2) / 30 | |
| 3695 | p.Transparency = i / 30 | |
| 3696 | p.CFrame = p.CFrame * R - Vector3.new(0, 0.0054555555555556 * i, 0) + C | |
| 3697 | swait() | |
| 3698 | end | |
| 3699 | p:Remove() | |
| 3700 | end), pc) | |
| 3701 | end | |
| 3702 | cl = 0 | |
| 3703 | clastframe = lastframe | |
| 3704 | local Grabbee = nil | |
| 3705 | for i = 1, 15 do | |
| 3706 | fwait() | |
| 3707 | do | |
| 3708 | if i == 3 then | |
| 3709 | local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position, vPlayer.Character.Torso.Position + CPlane * 5) * CFrame.Angles(math.rad(90), math.rad(0), 0), "Really black", "SpecialMesh", Vector3.new(8, 2, 8)) | |
| 3710 | pc.Mesh.MeshType = "FileMesh" | |
| 3711 | pc.Anchored = true | |
| 3712 | pc.CanCollide = false | |
| 3713 | pc.Parent = workspace | |
| 3714 | pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 3715 | pc.Name = "Shockwave" | |
| 3716 | game:GetService("Debris"):AddItem(pc, 5)
| |
| 3717 | coroutine.resume(coroutine.create(function(p) | |
| 3718 | for ii = 1, 10 do | |
| 3719 | p.Transparency = ii / 10 | |
| 3720 | p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(7 + ii), 0) - Vector3.new(0, 0, 0) | |
| 3721 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, 0, 1) | |
| 3722 | swait() | |
| 3723 | end | |
| 3724 | p:Remove() | |
| 3725 | end), pc) | |
| 3726 | end | |
| 3727 | BodyVel.velocity = CPlane * (i * 7.5 + 65) | |
| 3728 | for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + CPlane * 2, 4.75)) do | |
| 3729 | Grabbee = v | |
| 3730 | do break end | |
| 3731 | end | |
| 3732 | do | |
| 3733 | local pc = NewPart(Vector3.new(1, 1, 1), vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.5, 0) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(2.3, 2.3, 2.3)) | |
| 3734 | pc.CanCollide = false | |
| 3735 | pc.Anchored = true | |
| 3736 | pc.Parent = workspace | |
| 3737 | game:GetService("Debris"):AddItem(pc, 5)
| |
| 3738 | coroutine.resume(coroutine.create(function(p) | |
| 3739 | local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5)) | |
| 3740 | local C = Vector3.new(math.random(-5, 5) / 40, math.random(-5, 5) / 40, math.random(-5, 5) / 40) + vPlayer.Character.Torso.Velocity / 120 | |
| 3741 | for i = 1, 20 do | |
| 3742 | p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2, 2, 2) / 20 | |
| 3743 | p.Transparency = i / 20 | |
| 3744 | p.CFrame = p.CFrame * R - Vector3.new(0, 0.0054555555555556 * i, 0) + C | |
| 3745 | swait() | |
| 3746 | end | |
| 3747 | p:Remove() | |
| 3748 | end), pc) | |
| 3749 | do | |
| 3750 | local pc = NewPart(Vector3.new(1, 1, 1), vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -3.5, 0) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(5, 5, 5)) | |
| 3751 | pc.CanCollide = false | |
| 3752 | pc.Anchored = true | |
| 3753 | pc.Parent = workspace | |
| 3754 | game:GetService("Debris"):AddItem(pc, 5)
| |
| 3755 | coroutine.resume(coroutine.create(function(p) | |
| 3756 | local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5)) | |
| 3757 | for i = 1, 20 do | |
| 3758 | p.Mesh.Scale = p.Mesh.Scale - Vector3.new(5, 5, 5) / 20 | |
| 3759 | p.Transparency = 0.5 + i / 40 | |
| 3760 | p.CFrame = p.CFrame * R | |
| 3761 | swait() | |
| 3762 | end | |
| 3763 | p:Remove() | |
| 3764 | end), pc) | |
| 3765 | if i <= 6 then | |
| 3766 | cl = cl + i * 0.05 | |
| 3767 | LerpWelds(clastframe, cl, Animations.LHB.Animation(3)) | |
| 3768 | end | |
| 3769 | -- DECOMPILER ERROR at PC1273: LeaveBlock: unexpected jumping out DO_STMT | |
| 3770 | ||
| 3771 | -- DECOMPILER ERROR at PC1273: LeaveBlock: unexpected jumping out DO_STMT | |
| 3772 | ||
| 3773 | end | |
| 3774 | end | |
| 3775 | end | |
| 3776 | end | |
| 3777 | if Grabbee ~= nil then | |
| 3778 | if Grabbee:FindFirstChild("Stats") and Grabbee.Stats.Stunned.Value == false then
| |
| 3779 | Grabbee.Stats.Stun.Value = 999 | |
| 3780 | end | |
| 3781 | cbuff = Instance.new("NumberValue", playerstats.Decrease)
| |
| 3782 | cbuff.Name = "DecreaseDef" | |
| 3783 | cbuff.Value = -2 | |
| 3784 | Mana.Value = Mana.Value - 10 | |
| 3785 | if useRageVer == true then | |
| 3786 | borb = math.floor(40 + Mana.Value / 3 + (locor) / 3) * 0.4 | |
| 3787 | else | |
| 3788 | borb = math.floor(40 + Mana.Value / 3) * 0.4 | |
| 3789 | end | |
| 3790 | local Grabdone = false | |
| 3791 | gpos = Instance.new("BodyPosition")
| |
| 3792 | gpos.Name = ":<" | |
| 3793 | gpos.Parent = vPlayer.Character.HumanoidRootPart | |
| 3794 | gpos.P = 5000 | |
| 3795 | gpos.D = 600 | |
| 3796 | gpos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 3797 | gpos.position = vPlayer.Character.HumanoidRootPart.Position | |
| 3798 | coroutine.resume(coroutine.create(function(NNoob) | |
| 3799 | nubgyro = nil | |
| 3800 | while Grabdone == false and vPlayer.Character.Humanoid.Health > 0 do | |
| 3801 | if NNoob.Parent == nil then | |
| 3802 | break | |
| 3803 | else | |
| 3804 | if NNoob.Humanoid.Health < 0 then | |
| 3805 | break | |
| 3806 | end | |
| 3807 | end | |
| 3808 | NNoob.Humanoid.PlatformStand = true | |
| 3809 | if nubgyro == nil or nubpos == nil then | |
| 3810 | if NNoob.Torso:FindFirstChild(":>") then
| |
| 3811 | NNoob.Torso[":>"]:Remove() | |
| 3812 | end | |
| 3813 | if NNoob.Torso:FindFirstChild(":<") then
| |
| 3814 | NNoob.Torso[":<"]:Remove() | |
| 3815 | end | |
| 3816 | nubgyro = Instance.new("BodyGyro")
| |
| 3817 | nubgyro.Name = ":>" | |
| 3818 | nubgyro.Parent = NNoob.Torso | |
| 3819 | nubgyro.P = 5000 | |
| 3820 | nubgyro.D = 200 | |
| 3821 | nubgyro.maxTorque = Vector3.new(50000, 50000, 50000) * 5000 | |
| 3822 | nubgyro.cframe = vPlayer.Character["Left Arm"].CFrame | |
| 3823 | nubpos = Instance.new("BodyPosition")
| |
| 3824 | nubpos.Name = ":<" | |
| 3825 | nubpos.Parent = NNoob.Torso | |
| 3826 | nubpos.P = 8000 | |
| 3827 | nubpos.D = 200 | |
| 3828 | nubpos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 3829 | nubpos.position = vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.6, 0).p | |
| 3830 | else | |
| 3831 | if nubgyro.Parent == nil then | |
| 3832 | nubgyro = nil | |
| 3833 | nubpos = nil | |
| 3834 | else | |
| 3835 | nubgyro.cframe = vPlayer.Character.HumanoidRootPart.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 18, math.pi, 0) | |
| 3836 | nubpos.position = vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.4, 0).p - Vector3.new(0, 0.3, 0) | |
| 3837 | end | |
| 3838 | end | |
| 3839 | swait() | |
| 3840 | end | |
| 3841 | if nubpos and nubgyro then | |
| 3842 | nubpos:Remove() | |
| 3843 | nubgyro:Remove() | |
| 3844 | if NNoob:FindFirstChild("Humanoid") then
| |
| 3845 | NNoob.Humanoid.PlatformStand = false | |
| 3846 | end | |
| 3847 | end | |
| 3848 | end), Grabbee) | |
| 3849 | p = Instance.new("Sound", vPlayer.Character.Torso)
| |
| 3850 | p.Volume = 1 | |
| 3851 | p.Pitch = 0.9 | |
| 3852 | p.SoundId = "http://www.roblox.com/asset/?id=240429615" | |
| 3853 | p:Play() | |
| 3854 | game:GetService("Debris"):AddItem(p, 3)
| |
| 3855 | BodyVel.velocity = Vector3.new() | |
| 3856 | cl = 0 | |
| 3857 | clastframe = lastframe | |
| 3858 | for i = 1, 7 do | |
| 3859 | swait() | |
| 3860 | cl = cl + i * 0.036 | |
| 3861 | LerpWelds(clastframe, cl, Animations.LHB.Animation(4)) | |
| 3862 | end | |
| 3863 | cl = 0 | |
| 3864 | clastframe = lastframe | |
| 3865 | for i = 1, 8 do | |
| 3866 | swait() | |
| 3867 | cl = cl + i * 0.028 | |
| 3868 | LerpWelds(clastframe, cl, Animations.LHB.Animation(5)) | |
| 3869 | end | |
| 3870 | p = Instance.new("Sound", vPlayer.Character.Torso)
| |
| 3871 | p.Volume = 1 | |
| 3872 | p.Pitch = 0.55 | |
| 3873 | p.SoundId = "http://www.roblox.com/asset/?id=233856115" | |
| 3874 | p:Play() | |
| 3875 | game:GetService("Debris"):AddItem(p, 3)
| |
| 3876 | p = Instance.new("Sound", vPlayer.Character.Torso)
| |
| 3877 | p.Volume = 1 | |
| 3878 | p.Pitch = 1 | |
| 3879 | p.SoundId = "http://www.roblox.com/asset/?id=192410070" | |
| 3880 | p:Play() | |
| 3881 | game:GetService("Debris"):AddItem(p, 3)
| |
| 3882 | p = Instance.new("Sound", vPlayer.Character.Torso)
| |
| 3883 | p.Volume = 1 | |
| 3884 | p.Pitch = 0.4 | |
| 3885 | p.SoundId = "http://www.roblox.com/asset/?id=231917822" | |
| 3886 | p:Play() | |
| 3887 | game:GetService("Debris"):AddItem(p, 3)
| |
| 3888 | p = Instance.new("Sound", Grabbee.Torso)
| |
| 3889 | p.Volume = 1 | |
| 3890 | p.Pitch = 1 | |
| 3891 | p.SoundId = "http://www.roblox.com/asset/?id=243711335" | |
| 3892 | p:Play() | |
| 3893 | game:GetService("Debris"):AddItem(p, 3)
| |
| 3894 | local sees = math.ceil(Mana.Value / borb) | |
| 3895 | local sees2 = (math.ceil(Corruption / borb)) | |
| 3896 | local partic1, partic2 = nil, nil | |
| 3897 | partic1 = Instance.new("ParticleEmitter")
| |
| 3898 | partic1.Name = "AttackParticleEmitter3" | |
| 3899 | partic1.Texture = "http://www.roblox.com/asset/?id=233069772" | |
| 3900 | partic1.LightEmission = 0 | |
| 3901 | partic1.ZOffset = 2 | |
| 3902 | partic1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
| |
| 3903 | partic1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 5), NumberSequenceKeypoint.new(1, 1)})
| |
| 3904 | partic1.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0.1, 0.1, 0.1)) | |
| 3905 | partic1.Rate = 80 | |
| 3906 | partic1.VelocitySpread = 180 | |
| 3907 | partic1.Speed = NumberRange.new(6, 10) | |
| 3908 | partic1.Lifetime = NumberRange.new(1, 1.2) | |
| 3909 | partic1.Rotation = NumberRange.new(-180, 180) | |
| 3910 | partic1.RotSpeed = NumberRange.new(-100, 100) | |
| 3911 | partic1.Parent = Grabbee.Torso | |
| 3912 | if useRageVer then | |
| 3913 | partic2 = Instance.new("ParticleEmitter", p)
| |
| 3914 | partic2.Name = "AttackParticleEmitter3" | |
| 3915 | partic2.Texture = "http://www.roblox.com/asset/?id=241409051" | |
| 3916 | partic2.LightEmission = 0 | |
| 3917 | partic2.ZOffset = 1 | |
| 3918 | partic2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5), NumberSequenceKeypoint.new(1, 1)})
| |
| 3919 | partic2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
| |
| 3920 | partic2.Color = ColorSequence.new(Color3.new(0.3, 0.3, 0.3), Color3.new(0.2, 0.2, 0.2)) | |
| 3921 | partic2.Rate = 60 | |
| 3922 | partic2.VelocitySpread = 180 | |
| 3923 | partic2.Speed = NumberRange.new(1, 2) | |
| 3924 | partic2.Lifetime = NumberRange.new(1, 1.2) | |
| 3925 | partic2.Rotation = NumberRange.new(-180, 180) | |
| 3926 | partic2.RotSpeed = NumberRange.new(-100, 100) | |
| 3927 | partic2.Acceleration = Vector3.new(0, 10, 0) | |
| 3928 | partic2.Parent = Grabbee.Torso | |
| 3929 | end | |
| 3930 | for i = 1, borb + borb % 2 do | |
| 3931 | swait() | |
| 3932 | if i % 2 == 0 then | |
| 3933 | applyDamage(Grabbee, 3, Vector3.new(), false, false, nil, 0, 0, "", 0, false, false, 0, true, "Pure", true, false) | |
| 3934 | local st = Grabbee:FindFirstChild("Stats")
| |
| 3935 | if st and st:FindFirstChild("Mana") then
| |
| 3936 | if st.Mana.Value >= 3 then | |
| 3937 | --script.Parent.DMG.RemoteEventM:FireServer(st.Mana, 3) | |
| 3938 | st.Mana.Value = st.Mana.Value - 3 | |
| 3939 | else | |
| 3940 | st.Mana.Value = 0 | |
| 3941 | end | |
| 3942 | end | |
| 3943 | end | |
| 3944 | do | |
| 3945 | if sees <= Mana.Value then | |
| 3946 | Mana.Value = Mana.Value - sees | |
| 3947 | else | |
| 3948 | Mana.Value = 0 | |
| 3949 | end | |
| 3950 | if useRageVer then | |
| 3951 | if sees2 <= Corruption then | |
| 3952 | Corruption = Corruption - sees2 | |
| 3953 | else | |
| 3954 | Corruption = 0 | |
| 3955 | end | |
| 3956 | end | |
| 3957 | if useRageVer == true and i % 2 == 0 then | |
| 3958 | if vPlayer.Character.Humanoid.Health >= 6.5 then | |
| 3959 | vPlayer.Character.Humanoid:TakeDamage(1.5) | |
| 3960 | end | |
| 3961 | local eb = BillboardGui("http://www.roblox.com/asset/?id=233069772", Grabbee.Torso.CFrame * CFrame.new(math.random(-20, 20) / 10, math.random(-20, 20) / 10, math.random(-20, 20) / 20).p, 0)
| |
| 3962 | eb.Parent = workspace | |
| 3963 | eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180) | |
| 3964 | eb.BillboardGui.Size = UDim2.new(2, 0, 2, 0) | |
| 3965 | game:GetService("Debris"):AddItem(eb, 3)
| |
| 3966 | coroutine.resume(coroutine.create(function(p) | |
| 3967 | local r = math.random(-3, 3) * 9 | |
| 3968 | if r > -12 and r < 1 then | |
| 3969 | r = -12 | |
| 3970 | else | |
| 3971 | if r < 12 and r > -1 then | |
| 3972 | r = 12 | |
| 3973 | end | |
| 3974 | end | |
| 3975 | for i = 1, 12 do | |
| 3976 | p.BillboardGui.ImageLabel.ImageTransparency = 0.5 + i / 24 | |
| 3977 | p.BillboardGui.Size = UDim2.new(3 + i, 0, 3 + i, 0) | |
| 3978 | p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r | |
| 3979 | swait() | |
| 3980 | end | |
| 3981 | p:Remove() | |
| 3982 | end), eb) | |
| 3983 | end | |
| 3984 | do | |
| 3985 | local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.new(math.random(-20, 20) / 30, math.random(-20, 20) / 30, math.random(-20, 20) / 30) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(12, 12, 12)) | |
| 3986 | eff.Parent = workspace | |
| 3987 | eff.Name = "BloodEffect" | |
| 3988 | eff.Anchored = true | |
| 3989 | eff.CanCollide = false | |
| 3990 | game:GetService("Debris"):AddItem(eff, 5)
| |
| 3991 | coroutine.resume(coroutine.create(function(p, V, x) | |
| 3992 | A = vPlayer.Character.Torso.Velocity / 60 | |
| 3993 | for i = 1, 8 do | |
| 3994 | p.Mesh.Scale = p.Mesh.Scale - Vector3.new(11, 1, 11) / 8 | |
| 3995 | p.Transparency = 0.75 + i / 32 | |
| 3996 | p.CFrame = p.CFrame * V + A | |
| 3997 | swait() | |
| 3998 | end | |
| 3999 | p:Remove() | |
| 4000 | end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2))) | |
| 4001 | if i % 5 == 0 then | |
| 4002 | for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0), 35)) do | |
| 4003 | applyCameraShake(v, 120, 5) | |
| 4004 | end | |
| 4005 | applyCameraShake(vPlayer.Character, 120, 5) | |
| 4006 | local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position + Vector3.new(0, 2.5, 0)) * CFrame.Angles(0, math.rad(i * 20), 0), "Really black", "SpecialMesh", Vector3.new(6, 13, 6)) | |
| 4007 | pc.Mesh.MeshType = "FileMesh" | |
| 4008 | pc.Anchored = true | |
| 4009 | pc.CanCollide = false | |
| 4010 | pc.Parent = workspace | |
| 4011 | pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 4012 | pc.Name = "Shockwave" | |
| 4013 | game:GetService("Debris"):AddItem(pc, 5)
| |
| 4014 | coroutine.resume(coroutine.create(function(p) | |
| 4015 | for ii = 1, 13 do | |
| 4016 | p.Transparency = ii / 13 | |
| 4017 | p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(5 + ii), 0) - Vector3.new(0, 0.38461538461538, 0) | |
| 4018 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, -1, 1) | |
| 4019 | swait() | |
| 4020 | end | |
| 4021 | p:Remove() | |
| 4022 | end), pc) | |
| 4023 | end | |
| 4024 | do | |
| 4025 | if Grabbee.Parent == nil then | |
| 4026 | break | |
| 4027 | else | |
| 4028 | if Grabbee:FindFirstChild("Humanoid") == nil then
| |
| 4029 | break | |
| 4030 | end | |
| 4031 | end | |
| 4032 | local eff = NewPart(Vector3.new(1, 1, 1), Grabbee.Torso.CFrame * CFrame.new(math.random(-20, 20) / 10, math.random(-25, 25) / 10, math.random(-20, 20) / 20) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(1.1, 1.1, 1.1)) | |
| 4033 | eff.Parent = workspace | |
| 4034 | eff.Name = "BloodEffect" | |
| 4035 | eff.Anchored = true | |
| 4036 | eff.CanCollide = false | |
| 4037 | game:GetService("Debris"):AddItem(eff, 5)
| |
| 4038 | coroutine.resume(coroutine.create(function(p, V, x) | |
| 4039 | A = vPlayer.Character.Torso.Velocity / 60 | |
| 4040 | for i = 1, 12 do | |
| 4041 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5, 5, 5) / 12 | |
| 4042 | p.Transparency = 0.25 + i / 48 | |
| 4043 | p.CFrame = p.CFrame * V + A | |
| 4044 | swait() | |
| 4045 | end | |
| 4046 | p:Remove() | |
| 4047 | end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2))) | |
| 4048 | do | |
| 4049 | if i % 3 == 0 then | |
| 4050 | local pc = NewPart(Vector3.new(1, 1, 1), Grabbee.Torso.CFrame * CFrame.new(math.random(-10, 10) / 10, math.random(-10, 10) / 10, math.random(-10, 10) / 10) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Bright blue", "BlockMesh", Vector3.new(2, 2, 2)) | |
| 4051 | pc.CanCollide = false | |
| 4052 | pc.Anchored = true | |
| 4053 | pc.Parent = workspace | |
| 4054 | game:GetService("Debris"):AddItem(pc, 5)
| |
| 4055 | coroutine.resume(coroutine.create(function(p) | |
| 4056 | local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5)) | |
| 4057 | local C = Vector3.new(math.random(-5, 5) / 40, math.random(-5, 5) / 40, math.random(-5, 5) / 40) | |
| 4058 | for i = 1, 20 do | |
| 4059 | p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2, 2, 2) / 20 | |
| 4060 | p.Transparency = i / 20 | |
| 4061 | p.CFrame = p.CFrame * R - Vector3.new(0, 0.029757575757576 * i, 0) | |
| 4062 | swait() | |
| 4063 | end | |
| 4064 | p:Remove() | |
| 4065 | end), pc) | |
| 4066 | end | |
| 4067 | end | |
| 4068 | end | |
| 4069 | end | |
| 4070 | end | |
| 4071 | end | |
| 4072 | cl = 0 | |
| 4073 | clastframe = lastframe | |
| 4074 | for i = 1, 5 do | |
| 4075 | wait() | |
| 4076 | cl = cl + i * 0.07 | |
| 4077 | if i == 3 then | |
| 4078 | Grabdone = true | |
| 4079 | partic1.Enabled = false | |
| 4080 | game:GetService("Debris"):AddItem(partic1, 5)
| |
| 4081 | if partic2 then | |
| 4082 | partic2.Enabled = false | |
| 4083 | game:GetService("Debris"):AddItem(partic2, 5)
| |
| 4084 | end | |
| 4085 | p = Instance.new("Sound", vPlayer.Character.Torso)
| |
| 4086 | p.Volume = 1 | |
| 4087 | p.Pitch = 0.95 | |
| 4088 | p.SoundId = "http://www.roblox.com/asset/?id=241816029" | |
| 4089 | p:Play() | |
| 4090 | game:GetService("Debris"):AddItem(p, 3)
| |
| 4091 | if Grabbee:FindFirstChild("Stats") then
| |
| 4092 | if Grabbee.Stats.Mana.Value >= 10 then | |
| 4093 | Grabbee.Stats.Mana.Value = Grabbee.Stats.Mana.Value - 10 | |
| 4094 | else | |
| 4095 | Grabbee.Stats.Mana.Value = 0 | |
| 4096 | end | |
| 4097 | if Grabbee.Stats.Stunned.Value == false then | |
| 4098 | Grabbee.Stats.Stun.Value = 999 | |
| 4099 | end | |
| 4100 | end | |
| 4101 | applyDamage(Grabbee, 15, Vector3.new(0, 30, 0) + CPlane * 40, true, false, addonCullMovers, 0, 0, "", 0, false, false, 0, true, "IgnoreDefense", true, false) | |
| 4102 | local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(Grabbee.Torso.Position, Grabbee.Torso.Position + CPlane * 9.5 + Vector3.new(0, 5, 0)) * CFrame.Angles(math.random(-30, 30) / 50, math.random(-30, 30) / 50, math.random(-30, 30) / 50), "Really black", "SpecialMesh", Vector3.new(6, 6, 2)) | |
| 4103 | pc.Mesh.MeshType = "FileMesh" | |
| 4104 | pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4105 | pc.Parent = workspace | |
| 4106 | pc.Anchored = true | |
| 4107 | pc.CanCollide = false | |
| 4108 | pc.Transparency = 0.5 | |
| 4109 | game:GetService("Debris"):AddItem(pc, 5)
| |
| 4110 | coroutine.resume(coroutine.create(function(p) | |
| 4111 | for ii = 1, 28 do | |
| 4112 | p.Transparency = ii / 28 | |
| 4113 | p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0.1) | |
| 4114 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.8 - ii * 0.05, 1.8 - ii * 0.05, 0) | |
| 4115 | swait() | |
| 4116 | end | |
| 4117 | p:Remove() | |
| 4118 | end), pc) | |
| 4119 | for loel = 1, 8 do | |
| 4120 | local eff = NewPart(Vector3.new(1, 1, 1), Grabbee.Torso.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(4, 4, 4)) | |
| 4121 | eff.Parent = workspace | |
| 4122 | eff.Name = "BloodEffect" | |
| 4123 | eff.Anchored = true | |
| 4124 | eff.CanCollide = false | |
| 4125 | game:GetService("Debris"):AddItem(eff, 5)
| |
| 4126 | coroutine.resume(coroutine.create(function(p, V, x) | |
| 4127 | for i = 1, 25 do | |
| 4128 | p.Transparency = 0.5 + i / 50 | |
| 4129 | p.CFrame = p.CFrame + x / 2 | |
| 4130 | swait() | |
| 4131 | end | |
| 4132 | p:Remove() | |
| 4133 | end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))), Vector3.new(math.random(-10, 10) / 10, math.random(-10, 10) / 10, math.random(-10, 10) / 10)) | |
| 4134 | end | |
| 4135 | for loel = 1, 3 do | |
| 4136 | local eff = NewPart(Vector3.new(1, 1, 1), Grabbee.Torso.CFrame * CFrame.new(math.random(-20, 20) / 10, math.random(-25, 25) / 10, math.random(-20, 20) / 20) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(4, 4, 4)) | |
| 4137 | eff.Parent = workspace | |
| 4138 | eff.Name = "BloodEffect" | |
| 4139 | eff.Anchored = true | |
| 4140 | eff.CanCollide = false | |
| 4141 | game:GetService("Debris"):AddItem(eff, 5)
| |
| 4142 | coroutine.resume(coroutine.create(function(p, V, x) | |
| 4143 | for i = 1, 25 do | |
| 4144 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(14 + loel * 8, 14 + loel * 8, 14 + loel * 8) / 25 | |
| 4145 | p.Transparency = 0.25 + i / 18.75 | |
| 4146 | p.CFrame = p.CFrame * V | |
| 4147 | swait() | |
| 4148 | end | |
| 4149 | p:Remove() | |
| 4150 | end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)))) | |
| 4151 | end | |
| 4152 | end | |
| 4153 | do | |
| 4154 | do | |
| 4155 | LerpWelds(clastframe, cl, Animations.LHB.Animation(6)) | |
| 4156 | -- DECOMPILER ERROR at PC2735: LeaveBlock: unexpected jumping out DO_STMT | |
| 4157 | ||
| 4158 | end | |
| 4159 | end | |
| 4160 | end | |
| 4161 | cbuff:Remove() | |
| 4162 | gpos:Remove() | |
| 4163 | else | |
| 4164 | do | |
| 4165 | for i = 1, 4 do | |
| 4166 | fwait() | |
| 4167 | BodyVel.velocity = BodyVel.velocity / 1.25 | |
| 4168 | end | |
| 4169 | do | |
| 4170 | cl = 0 | |
| 4171 | coroutine.resume(coroutine.create(function(p) | |
| 4172 | for i = 1, 30 do | |
| 4173 | p.Volume = 1 - i / 30 | |
| 4174 | swait() | |
| 4175 | end | |
| 4176 | p:Stop() | |
| 4177 | end), pb) | |
| 4178 | clastframe = lastframe | |
| 4179 | BodyVel.maxForce = Vector3.new(1000000, 0, 1000000) | |
| 4180 | for i = 1, 15 do | |
| 4181 | fwait() | |
| 4182 | BodyVel.velocity = BodyVel.velocity / 1.2 | |
| 4183 | LerpWelds(clastframe, i / 15, Animations.Stand.Animation(0)) | |
| 4184 | end | |
| 4185 | if Grabbee == nil then | |
| 4186 | Cooldowns["4"] = CooldownsB["4"] / 3 | |
| 4187 | else | |
| 4188 | Cooldowns["4"] = CooldownsB["4"] | |
| 4189 | end | |
| 4190 | end | |
| 4191 | end | |
| 4192 | end | |
| 4193 | CanInterrupt(true) | |
| 4194 | PlayerIsAttacking = false | |
| 4195 | BodyVel.Parent = nil | |
| 4196 | BodyGyro.Parent = nil | |
| 4197 | Ult = false | |
| 4198 | end | |
| 4199 | ||
| 4200 | ||
| 4201 | ||
| 4202 | mouse.KeyDown:connect(function(k) | |
| 4203 | ||
| 4204 | k = k:lower() | |
| 4205 | if k == "q" then | |
| 4206 | BlastStorm() | |
| 4207 | end | |
| 4208 | if k == "e" then | |
| 4209 | WindFloor2() | |
| 4210 | end | |
| 4211 | if k == "t" then | |
| 4212 | WindFloor() | |
| 4213 | end | |
| 4214 | end) | |
| 4215 | ||
| 4216 | ||
| 4217 | ||
| 4218 | ||
| 4219 | ||
| 4220 | ||
| 4221 | ||
| 4222 | ||
| 4223 | local BC = BrickColor.new | |
| 4224 | local Col3 = Color3.new | |
| 4225 | local Inst = Instance.new | |
| 4226 | local Ud2 = UDim2.new | |
| 4227 | local FONT = "SourceSansLight" | |
| 4228 | ||
| 4229 | ||
| 4230 | ||
| 4231 | ||
| 4232 | ||
| 4233 | ||
| 4234 | ||
| 4235 | Colour1 = BC("Pastel Blue")
| |
| 4236 | Colour2 = BC("Black")
| |
| 4237 | Colour3 = BC("Ghost grey")
| |
| 4238 | Chaos_UI = Inst("ScreenGui", Player.PlayerGui)
| |
| 4239 | Chaos_UI.Name = "Chaos UI" | |
| 4240 | ColMain, KP, Moves, OM = Inst("Frame", Chaos_UI), Inst("Frame", Chaos_UI), Inst("ScrollingFrame", Chaos_UI), Inst("TextButton", Chaos_UI)
| |
| 4241 | ||
| 4242 | ||
| 4243 | Moves.BackgroundColor3 = Col3(72/255,72/255,72/255) | |
| 4244 | Moves.BackgroundTransparency = .8 | |
| 4245 | Moves.BorderSizePixel = 0 | |
| 4246 | Moves.Name = "Moves" | |
| 4247 | Moves.Position = Ud2(-.2, 0, .4, 0) | |
| 4248 | Moves.Size = Ud2(.2, 0, .5, 0) | |
| 4249 | Moves.ScrollBarThickness = 8 | |
| 4250 | OM.Name = "VML" | |
| 4251 | OM.Position = Ud2(.002, 0, .83, 0) | |
| 4252 | OM.Size = Ud2(.05, 0, .08, 0) | |
| 4253 | OM.Visible = false | |
| 4254 | OM.Style = "RobloxRoundButton" | |
| 4255 | OM.Font = FONT | |
| 4256 | OM.Text = "View Move List" | |
| 4257 | OM.TextColor3 = Col3(1,1,1) | |
| 4258 | OM.TextScaled = true | |
| 4259 | local Title = Inst("TextLabel", Moves)
| |
| 4260 | Title.BackgroundTransparency = 1 | |
| 4261 | Title.Name = "Title" | |
| 4262 | Title.Size = Ud2(1, 0, .014, 0) | |
| 4263 | Title.Font = FONT | |
| 4264 | Title.Text = "Move List" | |
| 4265 | Title.TextColor3 = Col3(1,1,1) | |
| 4266 | Title.TextScaled = true | |
| 4267 | Title.TextStrokeTransparency = 0 | |
| 4268 | ||
| 4269 | OM.Visible = true | |
| 4270 | ||
| 4271 | function Create_Moves_In_List() | |
| 4272 | local ah = .012 | |
| 4273 | local am = .012 | |
| 4274 | local move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "*Whatever you do, DO NOT use 2 different moves tat the same time!!*" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
| 4275 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "Q - Ultimate Shadow Blast, must be flying when in use, *be carefull using this*" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
| 4276 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "E - Shadow Blast" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
| 4277 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "R - Purple Nova, I recommend being in a high distance when you use this" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
| 4278 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "T - Unfinished, dont press it" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
| 4279 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "F - Fly mode/ Fly mode Deactivate" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
| 4280 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "B - Roar, you know how that is" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
| 4281 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "G - Destructive Fire Blasts, I recommend being in fly mode" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
| 4282 | end | |
| 4283 | Create_Moves_In_List() | |
| 4284 | ||
| 4285 | ||
| 4286 | local mopen = false | |
| 4287 | OM.MouseButton1Click:connect(function() | |
| 4288 | if not Debounces.UIAction and not mopen then | |
| 4289 | Debounces.UIAction = true | |
| 4290 | OM.Text = "Hide Move List" | |
| 4291 | mopen = true | |
| 4292 | Moves:TweenPosition(Ud2(.002, 0, .4, 0),_, "Bounce", .6, true) | |
| 4293 | OM:TweenPosition(Ud2(.202, 0, .83, 0),_, "Bounce", .6, true) | |
| 4294 | wait(.3) | |
| 4295 | Debounces.UIAction = false | |
| 4296 | elseif not Debounces.UIAction and mopen then | |
| 4297 | Debounces.UIAction = true | |
| 4298 | OM.Text = "View Move List" | |
| 4299 | mopen = false | |
| 4300 | Moves:TweenPosition(Ud2(-.2, 0, .4, 0),_, "Bounce", .6, true) | |
| 4301 | OM:TweenPosition(Ud2(.002, 0, .83, 0),_, "Bounce", .6, true) | |
| 4302 | wait(.3) | |
| 4303 | Debounces.UIAction = false | |
| 4304 | end | |
| 4305 | end) | |
| 4306 | ||
| 4307 | ||
| 4308 | ||
| 4309 | ||
| 4310 | ||
| 4311 | local animpose = "Idle" | |
| 4312 | local lastanimpose = "Idle" | |
| 4313 | local sine = 0 | |
| 4314 | local change = 1 | |
| 4315 | local val = 0 | |
| 4316 | local ffing = false | |
| 4317 | ------------------------------- | |
| 4318 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 4319 | --[[if char.Humanoid.Jump == true then | |
| 4320 | jump = true | |
| 4321 | else | |
| 4322 | jump = false | |
| 4323 | end]] | |
| 4324 | char.Humanoid.FreeFalling:connect(function(f) | |
| 4325 | if f then | |
| 4326 | ffing = true | |
| 4327 | else | |
| 4328 | ffing = false | |
| 4329 | end | |
| 4330 | end) | |
| 4331 | sine = sine + change | |
| 4332 | if jumpn == true then | |
| 4333 | animpose = "Jumping" | |
| 4334 | elseif ffing == true then | |
| 4335 | animpose = "Freefalling" | |
| 4336 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 4337 | animpose = "Idle" | |
| 4338 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 4339 | animpose = "Walking" | |
| 4340 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 4341 | animpose = "Running" | |
| 4342 | end | |
| 4343 | if animpose ~= lastanimpose then | |
| 4344 | sine = 0 | |
| 4345 | if Debounces.NoIdl == false then | |
| 4346 | if animpose == "Idle" then | |
| 4347 | for i = 1, 2 do | |
| 4348 | 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) | |
| 4349 | 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) | |
| 4350 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 4351 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 4352 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 4353 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 4354 | end | |
| 4355 | elseif animpose == "Walking" then | |
| 4356 | for i = 1, 2 do | |
| 4357 | 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) | |
| 4358 | 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) | |
| 4359 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 4360 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 4361 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 4362 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 4363 | end | |
| 4364 | elseif animpose == "Running" then | |
| 4365 | for i = 1, 2 do | |
| 4366 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2) | |
| 4367 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2) | |
| 4368 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
| 4369 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
| 4370 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
| 4371 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
| 4372 | wait() | |
| 4373 | end | |
| 4374 | end | |
| 4375 | else | |
| 4376 | end | |
| 4377 | end | |
| 4378 | lastanimpose = animpose | |
| 4379 | if Debounces.NoIdl == false then | |
| 4380 | if animpose == "Idle" then | |
| 4381 | change = 0.5 | |
| 4382 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(-10),math.rad(-10),math.rad(14+2*math.cos(sine/10))), 0.4) | |
| 4383 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(-20),math.rad(6),math.rad(-10-2*math.cos(sine/10))), 0.4) | |
| 4384 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/10)),math.rad(20),0), 0.2) | |
| 4385 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 4386 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.16*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-20), math.rad(0)), 0.05) | |
| 4387 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0-0.1*math.cos(sine/10), -0.55) * CFrame.Angles(math.rad(-10+1*math.cos(sine/10)), math.rad(10), math.rad(-0-2*math.cos(sine/10))), 0.4) | |
| 4388 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1-0.1*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-10), math.rad(0+2*math.cos(sine/10))), 0.4) | |
| 4389 | elseif animpose == "Walking" then | |
| 4390 | change = 1 | |
| 4391 | 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) | |
| 4392 | 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) | |
| 4393 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 4394 | 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) | |
| 4395 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 4396 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 4397 | elseif animpose == "Running" then | |
| 4398 | change = 1 | |
| 4399 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2) | |
| 4400 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2) | |
| 4401 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
| 4402 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2) | |
| 4403 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4) | |
| 4404 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4) | |
| 4405 | end | |
| 4406 | end | |
| 4407 | end) | |
| 4408 | ||
| 4409 | hum.MaxHealth = math.huge | |
| 4410 | wait(3) | |
| 4411 | hum.Health = math.huge | |
| 4412 | ||
| 4413 | ||
| 4414 | spawn(function() | |
| 4415 | while wait(2) | |
| 4416 | do | |
| 4417 | GroundWave3() | |
| 4418 | end | |
| 4419 | end) | |
| 4420 | ||
| 4421 | ||
| 4422 | while true do --Loop | |
| 4423 | wait(0.04) | |
| 4424 | part2.Texture = "http://www.roblox.com/asset/?id=358965396" --Insert decal's first texture | |
| 4425 | part2.Texture = "http://www.roblox.com/asset/?id=358965513" --second texture | |
| 4426 | wait(0.04) --wait 1 second, you can change this and make it different for every one | |
| 4427 | part2.Texture = "http://www.roblox.com/asset/?id=358965632" | |
| 4428 | wait(0.04) | |
| 4429 | part2.Texture = "http://www.roblox.com/asset/?id=358965664" | |
| 4430 | wait(0.04) | |
| 4431 | end |