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