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