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