SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
| |
| 2 | print("FE Compatibility: by WaverlyCole & Mokiros")
| |
| 3 | InternalData = {}
| |
| 4 | do | |
| 5 | script.Parent = owner.Character | |
| 6 | local Event = Instance.new("RemoteEvent")
| |
| 7 | Event.Name = "UserInput" | |
| 8 | local function NewFakeEvent() | |
| 9 | local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
| |
| 10 | return Fake | |
| 11 | end | |
| 12 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
| |
| 13 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
| |
| 14 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
| |
| 15 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
| |
| 16 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
| 17 | local function TriggerEvent(self,Event,...) | |
| 18 | local Trigger = Mouse[Event] | |
| 19 | if Trigger and Trigger.fakeEvent and Trigger.Function then | |
| 20 | Trigger.Function(...) | |
| 21 | end | |
| 22 | end | |
| 23 | Mouse.TrigEvent = TriggerEvent | |
| 24 | UserInputService.TrigEvent = TriggerEvent | |
| 25 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
| 26 | if FiredBy.Name ~= owner.Name then end | |
| 27 | if Input.MouseEvent then | |
| 28 | Mouse.Target = Input.Target | |
| 29 | Mouse.Hit = Input.Hit | |
| 30 | else | |
| 31 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
| 32 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 33 | return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") | |
| 34 | end | |
| 35 | for _,Action in pairs(ContextActionService.Actions) do | |
| 36 | for _,Key in pairs(Action.Keys) do | |
| 37 | if Key==Input.KeyCode then | |
| 38 | Action.Function(Action.Name,Input.UserInputState,Input) | |
| 39 | end | |
| 40 | end | |
| 41 | end | |
| 42 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
| 43 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
| 44 | end | |
| 45 | end) | |
| 46 | InternalData["Mouse"] = Mouse | |
| 47 | InternalData["ContextActionService"] = ContextActionService | |
| 48 | InternalData["UserInputService"] = UserInputService | |
| 49 | Event.Parent = NLS([[ | |
| 50 | local Player = owner | |
| 51 | local Event = script:WaitForChild("UserInput")
| |
| 52 | local UserInputService = game:GetService("UserInputService")
| |
| 53 | local Mouse = Player:GetMouse() | |
| 54 | local Input = function(Input,gameProcessedEvent) | |
| 55 | if gameProcessedEvent then return end | |
| 56 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
| |
| 57 | end | |
| 58 | UserInputService.InputBegan:Connect(Input) | |
| 59 | UserInputService.InputEnded:Connect(Input) | |
| 60 | local Hit,Target | |
| 61 | while wait(1/30) do | |
| 62 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
| 63 | Hit,Target = Mouse.Hit,Mouse.Target | |
| 64 | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
| |
| 65 | end | |
| 66 | end | |
| 67 | ]],owner.Character) | |
| 68 | end | |
| 69 | RealGame = game;game = setmetatable({},{
| |
| 70 | __index = function (self,Index) | |
| 71 | local Sandbox = function (Thing) | |
| 72 | if Thing:IsA("Player") then
| |
| 73 | local RealPlayer = Thing | |
| 74 | return setmetatable({},{
| |
| 75 | __index = function (self,Index) | |
| 76 | local Type = type(RealPlayer[Index]) | |
| 77 | if Type == "function" then | |
| 78 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
| 79 | return function (self) | |
| 80 | return InternalData["Mouse"] | |
| 81 | end | |
| 82 | end | |
| 83 | return function (self,...) | |
| 84 | return RealPlayer[Index](RealPlayer,...) | |
| 85 | end | |
| 86 | else | |
| 87 | if Index == "PlrObj" then | |
| 88 | return RealPlayer | |
| 89 | end | |
| 90 | return RealPlayer[Index] | |
| 91 | end | |
| 92 | end; | |
| 93 | __tostring = function(self) | |
| 94 | return RealPlayer.Name | |
| 95 | end | |
| 96 | }) | |
| 97 | end | |
| 98 | end | |
| 99 | if RealGame[Index] then | |
| 100 | local Type = type(RealGame[Index]) | |
| 101 | if Type == "function" then | |
| 102 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
| 103 | return function (self,Service) | |
| 104 | if Service:lower() == "players" then | |
| 105 | return setmetatable({},{
| |
| 106 | __index = function (self2,Index2) | |
| 107 | local RealService = RealGame:GetService(Service) | |
| 108 | local Type2 = type(Index2) | |
| 109 | if Type2 == "function" then | |
| 110 | return function (self,...) | |
| 111 | return RealService[Index2](RealService,...) | |
| 112 | end | |
| 113 | else | |
| 114 | if Index2:lower() == "localplayer" then | |
| 115 | return Sandbox(owner) | |
| 116 | end | |
| 117 | return RealService[Index2] | |
| 118 | end | |
| 119 | end; | |
| 120 | __tostring = function(self) | |
| 121 | return RealGame:GetService(Service).Name | |
| 122 | end | |
| 123 | }) | |
| 124 | elseif Service:lower() == "contextactionservice" then | |
| 125 | return InternalData["ContextActionService"] | |
| 126 | elseif Service:lower() == "contextactionservice" then | |
| 127 | return InternalData["UserInputService"] | |
| 128 | elseif Service:lower() == "runservice" then | |
| 129 | return setmetatable({},{
| |
| 130 | __index = function(self2,Index2) | |
| 131 | local RealService = RealGame:GetService(Service) | |
| 132 | local Type2 = type(Index2) | |
| 133 | if Type2 == "function" then | |
| 134 | return function (self,...) | |
| 135 | return RealService[Index2](RealService,...) | |
| 136 | end | |
| 137 | else | |
| 138 | if Index2:lower() == "bindtorenderstep" then | |
| 139 | return function (self,Name,Priority,Function) | |
| 140 | return RealGame:GetService("RunService").Stepped:Connect(Function)
| |
| 141 | end | |
| 142 | end | |
| 143 | if Index2:lower() == "renderstepped" then | |
| 144 | return RealService["Stepped"] | |
| 145 | end | |
| 146 | return RealService[Index2] | |
| 147 | end | |
| 148 | end | |
| 149 | }) | |
| 150 | else | |
| 151 | return RealGame:GetService(Service) | |
| 152 | end | |
| 153 | end | |
| 154 | end | |
| 155 | return function (self,...) | |
| 156 | return RealGame[Index](RealGame,...) | |
| 157 | end | |
| 158 | else | |
| 159 | if game:GetService(Index) then | |
| 160 | return game:GetService(Index) | |
| 161 | end | |
| 162 | return RealGame[Index] | |
| 163 | end | |
| 164 | else | |
| 165 | return nil | |
| 166 | end | |
| 167 | end | |
| 168 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
| |
| 169 | print("Complete! Running...")
| |
| 170 | ||
| 171 | ||
| 172 | --//Paste script below this line. | |
| 173 | ||
| 174 | --[[User: TheDarkRevenant | |
| 175 | Script: Genkadda.txt | |
| 176 | Pass: E1IZVizJ]] | |
| 177 | ||
| 178 | ||
| 179 | --[[EDIT: Genkadda_Omega (WIP)]] | |
| 180 | ||
| 181 | -- Messy atm, will clean up when finished | |
| 182 | ||
| 183 | --[[Thank you to Fang and Asriel/Frisk for helping fix cero and adding the nightshift blast]] | |
| 184 | --[[Thanks to PixelFire for the gauntlet]] | |
| 185 | ||
| 186 | --[[ TODO List: | |
| 187 | ||
| 188 | Fix Cero beam angle (it's a bit off compared to the other one) | |
| 189 | Redo some animations entirely | |
| 190 | Make a toggle for turning future voice sfx on/off(?) | |
| 191 | More attacks, including alternate attacks when dashing | |
| 192 | Add a throw | |
| 193 | Fix animation while flying with someone grabbed | |
| 194 | ||
| 195 | ||
| 196 | Changes: | |
| 197 | ||
| 198 | - Added a boosted/holy mode that can be toggled with H | |
| 199 | - While in this mode, attacks are more varied and powerful | |
| 200 | - Different dashing animation | |
| 201 | - Other effects, will make a complete list when | |
| 202 | ||
| 203 | - Added Cero Beam and Nightshift Blast from Zerioth | |
| 204 | - Added other, larger beam | |
| 205 | - Made the standard two swipes with q actually hit both times | |
| 206 | - Probably more I forgot | |
| 207 | ||
| 208 | Controls: | |
| 209 | ||
| 210 | Q = Swing sword twice | |
| 211 | E = Slap | |
| 212 | R = Overhead downwards swing | |
| 213 | T = Pelvic thrust | |
| 214 | Y = Nightshift blast | |
| 215 | G = Spinning attack | |
| 216 | C = Cero beam | |
| 217 | V = Large beam | |
| 218 | Z = Grab | |
| 219 | Left Ctrl = Sprint/Dash | |
| 220 | F = Toggle flight | |
| 221 | ||
| 222 | H = Switch between dark/light mode | |
| 223 | ||
| 224 | ||
| 225 | ]] | |
| 226 | ||
| 227 | ||
| 228 | local p = game.Players.LocalPlayer | |
| 229 | local char = p.Character | |
| 230 | local mouse = p:GetMouse() | |
| 231 | local larm = char["Left Arm"] | |
| 232 | local rarm = char["Right Arm"] | |
| 233 | local lleg = char["Left Leg"] | |
| 234 | local rleg = char["Right Leg"] | |
| 235 | local hed = char.Head | |
| 236 | local torso = char.Torso | |
| 237 | local hum = char.Humanoid | |
| 238 | local cam = game.Workspace.CurrentCamera | |
| 239 | local root = char.HumanoidRootPart | |
| 240 | local deb = false | |
| 241 | local CanAttack = true | |
| 242 | local shot = 0 | |
| 243 | local animpose = "Idle" | |
| 244 | local lastanimpose = "Idle" | |
| 245 | local stanceToggle = "Normal" | |
| 246 | local l = game:GetService("Lighting")
| |
| 247 | local rs = game:GetService("RunService").RenderStepped
| |
| 248 | math.randomseed(os.time()) | |
| 249 | hum.MaxHealth = 9001 | |
| 250 | wait(1) | |
| 251 | hum.Health = 9001 | |
| 252 | ||
| 253 | for i,v in pairs (hed:GetChildren()) do | |
| 254 | if v:IsA("Sound") then
| |
| 255 | v:Destroy() | |
| 256 | end | |
| 257 | end | |
| 258 | --game:service'InsertService':LoadAsset(16469427):children()[1].Parent = char | |
| 259 | --char.Reaper.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=176349813" | |
| 260 | ||
| 261 | ---------------------------------------------------- | |
| 262 | --[[Additional Variables]] | |
| 263 | ||
| 264 | ||
| 265 | ||
| 266 | ||
| 267 | ||
| 268 | local lightspeed = math.random(0.1,0.2) | |
| 269 | local holy = false -- Is in holy/angel of death form? | |
| 270 | local eColors = {"Lime green", "Really black"}
| |
| 271 | local idz = {"161006212", "161006195"}
| |
| 272 | local Effects={}
| |
| 273 | ||
| 274 | ||
| 275 | hs = Instance.new("Sound",torso)
| |
| 276 | hs.SoundId = "http://www.roblox.com/asset/?id=149560784" | |
| 277 | hs.Pitch = 1.2 | |
| 278 | hs.Volume = 0.6 | |
| 279 | hs.Looped = true | |
| 280 | ||
| 281 | ds = Instance.new("Sound",torso)
| |
| 282 | ds.SoundId = "http://roblox.com/asset/?id=149560784" | |
| 283 | ds.Pitch = 0.3 | |
| 284 | ds.Volume = 0.4 | |
| 285 | ds.Looped = true | |
| 286 | ||
| 287 | ||
| 288 | ds:play() | |
| 289 | ||
| 290 | ||
| 291 | if holy == false then | |
| 292 | eColors = {"Lime green", "Really black"}
| |
| 293 | else if holy == true then | |
| 294 | eColors = {"Lime green"}
| |
| 295 | end | |
| 296 | end | |
| 297 | ||
| 298 | ||
| 299 | ||
| 300 | ||
| 301 | ||
| 302 | ---------------------------------------------------- | |
| 303 | --[[Additional Functions]] | |
| 304 | ||
| 305 | cf=CFrame.new | |
| 306 | vt=Vector3.new | |
| 307 | ||
| 308 | function swait(num) | |
| 309 | if num==0 or num==nil then | |
| 310 | game:service'RunService'.Stepped:wait(0) | |
| 311 | else | |
| 312 | for i=0,num do | |
| 313 | game:service'RunService'.Stepped:wait(0) | |
| 314 | end | |
| 315 | end | |
| 316 | end | |
| 317 | ||
| 318 | so = function(id,par,vol,pit) | |
| 319 | coroutine.resume(coroutine.create(function() | |
| 320 | local sou = Instance.new("Sound",par or workspace)
| |
| 321 | sou.Volume=vol | |
| 322 | sou.Pitch=pit or 1 | |
| 323 | sou.SoundId=id | |
| 324 | swait() | |
| 325 | sou:play() | |
| 326 | game:GetService("Debris"):AddItem(sou,6)
| |
| 327 | end)) | |
| 328 | end | |
| 329 | ||
| 330 | ||
| 331 | ||
| 332 | ||
| 333 | ||
| 334 | ---------------------------------------------------- | |
| 335 | Debounces = {
| |
| 336 | CanAttack = true; | |
| 337 | CanJoke = true; | |
| 338 | NoIdl = false; | |
| 339 | Slashing = false; | |
| 340 | Slashed = false; | |
| 341 | Slapping = false; | |
| 342 | Slapped = false; | |
| 343 | ks = false; | |
| 344 | } | |
| 345 | ||
| 346 | local Touche = {char.Name, }
| |
| 347 | ---------------------------------------------------- | |
| 348 | function HasntTouched(plrname) | |
| 349 | local ret = true | |
| 350 | for _, v in pairs(Touche) do | |
| 351 | if v == plrname then | |
| 352 | ret = false | |
| 353 | end | |
| 354 | end | |
| 355 | return ret | |
| 356 | end | |
| 357 | ---------------------------------------------------- | |
| 358 | function weld5(part0, part1, c0, c1) | |
| 359 | weeld=Instance.new("Weld", part0)
| |
| 360 | weeld.Part0=part0 | |
| 361 | weeld.Part1=part1 | |
| 362 | weeld.C0=c0 | |
| 363 | weeld.C1=c1 | |
| 364 | return weeld | |
| 365 | end | |
| 366 | ---------------------------------------------------- | |
| 367 | mod=Instance.new('Model',char)
| |
| 368 | ||
| 369 | function Burst() | |
| 370 | part=Instance.new('Part',mod)
| |
| 371 | part.Anchored=true | |
| 372 | part.CanCollide=false | |
| 373 | part.FormFactor='Custom' | |
| 374 | part.Size=Vector3.new(.2,.2,.2) | |
| 375 | part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0) | |
| 376 | part.Transparency=.7 | |
| 377 | ||
| 378 | if holy ~= true then | |
| 379 | part.BrickColor=BrickColor.new('Really black')
| |
| 380 | else | |
| 381 | part.BrickColor=BrickColor.new('Lime green')
| |
| 382 | end | |
| 383 | ||
| 384 | mesh=Instance.new('SpecialMesh',part)
| |
| 385 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 386 | mesh.Scale=Vector3.new(10,5,10) | |
| 387 | part2=part:clone() | |
| 388 | part2.Parent=mod | |
| 389 | ||
| 390 | if holy ~= true then | |
| 391 | part2.BrickColor=BrickColor.new('Lime green')
| |
| 392 | else | |
| 393 | part2.BrickColor=BrickColor.new('Lime green')
| |
| 394 | end | |
| 395 | ||
| 396 | mesh2=mesh:clone() | |
| 397 | mesh2.Parent=part2 | |
| 398 | mesh2.Scale=Vector3.new(5,2.5,5) | |
| 399 | coroutine.resume(coroutine.create(function() | |
| 400 | for i=0,1,0.1 do | |
| 401 | wait() | |
| 402 | part.CFrame=part.CFrame | |
| 403 | part.Transparency=i | |
| 404 | mesh.Scale=mesh.Scale+Vector3.new(1,1,1) | |
| 405 | part2.CFrame=part2.CFrame | |
| 406 | part2.Transparency=i | |
| 407 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
| 408 | end | |
| 409 | part.Parent=nil | |
| 410 | part2.Parent=nil | |
| 411 | end)) | |
| 412 | end | |
| 413 | ---------------------------------------------------- | |
| 414 | mod4 = Instance.new("Model",char)
| |
| 415 | ||
| 416 | ptez = {0.7, 0.8, 0.9, 1}
| |
| 417 | ||
| 418 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 419 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 420 | local List = {}
| |
| 421 | for i,v in pairs(workspace:GetChildren())do | |
| 422 | if v:IsA("Model")then
| |
| 423 | if v:findFirstChild("Torso")then
| |
| 424 | if v ~= char then | |
| 425 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 426 | table.insert(List,v) | |
| 427 | end | |
| 428 | end | |
| 429 | end | |
| 430 | end | |
| 431 | end | |
| 432 | return List | |
| 433 | end | |
| 434 | ||
| 435 | function Slam() | |
| 436 | part=Instance.new('Part',mod4)
| |
| 437 | part.Anchored=true | |
| 438 | part.CanCollide=false | |
| 439 | part.FormFactor='Custom' | |
| 440 | part.Size=Vector3.new(.2,.2,.2) | |
| 441 | part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0) | |
| 442 | part.Transparency=.7 | |
| 443 | ||
| 444 | if holy ~= true then | |
| 445 | part.BrickColor=BrickColor.new('Really black')
| |
| 446 | else | |
| 447 | part.BrickColor=BrickColor.new('Lime green')
| |
| 448 | end | |
| 449 | ||
| 450 | mesh=Instance.new('SpecialMesh',part)
| |
| 451 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 452 | mesh.Scale=Vector3.new(3,3,3) | |
| 453 | part2=Instance.new('Part',mod4)
| |
| 454 | part2.Anchored=true | |
| 455 | part2.CanCollide=false | |
| 456 | part2.FormFactor='Custom' | |
| 457 | part2.Size=Vector3.new(.2,.2,.2) | |
| 458 | part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6) | |
| 459 | part2.Transparency=.7 | |
| 460 | ||
| 461 | if holy ~= true then | |
| 462 | part2.BrickColor=BrickColor.new('Lime green')
| |
| 463 | else | |
| 464 | part2.BrickColor=BrickColor.new('Lime green')
| |
| 465 | end | |
| 466 | ||
| 467 | mesh2=Instance.new('SpecialMesh',part2)
| |
| 468 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 469 | mesh2.Scale=Vector3.new(3,1.5,3) | |
| 470 | x = Instance.new("Sound",char)
| |
| 471 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
| 472 | x.Pitch = ptez[math.random(1,#ptez)] | |
| 473 | x.Volume = 1 | |
| 474 | wait(.1) | |
| 475 | x1 = Instance.new("Sound",char)
| |
| 476 | x1.SoundId = "http://www.roblox.com/asset/?id=206082327" | |
| 477 | x1.Pitch = ptez[math.random(1,#ptez)] | |
| 478 | x1.Volume = 1 | |
| 479 | wait(.1) | |
| 480 | x:Play() | |
| 481 | x1:Play() | |
| 482 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
| 483 | if v:FindFirstChild('Humanoid') then
| |
| 484 | v.Humanoid:TakeDamage(math.random(99999999,99999999)) | |
| 485 | end | |
| 486 | end | |
| 487 | coroutine.resume(coroutine.create(function() | |
| 488 | for i=0,0.62,0.13 do | |
| 489 | wait() | |
| 490 | part.CFrame=part.CFrame | |
| 491 | part.Transparency=i | |
| 492 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
| 493 | part2.CFrame=part2.CFrame | |
| 494 | part2.Transparency=i | |
| 495 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
| 496 | end | |
| 497 | part.Parent=nil | |
| 498 | part2.Parent=nil | |
| 499 | x:Destroy() | |
| 500 | end)) | |
| 501 | end | |
| 502 | ----------------------------------------------------PUNCH FUNC | |
| 503 | function Punch() | |
| 504 | part=Instance.new('Part',mod4)
| |
| 505 | part.Anchored=true | |
| 506 | part.CanCollide=false | |
| 507 | part.FormFactor='Custom' | |
| 508 | part.Size=Vector3.new(.2,.2,.2) | |
| 509 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
| 510 | part.Transparency=.7 | |
| 511 | ||
| 512 | part.BrickColor=BrickColor.new('Really black')
| |
| 513 | mesh=Instance.new('SpecialMesh',part)
| |
| 514 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 515 | mesh.Scale=Vector3.new(3,3,3) | |
| 516 | part2=Instance.new('Part',mod4)
| |
| 517 | part2.Anchored=true | |
| 518 | part2.CanCollide=false | |
| 519 | ||
| 520 | part2.FormFactor='Custom' | |
| 521 | part2.Size=Vector3.new(.2,.2,.2) | |
| 522 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
| 523 | part2.Transparency=.7 | |
| 524 | part2.BrickColor=BrickColor.new('Lime green')
| |
| 525 | mesh2=Instance.new('SpecialMesh',part2)
| |
| 526 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 527 | mesh2.Scale=Vector3.new(3,1.5,3) | |
| 528 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
| 529 | if v:FindFirstChild('Humanoid') then
| |
| 530 | v.Humanoid:TakeDamage(math.random(2,6)) | |
| 531 | end | |
| 532 | end | |
| 533 | coroutine.resume(coroutine.create(function() | |
| 534 | for i=0,0.62,0.4 do | |
| 535 | wait() | |
| 536 | part.CFrame=part.CFrame | |
| 537 | part.Transparency=i | |
| 538 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
| 539 | part2.CFrame=part2.CFrame | |
| 540 | part2.Transparency=i | |
| 541 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
| 542 | end | |
| 543 | part.Parent=nil | |
| 544 | part2.Parent=nil | |
| 545 | end)) | |
| 546 | end | |
| 547 | ---------------------------------------------------- | |
| 548 | GroundWave = function() | |
| 549 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 550 | local Colors = {"Lime green", "Really black"}
| |
| 551 | local wave = Instance.new("Part", torso)
| |
| 552 | ||
| 553 | if holy == false then | |
| 554 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 555 | else | |
| 556 | wave.BrickColor = BrickColor.new("Lime green")
| |
| 557 | end | |
| 558 | ||
| 559 | wave.Anchored = true | |
| 560 | wave.CanCollide = false | |
| 561 | wave.Material = "Neon" | |
| 562 | wave.Locked = true | |
| 563 | wave.Size = Vector3.new(1, 1, 1) | |
| 564 | wave.TopSurface = "Smooth" | |
| 565 | wave.BottomSurface = "Smooth" | |
| 566 | wave.Transparency = 0.35 | |
| 567 | wave.CFrame = HandCF | |
| 568 | wm = Instance.new("SpecialMesh", wave)
| |
| 569 | wm.MeshId = "rbxassetid://3270017" | |
| 570 | coroutine.wrap(function() | |
| 571 | for i = 1, 14, 1 do | |
| 572 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
| 573 | wave.Size = wm.Scale | |
| 574 | wave.CFrame = HandCF | |
| 575 | wave.Transparency = i/14 | |
| 576 | wait() | |
| 577 | end | |
| 578 | wait() | |
| 579 | wave:Destroy() | |
| 580 | end)() | |
| 581 | end | |
| 582 | ---------------------------------------------------- | |
| 583 | Magik = function() | |
| 584 | Spawn(function() | |
| 585 | local function lerp(a,b,c) | |
| 586 | return a+(b-a)*c | |
| 587 | end | |
| 588 | local function rndRange(rng) | |
| 589 | return math.random(-rng*1000,rng*1000)/1000 | |
| 590 | end | |
| 591 | local magik = Instance.new("Part", larm)
| |
| 592 | local Colors = {"Lime green", "Really black"}
| |
| 593 | magik.Anchored = true | |
| 594 | magik.Locked = true | |
| 595 | magik.Material = "Neon" | |
| 596 | magik.FormFactor = "Custom" | |
| 597 | magik.Size = Vector3.new(1.2, 1.2, 1.2) | |
| 598 | magik.TopSurface = "Smooth" | |
| 599 | magik.BottomSurface = "Smooth" | |
| 600 | magik.Transparency = 0 | |
| 601 | magik.CanCollide = false | |
| 602 | ||
| 603 | if holy == false then | |
| 604 | magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 605 | else | |
| 606 | magik.BrickColor = BrickColor.new("Lime green")
| |
| 607 | end | |
| 608 | ||
| 609 | local mr = math.rad | |
| 610 | local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) | |
| 611 | local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz) | |
| 612 | magik.CFrame = cf | |
| 613 | for i = 0, 1, .05 do | |
| 614 | local newTrans = lerp(0.5, 1, i) | |
| 615 | local ns = lerp(1,1.2,i) | |
| 616 | magik.Transparency = newTrans | |
| 617 | magik.Size = Vector3.new(ns,ns,ns) | |
| 618 | magik.CFrame = cf | |
| 619 | rs:wait() | |
| 620 | end | |
| 621 | magik:Destroy() | |
| 622 | wait() | |
| 623 | end) | |
| 624 | end | |
| 625 | ---------------------------------------------------- | |
| 626 | Magik2 = function() | |
| 627 | Spawn(function() | |
| 628 | if stanceToggle == "Melee" then | |
| 629 | local function lerp(a,b,c) | |
| 630 | return a+(b-a)*c | |
| 631 | end | |
| 632 | local function rndRange(rng) | |
| 633 | return math.random(-rng*1000,rng*1000)/1000 | |
| 634 | end | |
| 635 | local magik2 = Instance.new("Part", rarm)
| |
| 636 | local Colors = {"Lime green", "Really black"}
| |
| 637 | magik2.Anchored = true | |
| 638 | magik2.Locked = true | |
| 639 | magik2.FormFactor = "Custom" | |
| 640 | magik2.Size = Vector3.new(1.2, 1.2, 1.2) | |
| 641 | magik2.TopSurface = "Smooth" | |
| 642 | magik2.BottomSurface = "Smooth" | |
| 643 | magik2.Transparency = 0 | |
| 644 | magik2.Material = "Neon" | |
| 645 | magik2.CanCollide = false | |
| 646 | ||
| 647 | if holy == false then | |
| 648 | magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 649 | else | |
| 650 | magik2.BrickColor = BrickColor.new("Lime green")
| |
| 651 | end | |
| 652 | ||
| 653 | local mr = math.rad | |
| 654 | local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) | |
| 655 | local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz) | |
| 656 | magik2.CFrame = cf | |
| 657 | for i = 0, 1, .05 do | |
| 658 | local newTrans = lerp(0.5, 1, i) | |
| 659 | local ns = lerp(1,1.2,i) | |
| 660 | magik2.Transparency = newTrans | |
| 661 | magik2.Size = Vector3.new(ns,ns,ns) | |
| 662 | magik2.CFrame = cf | |
| 663 | rs:wait() | |
| 664 | end | |
| 665 | magik2:Destroy() | |
| 666 | elseif stanceToggle ~= "Melee" then | |
| 667 | wait() | |
| 668 | end | |
| 669 | end) | |
| 670 | end | |
| 671 | ---------------------------------------------------- | |
| 672 | function lerp(a, b, t) -- Linear interpolation | |
| 673 | return a + (b - a)*t | |
| 674 | end | |
| 675 | ||
| 676 | function slerp(a, b, t) --Spherical interpolation | |
| 677 | dot = a:Dot(b) | |
| 678 | if dot > 0.99999 or dot < -0.99999 then | |
| 679 | return t <= 0.5 and a or b | |
| 680 | else | |
| 681 | r = math.acos(dot) | |
| 682 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 683 | end | |
| 684 | end | |
| 685 | ||
| 686 | function matrixInterpolate(a, b, t) | |
| 687 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 688 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 689 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 690 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 691 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 692 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 693 | local t = v1:Dot(v2) | |
| 694 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 695 | return CFrame.new() | |
| 696 | end | |
| 697 | return CFrame.new( | |
| 698 | v0.x, v0.y, v0.z, | |
| 699 | v1.x, v1.y, v1.z, | |
| 700 | v2.x, v2.y, v2.z, | |
| 701 | v3.x, v3.y, v3.z) | |
| 702 | end | |
| 703 | ---------------------------------------------------- | |
| 704 | function genWeld(a,b) | |
| 705 | local w = Instance.new("Weld",a)
| |
| 706 | w.Part0 = a | |
| 707 | w.Part1 = b | |
| 708 | return w | |
| 709 | end | |
| 710 | function weld(a, b) | |
| 711 | local weld = Instance.new("Weld")
| |
| 712 | weld.Name = "W" | |
| 713 | weld.Part0 = a | |
| 714 | weld.Part1 = b | |
| 715 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 716 | weld.Parent = a | |
| 717 | return weld; | |
| 718 | end | |
| 719 | ---------------------------------------------------- | |
| 720 | function Lerp(c1,c2,al) | |
| 721 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 722 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 723 | for i,v in pairs(com1) do | |
| 724 | com1[i] = v+(com2[i]-v)*al | |
| 725 | end | |
| 726 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 727 | end | |
| 728 | ----------------------------------------------------[[Dissolve function]] | |
| 729 | function Dissolve(ret) | |
| 730 | ||
| 731 | ret.BrickColor = BrickColor.new("Really black")
| |
| 732 | for i = 1, 10 do wait() | |
| 733 | for i,v in pairs(ret:GetChildren()) do | |
| 734 | if v:IsA("Part") or v:IsA("WedgePart") then
| |
| 735 | v.Transparency = v.Transparency + 0.1 | |
| 736 | ||
| 737 | end | |
| 738 | end | |
| 739 | end | |
| 740 | ret:Destroy() | |
| 741 | end | |
| 742 | ||
| 743 | ---------------------------------------------------- | |
| 744 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 745 | local wld = Instance.new("Weld", wp1)
| |
| 746 | wld.Part0 = wp0 | |
| 747 | wld.Part1 = wp1 | |
| 748 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 749 | end | |
| 750 | ---------------------------------------------------- | |
| 751 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 752 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 753 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 754 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 755 | newWeld(torso, hed, 0, 1.5, 0) | |
| 756 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 757 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 758 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 759 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 760 | newWeld(root, torso, 0, -1, 0) | |
| 761 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 762 | ---------------------------------------------------- | |
| 763 | --local SIDz = {"167985102, 163752916"}--181449739, 167161785, 148274436, 167985102, 163752916
| |
| 764 | z = Instance.new("Sound",char) --music
| |
| 765 | z.SoundId = "rbxassetid://0"--..SIDz[math.random(1,#SIDz)] | |
| 766 | z.Looped = true | |
| 767 | z.Volume = 1 | |
| 768 | z.Pitch = .72 | |
| 769 | wait(1) | |
| 770 | z:Play() | |
| 771 | hum.WalkSpeed = 10 | |
| 772 | ||
| 773 | ||
| 774 | ||
| 775 | ||
| 776 | ||
| 777 | --[[partic = Instance.new("ParticleEmitter",hed)
| |
| 778 | partic.Color = ColorSequence.new(Color3.new(15/225,0,225/45),Color3.new(20/255,0,205/255)) | |
| 779 | partic.LightEmission = .95 | |
| 780 | partic.VelocityInheritance = 0 | |
| 781 | partic.Rate = 300 | |
| 782 | partic.Texture = "rbxassetid:// 241650934" --56561915392079955 | |
| 783 | partic.Lifetime = NumberRange.new(0.1,0.2) | |
| 784 | partic.RotSpeed = NumberRange.new(100,100) | |
| 785 | partic.Speed = NumberRange.new(2,6) | |
| 786 | partic.Enabled = true | |
| 787 | partic.LockedToPart = true]] | |
| 788 | ||
| 789 | --Nah | |
| 790 | ||
| 791 | ---------------------------------------------------- | |
| 792 | ||
| 793 | ---------------------------------------------------- | |
| 794 | local m = Instance.new("Model")
| |
| 795 | m.Name = "Genkadda" | |
| 796 | p1 = Instance.new("Part", m)
| |
| 797 | p1.Material = "Metal" | |
| 798 | p1.BrickColor = BrickColor.new("Really black")
| |
| 799 | p1.Name = "BladePart" | |
| 800 | p1.FormFactor = Enum.FormFactor.Symmetric | |
| 801 | p1.Size = Vector3.new(1, 1, 1) | |
| 802 | p1.CFrame = CFrame.new(103.003883, 10.755723, -7.61905956, 5.61699271e-005, -7.1823597e-006, 0.999998987, -0.984785616, -0.173714966, 3.55839729e-005, 0.173720747, -0.984761655, 5.9530139e-006) | |
| 803 | p1.CanCollide = false | |
| 804 | p1.Locked = true | |
| 805 | p1.Elasticity = 0 | |
| 806 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
| 807 | p1.TopSurface = Enum.SurfaceType.Smooth | |
| 808 | b1 = Instance.new("BlockMesh", p1)
| |
| 809 | b1.Name = "Mesh" | |
| 810 | b1.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
| 811 | p2 = Instance.new("Part", m)
| |
| 812 | p2.Material = "Metal" | |
| 813 | p2.BrickColor = BrickColor.new("Really black")
| |
| 814 | p2.FormFactor = Enum.FormFactor.Symmetric | |
| 815 | p2.Size = Vector3.new(1, 1, 1) | |
| 816 | p2.CFrame = CFrame.new(103.00399, 10.7255898, -6.52608919, 0.00135809346, 0.00169118668, -0.999996662, 0.965820193, 0.259168088, 0.0017684648, 0.259154975, -0.965800881, -0.00130418094) | |
| 817 | p2.CanCollide = false | |
| 818 | p2.Locked = true | |
| 819 | p2.Elasticity = 0 | |
| 820 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
| 821 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 822 | b2 = Instance.new("BlockMesh", p2)
| |
| 823 | b2.Name = "Mesh" | |
| 824 | b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927) | |
| 825 | p3 = Instance.new("Part", m)
| |
| 826 | p3.Material = "Metal" | |
| 827 | p3.BrickColor = BrickColor.new("Really black")
| |
| 828 | p3.FormFactor = Enum.FormFactor.Symmetric | |
| 829 | p3.Size = Vector3.new(1, 2, 1) | |
| 830 | p3.CFrame = CFrame.new(103.004028, 11.1456547, -6.819067, 1.43263023e-005, -2.88564479e-006, 0.999998987, -0.882936299, -0.469471544, -7.18829688e-006, 0.469469696, -0.882911503, 1.35099981e-005) | |
| 831 | p3.CanCollide = false | |
| 832 | p3.Locked = true | |
| 833 | p3.Elasticity = 0 | |
| 834 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 835 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 836 | b3 = Instance.new("BlockMesh", p3)
| |
| 837 | b3.Name = "Mesh" | |
| 838 | b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927) | |
| 839 | p4 = Instance.new("Part", m)
| |
| 840 | p4.Material = "Metal" | |
| 841 | p4.BrickColor = BrickColor.new("Really black")
| |
| 842 | p4.Name = "BladePart" | |
| 843 | p4.FormFactor = Enum.FormFactor.Symmetric | |
| 844 | p4.Size = Vector3.new(1, 1, 1) | |
| 845 | p4.CFrame = CFrame.new(103.003372, 10.965373, -6.66876507, 1.57370523e-005, -6.04354591e-006, 0.999996603, -0.965898931, -0.25886938, -7.14969246e-006, 0.258875549, -0.965874314, 1.58735529e-005) | |
| 846 | p4.CanCollide = false | |
| 847 | p4.Locked = true | |
| 848 | p4.Elasticity = 0 | |
| 849 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
| 850 | p4.TopSurface = Enum.SurfaceType.Smooth | |
| 851 | b4 = Instance.new("BlockMesh", p4)
| |
| 852 | b4.Name = "Mesh" | |
| 853 | b4.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
| 854 | p5 = Instance.new("Part", m)
| |
| 855 | p5.Material = "Metal" | |
| 856 | p5.BrickColor = BrickColor.new("Really black")
| |
| 857 | p5.Name = "Hilt" | |
| 858 | p5.FormFactor = Enum.FormFactor.Custom | |
| 859 | p5.Size = Vector3.new(1, 0.400000006, 1.60000014) | |
| 860 | p5.CFrame = CFrame.new(103.003395, 11.0653381, -6.1687479, -0.99999404, 5.54991711e-005, -0.000617815298, -0.000594727404, -0.000124425016, 0.999983907, 2.66434654e-005, 0.999962509, 0.000109782166) | |
| 861 | p5.CanCollide = false | |
| 862 | p5.Locked = true | |
| 863 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
| 864 | p5.TopSurface = Enum.SurfaceType.Smooth | |
| 865 | b5 = Instance.new("BlockMesh", p5)
| |
| 866 | b5.Name = "Mesh" | |
| 867 | b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952) | |
| 868 | p6 = Instance.new("Part", m)
| |
| 869 | p6.Material = "Metal" | |
| 870 | p6.BrickColor = BrickColor.new("Really black")
| |
| 871 | p6.Name = "Handle" | |
| 872 | p6.FormFactor = Enum.FormFactor.Custom | |
| 873 | p6.Size = Vector3.new(1.29999995, 1, 1) | |
| 874 | p6.CFrame = CFrame.new(103.000061, 11.0688219, -5.5480547, -1.23393656e-005, -1.36360759e-005, 0.999994218, 5.37017331e-006, 0.999984086, -9.45257489e-006, -0.999962509, -9.28580994e-006, 1.64470257e-005) | |
| 875 | p6.CanCollide = false | |
| 876 | p6.Locked = true | |
| 877 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
| 878 | p6.TopSurface = Enum.SurfaceType.Smooth | |
| 879 | b6 = Instance.new("SpecialMesh", p6)
| |
| 880 | b6.MeshType = Enum.MeshType.Cylinder | |
| 881 | b6.Name = "Mesh" | |
| 882 | b6.Scale = Vector3.new(1, 0.200000003, 0.200000003) | |
| 883 | p7 = Instance.new("Part", m)
| |
| 884 | p7.Material = "Metal" | |
| 885 | p7.BrickColor = BrickColor.new("Really black")
| |
| 886 | p7.FormFactor = Enum.FormFactor.Symmetric | |
| 887 | p7.Size = Vector3.new(1, 1, 1) | |
| 888 | p7.CFrame = CFrame.new(103.000099, 11.0688391, -4.79808855, -0.000332629686, 0.00429873355, -0.99998492, -4.5920292e-006, 0.999974728, 0.00432178052, 0.999962449, -8.49941443e-006, -0.000361445156) | |
| 889 | p7.CanCollide = false | |
| 890 | p7.Locked = true | |
| 891 | b7 = Instance.new("SpecialMesh", p7)
| |
| 892 | b7.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 893 | b7.TextureId = "" | |
| 894 | b7.MeshType = Enum.MeshType.FileMesh | |
| 895 | b7.Name = "Mesh" | |
| 896 | b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006) | |
| 897 | p8 = Instance.new("Part", m)
| |
| 898 | p8.Material = "Metal" | |
| 899 | p8.BrickColor = BrickColor.new("Really black")
| |
| 900 | p8.Name = "BladePart" | |
| 901 | p8.FormFactor = Enum.FormFactor.Symmetric | |
| 902 | p8.Size = Vector3.new(1, 1, 1) | |
| 903 | p8.CFrame = CFrame.new(103.003326, 10.6254845, -8.59870911, -2.92104669e-005, -1.10579058e-005, 0.999994218, -0.996175766, -0.0871899351, -5.3152442e-005, 0.0872026458, -0.996152997, 2.03179661e-005) | |
| 904 | p8.CanCollide = false | |
| 905 | p8.Locked = true | |
| 906 | p8.Elasticity = 0 | |
| 907 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
| 908 | p8.TopSurface = Enum.SurfaceType.Smooth | |
| 909 | b8 = Instance.new("BlockMesh", p8)
| |
| 910 | b8.Name = "Mesh" | |
| 911 | b8.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
| 912 | p9 = Instance.new("Part", m)
| |
| 913 | p9.Material = "Metal" | |
| 914 | p9.BrickColor = BrickColor.new("Really black")
| |
| 915 | p9.Name = "BladePart" | |
| 916 | p9.FormFactor = Enum.FormFactor.Symmetric | |
| 917 | p9.Size = Vector3.new(1, 1, 1) | |
| 918 | p9.CFrame = CFrame.new(103.003311, 10.625597, -9.51878738, -2.59891603e-005, -1.34348729e-005, 0.999994218, -0.996185422, 0.087079078, -4.78096408e-005, -0.0870626047, -0.996165276, 1.31400229e-005) | |
| 919 | p9.CanCollide = false | |
| 920 | p9.Locked = true | |
| 921 | p9.Elasticity = 0 | |
| 922 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
| 923 | p9.TopSurface = Enum.SurfaceType.Smooth | |
| 924 | b9 = Instance.new("BlockMesh", p9)
| |
| 925 | b9.Name = "Mesh" | |
| 926 | b9.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
| 927 | p10 = Instance.new("Part", m)
| |
| 928 | p10.Material = "Metal" | |
| 929 | p10.BrickColor = BrickColor.new("Really black")
| |
| 930 | p10.Name = "BladeTip" | |
| 931 | p10.FormFactor = Enum.FormFactor.Symmetric | |
| 932 | p10.Size = Vector3.new(1, 1, 2) | |
| 933 | p10.CFrame = CFrame.new(103.00309, 11.1081867, -11.6109829, -0.999994099, -0.000455793255, 4.643387e-005, 0.00045133481, -0.965918779, -0.25878337, 0.000134008093, -0.258763671, 0.965901971) | |
| 934 | p10.CanCollide = false | |
| 935 | p10.Locked = true | |
| 936 | p10.Elasticity = 0 | |
| 937 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
| 938 | p10.TopSurface = Enum.SurfaceType.Smooth | |
| 939 | b10 = Instance.new("SpecialMesh", p10)
| |
| 940 | b10.MeshType = Enum.MeshType.Wedge | |
| 941 | b10.Name = "Mesh" | |
| 942 | b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928) | |
| 943 | p11 = Instance.new("Part", m)
| |
| 944 | p11.Material = "Metal" | |
| 945 | p11.BrickColor = BrickColor.new("Really black")
| |
| 946 | p11.Name = "BladePart" | |
| 947 | p11.FormFactor = Enum.FormFactor.Symmetric | |
| 948 | p11.Size = Vector3.new(1, 1, 1) | |
| 949 | p11.CFrame = CFrame.new(103.003296, 10.7956495, -10.4587727, 2.83485351e-005, -1.54050977e-005, 0.999994218, -0.96592474, 0.258761972, 8.27970416e-006, -0.258742362, -0.965907693, 2.1241216e-005) | |
| 950 | p11.CanCollide = false | |
| 951 | p11.Locked = true | |
| 952 | p11.Elasticity = 0 | |
| 953 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
| 954 | p11.TopSurface = Enum.SurfaceType.Smooth | |
| 955 | b11 = Instance.new("BlockMesh", p11)
| |
| 956 | b11.Name = "Mesh" | |
| 957 | b11.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
| 958 | p12 = Instance.new("Part", m)
| |
| 959 | p12.Material = "Metal" | |
| 960 | p12.BrickColor = BrickColor.new("Really black")
| |
| 961 | p12.Name = "BladeTip2" | |
| 962 | p12.FormFactor = Enum.FormFactor.Custom | |
| 963 | p12.Size = Vector3.new(1, 1, 2.4000001) | |
| 964 | p12.CFrame = CFrame.new(102.999977, 10.6319504, -10.4398403, -0.999994218, -5.5769262e-005, 6.55075928e-005, 4.61044419e-006, 0.882887006, 0.469551951, -0.000112806956, 0.469529003, -0.882874727) | |
| 965 | p12.CanCollide = false | |
| 966 | p12.Locked = true | |
| 967 | p12.Elasticity = 0 | |
| 968 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
| 969 | p12.TopSurface = Enum.SurfaceType.Smooth | |
| 970 | b12 = Instance.new("SpecialMesh", p12)
| |
| 971 | b12.MeshType = Enum.MeshType.Wedge | |
| 972 | b12.Name = "Mesh" | |
| 973 | b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928) | |
| 974 | p13 = Instance.new("Part", m)
| |
| 975 | p13.Material = "Metal" | |
| 976 | p13.BrickColor = BrickColor.new("Medium stone grey")
| |
| 977 | p13.Transparency = 1 | |
| 978 | p13.Name = "HitBox" | |
| 979 | p13.FormFactor = Enum.FormFactor.Custom | |
| 980 | p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999) | |
| 981 | p13.CFrame = CFrame.new(103.009995, 10.9988394, -9.2679081, 1.22519814e-005, -0.999994218, 1.36361559e-005, -5.27501106e-006, 9.45320426e-006, -0.999984264, 0.999962687, -1.65344682e-005, 9.20891762e-006) | |
| 982 | p13.CanCollide = false | |
| 983 | p13.Locked = true | |
| 984 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
| 985 | p13.TopSurface = Enum.SurfaceType.Smooth | |
| 986 | w1 = Instance.new("Weld", p1)
| |
| 987 | w1.Name = "Part_Weld" | |
| 988 | w1.Part0 = p1 | |
| 989 | w1.C0 = CFrame.new(11.9124546, -5.63626003, -103.00383, 4.33940659e-005, -0.984795153, 0.173719674, 1.85460614e-009, -0.173719659, -0.984795094, 1, 4.27345876e-005, -7.53657105e-006) | |
| 990 | w1.Part1 = p2 | |
| 991 | w1.C1 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159) | |
| 992 | w2 = Instance.new("Weld", p2)
| |
| 993 | w2.Name = "Part_Weld" | |
| 994 | w2.Part0 = p2 | |
| 995 | w2.C0 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159) | |
| 996 | w2.Part1 = p3 | |
| 997 | w2.C1 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008) | |
| 998 | w3 = Instance.new("Weld", p3)
| |
| 999 | w3.Name = "BladePart_Weld" | |
| 1000 | w3.Part0 = p3 | |
| 1001 | w3.C0 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008) | |
| 1002 | w3.Part1 = p4 | |
| 1003 | w3.C1 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006) | |
| 1004 | w4 = Instance.new("Weld", p4)
| |
| 1005 | w4.Name = "Hilt_Weld" | |
| 1006 | w4.Part0 = p4 | |
| 1007 | w4.C0 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006) | |
| 1008 | w4.Part1 = p5 | |
| 1009 | w4.C1 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243) | |
| 1010 | w5 = Instance.new("Weld", p5)
| |
| 1011 | w5.Name = "Handle_Weld" | |
| 1012 | w5.Part0 = p5 | |
| 1013 | w5.C0 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243) | |
| 1014 | w5.Part1 = p6 | |
| 1015 | w5.C1 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008) | |
| 1016 | w6 = Instance.new("Weld", p6)
| |
| 1017 | w6.Name = "Part_Weld" | |
| 1018 | w6.Part0 = p6 | |
| 1019 | w6.C0 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008) | |
| 1020 | w6.Part1 = p7 | |
| 1021 | w6.C1 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335) | |
| 1022 | w7 = Instance.new("Weld", p7)
| |
| 1023 | w7.Name = "BladePart_Weld" | |
| 1024 | w7.Part0 = p7 | |
| 1025 | w7.C0 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335) | |
| 1026 | w7.Part1 = p8 | |
| 1027 | w7.C1 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006) | |
| 1028 | w8 = Instance.new("Weld", p8)
| |
| 1029 | w8.Name = "BladePart_Weld" | |
| 1030 | w8.Part0 = p8 | |
| 1031 | w8.C0 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006) | |
| 1032 | w8.Part1 = p9 | |
| 1033 | w8.C1 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006) | |
| 1034 | w9 = Instance.new("Weld", p9)
| |
| 1035 | w9.Name = "BladeTip_Weld" | |
| 1036 | w9.Part0 = p9 | |
| 1037 | w9.C0 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006) | |
| 1038 | w9.Part1 = p10 | |
| 1039 | w9.C1 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647) | |
| 1040 | w10 = Instance.new("Weld", p10)
| |
| 1041 | w10.Name = "BladePart_Weld" | |
| 1042 | w10.Part0 = p10 | |
| 1043 | w10.C0 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647) | |
| 1044 | w10.Part1 = p11 | |
| 1045 | w10.C1 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006) | |
| 1046 | w11 = Instance.new("Weld", p11)
| |
| 1047 | w11.Name = "BladeTip2_Weld" | |
| 1048 | w11.Part0 = p11 | |
| 1049 | w11.C0 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006) | |
| 1050 | w11.Part1 = p12 | |
| 1051 | w11.C1 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397) | |
| 1052 | w12 = Instance.new("Weld", p12)
| |
| 1053 | w12.Name = "HitBox_Weld" | |
| 1054 | w12.Part0 = p12 | |
| 1055 | w12.C0 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397) | |
| 1056 | w12.Part1 = p13 | |
| 1057 | w12.C1 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008) | |
| 1058 | w13 = Instance.new("Weld", p13)
| |
| 1059 | w13.Name = "Weld" | |
| 1060 | w13.Part0 = p13 | |
| 1061 | w13.C0 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008) | |
| 1062 | m.Parent = char | |
| 1063 | m:MakeJoints() | |
| 1064 | ---------------------------------------------------- | |
| 1065 | local cor = Instance.new("Part", char.Genkadda)
| |
| 1066 | cor.Name = "Thingy" | |
| 1067 | cor.Locked = true | |
| 1068 | cor.BottomSurface = 0 | |
| 1069 | cor.CanCollide = false | |
| 1070 | cor.Size = Vector3.new(1, 9, 1) | |
| 1071 | cor.Transparency = 1 | |
| 1072 | cor.TopSurface = 0 | |
| 1073 | corw = Instance.new("Weld", cor)
| |
| 1074 | corw.Part0 = rarm | |
| 1075 | corw.Part1 = cor | |
| 1076 | corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90)) | |
| 1077 | corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1078 | weld1 = Instance.new("Weld", char.Genkadda)
| |
| 1079 | weld1.Part0 = cor | |
| 1080 | weld1.Part1 = p6 | |
| 1081 | weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1082 | ---------------------------------------------------- Gauntlet | |
| 1083 | ||
| 1084 | m=Instance.new('Model',char)
| |
| 1085 | ||
| 1086 | ||
| 1087 | local function weldBetween(a, b) | |
| 1088 | local weldd = Instance.new("ManualWeld")
| |
| 1089 | weldd.Part0 = a | |
| 1090 | weldd.Part1 = b | |
| 1091 | weldd.C0 = CFrame.new() | |
| 1092 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 1093 | weldd.Parent = a | |
| 1094 | return weldd | |
| 1095 | end | |
| 1096 | ||
| 1097 | it=Instance.new | |
| 1098 | ||
| 1099 | function nooutline(part) | |
| 1100 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 1101 | end | |
| 1102 | ||
| 1103 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 1104 | local fp=it("Part")
| |
| 1105 | fp.formFactor=formfactor | |
| 1106 | fp.Parent=parent | |
| 1107 | fp.Reflectance=reflectance | |
| 1108 | fp.Transparency=transparency | |
| 1109 | fp.CanCollide=false | |
| 1110 | fp.Locked=true | |
| 1111 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 1112 | fp.Name=name | |
| 1113 | fp.Size=size | |
| 1114 | fp.Position=char.Torso.Position | |
| 1115 | nooutline(fp) | |
| 1116 | fp.Material=material | |
| 1117 | fp:BreakJoints() | |
| 1118 | return fp | |
| 1119 | end | |
| 1120 | ||
| 1121 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1122 | local mesh=it(Mesh) | |
| 1123 | mesh.Parent=part | |
| 1124 | if Mesh=="SpecialMesh" then | |
| 1125 | mesh.MeshType=meshtype | |
| 1126 | mesh.MeshId=meshid | |
| 1127 | end | |
| 1128 | mesh.Offset=offset | |
| 1129 | mesh.Scale=scale | |
| 1130 | return mesh | |
| 1131 | end | |
| 1132 | ||
| 1133 | function weld(parent,part0,part1,c0,c1) | |
| 1134 | local weld=it("Weld")
| |
| 1135 | weld.Parent=parent | |
| 1136 | weld.Part0=part0 | |
| 1137 | weld.Part1=part1 | |
| 1138 | weld.C0=c0 | |
| 1139 | weld.C1=c1 | |
| 1140 | return weld | |
| 1141 | end | |
| 1142 | ||
| 1143 | MN=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","Handle",Vector3.new(1.09732866, 2.19465828, 1.09732854)) | |
| 1144 | MNweld=weld(m,char["Right Arm"],MN,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0323486328, -0.0509860516, -0.00120401382, -0.00500982394, 0.00520668458, 0.999973893, -0.00739898486, 0.999958873, -0.00524367485, -0.999960065, -0.00742506143, -0.0049710935)) | |
| 1145 | TR7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR7",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
| 1146 | TR7weld=weld(m,MN,TR7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393)) | |
| 1147 | mesh("SpecialMesh",TR7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
| |
| 1148 | MD9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD9",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
| 1149 | MD9weld=weld(m,MN,MD9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.741846681, 0.199262142, 1.00000405, -6.92205504e-06, 0.000154254027, 4.65649646e-05, 0.965939224, -0.25876984, -0.000147186685, 0.258768767, 0.965943158)) | |
| 1150 | mesh("SpecialMesh",MD9,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
| |
| 1151 | MD1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD1",Vector3.new(0.237408489, 0.259352177, 0.518704116)) | |
| 1152 | MD1weld=weld(m,MN,MD1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.402763367, -0.974855185, 0.682875633, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079)) | |
| 1153 | mesh("SpecialMesh",MD1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
| |
| 1154 | MD10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD10",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
| 1155 | MD10weld=weld(m,MN,MD10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
| 1156 | mesh("SpecialMesh",MD10,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
| |
| 1157 | MD11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD11",Vector3.new(0.266768694, 1.09732914, 0.658397138)) | |
| 1158 | MD11weld=weld(m,MN,MD11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.493839264, -0.274354219, 4.24385071e-05, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
| 1159 | mesh("SpecialMesh",MD11,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
| |
| 1160 | MD12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD12",Vector3.new(0.266768694, 1.09732914, 0.658397138)) | |
| 1161 | MD12weld=weld(m,MN,MD12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.493812561, -0.274300575, -0.000376224518, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
| 1162 | mesh("SpecialMesh",MD12,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
| |
| 1163 | MD13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD13",Vector3.new(1.09732866, 0.822996795, 1.09732854)) | |
| 1164 | MD13weld=weld(m,MN,MD13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.68582201, 0.000464439392, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
| 1165 | mesh("SpecialMesh",MD13,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
| |
| 1166 | MD14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD14",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
| 1167 | MD14weld=weld(m,MN,MD14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.603547096, 0.000416755676, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
| 1168 | mesh("SpecialMesh",MD14,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
| |
| 1169 | MD15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD15",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
| 1170 | MD15weld=weld(m,MN,MD15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-05, 0.137180567, -4.529953e-05, -1.0000037, -0.000862163957, 0.000179466791, -0.000862103421, 0.999999523, 0.000520790287, -0.000179945491, 0.000520619913, -1.00000381)) | |
| 1171 | mesh("SpecialMesh",MD15,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
| |
| 1172 | MD16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD16",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
| 1173 | MD16weld=weld(m,MN,MD16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.86645508e-05, 0.932742357, 0.000658988953, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
| 1174 | mesh("SpecialMesh",MD16,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
| |
| 1175 | MD19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD19",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
| 1176 | MD19weld=weld(m,MN,MD19,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393)) | |
| 1177 | mesh("SpecialMesh",MD19,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
| |
| 1178 | MD18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD18",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
| 1179 | MD18weld=weld(m,MN,MD18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
| 1180 | mesh("SpecialMesh",MD18,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
| |
| 1181 | MD2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD2",Vector3.new(0.2574085, 0.259352177, 0.518704116)) | |
| 1182 | MD2weld=weld(m,MN,MD2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.392555237, -0.573539257, 1.09872949, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516)) | |
| 1183 | mesh("SpecialMesh",MD2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
| |
| 1184 | MD3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD3",Vector3.new(0.247408509, 0.259352177, 0.518704116)) | |
| 1185 | MD3weld=weld(m,MN,MD3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.397964478, -0.817667723, 0.487944126, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668)) | |
| 1186 | mesh("SpecialMesh",MD3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
| |
| 1187 | MD4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD4",Vector3.new(0.247408509, 0.259352177, 0.518704116)) | |
| 1188 | MD4weld=weld(m,MN,MD4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.422103882, -0.82026124, 0.507567406, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668)) | |
| 1189 | mesh("SpecialMesh",MD4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
| |
| 1190 | MD5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD5",Vector3.new(0.2574085, 0.259352177, 0.518704116)) | |
| 1191 | MD5weld=weld(m,MN,MD5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.427509308, -0.557831764, 1.11046171, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516)) | |
| 1192 | mesh("SpecialMesh",MD5,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
| |
| 1193 | MD6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD6",Vector3.new(0.237408489, 0.259352177, 0.518704116)) | |
| 1194 | MD6weld=weld(m,MN,MD6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.417263031, -0.972257376, 0.702233315, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079)) | |
| 1195 | mesh("SpecialMesh",MD6,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
| |
| 1196 | MD7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD7",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
| 1197 | MD7weld=weld(m,MN,MD7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393)) | |
| 1198 | mesh("SpecialMesh",MD7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
| |
| 1199 | MD8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD8",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
| 1200 | MD8weld=weld(m,MN,MD8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
| 1201 | mesh("SpecialMesh",MD8,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
| |
| 1202 | TR1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR1",Vector3.new(0.266768694, 0.54866457, 0.548664272)) | |
| 1203 | TR1weld=weld(m,MN,TR1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548826218, 0.30154109, 4.57763672e-05, -0.000205519143, -0.0001726388, -1, -4.31765802e-05, 1, -0.00017263052, 1, 4.314119e-05, -0.000205526594)) | |
| 1204 | mesh("SpecialMesh",TR1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.700000048, 0.700000048))
| |
| 1205 | TR2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR2",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
| 1206 | TR2weld=weld(m,MN,TR2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, 0.741921067, 0.198978901, 1.00000405, -2.92747281e-05, -1.7457176e-05, 2.37242784e-05, 0.965939343, -0.258769363, 2.44602561e-05, 0.25876832, 0.965943277)) | |
| 1207 | mesh("SpecialMesh",TR2,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997))
| |
| 1208 | TR3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR3",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
| 1209 | TR3weld=weld(m,MN,TR3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-05, 0.603546381, 0.000186920166, 1.00000787, -8.63452442e-05, -2.6775524e-07, 8.62879679e-05, 1, -2.05411197e-07, 2.68686563e-07, 2.3024586e-07, 1.00000775)) | |
| 1210 | mesh("SpecialMesh",TR3,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994))
| |
| 1211 | TR4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR4",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
| 1212 | TR4weld=weld(m,MN,TR4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000106811523, 0.93274045, 0.000304222107, 1.00000787, -8.63452442e-05, -2.6775524e-07, 8.62879679e-05, 1, -2.05411197e-07, 2.68686563e-07, 2.3024586e-07, 1.00000775)) | |
| 1213 | mesh("SpecialMesh",TR4,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994))
| |
| 1214 | TR5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR5",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
| 1215 | TR5weld=weld(m,MN,TR5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
| 1216 | mesh("SpecialMesh",TR5,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
| |
| 1217 | TR6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR6",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
| 1218 | TR6weld=weld(m,MN,TR6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
| 1219 | mesh("SpecialMesh",TR6,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997))
| |
| 1220 | MD21=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","MD21",Vector3.new(0.266768694, 0.54866457, 0.548664272)) | |
| 1221 | MD21weld=weld(m,MN,MD21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548921585, 0.301375628, 0.000118255615, -0.000262488145, -9.39509191e-05, -1.00000393, -0.000154611655, 1, -9.38984886e-05, 1.00000393, 0.000154557638, -0.000262471847)) | |
| 1222 | mesh("SpecialMesh",MD21,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.411340952, 0.900000036, 0.900000036))
| |
| 1223 | ||
| 1224 | --[[TG1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lime green","Handle",Vector3.new(0.231713057, 0.953130603, 0.953130603)) | |
| 1225 | TG1weld=weld(m,char["HumanoidRootPart"],TG1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.042350769, 2.25753069, -2.74072218, -0.0144443018, -0.00148237997, 0.999894559, 0.138804898, -0.99031961, 0.000536966661, 0.990214407, 0.138798028, 0.0145102367)) | |
| 1226 | mesh("SpecialMesh",TG1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.5, 0.5))]]
| |
| 1227 | ||
| 1228 | ||
| 1229 | local edit = function(name,mat,col) | |
| 1230 | name.Material = mat | |
| 1231 | name.BrickColor = BrickColor.new(col) | |
| 1232 | end | |
| 1233 | ||
| 1234 | local dark = function() | |
| 1235 | edit(TR1,"Neon","Lime green") | |
| 1236 | edit(TR2,"Neon","Lime green") | |
| 1237 | edit(TR3,"Neon","Lime green") | |
| 1238 | edit(TR4,"Neon","Lime green") | |
| 1239 | edit(TR5,"Neon","Lime green") | |
| 1240 | edit(TR6,"Neon","Lime green") | |
| 1241 | edit(TR7,"Neon","Lime green") | |
| 1242 | edit(MN,"Neon","Lime green") | |
| 1243 | -- | |
| 1244 | ||
| 1245 | ||
| 1246 | end | |
| 1247 | local light = function() | |
| 1248 | edit(TR1,"Neon","Lime green") | |
| 1249 | edit(TR2,"Neon","Lime green") | |
| 1250 | edit(TR3,"Neon","Lime green") | |
| 1251 | edit(TR4,"Neon","Lime green") | |
| 1252 | edit(TR5,"Neon","Lime green") | |
| 1253 | edit(TR6,"Neon","Lime green") | |
| 1254 | edit(TR7,"Neon","Lime green") | |
| 1255 | edit(MN,"Neon","Lime green") | |
| 1256 | -- | |
| 1257 | ||
| 1258 | end | |
| 1259 | ||
| 1260 | ||
| 1261 | dark() | |
| 1262 | ||
| 1263 | --Messy | |
| 1264 | ||
| 1265 | ---------------------------------------------------- | |
| 1266 | function Vanish() | |
| 1267 | for i = 1, 10 do wait() | |
| 1268 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
| 1269 | if v:IsA("Part") or v:IsA("WedgePart") then
| |
| 1270 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
| 1271 | v.Transparency = v.Transparency + 0.1 | |
| 1272 | end | |
| 1273 | end | |
| 1274 | end | |
| 1275 | end | |
| 1276 | end | |
| 1277 | ---------------------------------------------------- | |
| 1278 | function Appear() | |
| 1279 | for i = 1, 10 do wait() | |
| 1280 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
| 1281 | if v:IsA("Part") or v:IsA("WedgePart") then
| |
| 1282 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
| 1283 | v.Transparency = v.Transparency - 0.1 | |
| 1284 | end | |
| 1285 | end | |
| 1286 | end | |
| 1287 | end | |
| 1288 | end | |
| 1289 | ---------------------------------------------------- | |
| 1290 | local player = game.Players.LocalPlayer | |
| 1291 | local pchar = player.Character | |
| 1292 | local mouse = player:GetMouse() | |
| 1293 | local cam = workspace.CurrentCamera | |
| 1294 | ||
| 1295 | local rad = math.rad | |
| 1296 | ||
| 1297 | local keysDown = {}
| |
| 1298 | local flySpeed = 0 | |
| 1299 | local MAX_FLY_SPEED = 150 | |
| 1300 | ||
| 1301 | local canFly = false | |
| 1302 | local flyToggled = false | |
| 1303 | ||
| 1304 | local forward, side = 0, 0 | |
| 1305 | local lastForward, lastSide = 0, 0 | |
| 1306 | ||
| 1307 | local floatBP = Instance.new("BodyPosition")
| |
| 1308 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
| 1309 | local flyBV = Instance.new("BodyVelocity")
| |
| 1310 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 1311 | local turnBG = Instance.new("BodyGyro")
| |
| 1312 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 1313 | ||
| 1314 | mouse.KeyDown:connect(function(key) | |
| 1315 | keysDown[key] = true | |
| 1316 | ||
| 1317 | if key == "f" then | |
| 1318 | flyToggled = not flyToggled | |
| 1319 | ||
| 1320 | if not flyToggled then | |
| 1321 | stanceToggle = "Normal" | |
| 1322 | floatBP.Parent = nil | |
| 1323 | flyBV.Parent = nil | |
| 1324 | turnBG.Parent = nil | |
| 1325 | root.Velocity = Vector3.new() | |
| 1326 | pchar.Humanoid.PlatformStand = false | |
| 1327 | end | |
| 1328 | end | |
| 1329 | ||
| 1330 | end) | |
| 1331 | mouse.KeyUp:connect(function(key) | |
| 1332 | keysDown[key] = nil | |
| 1333 | end) | |
| 1334 | ||
| 1335 | local function updateFly() | |
| 1336 | ||
| 1337 | if not flyToggled then return end | |
| 1338 | ||
| 1339 | lastForward = forward | |
| 1340 | lastSide = side | |
| 1341 | ||
| 1342 | forward = 0 | |
| 1343 | side = 0 | |
| 1344 | ||
| 1345 | if keysDown.w then | |
| 1346 | forward = forward + 1 | |
| 1347 | end | |
| 1348 | if keysDown.s then | |
| 1349 | forward = forward - 1 | |
| 1350 | end | |
| 1351 | if keysDown.a then | |
| 1352 | side = side - 1 | |
| 1353 | end | |
| 1354 | if keysDown.d then | |
| 1355 | side = side + 1 | |
| 1356 | end | |
| 1357 | ||
| 1358 | ||
| 1359 | canFly = (forward ~= 0 or side ~= 0) | |
| 1360 | ||
| 1361 | if canFly then | |
| 1362 | stanceToggle = "Floating" | |
| 1363 | turnBG.Parent = root | |
| 1364 | floatBP.Parent = nil | |
| 1365 | flyBV.Parent = root | |
| 1366 | ||
| 1367 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
| 1368 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
| 1369 | else | |
| 1370 | floatBP.position = root.Position | |
| 1371 | floatBP.Parent = root | |
| 1372 | ||
| 1373 | flySpeed = flySpeed - 1 | |
| 1374 | if flySpeed < 0 then flySpeed = 0 end | |
| 1375 | end | |
| 1376 | ||
| 1377 | local camCF = cam.CoordinateFrame | |
| 1378 | local in_forward = canFly and forward or lastForward | |
| 1379 | local in_side = canFly and side or lastSide | |
| 1380 | ||
| 1381 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
| 1382 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
| 1383 | ||
| 1384 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
| 1385 | 0) | |
| 1386 | end | |
| 1387 | ||
| 1388 | game:service'RunService'.RenderStepped:connect(function() | |
| 1389 | if flyToggled then | |
| 1390 | pchar.Humanoid.PlatformStand = true | |
| 1391 | end | |
| 1392 | updateFly() | |
| 1393 | end) | |
| 1394 | ---------------------------------------------------- | |
| 1395 | p13.Touched:connect(function(ht) | |
| 1396 | hit = ht.Parent | |
| 1397 | if ht and hit:IsA("Model") then
| |
| 1398 | if hit:FindFirstChild("Humanoid") then
| |
| 1399 | if hit.Name ~= p.Name then | |
| 1400 | if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 1401 | Debounces.Slashed = true | |
| 1402 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(20,25))
| |
| 1403 | wait(.3) | |
| 1404 | Debounces.Slashed = false | |
| 1405 | end | |
| 1406 | end | |
| 1407 | end | |
| 1408 | elseif ht and hit:IsA("Hat") then
| |
| 1409 | if hit.Parent.Name ~= p.Name then | |
| 1410 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1411 | if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 1412 | Debounces.Slashed = true | |
| 1413 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(20,25))
| |
| 1414 | wait(.3) | |
| 1415 | Debounces.Slashed = false | |
| 1416 | end | |
| 1417 | end | |
| 1418 | end | |
| 1419 | end | |
| 1420 | end) | |
| 1421 | ---------------------------------------------------- | |
| 1422 | local ptz = {0.7, 0.8, 0.9, 1}
| |
| 1423 | ptz2 = {1.5, 1.6, 1.7, 1.8, 1.9, 2}
| |
| 1424 | idz = {"161006212", "161006195"}
| |
| 1425 | mouse.KeyDown:connect(function(key) | |
| 1426 | if key == "q" then | |
| 1427 | if Debounces.CanAttack == true then | |
| 1428 | Debounces.CanAttack = false | |
| 1429 | Debounces.NoIdl = true | |
| 1430 | Debounces.on = true | |
| 1431 | ||
| 1432 | if holy == true then | |
| 1433 | for i = 1, 8 do | |
| 1434 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (60),math.rad(70),math.rad(70)), 0.2) | |
| 1435 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad (-40)), 0.2) | |
| 1436 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)), 0.2) | |
| 1437 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2) | |
| 1438 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2) | |
| 1439 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2) | |
| 1440 | if Debounces.on == false then break end | |
| 1441 | rs:wait(2) | |
| 1442 | end | |
| 1443 | else | |
| 1444 | for i = 1, 20 do | |
| 1445 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (60),math.rad(70),math.rad(70)), 0.2) | |
| 1446 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad (-40)), 0.2) | |
| 1447 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)), 0.2) | |
| 1448 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2) | |
| 1449 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2) | |
| 1450 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2) | |
| 1451 | if Debounces.on == false then break end | |
| 1452 | rs:wait(2) | |
| 1453 | end | |
| 1454 | end | |
| 1455 | ||
| 1456 | z = Instance.new("Sound", hed)
| |
| 1457 | z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
| 1458 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1459 | z.Volume = 1 | |
| 1460 | wait(.01) | |
| 1461 | z:Play() | |
| 1462 | ||
| 1463 | if holy == true then | |
| 1464 | --so("http://roblox.com/asset/?id=231917788",hed,1,1.7)
| |
| 1465 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)])
| |
| 1466 | else | |
| 1467 | so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)])
| |
| 1468 | end | |
| 1469 | ||
| 1470 | Debounces.Slashing = true | |
| 1471 | ||
| 1472 | if holy == true then | |
| 1473 | ||
| 1474 | for i = 1, 5 do | |
| 1475 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3) | |
| 1476 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3) | |
| 1477 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3) | |
| 1478 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3) | |
| 1479 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3) | |
| 1480 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3) | |
| 1481 | if Debounces.on == false then break end | |
| 1482 | rs:wait(2) | |
| 1483 | end | |
| 1484 | ||
| 1485 | else | |
| 1486 | ||
| 1487 | for i = 1, 20 do | |
| 1488 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3) | |
| 1489 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3) | |
| 1490 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3) | |
| 1491 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3) | |
| 1492 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3) | |
| 1493 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3) | |
| 1494 | if Debounces.on == false then break end | |
| 1495 | rs:wait(2) | |
| 1496 | end | |
| 1497 | ||
| 1498 | end | |
| 1499 | z1 = Instance.new("Sound", hed)
| |
| 1500 | z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
| 1501 | z1.Pitch = ptz[math.random(1,#ptz)] | |
| 1502 | z1.Volume = 1 | |
| 1503 | wait(.01) | |
| 1504 | z1:Play() | |
| 1505 | ||
| 1506 | if holy == true then | |
| 1507 | --so("http://roblox.com/asset/?id=231917788",hed,1,1.7)
| |
| 1508 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)])
| |
| 1509 | else | |
| 1510 | so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)])
| |
| 1511 | end | |
| 1512 | ||
| 1513 | ||
| 1514 | ||
| 1515 | ||
| 1516 | Debounces.Slashing = true | |
| 1517 | for i = 1, 26 do | |
| 1518 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (90),math.rad(-40),math.rad(80)), 0.35) | |
| 1519 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (- 70)), 0.35) | |
| 1520 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)), 0.35) | |
| 1521 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.35) | |
| 1522 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35) | |
| 1523 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35) | |
| 1524 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(0), math.rad(-30), math.rad(0)), 0.35) | |
| 1525 | if Debounces.on == false then break end | |
| 1526 | rs:wait(2) | |
| 1527 | end | |
| 1528 | ||
| 1529 | Debounces.Slashing = false | |
| 1530 | z:Destroy() | |
| 1531 | z1:Destroy() | |
| 1532 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
| 1533 | if Debounces.CanAttack == false then | |
| 1534 | Debounces.CanAttack = true | |
| 1535 | Debounces.NoIdl = false | |
| 1536 | Debounces.on = false | |
| 1537 | end | |
| 1538 | end | |
| 1539 | end | |
| 1540 | end) | |
| 1541 | ------------------------------- | |
| 1542 | pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4}
| |
| 1543 | mouse.KeyDown:connect(function(key) | |
| 1544 | if key == "e" then | |
| 1545 | if Debounces.CanAttack == true then | |
| 1546 | Debounces.CanAttack = false | |
| 1547 | Debounces.NoIdl = true | |
| 1548 | Debounces.on = true | |
| 1549 | Debounces.ks = true | |
| 1550 | larm.Touched:connect(function(ht) | |
| 1551 | hit = ht.Parent | |
| 1552 | if ht and hit:IsA("Model") then
| |
| 1553 | if hit:FindFirstChild("Humanoid") then
| |
| 1554 | if hit.Name ~= p.Name then | |
| 1555 | if Debounces.Slapping == true and Debounces.Slapped == false then | |
| 1556 | Debounces.Slapped = true | |
| 1557 | if Debounces.ks==true then | |
| 1558 | z = Instance.new("Sound",hed)
| |
| 1559 | z.SoundId = "rbxassetid://169380525" | |
| 1560 | z.Volume = 1 | |
| 1561 | z:Play() | |
| 1562 | z1 = Instance.new("Sound",char)
| |
| 1563 | z1.SoundId = "rbxassetid://261010715" | |
| 1564 | z1.Pitch = pts[math.random(1,#pts)] | |
| 1565 | z1.Volume = 1 | |
| 1566 | z2 = Instance.new("Sound",char)
| |
| 1567 | z2.SoundId = "rbxassetid://261010715" | |
| 1568 | z2.Pitch = z1.Pitch | |
| 1569 | z2.Volume = 1 | |
| 1570 | z3 = Instance.new("Sound",char)
| |
| 1571 | z3.SoundId = "rbxassetid://261010715" | |
| 1572 | z3.Pitch = z1.Pitch | |
| 1573 | z3.Volume = 1 | |
| 1574 | z1:Play() | |
| 1575 | z2:Play() | |
| 1576 | z3:Play() | |
| 1577 | Debounces.ks=false | |
| 1578 | end | |
| 1579 | hit:FindFirstChild("Humanoid"):TakeDamage(10)
| |
| 1580 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90
| |
| 1581 | wait(.5) | |
| 1582 | Debounces.Slapped = false | |
| 1583 | z:Destroy() | |
| 1584 | z1:Destroy() | |
| 1585 | z2:Destroy() | |
| 1586 | z3:Destroy() | |
| 1587 | end | |
| 1588 | end | |
| 1589 | end | |
| 1590 | elseif ht and hit:IsA("Hat") then
| |
| 1591 | if hit.Parent.Name ~= p.Name then | |
| 1592 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1593 | if Debounces.Slapping == true and Debounces.Slapped == false then | |
| 1594 | Debounces.Slapped = true | |
| 1595 | if Debounces.ks==true then | |
| 1596 | z = Instance.new("Sound",hed)
| |
| 1597 | z.SoundId = "rbxassetid://169380525" | |
| 1598 | z.Volume = 1 | |
| 1599 | z:Play() | |
| 1600 | z1 = Instance.new("Sound",char)
| |
| 1601 | z1.SoundId = "rbxassetid://261010715" | |
| 1602 | z1.Pitch = pts[math.random(1,#pts)] | |
| 1603 | z1.Volume = 1 | |
| 1604 | z2 = Instance.new("Sound",char)
| |
| 1605 | z2.SoundId = "rbxassetid://261010715" | |
| 1606 | z2.Pitch = z1.Pitch | |
| 1607 | z2.Volume = 1 | |
| 1608 | z3 = Instance.new("Sound",char)
| |
| 1609 | z3.SoundId = "rbxassetid://261010715" | |
| 1610 | z3.Pitch = z1.Pitch | |
| 1611 | z3.Volume = 1 | |
| 1612 | z1:Play() | |
| 1613 | z2:Play() | |
| 1614 | z3:Play() | |
| 1615 | Debounces.ks=false | |
| 1616 | end | |
| 1617 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
| |
| 1618 | wait(.5) | |
| 1619 | Debounces.Slapped = false | |
| 1620 | z:Destroy() | |
| 1621 | z1:Destroy() | |
| 1622 | z2:Destroy() | |
| 1623 | z3:Destroy() | |
| 1624 | end | |
| 1625 | end | |
| 1626 | end | |
| 1627 | end | |
| 1628 | end) | |
| 1629 | for i = 1, 14 do | |
| 1630 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.5, -.3) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.5) | |
| 1631 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.5) | |
| 1632 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5) | |
| 1633 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.5) | |
| 1634 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5) | |
| 1635 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5) | |
| 1636 | if Debounces.on==false then break end | |
| 1637 | rs:wait(2) | |
| 1638 | end | |
| 1639 | Debounces.Slapping = true | |
| 1640 | for i = 1, 20 do | |
| 1641 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.7, .3) * CFrame.Angles(math.rad(50), 0, math.rad(-110)), 0.6) | |
| 1642 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.6) | |
| 1643 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.6) | |
| 1644 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.6) | |
| 1645 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
| 1646 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
| 1647 | if Debounces.on==false then break end | |
| 1648 | rs:wait(2) | |
| 1649 | end | |
| 1650 | Debounces.Slapping = false | |
| 1651 | if Debounces.CanAttack == false then | |
| 1652 | Debounces.CanAttack = true | |
| 1653 | Debounces.NoIdl = false | |
| 1654 | Debounces.on = false | |
| 1655 | end | |
| 1656 | end | |
| 1657 | end | |
| 1658 | end) | |
| 1659 | ------------------------------- | |
| 1660 | ptz2 = {1.5, 1.6, 1.7, 1.8, 1.9, 2}
| |
| 1661 | mouse.KeyDown:connect(function(key) | |
| 1662 | if key == "r" then | |
| 1663 | if Debounces.CanAttack == true then | |
| 1664 | Debounces.CanAttack = false | |
| 1665 | Debounces.NoIdl = true | |
| 1666 | Debounces.on = true | |
| 1667 | if holy ~= true then | |
| 1668 | for i = 1, 20 do | |
| 1669 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3) | |
| 1670 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3) | |
| 1671 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3) | |
| 1672 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3) | |
| 1673 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
| 1674 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
| 1675 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35) | |
| 1676 | if Debounces.on==false then break end | |
| 1677 | rs:wait(2) | |
| 1678 | end | |
| 1679 | else | |
| 1680 | for i = 1, 10 do | |
| 1681 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3) | |
| 1682 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3) | |
| 1683 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3) | |
| 1684 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3) | |
| 1685 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
| 1686 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
| 1687 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35) | |
| 1688 | if Debounces.on==false then break end | |
| 1689 | rs:wait(2) | |
| 1690 | end | |
| 1691 | end | |
| 1692 | Debounces.Slashing = true | |
| 1693 | ||
| 1694 | ||
| 1695 | ||
| 1696 | z = Instance.new("Sound",hed)
| |
| 1697 | z.SoundId = "rbxassetid://206083107" | |
| 1698 | z.Pitch = .75 | |
| 1699 | z.Volume = .65 | |
| 1700 | wait(0.1) | |
| 1701 | z:Play() | |
| 1702 | z1 = Instance.new("Sound", hed)
| |
| 1703 | z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
| 1704 | z1.Pitch = ptz[math.random(1,#ptz)] | |
| 1705 | z1.Volume = 1 | |
| 1706 | wait(.01) | |
| 1707 | z1:Play() | |
| 1708 | ||
| 1709 | if holy == true then | |
| 1710 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)])
| |
| 1711 | else | |
| 1712 | so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)])
| |
| 1713 | end | |
| 1714 | ||
| 1715 | if holy ~= true then | |
| 1716 | for i = 1, 20 do | |
| 1717 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3) | |
| 1718 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3) | |
| 1719 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
| 1720 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
| 1721 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
| 1722 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3) | |
| 1723 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(-20), math.rad(20)), 0.35) | |
| 1724 | if Debounces.on==false then break end | |
| 1725 | rs:wait(2) | |
| 1726 | end | |
| 1727 | else | |
| 1728 | for i = 1, 10 do | |
| 1729 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3) | |
| 1730 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3) | |
| 1731 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
| 1732 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
| 1733 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
| 1734 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3) | |
| 1735 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(-20), math.rad(20)), 0.35) | |
| 1736 | if Debounces.on==false then break end | |
| 1737 | rs:wait(2) | |
| 1738 | end | |
| 1739 | end | |
| 1740 | Debounces.Slashing = false | |
| 1741 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
| 1742 | if Debounces.CanAttack == false then | |
| 1743 | Debounces.CanAttack = true | |
| 1744 | Debounces.NoIdl = false | |
| 1745 | Debounces.on = false | |
| 1746 | end | |
| 1747 | end | |
| 1748 | end | |
| 1749 | end) | |
| 1750 | ------------------------------- | |
| 1751 | mouse.KeyDown:connect(function(key) | |
| 1752 | if key == "t" then | |
| 1753 | if Debounces.CanAttack == true then | |
| 1754 | Debounces.CanAttack = false | |
| 1755 | Debounces.on = true | |
| 1756 | Debounces.NoIdl = true | |
| 1757 | for i = 1,20 do | |
| 1758 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(0)), 0.2) | |
| 1759 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(0)), 0.2) | |
| 1760 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.2) | |
| 1761 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, .4) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.2) | |
| 1762 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2) | |
| 1763 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2) | |
| 1764 | if Debounces.on==false then break end | |
| 1765 | rs:wait(2) | |
| 1766 | end | |
| 1767 | for i = 1,20 do | |
| 1768 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.2) | |
| 1769 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.2) | |
| 1770 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(0),0), 0.2) | |
| 1771 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -.4) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.2) | |
| 1772 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.2) | |
| 1773 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.2) | |
| 1774 | if Debounces.on==false then break end | |
| 1775 | rs:wait(2) | |
| 1776 | end | |
| 1777 | if Debounces.CanAttack == false then | |
| 1778 | Debounces.CanAttack = true | |
| 1779 | Debounces.on = false | |
| 1780 | Debounces.NoIdl = false | |
| 1781 | end | |
| 1782 | end | |
| 1783 | end | |
| 1784 | end) | |
| 1785 | ------------------------------- | |
| 1786 | local ptz3 = {0.5, 0.6, 0.7}
| |
| 1787 | mouse.KeyDown:connect(function(key) | |
| 1788 | if key == "g" then | |
| 1789 | if Debounces.CanAttack == true then | |
| 1790 | Debounces.CanAttack = false | |
| 1791 | Debounces.NoIdl = true | |
| 1792 | Debounces.on = true | |
| 1793 | Debounces.Slashing = true | |
| 1794 | ||
| 1795 | z = Instance.new("Sound", hed)
| |
| 1796 | z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
| 1797 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1798 | z.Volume = 1 | |
| 1799 | ||
| 1800 | ||
| 1801 | if holy == true then | |
| 1802 | eColors = {"Lime green"}
| |
| 1803 | ||
| 1804 | ||
| 1805 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
| 1806 | if v:IsA("Part") or v:IsA("WedgePart") then
| |
| 1807 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
| 1808 | v.BrickColor = BrickColor.new("Lime green")
| |
| 1809 | v.Material = "Neon" | |
| 1810 | end | |
| 1811 | end | |
| 1812 | end | |
| 1813 | ||
| 1814 | ||
| 1815 | char.Humanoid.WalkSpeed = 50 | |
| 1816 | ||
| 1817 | GroundWave() | |
| 1818 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz3[math.random(1,#ptz3)])
| |
| 1819 | so("http://www.roblox.com/asset/?id=241816017",hed,1,0.5)
| |
| 1820 | so("http://www.roblox.com/asset/?id=241816017",hed,1,1)
| |
| 1821 | ||
| 1822 | ||
| 1823 | else | |
| 1824 | so("http://roblox.com/asset/?id=200633029",hed,1,0.9)
| |
| 1825 | end | |
| 1826 | ||
| 1827 | ||
| 1828 | for i = 1, 8 do | |
| 1829 | z:play() | |
| 1830 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-90)), 0.8) | |
| 1831 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(90)), 0.8) | |
| 1832 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8) | |
| 1833 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(0, 0, 0), 0.8) | |
| 1834 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8) | |
| 1835 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8) | |
| 1836 | if Debounces.on==false then break end | |
| 1837 | rs:wait(2) | |
| 1838 | end | |
| 1839 | for i = 1, 2880, 48 do | |
| 1840 | torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0)) | |
| 1841 | rs:wait(4) | |
| 1842 | end | |
| 1843 | ||
| 1844 | ||
| 1845 | ||
| 1846 | ||
| 1847 | ||
| 1848 | ||
| 1849 | ||
| 1850 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 1851 | Debounces.Slashing = false | |
| 1852 | ||
| 1853 | if Debounces.CanAttack == false then | |
| 1854 | Debounces.CanAttack = true | |
| 1855 | Debounces.NoIdl = false | |
| 1856 | Debounces.on = false | |
| 1857 | ||
| 1858 | ||
| 1859 | ||
| 1860 | ||
| 1861 | char.Humanoid.WalkSpeed = 10 | |
| 1862 | ||
| 1863 | ||
| 1864 | end | |
| 1865 | ||
| 1866 | ||
| 1867 | ||
| 1868 | end | |
| 1869 | ||
| 1870 | ||
| 1871 | ||
| 1872 | end | |
| 1873 | ||
| 1874 | ||
| 1875 | end) | |
| 1876 | ---------------------------------------------------- | |
| 1877 | pt = {6.6, 6.8, 7, 7.2, 7.4}
| |
| 1878 | mouse.KeyDown:connect(function(key) | |
| 1879 | if key == "l" then | |
| 1880 | if Debounces.CanJoke == true then | |
| 1881 | Debounces.CanJoke = false | |
| 1882 | u = Instance.new("Sound",char)
| |
| 1883 | u.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
| 1884 | u.Pitch = pt[math.random(1,#pt)] | |
| 1885 | u.Volume = 1 | |
| 1886 | u2 = Instance.new("Sound",char)
| |
| 1887 | u2.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
| 1888 | u2.Pitch = u.Pitch | |
| 1889 | u2.Volume = 1 | |
| 1890 | u3 = Instance.new("Sound",char)
| |
| 1891 | u3.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
| 1892 | u3.Pitch = u.Pitch | |
| 1893 | u3.Volume = 1 | |
| 1894 | wait(.01) | |
| 1895 | u:Play() | |
| 1896 | u2:Play() | |
| 1897 | u3:Play() | |
| 1898 | wait(1.5) | |
| 1899 | u:Destroy() | |
| 1900 | u2:Destroy() | |
| 1901 | u3:Destroy() | |
| 1902 | if Debounces.CanJoke == false then | |
| 1903 | Debounces.CanJoke = true | |
| 1904 | end | |
| 1905 | end | |
| 1906 | end | |
| 1907 | end) | |
| 1908 | ||
| 1909 | ------------------------------- BEGIN GRABPUNCH | |
| 1910 | mouse.KeyDown:connect(function(key) | |
| 1911 | if key == "x" then | |
| 1912 | Debounces.on = true | |
| 1913 | Debounces.NoIdl = true | |
| 1914 | Debounces.ks = true | |
| 1915 | if Grab == false then | |
| 1916 | gp = nil | |
| 1917 | ||
| 1918 | if Melee == false then | |
| 1919 | Melee = true | |
| 1920 | Vanish() | |
| 1921 | stanceToggle = "Melee" | |
| 1922 | elseif Melee == true then | |
| 1923 | Melee = false | |
| 1924 | Appear() | |
| 1925 | stanceToggle = "Normal" | |
| 1926 | end | |
| 1927 | ||
| 1928 | for i = 1, 20 do | |
| 1929 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2) | |
| 1930 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2) | |
| 1931 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 1932 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 1933 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
| 1934 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
| 1935 | if Debounces.on == false then break end | |
| 1936 | rs:wait() | |
| 1937 | end | |
| 1938 | con1=larm.Touched:connect(function(hit) -- this is grab | |
| 1939 | ht = hit.Parent | |
| 1940 | hum1=ht:FindFirstChild('Humanoid')
| |
| 1941 | if hum1 ~= nil then | |
| 1942 | if Debounces.ks==true then | |
| 1943 | z = Instance.new("Sound",hed)
| |
| 1944 | z.SoundId = "rbxassetid://169380525" | |
| 1945 | z.Volume = 1 | |
| 1946 | z:Play() | |
| 1947 | Debounces.ks=false | |
| 1948 | end | |
| 1949 | hum1.PlatformStand=true | |
| 1950 | gp = ht | |
| 1951 | Grab = true | |
| 1952 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
| |
| 1953 | asd.Parent = larm | |
| 1954 | asd.Name = "asd" | |
| 1955 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
| 1956 | --[[elseif hum1 == nil then | |
| 1957 | con1:disconnect() | |
| 1958 | wait() return]]-- | |
| 1959 | end | |
| 1960 | end) | |
| 1961 | for i = 1, 20 do | |
| 1962 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2) | |
| 1963 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2) | |
| 1964 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 1965 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 1966 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
| 1967 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
| 1968 | if Debounces.on == false then break end | |
| 1969 | rs:wait() | |
| 1970 | end | |
| 1971 | if hum1 == nil then | |
| 1972 | Debounces.on = false | |
| 1973 | Debounces.NoIdl = false | |
| 1974 | end | |
| 1975 | con1:disconnect() | |
| 1976 | elseif Grab == true then | |
| 1977 | Grab = false | |
| 1978 | Punch() | |
| 1979 | z = Instance.new("Sound",hed)
| |
| 1980 | z.SoundId = "rbxassetid://169380525" | |
| 1981 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1982 | z.Volume = 1 | |
| 1983 | z:Play() | |
| 1984 | for i = 1, 10 do | |
| 1985 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 1986 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 1987 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 1988 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 1989 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 1990 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 1991 | if Debounces.on == false then break end | |
| 1992 | rs:wait() | |
| 1993 | end | |
| 1994 | Punch() | |
| 1995 | z = Instance.new("Sound",hed)
| |
| 1996 | z.SoundId = "rbxassetid://169380525" | |
| 1997 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1998 | z.Volume = 1 | |
| 1999 | z:Play() | |
| 2000 | for i = 1, 10 do | |
| 2001 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 2002 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 2003 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 2004 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 2005 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 2006 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 2007 | if Debounces.on == false then break end | |
| 2008 | rs:wait() | |
| 2009 | end | |
| 2010 | Punch() | |
| 2011 | z = Instance.new("Sound",hed)
| |
| 2012 | z.SoundId = "rbxassetid://169380525" | |
| 2013 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2014 | z.Volume = 1 | |
| 2015 | z:Play() | |
| 2016 | for i = 1, 10 do | |
| 2017 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 2018 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 2019 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 2020 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 2021 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 2022 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 2023 | if Debounces.on == false then break end | |
| 2024 | rs:wait() | |
| 2025 | end | |
| 2026 | Punch() | |
| 2027 | z = Instance.new("Sound",hed)
| |
| 2028 | z.SoundId = "rbxassetid://169380525" | |
| 2029 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2030 | z.Volume = 1 | |
| 2031 | z:Play() | |
| 2032 | for i = 1, 10 do | |
| 2033 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 2034 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 2035 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 2036 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 2037 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 2038 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 2039 | if Debounces.on == false then break end | |
| 2040 | rs:wait() | |
| 2041 | end | |
| 2042 | Punch() | |
| 2043 | z = Instance.new("Sound",hed)
| |
| 2044 | z.SoundId = "rbxassetid://169380525" | |
| 2045 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2046 | z.Volume = 1 | |
| 2047 | z:Play() | |
| 2048 | for i = 1, 10 do | |
| 2049 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 2050 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 2051 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 2052 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 2053 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 2054 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 2055 | if Debounces.on == false then break end | |
| 2056 | rs:wait() | |
| 2057 | end | |
| 2058 | Punch() | |
| 2059 | z = Instance.new("Sound",hed)
| |
| 2060 | z.SoundId = "rbxassetid://169380525" | |
| 2061 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2062 | z.Volume = 1 | |
| 2063 | z:Play() | |
| 2064 | for i = 1, 10 do | |
| 2065 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 2066 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 2067 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 2068 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 2069 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 2070 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 2071 | if Debounces.on == false then break end | |
| 2072 | rs:wait() | |
| 2073 | end | |
| 2074 | Punch() | |
| 2075 | z = Instance.new("Sound",hed)
| |
| 2076 | z.SoundId = "rbxassetid://169380525" | |
| 2077 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2078 | z.Volume = 1 | |
| 2079 | z:Play() | |
| 2080 | for i = 1, 10 do | |
| 2081 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 2082 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 2083 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 2084 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 2085 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 2086 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 2087 | if Debounces.on == false then break end | |
| 2088 | rs:wait() | |
| 2089 | end | |
| 2090 | Punch() | |
| 2091 | z = Instance.new("Sound",hed)
| |
| 2092 | z.SoundId = "rbxassetid://169380525" | |
| 2093 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2094 | z.Volume = 1 | |
| 2095 | z:Play() | |
| 2096 | for i = 1, 10 do | |
| 2097 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 2098 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 2099 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 2100 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 2101 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 2102 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 2103 | if Debounces.on == false then break end | |
| 2104 | rs:wait() | |
| 2105 | end | |
| 2106 | Punch() | |
| 2107 | z = Instance.new("Sound",hed)
| |
| 2108 | z.SoundId = "rbxassetid://169380525" | |
| 2109 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2110 | z.Volume = 1 | |
| 2111 | z:Play() | |
| 2112 | for i = 1, 10 do | |
| 2113 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 2114 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 2115 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 2116 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 2117 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 2118 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 2119 | if Debounces.on == false then break end | |
| 2120 | rs:wait() | |
| 2121 | end | |
| 2122 | Punch() | |
| 2123 | z = Instance.new("Sound",hed)
| |
| 2124 | z.SoundId = "rbxassetid://169380525" | |
| 2125 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2126 | z.Volume = 1 | |
| 2127 | z:Play() | |
| 2128 | for i = 1, 10 do | |
| 2129 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 2130 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 2131 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 2132 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 2133 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 2134 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 2135 | if Debounces.on == false then break end | |
| 2136 | rs:wait() | |
| 2137 | end | |
| 2138 | Punch() | |
| 2139 | z = Instance.new("Sound",hed)
| |
| 2140 | z.SoundId = "rbxassetid://169380525" | |
| 2141 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2142 | z.Volume = 1 | |
| 2143 | z:Play() | |
| 2144 | for i = 1, 10 do | |
| 2145 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 2146 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 2147 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 2148 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 2149 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 2150 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 2151 | if Debounces.on == false then break end | |
| 2152 | rs:wait() | |
| 2153 | end | |
| 2154 | Punch() | |
| 2155 | z = Instance.new("Sound",hed)
| |
| 2156 | z.SoundId = "rbxassetid://169380525" | |
| 2157 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2158 | z.Volume = 1 | |
| 2159 | z:Play() | |
| 2160 | for i = 1, 10 do | |
| 2161 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 2162 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 2163 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 2164 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 2165 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 2166 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 2167 | if Debounces.on == false then break end | |
| 2168 | rs:wait() | |
| 2169 | end | |
| 2170 | con1:disconnect() | |
| 2171 | Debounces.on = false | |
| 2172 | Debounces.NoIdl = false | |
| 2173 | if gp ~= nil then | |
| 2174 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
| |
| 2175 | for i,v in pairs(larm:GetChildren()) do | |
| 2176 | if v.Name == "asd" and v:IsA("Weld") then
| |
| 2177 | v:Remove() | |
| 2178 | end | |
| 2179 | end | |
| 2180 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
| |
| 2181 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
| 2182 | bv.P = 125000 | |
| 2183 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
| 2184 | hum1=nil | |
| 2185 | ht=nil | |
| 2186 | Debounces.on = false | |
| 2187 | Debounces.NoIdl = false | |
| 2188 | elseif ht == nil then wait() | |
| 2189 | Grab = false | |
| 2190 | Debounces.on = false | |
| 2191 | Debounces.NoIdl = false | |
| 2192 | end | |
| 2193 | end | |
| 2194 | end | |
| 2195 | end) | |
| 2196 | ||
| 2197 | ||
| 2198 | ------------------------------------------------- | |
| 2199 | ||
| 2200 | ||
| 2201 | ||
| 2202 | ||
| 2203 | ----------------------------------------------------Cero | |
| 2204 | mouse.KeyDown:connect(function(key) | |
| 2205 | if key == "c" then | |
| 2206 | if Debounces.CanAttack == true then | |
| 2207 | Debounces.CanAttack = false | |
| 2208 | Debounces.NoIdl = true | |
| 2209 | Debounces.on = true | |
| 2210 | char.Humanoid.WalkSpeed = .01 | |
| 2211 | Debounces.on = true | |
| 2212 | Vanish() | |
| 2213 | ||
| 2214 | xx = Instance.new("Sound")
| |
| 2215 | xx.SoundId = "http://www.roblox.com/asset/?id=199145659" | |
| 2216 | xx.Parent = char.Head | |
| 2217 | xx.Looped = false | |
| 2218 | xx.Pitch = .88 | |
| 2219 | xx.Volume = 1 | |
| 2220 | wait(.1) | |
| 2221 | xx:Play() | |
| 2222 | ||
| 2223 | if holy == true then | |
| 2224 | so("http://roblox.com/asset/?id=231917788",hed,1,1)
| |
| 2225 | else | |
| 2226 | end | |
| 2227 | ||
| 2228 | ||
| 2229 | if holy ~= true then | |
| 2230 | for i = 1, 20 do | |
| 2231 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-18), 0, math.rad(-20)), 0.3) | |
| 2232 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(65), 0, math.rad(-40)), 0.3) | |
| 2233 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.3) | |
| 2234 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(8), 0, math.rad(10)), 0.3) | |
| 2235 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), 0), 0.6) | |
| 2236 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(84), 0), 0.4) | |
| 2237 | if Debounces.on==false then break end | |
| 2238 | wait() | |
| 2239 | end | |
| 2240 | wait(1) | |
| 2241 | else | |
| 2242 | for i = 1, 5 do | |
| 2243 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-18), 0, math.rad(-20)), 0.3) | |
| 2244 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(65), 0, math.rad(-40)), 0.3) | |
| 2245 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.3) | |
| 2246 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(8), 0, math.rad(10)), 0.3) | |
| 2247 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), 0), 0.6) | |
| 2248 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(84), 0), 0.4) | |
| 2249 | if Debounces.on==false then break end | |
| 2250 | wait() | |
| 2251 | end | |
| 2252 | wait(1) | |
| 2253 | end | |
| 2254 | ||
| 2255 | x = Instance.new("Sound")
| |
| 2256 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
| 2257 | x2 = Instance.new("Sound")
| |
| 2258 | x2.SoundId = "http://www.roblox.com/asset/?id=183763506" | |
| 2259 | x.Parent = char.Head | |
| 2260 | x2.Parent = char.Head | |
| 2261 | x.Looped = false | |
| 2262 | x2.Looped = false | |
| 2263 | x.Pitch = .88 | |
| 2264 | x.Volume = 1 | |
| 2265 | x2.Pitch = .88 | |
| 2266 | x2.Volume = 1 | |
| 2267 | wait(.1) | |
| 2268 | x:Play() | |
| 2269 | x2:Play() | |
| 2270 | Debounces.on = false | |
| 2271 | Debounces.Here = false | |
| 2272 | ||
| 2273 | for i = 1, 6 do | |
| 2274 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-12)), 0.4) | |
| 2275 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(101)), 0.4) | |
| 2276 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.4) | |
| 2277 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.4) | |
| 2278 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.4) | |
| 2279 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.4) | |
| 2280 | wait() | |
| 2281 | end | |
| 2282 | local rng = Instance.new("Part", char)
| |
| 2283 | rng.Anchored = true | |
| 2284 | ||
| 2285 | if holy ~= true then | |
| 2286 | rng.BrickColor = BrickColor.new("Really black")
| |
| 2287 | else | |
| 2288 | rng.BrickColor = BrickColor.new("Lime green")
| |
| 2289 | end | |
| 2290 | ||
| 2291 | rng.CanCollide = false | |
| 2292 | rng.FormFactor = 3 | |
| 2293 | rng.Name = "Ring" | |
| 2294 | rng.Size = Vector3.new(1, 1, 1) | |
| 2295 | rng.Transparency = 0.35 | |
| 2296 | rng.TopSurface = 0 | |
| 2297 | rng.BottomSurface = 0 | |
| 2298 | rng.Material = "Neon" | |
| 2299 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2300 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2301 | rngm.Scale = Vector3.new(10, 10, 1) | |
| 2302 | local bem = Instance.new("Part", char)
| |
| 2303 | bem.Anchored = true | |
| 2304 | ||
| 2305 | if holy ~= true then | |
| 2306 | bem.BrickColor = BrickColor.new("Really black")
| |
| 2307 | else | |
| 2308 | bem.BrickColor = BrickColor.new("Lime green")
| |
| 2309 | end | |
| 2310 | ||
| 2311 | bem.Material = "Neon" | |
| 2312 | bem.CanCollide = false | |
| 2313 | bem.FormFactor = 3 | |
| 2314 | bem.Name = "Beam" .. shot | |
| 2315 | bem.Size = Vector3.new(1, 1, 1) | |
| 2316 | bem.Transparency = 0.35 | |
| 2317 | bem.TopSurface = 0 | |
| 2318 | bem.BottomSurface = 0 | |
| 2319 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 2320 | bemm.MeshType = 4 | |
| 2321 | bemm.Scale = Vector3.new(1, 4, 4) | |
| 2322 | local out = Instance.new("Part", char)
| |
| 2323 | out.Anchored = true | |
| 2324 | ||
| 2325 | if holy ~= true then | |
| 2326 | out.BrickColor = BrickColor.new("Really black")
| |
| 2327 | else | |
| 2328 | out.BrickColor = BrickColor.new("Lime green")
| |
| 2329 | end | |
| 2330 | ||
| 2331 | out.Material = "Neon" | |
| 2332 | out.CanCollide = false | |
| 2333 | out.FormFactor = 3 | |
| 2334 | out.Name = "Out" | |
| 2335 | out.Size = Vector3.new(1, 1, 1) | |
| 2336 | out.Transparency = 0.35 | |
| 2337 | out.TopSurface = 0 | |
| 2338 | out.BottomSurface = 0 | |
| 2339 | local outm = Instance.new("SpecialMesh", out)
| |
| 2340 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 2341 | outm.Scale = Vector3.new(2, 2, 2) | |
| 2342 | local bnd = Instance.new("Part", char)
| |
| 2343 | bnd.Anchored = true | |
| 2344 | ||
| 2345 | if holy ~= true then | |
| 2346 | bnd.BrickColor = BrickColor.new("Really black")
| |
| 2347 | else | |
| 2348 | bnd.BrickColor = BrickColor.new("Lime green")
| |
| 2349 | end | |
| 2350 | ||
| 2351 | bnd.Material = "Neon" | |
| 2352 | bnd.CanCollide = false | |
| 2353 | bnd.FormFactor = 3 | |
| 2354 | bnd.Name = "BEnd" | |
| 2355 | bnd.Size = Vector3.new(1, 1, 1) | |
| 2356 | bnd.Transparency = 0.35 | |
| 2357 | bnd.TopSurface = 0 | |
| 2358 | bnd.BottomSurface = 0 | |
| 2359 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 2360 | bndm.MeshType = 3 | |
| 2361 | bndm.Scale = Vector3.new(4, 4, 4) | |
| 2362 | out.CFrame = rarm.CFrame * CFrame.new(0, -1.75, 0) | |
| 2363 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2364 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 2365 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 2366 | Debounces.Shewt = true | |
| 2367 | coroutine.wrap(function() | |
| 2368 | for i = 1, 20, 0.2 do | |
| 2369 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
| 2370 | rng.Transparency = i/20 | |
| 2371 | wait() | |
| 2372 | end | |
| 2373 | wait() | |
| 2374 | rng:Destroy() | |
| 2375 | end)() | |
| 2376 | if Debounces.Shewt == true then | |
| 2377 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) --Here
| |
| 2378 | print("Hit")
| |
| 2379 | hit = ht.Parent | |
| 2380 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 2381 | print("Yes")
| |
| 2382 | if HasntTouched(hit.Name) == true and deb == false then | |
| 2383 | deb = true | |
| 2384 | coroutine.wrap(function() | |
| 2385 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2386 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 140
| |
| 2387 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(18,63))
| |
| 2388 | wait(1) | |
| 2389 | hit:FindFirstChild("Humanoid").PlatformStand = false
| |
| 2390 | end)() | |
| 2391 | table.insert(Touche, hit.Name) | |
| 2392 | deb = false | |
| 2393 | end | |
| 2394 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 2395 | print("Yes")
| |
| 2396 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 2397 | deb = true | |
| 2398 | coroutine.wrap(function() | |
| 2399 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2400 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 140
| |
| 2401 | wait(1) | |
| 2402 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 2403 | end)() | |
| 2404 | table.insert(Touche, hit.Parent.Name) | |
| 2405 | deb = false | |
| 2406 | for i, v in pairs(Touche) do | |
| 2407 | print(v) | |
| 2408 | end | |
| 2409 | end | |
| 2410 | end | |
| 2411 | end) | |
| 2412 | end | |
| 2413 | for i = 0, 200, 7 do | |
| 2414 | bem.Size = Vector3.new(i, 1, 1) | |
| 2415 | bem.CFrame = rarm.CFrame * CFrame.new(0, -2.5 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2416 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 0) | |
| 2417 | wait() | |
| 2418 | end | |
| 2419 | wait() | |
| 2420 | Debounces.Shewt = false | |
| 2421 | bem:Destroy() | |
| 2422 | out:Destroy() | |
| 2423 | bnd:Destroy() | |
| 2424 | char.Humanoid.WalkSpeed = 10 | |
| 2425 | Debounces.Ready = false | |
| 2426 | for i, v in pairs(Touche) do | |
| 2427 | table.remove(Touche, i) | |
| 2428 | end | |
| 2429 | wait() | |
| 2430 | table.insert(Touche, char.Name) | |
| 2431 | Debounces.NoIdl = false | |
| 2432 | if Debounces.CanAttack == false then | |
| 2433 | Debounces.CanAttack = true | |
| 2434 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
| 2435 | ||
| 2436 | ||
| 2437 | Debounces.on = false | |
| 2438 | Appear() | |
| 2439 | end | |
| 2440 | end | |
| 2441 | end | |
| 2442 | end) | |
| 2443 | ------------------------------- | |
| 2444 | ||
| 2445 | ----------------------------------------------------EDIT END | |
| 2446 | Grab = false | |
| 2447 | mouse.KeyDown:connect(function(key) | |
| 2448 | if key == "z" then | |
| 2449 | Debounces.on = true | |
| 2450 | Debounces.NoIdl = true | |
| 2451 | Debounces.ks = true | |
| 2452 | if Grab == false then | |
| 2453 | gp = nil | |
| 2454 | for i = 1, 20 do | |
| 2455 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
| 2456 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2) | |
| 2457 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2) | |
| 2458 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2) | |
| 2459 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
| 2460 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
| 2461 | if Debounces.on == false then break end | |
| 2462 | rs:wait(2) | |
| 2463 | end | |
| 2464 | con1=larm.Touched:connect(function(hit) -- this is grab | |
| 2465 | ht = hit.Parent | |
| 2466 | hum1=ht:FindFirstChild('Humanoid')
| |
| 2467 | if hum1 ~= nil then | |
| 2468 | if Debounces.ks==true then | |
| 2469 | z = Instance.new("Sound",hed)
| |
| 2470 | z.SoundId = "rbxassetid://169380525" | |
| 2471 | z.Volume = 1 | |
| 2472 | z:Play() | |
| 2473 | Debounces.ks=false | |
| 2474 | end | |
| 2475 | hum1.PlatformStand=true | |
| 2476 | gp = ht | |
| 2477 | Grab = true | |
| 2478 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
| |
| 2479 | asd.Parent = larm | |
| 2480 | asd.Name = "asd" | |
| 2481 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0) | |
| 2482 | stanceToggle = "Grabbed" | |
| 2483 | --[[elseif hum1 == nil then | |
| 2484 | con1:disconnect() | |
| 2485 | wait() return]]-- | |
| 2486 | end | |
| 2487 | end) | |
| 2488 | for i = 1, 20 do | |
| 2489 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
| 2490 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2) | |
| 2491 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2) | |
| 2492 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2) | |
| 2493 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
| 2494 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
| 2495 | if Debounces.on == false then break end | |
| 2496 | rs:wait(2) | |
| 2497 | end | |
| 2498 | con1:disconnect() | |
| 2499 | Debounces.on = false | |
| 2500 | Debounces.NoIdl = false | |
| 2501 | elseif Grab == true then | |
| 2502 | Grab = false | |
| 2503 | --[[for i = 1, 16 do | |
| 2504 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3) | |
| 2505 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3) | |
| 2506 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3) | |
| 2507 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
| 2508 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3) | |
| 2509 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
| 2510 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3) | |
| 2511 | if Debounces.on == false then end | |
| 2512 | rs:wait() | |
| 2513 | end]]-- | |
| 2514 | for i = 1, 16 do | |
| 2515 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
| 2516 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-50)), 0.3) | |
| 2517 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3) | |
| 2518 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3) | |
| 2519 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3) | |
| 2520 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
| 2521 | if Debounces.on == false then end | |
| 2522 | rs:wait() | |
| 2523 | end | |
| 2524 | Slam() | |
| 2525 | if gp ~= nil then | |
| 2526 | for i,v in pairs(larm:GetChildren()) do | |
| 2527 | if v.Name == "asd" and v:IsA("Weld") then
| |
| 2528 | v:Remove() | |
| 2529 | end | |
| 2530 | end | |
| 2531 | for i = 1, 16 do | |
| 2532 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
| 2533 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.3) | |
| 2534 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3) | |
| 2535 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3) | |
| 2536 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3) | |
| 2537 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3) | |
| 2538 | if Debounces.on == false then end | |
| 2539 | rs:wait() | |
| 2540 | end | |
| 2541 | stanceToggle = "Normal" | |
| 2542 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
| |
| 2543 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
| 2544 | bv.P = 125000 | |
| 2545 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
| 2546 | ht=nil | |
| 2547 | Debounces.on = false | |
| 2548 | Debounces.NoIdl = false | |
| 2549 | elseif ht == nil then wait() | |
| 2550 | Grab = false | |
| 2551 | Debounces.on = false | |
| 2552 | Debounces.NoIdl = false | |
| 2553 | end | |
| 2554 | end | |
| 2555 | end | |
| 2556 | end) | |
| 2557 | ---------------------------------------------------- | |
| 2558 | Charging = false | |
| 2559 | chargewait = false | |
| 2560 | mouse.KeyDown:connect(function(key) | |
| 2561 | if key == "h" then | |
| 2562 | if Charging == false and chargewait == false then | |
| 2563 | Charging = true | |
| 2564 | chargewait = true | |
| 2565 | if Debounces.CanAttack == true then | |
| 2566 | Debounces.CanAttack = false | |
| 2567 | Debounces.NoIdl = true | |
| 2568 | Debounces.on = true | |
| 2569 | ||
| 2570 | ||
| 2571 | if holy ~= true then | |
| 2572 | holy = true | |
| 2573 | else holy = false | |
| 2574 | end | |
| 2575 | ||
| 2576 | ||
| 2577 | for i = 1,20 do | |
| 2578 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
| 2579 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
| 2580 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 2581 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 2582 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 2583 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 2584 | if Debounces.on == false then break end | |
| 2585 | rs:wait() | |
| 2586 | end | |
| 2587 | pt=Instance.new('Part',torso)
| |
| 2588 | pt.Anchored=true | |
| 2589 | pt.CanCollide=false | |
| 2590 | pt.Locked = true | |
| 2591 | pt.Material = "Neon" | |
| 2592 | pt.FormFactor='Custom' | |
| 2593 | pt.Size=Vector3.new(1,1,1) | |
| 2594 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 2595 | pt.Transparency=.6 | |
| 2596 | ||
| 2597 | if holy == true then | |
| 2598 | pt.BrickColor=BrickColor.new('Lime green')
| |
| 2599 | else | |
| 2600 | pt.BrickColor = BrickColor.new("Really black")
| |
| 2601 | end | |
| 2602 | ||
| 2603 | msh=Instance.new('SpecialMesh',pt)
| |
| 2604 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 2605 | msh.Scale=Vector3.new(8,4,8) | |
| 2606 | pt2=pt:clone() | |
| 2607 | pt2.Parent = torso | |
| 2608 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 2609 | ||
| 2610 | if holy == true then | |
| 2611 | pt2.BrickColor=BrickColor.new('Lime green')
| |
| 2612 | else | |
| 2613 | pt2.BrickColor = BrickColor.new("Lime green")
| |
| 2614 | end | |
| 2615 | ||
| 2616 | ||
| 2617 | msh2=msh:clone() | |
| 2618 | msh2.Parent=pt2 | |
| 2619 | msh2.Scale=Vector3.new(10,5,10) | |
| 2620 | ||
| 2621 | 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}
| |
| 2622 | ||
| 2623 | bl = Instance.new("Part", char)
| |
| 2624 | bl.Locked = true | |
| 2625 | bl.Name = "Shell" | |
| 2626 | ||
| 2627 | if holy == true then | |
| 2628 | bl.BrickColor = BrickColor.new("Lime green")
| |
| 2629 | else | |
| 2630 | bl.BrickColor = BrickColor.new("Really black")
| |
| 2631 | end | |
| 2632 | ||
| 2633 | bl.Anchored = true | |
| 2634 | bl.Material = "Neon" | |
| 2635 | bl.CanCollide = false | |
| 2636 | bl.Transparency = 0 | |
| 2637 | bl.Reflectance = 0 | |
| 2638 | bl.BottomSurface = 0 | |
| 2639 | bl.TopSurface = 0 | |
| 2640 | bl.Shape = 0 | |
| 2641 | blm = Instance.new("SpecialMesh",bl)
| |
| 2642 | blm.MeshType = "Sphere" | |
| 2643 | blm.Scale = Vector3.new(1,1,1) | |
| 2644 | ||
| 2645 | so("http://www.roblox.com/asset/?id=340722848",hed,2,1.2)
| |
| 2646 | so("http://www.roblox.com/asset/?id=340722848",torso,0.5,0.8)
| |
| 2647 | so("http://roblox.com/asset/?id=168586621",torso,1,0.5)
| |
| 2648 | ||
| 2649 | ||
| 2650 | ||
| 2651 | ||
| 2652 | if holy == true then | |
| 2653 | light() | |
| 2654 | ds:stop() | |
| 2655 | hs:play() | |
| 2656 | eColors = {"Lime green"}
| |
| 2657 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
| 2658 | if v:IsA("Part") or v:IsA("WedgePart") then
| |
| 2659 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
| 2660 | v.BrickColor = BrickColor.new("Lime green")
| |
| 2661 | v.Material = "Neon" | |
| 2662 | end | |
| 2663 | end | |
| 2664 | end | |
| 2665 | ||
| 2666 | ||
| 2667 | else | |
| 2668 | dark() | |
| 2669 | hs:stop() | |
| 2670 | ds:play() | |
| 2671 | eColors = {"Lime green", "Really black"}
| |
| 2672 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
| 2673 | if v:IsA("Part") or v:IsA("WedgePart") then
| |
| 2674 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
| 2675 | v.BrickColor = BrickColor.new("Really black")
| |
| 2676 | v.Material = "Metal" | |
| 2677 | end | |
| 2678 | end | |
| 2679 | end | |
| 2680 | ||
| 2681 | end | |
| 2682 | ||
| 2683 | coroutine.resume(coroutine.create(function() | |
| 2684 | for i=1, math.huge, 4 do | |
| 2685 | if Charging == true then | |
| 2686 | rs:wait() | |
| 2687 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 2688 | blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 2689 | bl.Transparency = bl.Transparency + 0.05 | |
| 2690 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
| 2691 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
| 2692 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
| 2693 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
| 2694 | elseif Charging == false then break | |
| 2695 | end | |
| 2696 | end | |
| 2697 | end)) | |
| 2698 | ||
| 2699 | ||
| 2700 | repeat | |
| 2701 | local p = Instance.new('Part',torso)
| |
| 2702 | p.formFactor = 'Custom' | |
| 2703 | p.Size = Vector3.new(1,1,1) | |
| 2704 | ||
| 2705 | if holy == true then | |
| 2706 | p.BrickColor = BrickColor.new("Lime green")
| |
| 2707 | else | |
| 2708 | p.BrickColor = BrickColor.new("Really black")
| |
| 2709 | end | |
| 2710 | ||
| 2711 | p.CanCollide = false | |
| 2712 | p.Transparency = 0 | |
| 2713 | p.Anchored = true | |
| 2714 | p.Locked=true | |
| 2715 | p.Material = "Neon" | |
| 2716 | s = math.random(1,40)/10 | |
| 2717 | local m = Instance.new("BlockMesh",p)
| |
| 2718 | m.Scale = Vector3.new(s,s,s) | |
| 2719 | 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()) | |
| 2720 | --[[coroutine.wrap(function() | |
| 2721 | wait(2) | |
| 2722 | while Charging == true do | |
| 2723 | wait(2) | |
| 2724 | GroundWave1() | |
| 2725 | wait(2) | |
| 2726 | end | |
| 2727 | end)()]]-- | |
| 2728 | Spawn(function() | |
| 2729 | while rs:wait() do | |
| 2730 | if Charging == true then | |
| 2731 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
| 2732 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
| 2733 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
| 2734 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
| 2735 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
| 2736 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
| 2737 | elseif Charging == false then break | |
| 2738 | end | |
| 2739 | end | |
| 2740 | end) | |
| 2741 | Spawn(function() | |
| 2742 | while rs:wait() do | |
| 2743 | if p.Transparency >= 1 then p:Destroy() break end | |
| 2744 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
| 2745 | p.Transparency = p.Transparency+0.01 | |
| 2746 | end | |
| 2747 | end) | |
| 2748 | wait(.3) | |
| 2749 | ||
| 2750 | ||
| 2751 | until Charging == false | |
| 2752 | end | |
| 2753 | end | |
| 2754 | end | |
| 2755 | end) | |
| 2756 | ||
| 2757 | ---------------------------------------------------- | |
| 2758 | mouse.KeyUp:connect(function(key) | |
| 2759 | if key == "h" then | |
| 2760 | if Charging == true and chargewait == true then | |
| 2761 | chargewait = false | |
| 2762 | wait(1) | |
| 2763 | Charging = false | |
| 2764 | ||
| 2765 | --[[for i,v in pairs (torso:GetChildren()) do | |
| 2766 | if v:IsA("Sound") then
| |
| 2767 | v:Destroy() | |
| 2768 | end | |
| 2769 | end]] | |
| 2770 | ||
| 2771 | ||
| 2772 | --so("http://roblox.com/asset/?id=160867463",torso,1,0.7)
| |
| 2773 | ||
| 2774 | pt:Destroy() | |
| 2775 | pt2:Destroy() | |
| 2776 | bl:Destroy() | |
| 2777 | if Debounces.CanAttack == false then | |
| 2778 | Debounces.CanAttack = true | |
| 2779 | Debounces.NoIdl = false | |
| 2780 | Debounces.on = false | |
| 2781 | Debounces.grab = false | |
| 2782 | ||
| 2783 | end | |
| 2784 | end | |
| 2785 | end | |
| 2786 | end) | |
| 2787 | ---------------------------------------------------- | |
| 2788 | Sit = false | |
| 2789 | mouse.KeyDown:connect(function(key) | |
| 2790 | if key == "b" then | |
| 2791 | if Sit == false then | |
| 2792 | Sit = true | |
| 2793 | hum.WalkSpeed = 0.1 | |
| 2794 | stanceToggle = "Sitting" | |
| 2795 | elseif Sit == true then | |
| 2796 | Sit = false | |
| 2797 | hum.WalkSpeed = 7 | |
| 2798 | stanceToggle = "Normal" | |
| 2799 | end | |
| 2800 | end | |
| 2801 | end) | |
| 2802 | ------------------------------- | |
| 2803 | Melee = false | |
| 2804 | mouse.KeyDown:connect(function(key) | |
| 2805 | if key == "m" then | |
| 2806 | if Melee == false then | |
| 2807 | Melee = true | |
| 2808 | Vanish() | |
| 2809 | stanceToggle = "Melee" | |
| 2810 | elseif Melee == true then | |
| 2811 | Melee = false | |
| 2812 | Appear() | |
| 2813 | stanceToggle = "Normal" | |
| 2814 | end | |
| 2815 | end | |
| 2816 | end) | |
| 2817 | ------------------------------- | |
| 2818 | mouse.KeyDown:connect(function(key) | |
| 2819 | if string.byte(key) == 50 then | |
| 2820 | if Debounces.CanAttack == true then | |
| 2821 | if stanceToggle ~= "Floating" then | |
| 2822 | char.Humanoid.WalkSpeed = 60 | |
| 2823 | Burst() | |
| 2824 | elseif Debounces.CanAttack == false then | |
| 2825 | elseif stanceToggle == "Floating" then | |
| 2826 | wait() | |
| 2827 | end | |
| 2828 | end | |
| 2829 | end | |
| 2830 | end) | |
| 2831 | mouse.KeyUp:connect(function(key) | |
| 2832 | if string.byte(key) == 50 then | |
| 2833 | char.Humanoid.WalkSpeed = 9 | |
| 2834 | end | |
| 2835 | end) | |
| 2836 | ------------------------------- | |
| 2837 | mouse.KeyDown:connect(function(key) | |
| 2838 | if key == "p" then | |
| 2839 | if CanAttack == true then | |
| 2840 | CanAttack = false | |
| 2841 | Debounces.NoIdl = true | |
| 2842 | Debounces.on = true | |
| 2843 | for i = 1, 20 do | |
| 2844 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.2, -2.75) * CFrame.Angles(math.rad(90), math.rad(40), math.rad(0)), 0.6) | |
| 2845 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, 1, -.5) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(40)), 0.3) | |
| 2846 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, 1, -.5) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(-40)), 0.3) | |
| 2847 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.6) | |
| 2848 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(10)), 0.6) | |
| 2849 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.6) | |
| 2850 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.2) | |
| 2851 | if Debounces.on == false then | |
| 2852 | break | |
| 2853 | end | |
| 2854 | wait() | |
| 2855 | end | |
| 2856 | wait() | |
| 2857 | z = Instance.new("Sound")
| |
| 2858 | z.SoundId = "http://www.roblox.com/asset/?id=159218913" | |
| 2859 | z.Parent = char.Head | |
| 2860 | z.Looped = false | |
| 2861 | z.Pitch = 1 | |
| 2862 | z.Volume = 1 | |
| 2863 | wait(.01) | |
| 2864 | z:Play() | |
| 2865 | Debounces.Slashing = true | |
| 2866 | for i = 1, 20 do | |
| 2867 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.2, -2.75) * CFrame.Angles(math.rad(90), math.rad(40), math.rad(0)), 0.6) | |
| 2868 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, .5, -.5) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(40)), 0.6) | |
| 2869 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, .5, -.5) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-40)), 0.6) | |
| 2870 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.5, -.5) * CFrame.Angles(math.rad(-90), 0, math.rad(0)), 0.6) | |
| 2871 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.6) | |
| 2872 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.6) | |
| 2873 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.6) | |
| 2874 | wait() | |
| 2875 | if Debounces.on == false then | |
| 2876 | break | |
| 2877 | end | |
| 2878 | wait() | |
| 2879 | end | |
| 2880 | Debounces.Slashing = false | |
| 2881 | Debounces.NoIdl = false | |
| 2882 | wait() | |
| 2883 | if CanAttack == false then | |
| 2884 | CanAttack = true | |
| 2885 | end | |
| 2886 | end | |
| 2887 | end | |
| 2888 | end) | |
| 2889 | -------------------------------- | |
| 2890 | ---------------------------------------------------- | |
| 2891 | mouse.KeyDown:connect(function(key) | |
| 2892 | if key == "v" then | |
| 2893 | if Debounces.CanAttack == true then | |
| 2894 | Debounces.CanAttack = false | |
| 2895 | Debounces.on = true | |
| 2896 | Debounces.NoIdl = true | |
| 2897 | for i = 1, 15 do | |
| 2898 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2) | |
| 2899 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6) | |
| 2900 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
| 2901 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
| 2902 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 2903 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 2904 | if Debounces.on == false then break end | |
| 2905 | rs:wait(2.7) | |
| 2906 | end | |
| 2907 | so("http://roblox.com/asset/?id=231917788",hed,1,0.7)
| |
| 2908 | x = Instance.new("Sound",char.Head)
| |
| 2909 | x.SoundId = "rbxassetid://183763515" | |
| 2910 | x.Pitch = 0.7 | |
| 2911 | x.Volume = .8 | |
| 2912 | x3 = Instance.new("Sound",char.Head)
| |
| 2913 | x3.SoundId = "rbxassetid://183763487" | |
| 2914 | x3.Pitch = 1 | |
| 2915 | x3.Volume = .8 | |
| 2916 | wait(.1) | |
| 2917 | x:Play() | |
| 2918 | x3:Play() | |
| 2919 | ||
| 2920 | if holy == true then | |
| 2921 | so("http://roblox.com/asset/?id=233091161",hed,1,0.6)
| |
| 2922 | so("http://roblox.com/asset/?id=2233091183",hed,1,1)
| |
| 2923 | else | |
| 2924 | end | |
| 2925 | ||
| 2926 | Debounces.on = false | |
| 2927 | Debounces.Here = false | |
| 2928 | shot = shot + 1 | |
| 2929 | local rng = Instance.new("Part", larm)
| |
| 2930 | rng.Anchored = true | |
| 2931 | ||
| 2932 | if holy ~= true then | |
| 2933 | rng.BrickColor = BrickColor.new("Lime green")
| |
| 2934 | else | |
| 2935 | rng.BrickColor = BrickColor.new("Lime green")
| |
| 2936 | end | |
| 2937 | ||
| 2938 | rng.Material = "Neon" | |
| 2939 | rng.CanCollide = false | |
| 2940 | rng.FormFactor = 3 | |
| 2941 | rng.Name = "Ring" | |
| 2942 | rng.Size = Vector3.new(1, 1, 1) | |
| 2943 | rng.Transparency = 0.35 | |
| 2944 | rng.TopSurface = 0 | |
| 2945 | rng.BottomSurface = 0 | |
| 2946 | rng2 = rng:clone() | |
| 2947 | rng3 = rng2:clone() | |
| 2948 | rng4 = rng2:clone() | |
| 2949 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2950 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2951 | rngm.Scale = Vector3.new(10, 10, 1) | |
| 2952 | rngm2 = rngm:clone() | |
| 2953 | rngm2.Scale = Vector3.new(5, 5, 3) | |
| 2954 | rngm3=rngm2:clone() | |
| 2955 | rngm3.Parent = rng3 | |
| 2956 | rngm3.Scale = Vector3.new(8, 8, 1) | |
| 2957 | rngm4 = rngm2:clone() | |
| 2958 | rngm4.Parent = rng4 | |
| 2959 | rngm4.Scale = Vector3.new(6, 6, 1) | |
| 2960 | local bem = Instance.new("Part", larm)
| |
| 2961 | bem.Anchored = true | |
| 2962 | ||
| 2963 | if holy == false then | |
| 2964 | bem.BrickColor = BrickColor.new("Really black")
| |
| 2965 | else | |
| 2966 | bem.BrickColor = BrickColor.new("Lime green")
| |
| 2967 | end | |
| 2968 | ||
| 2969 | bem.CanCollide = false | |
| 2970 | bem.Material = "Neon" | |
| 2971 | bem.FormFactor = 3 | |
| 2972 | bem.Name = "Beam" .. shot | |
| 2973 | bem.Size = Vector3.new(1, 1, 1) | |
| 2974 | bem.Transparency = 0.35 | |
| 2975 | bem.TopSurface = 0 | |
| 2976 | bem.BottomSurface = 0 | |
| 2977 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 2978 | bemm.MeshType = 4 | |
| 2979 | bemm.Scale = Vector3.new(1, 4, 4) | |
| 2980 | local out = Instance.new("Part", larm)
| |
| 2981 | out.Anchored = true | |
| 2982 | out.Material = "Neon" | |
| 2983 | ||
| 2984 | if holy == false then | |
| 2985 | out.BrickColor = BrickColor.new("Really black")
| |
| 2986 | else | |
| 2987 | out.BrickColor = BrickColor.new("Lime green")
| |
| 2988 | end | |
| 2989 | ||
| 2990 | out.CanCollide = false | |
| 2991 | out.FormFactor = 3 | |
| 2992 | out.Name = "Out" | |
| 2993 | out.Size = Vector3.new(4, 4, 4) | |
| 2994 | out.Transparency = 0.35 | |
| 2995 | out.TopSurface = 0 | |
| 2996 | out.BottomSurface = 0 | |
| 2997 | local outm = Instance.new("SpecialMesh", out)
| |
| 2998 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 2999 | outm.Scale = Vector3.new(6, 4, 6) | |
| 3000 | local bnd = Instance.new("Part", larm)
| |
| 3001 | bnd.Anchored = true | |
| 3002 | bnd.BrickColor = BrickColor.new("Really red")
| |
| 3003 | bnd.CanCollide = false | |
| 3004 | bnd.FormFactor = 3 | |
| 3005 | bnd.Name = "Bend" | |
| 3006 | bnd.Size = Vector3.new(1, 1, 1) | |
| 3007 | bnd.Transparency = 1 | |
| 3008 | bnd.TopSurface = 0 | |
| 3009 | bnd.BottomSurface = 0 | |
| 3010 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 3011 | bndm.MeshType = 3 | |
| 3012 | bndm.Scale = Vector3.new(8, 8, 8) | |
| 3013 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 3014 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 3015 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 3016 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 3017 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
| 3018 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
| 3019 | Debounces.Shewt = true | |
| 3020 | coroutine.wrap(function() | |
| 3021 | for i = 1, 20, 0.2 do | |
| 3022 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
| 3023 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
| 3024 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
| 3025 | rng.Transparency = i/20 | |
| 3026 | rng3.Transparency = 1/24 | |
| 3027 | rng4.Transparency = i/26 | |
| 3028 | wait() | |
| 3029 | end | |
| 3030 | wait() | |
| 3031 | rng:Destroy() | |
| 3032 | end)() | |
| 3033 | if Debounces.Shewt == true then | |
| 3034 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 3035 | hit = ht.Parent | |
| 3036 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 3037 | if HasntTouched(hit.Name) == true and deb == false then | |
| 3038 | deb = true | |
| 3039 | coroutine.wrap(function() | |
| 3040 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 3041 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 3042 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
| |
| 3043 | end)() | |
| 3044 | table.insert(Touche, hit.Name) | |
| 3045 | deb = false | |
| 3046 | end | |
| 3047 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 3048 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 3049 | deb = true | |
| 3050 | coroutine.wrap(function() | |
| 3051 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 3052 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 3053 | wait(1) | |
| 3054 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 3055 | end)() | |
| 3056 | table.insert(Touche, hit.Parent.Name) | |
| 3057 | deb = false | |
| 3058 | for i, v in pairs(Touche) do | |
| 3059 | print(v) | |
| 3060 | end | |
| 3061 | end | |
| 3062 | end | |
| 3063 | end) | |
| 3064 | end | |
| 3065 | for i = 0, 260, 8 do | |
| 3066 | bem.Size = Vector3.new(i, 3, 3) | |
| 3067 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 3068 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 3069 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
| 3070 | bnd.Size = Vector3.new(1,1,1) | |
| 3071 | bndm.Scale = Vector3.new(8,8,8) | |
| 3072 | if i % 10 == 0 then | |
| 3073 | local newRng = rng2:Clone() | |
| 3074 | newRng.Parent = larm | |
| 3075 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 3076 | local newRngm = rngm2:clone() | |
| 3077 | newRngm.Parent=newRng | |
| 3078 | coroutine.wrap(function() | |
| 3079 | for i = 1, 10, 0.2 do | |
| 3080 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
| 3081 | newRng.Transparency = i/10 | |
| 3082 | wait() | |
| 3083 | end | |
| 3084 | wait() | |
| 3085 | newRng:Destroy() | |
| 3086 | end)() | |
| 3087 | end | |
| 3088 | wait() | |
| 3089 | end | |
| 3090 | wait() | |
| 3091 | Debounces.Shewt = false | |
| 3092 | bem:Destroy() | |
| 3093 | out:Destroy() | |
| 3094 | bnd:Destroy() | |
| 3095 | Debounces.Ready = false | |
| 3096 | for i, v in pairs(Touche) do | |
| 3097 | table.remove(Touche, i) | |
| 3098 | end | |
| 3099 | wait() | |
| 3100 | table.insert(Touche, char.Name) | |
| 3101 | Debounces.NoIdl = false | |
| 3102 | if Debounces.CanAttack == false then | |
| 3103 | Debounces.CanAttack = true | |
| 3104 | end | |
| 3105 | end | |
| 3106 | end | |
| 3107 | end) | |
| 3108 | ---------------------------------------------------- | |
| 3109 | ---------------------------------------------------- | |
| 3110 | mouse.KeyDown:connect(function(key) | |
| 3111 | if key == "y" then | |
| 3112 | if CanAttack == true then | |
| 3113 | CanAttack = false | |
| 3114 | Debounces.NoIdl = true | |
| 3115 | Debounces.on = true | |
| 3116 | for i = 1, 20 do | |
| 3117 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.2) | |
| 3118 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.2) | |
| 3119 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, 0.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2) | |
| 3120 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, 0.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2) | |
| 3121 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-26), math.rad(0), 0), 0.2) | |
| 3122 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 3123 | if Debounces.on == false then | |
| 3124 | break | |
| 3125 | end | |
| 3126 | wait() | |
| 3127 | end | |
| 3128 | wait() | |
| 3129 | if Daytime == true then | |
| 3130 | Daytime = false | |
| 3131 | l.TimeOfDay = 24 | |
| 3132 | else | |
| 3133 | Daytime = true | |
| 3134 | l.TimeOfDay = 12 | |
| 3135 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
| 3136 | end | |
| 3137 | char.Humanoid.MaxHealth = math.huge | |
| 3138 | c = Instance.new("Sound")
| |
| 3139 | c.SoundId = "http://www.roblox.com/asset/?id=152758283" | |
| 3140 | c.Parent = m | |
| 3141 | c.Looped = false | |
| 3142 | if Daytime == true then | |
| 3143 | c.Pitch = -1 | |
| 3144 | elseif Daytime == false then | |
| 3145 | c.Pitch = 1.12 | |
| 3146 | end | |
| 3147 | c.Volume = 1 | |
| 3148 | wait(.01) | |
| 3149 | c:Play() | |
| 3150 | local Shockwave = function() | |
| 3151 | local Wave = Instance.new("Part", game.Workspace--[[?]])
| |
| 3152 | Wave.Name = "Shockwave" | |
| 3153 | Wave.BrickColor = BrickColor.new("Really black")
| |
| 3154 | Wave.Size = Vector3.new(1, 1, 1) | |
| 3155 | Wave.Shape = "Ball" | |
| 3156 | Wave.CanCollide = false | |
| 3157 | Wave.Anchored = true | |
| 3158 | Wave.TopSurface = 0 | |
| 3159 | Wave.BottomSurface = 0 | |
| 3160 | Wave.Touched:connect(function(hit) | |
| 3161 | print(hit.Name) | |
| 3162 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
| |
| 3163 | if hit.Parent.Name ~= char.Name then | |
| 3164 | print("Damaged " .. hit.Parent.Name)
| |
| 3165 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
| |
| 3166 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
| |
| 3167 | end | |
| 3168 | end | |
| 3169 | end) | |
| 3170 | ||
| 3171 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
| |
| 3172 | ||
| 3173 | Delay(0, function() | |
| 3174 | -- | |
| 3175 | -- Okay. | |
| 3176 | if Daytime == false then | |
| 3177 | for i = 1, 38, 1 do | |
| 3178 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
| 3179 | Wave.CFrame = char.Torso.CFrame | |
| 3180 | local t = i / 38 | |
| 3181 | Wave.Transparency = t | |
| 3182 | wait() | |
| 3183 | end | |
| 3184 | else | |
| 3185 | for i = 38, 1, -1 do | |
| 3186 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
| 3187 | Wave.CFrame = char.Torso.CFrame | |
| 3188 | local t = i / 38 | |
| 3189 | Wave.Transparency = t | |
| 3190 | wait() | |
| 3191 | end | |
| 3192 | end | |
| 3193 | Wave:Destroy() | |
| 3194 | end) | |
| 3195 | Delay(0, function() | |
| 3196 | while wait() do | |
| 3197 | if Wave ~= nil then | |
| 3198 | Wave.CFrame = char.Torso.CFrame | |
| 3199 | else | |
| 3200 | break | |
| 3201 | end | |
| 3202 | end | |
| 3203 | end) | |
| 3204 | end | |
| 3205 | ||
| 3206 | Shockwave() | |
| 3207 | ||
| 3208 | for i = 1, 20 do | |
| 3209 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(-100)), 0.6) | |
| 3210 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(100)), 0.6) | |
| 3211 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-20)), 0.6) | |
| 3212 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(20)), 0.6) | |
| 3213 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(35), math.rad(0), 0), 0.6) | |
| 3214 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.6) | |
| 3215 | wait() | |
| 3216 | if Debounces.on == false then | |
| 3217 | break | |
| 3218 | end | |
| 3219 | wait() | |
| 3220 | end | |
| 3221 | wait(2) | |
| 3222 | Debounces.NoIdl = false | |
| 3223 | if CanAttack == false then | |
| 3224 | CanAttack = true | |
| 3225 | wait() | |
| 3226 | end | |
| 3227 | end -- for the canattack thing | |
| 3228 | end | |
| 3229 | end) | |
| 3230 | ------------------------------- | |
| 3231 | local animpose = "Idle" | |
| 3232 | local lastanimpose = "Idle" | |
| 3233 | local grab = false | |
| 3234 | local sine = 0 | |
| 3235 | local change = 1 | |
| 3236 | local val = 0 | |
| 3237 | local ffing = false | |
| 3238 | local jump = false | |
| 3239 | ------------------------------- | |
| 3240 | --[[if stanceToggle == "Sitting" then | |
| 3241 | if wait(math.random(1,2)) == 1 then | |
| 3242 | stanceToggle = "Sitting2" | |
| 3243 | wait(8) | |
| 3244 | stanceToggle = "Sitting" | |
| 3245 | end | |
| 3246 | end]]-- | |
| 3247 | ------------------------------- | |
| 3248 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 3249 | if char.Humanoid.Jump == true then | |
| 3250 | jump = true | |
| 3251 | else | |
| 3252 | jump = false | |
| 3253 | end | |
| 3254 | char.Humanoid.FreeFalling:connect(function(f) | |
| 3255 | if f then | |
| 3256 | ffing = true | |
| 3257 | else | |
| 3258 | ffing = false | |
| 3259 | end | |
| 3260 | end) | |
| 3261 | sine = sine + change | |
| 3262 | if jump == true then | |
| 3263 | animpose = "Jumping" | |
| 3264 | elseif ffing == true then | |
| 3265 | animpose = "Freefalling" | |
| 3266 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 3267 | animpose = "Idle" | |
| 3268 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 3269 | animpose = "Walking" | |
| 3270 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 3271 | animpose = "Running" | |
| 3272 | end | |
| 3273 | if animpose ~= lastanimpose then | |
| 3274 | sine = 0 | |
| 3275 | if Debounces.NoIdl == false then | |
| 3276 | if stanceToggle == "Normal" and holy ~= true then | |
| 3277 | for i = 1, 2 do | |
| 3278 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2) | |
| 3279 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), 0.2) | |
| 3280 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2) | |
| 3281 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2) | |
| 3282 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
| 3283 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2) | |
| 3284 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 3285 | end | |
| 3286 | elseif stanceToggle == "Sitting" then | |
| 3287 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/30),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20+2*math.cos(sine/30))), 0.2) | |
| 3288 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6) | |
| 3289 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
| 3290 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-20), math.sin(sine/60)/3, 0), 0.3) | |
| 3291 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3) | |
| 3292 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3) | |
| 3293 | elseif stanceToggle == "Floating" then | |
| 3294 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
| 3295 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
| 3296 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
| 3297 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
| 3298 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 3299 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
| 3300 | wait() | |
| 3301 | end | |
| 3302 | else | |
| 3303 | end | |
| 3304 | end | |
| 3305 | lastanimpose = animpose | |
| 3306 | if Debounces.NoIdl == false then | |
| 3307 | if animpose == "Idle" then | |
| 3308 | if stanceToggle == "Normal" and holy ~= true then | |
| 3309 | change = 0.5 | |
| 3310 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2) | |
| 3311 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2) | |
| 3312 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(50),0), 0.2) | |
| 3313 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2) | |
| 3314 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
| 3315 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2) | |
| 3316 | elseif stanceToggle == "Normal" and holy == true then | |
| 3317 | change = 0.8 | |
| 3318 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
| 3319 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
| 3320 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
| 3321 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
| 3322 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 3323 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
| 3324 | elseif stanceToggle == "Melee" and holy ~= true then | |
| 3325 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20+2*math.cos(sine/14))), 0.2) | |
| 3326 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2) | |
| 3327 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
| 3328 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 3329 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 3330 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 3331 | elseif stanceToggle == "Melee" and holy == true then | |
| 3332 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
| 3333 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
| 3334 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
| 3335 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
| 3336 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 3337 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
| 3338 | elseif stanceToggle == "Sitting" then | |
| 3339 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20)), 0.2) | |
| 3340 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6) | |
| 3341 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
| 3342 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5-0.06*math.cos(sine/25), -.2) * CFrame.Angles(math.rad(0-20*math.cos(sine/25)/2), math.sin(sine/50)/2.4, 0), 0.3) | |
| 3343 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3) | |
| 3344 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3) | |
| 3345 | elseif stanceToggle == "Floating" then | |
| 3346 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
| 3347 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
| 3348 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
| 3349 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
| 3350 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 3351 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
| 3352 | elseif stanceToggle == "Grabbed" and holy ~= true then | |
| 3353 | grab = true | |
| 3354 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2) | |
| 3355 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(130+4*math.cos(sine/14)),math.rad(0),math.rad(-60+4*math.cos(sine/14))), 0.3) | |
| 3356 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3) | |
| 3357 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
| 3358 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3) | |
| 3359 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
| 3360 | elseif stanceToggle == "Grabbed" and holy == true then | |
| 3361 | grab = true | |
| 3362 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2) | |
| 3363 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(130+4*math.cos(sine/14)),math.rad(0),math.rad(-60+4*math.cos(sine/14))), 0.3) | |
| 3364 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3) | |
| 3365 | 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) | |
| 3366 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 3367 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 3368 | end | |
| 3369 | elseif animpose == "Walking" then | |
| 3370 | if stanceToggle == "Normal" and holy ~= true then | |
| 3371 | change = 1 | |
| 3372 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2) | |
| 3373 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2) | |
| 3374 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2) | |
| 3375 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
| 3376 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
| 3377 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
| 3378 | elseif stanceToggle == "Normal" and holy == true then | |
| 3379 | for i = 1, 2 do | |
| 3380 | 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) | |
| 3381 | 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) | |
| 3382 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 3383 | 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) | |
| 3384 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 3385 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 3386 | end | |
| 3387 | elseif stanceToggle == "Melee" and holy ~= true then | |
| 3388 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/4))), 0.2) | |
| 3389 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/4), -math.sin(sine/8)/4)*CFrame.Angles(math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(-10-2*math.cos(sine/4))), 0.2) | |
| 3390 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2) | |
| 3391 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
| 3392 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
| 3393 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
| 3394 | elseif stanceToggle == "Melee" and holy == true then | |
| 3395 | 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) | |
| 3396 | 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) | |
| 3397 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 3398 | 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) | |
| 3399 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 3400 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 3401 | elseif stanceToggle == "Floating" then | |
| 3402 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 3403 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 3404 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4) | |
| 3405 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4) | |
| 3406 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4) | |
| 3407 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.2*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 3408 | elseif stanceToggle == "Grabbed" and holy ~= true then | |
| 3409 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2) | |
| 3410 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3) | |
| 3411 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2) | |
| 3412 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
| 3413 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
| 3414 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
| 3415 | elseif stanceToggle == "Grabbed" and holy == true then | |
| 3416 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2) | |
| 3417 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3) | |
| 3418 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4) | |
| 3419 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4) | |
| 3420 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4) | |
| 3421 | 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) | |
| 3422 | end | |
| 3423 | elseif animpose == "Running" then | |
| 3424 | if stanceToggle == "Normal" and holy ~= true then | |
| 3425 | change = 1 | |
| 3426 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15) | |
| 3427 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15) | |
| 3428 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15) | |
| 3429 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15) | |
| 3430 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15) | |
| 3431 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15) | |
| 3432 | elseif stanceToggle == "Normal" and holy == true then | |
| 3433 | change = 1 | |
| 3434 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(250),math.rad(350),math.rad(-30+2*math.cos(sine/14))), 0.2)--cfawm | |
| 3435 | 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) | |
| 3436 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
| 3437 | 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) | |
| 3438 | 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) | |
| 3439 | 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) | |
| 3440 | elseif stanceToggle == "Floating" then | |
| 3441 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 3442 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 3443 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0) | |
| 3444 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4) | |
| 3445 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4) | |
| 3446 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05) | |
| 3447 | end | |
| 3448 | end | |
| 3449 | end | |
| 3450 | end) | |
| 3451 | ||
| 3452 | Spawn(function() | |
| 3453 | while wait() do | |
| 3454 | updateFly() | |
| 3455 | end | |
| 3456 | end) | |
| 3457 | ||
| 3458 | Spawn(function() | |
| 3459 | while wait(.1) do | |
| 3460 | Magik() | |
| 3461 | end | |
| 3462 | end) | |
| 3463 | ||
| 3464 | Spawn(function() | |
| 3465 | while wait(.1) do | |
| 3466 | Magik2() | |
| 3467 | end | |
| 3468 | end) | |
| 3469 | ||
| 3470 | Spawn(function() | |
| 3471 | while wait(4) do | |
| 3472 | GroundWave() | |
| 3473 | end | |
| 3474 | end) | |
| 3475 | ||
| 3476 | ||
| 3477 | ||
| 3478 | ||
| 3479 | ||
| 3480 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
| 3481 | --[[Part0 = Vector3 (Start pos) | |
| 3482 | Part1 = Vector3 (End pos) | |
| 3483 | Times = number (Amount of lightning parts) | |
| 3484 | Offset = number (Offset) | |
| 3485 | Color = color (brickcolor value) | |
| 3486 | Thickness = number (thickness) | |
| 3487 | Trans = number (transparency) | |
| 3488 | ]]-- | |
| 3489 | local magz = (Part0 - Part1).magnitude | |
| 3490 | local curpos = Part0 | |
| 3491 | local trz = {-Offset,Offset}
| |
| 3492 | for i=1,Times do | |
| 3493 | local li = Instance.new("Part", torso)
| |
| 3494 | li.Name = "Lightning" | |
| 3495 | li.TopSurface =0 | |
| 3496 | li.Material = "Neon" | |
| 3497 | li.BottomSurface = 0 | |
| 3498 | li.Anchored = true | |
| 3499 | li.Locked = true | |
| 3500 | li.Transparency = Trans or 0.4 | |
| 3501 | li.BrickColor = BrickColor.new(Color) | |
| 3502 | li.formFactor = "Custom" | |
| 3503 | li.CanCollide = false | |
| 3504 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
| 3505 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
| 3506 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
| 3507 | if Times == i then | |
| 3508 | local magz2 = (curpos - Part1).magnitude | |
| 3509 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
| 3510 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
| 3511 | else | |
| 3512 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
| 3513 | end | |
| 3514 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
| 3515 | game.Debris:AddItem(li,.1) | |
| 3516 | end | |
| 3517 | end | |
| 3518 | ||
| 3519 | BodyParts = {} -- Parts to emit lightning effects from
| |
| 3520 | for _, v in pairs(char.Genkadda:GetChildren()) do | |
| 3521 | if v:IsA("Part") and v.Name ~= "HitBox" and v.Name ~= "Thingy" then
| |
| 3522 | table.insert(BodyParts, v) | |
| 3523 | end | |
| 3524 | end | |
| 3525 | ||
| 3526 | Bounding = {} -- Calculate the bounding boxes
| |
| 3527 | for _, v in pairs(BodyParts) do | |
| 3528 | local temp = {X=nil, Y=nil, Z=nil}
| |
| 3529 | temp.X = v.Size.X/2 * 10 | |
| 3530 | temp.Y = v.Size.Y/2 * 10 | |
| 3531 | temp.Z = v.Size.Z/2 * 10 | |
| 3532 | Bounding[v.Name] = temp | |
| 3533 | --table.insert(Bounding, v.Name, temp) | |
| 3534 | end | |
| 3535 | ||
| 3536 | ||
| 3537 | ||
| 3538 | while wait(lightspeed) do -- Emit the Lightning effects randomly, original was (1,10)/10 | |
| 3539 | ||
| 3540 | if Melee ~= true then --[[Make sure we only see the lightning when holding our sword]] | |
| 3541 | ||
| 3542 | if holy == true then | |
| 3543 | lightspeed = math.random(0.1,0.2) | |
| 3544 | else | |
| 3545 | lightspeed = math.random(0.5,1) | |
| 3546 | end | |
| 3547 | ||
| 3548 | local Body1 = BodyParts[math.random(#BodyParts)] | |
| 3549 | local Body2 = BodyParts[math.random(#BodyParts)] | |
| 3550 | local Pos1 = Vector3.new( | |
| 3551 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
| 3552 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
| 3553 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
| 3554 | ) | |
| 3555 | local Pos2 = Vector3.new( | |
| 3556 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
| 3557 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
| 3558 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
| 3559 | ) | |
| 3560 | local SPos1 = Body1.Position + Pos1 | |
| 3561 | local SPos2 = Body2.Position + Pos2 | |
| 3562 | ||
| 3563 | ||
| 3564 | ||
| 3565 | Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56) | |
| 3566 | ||
| 3567 | ||
| 3568 | end | |
| 3569 | end |