SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | local Player,game,owner = owner,game | |
| 3 | local RealPlayer = Player | |
| 4 | do | |
| 5 | print("FE Compatibility code by Mokiros")
| |
| 6 | local rp = RealPlayer | |
| 7 | script.Parent = rp.Character | |
| 8 | ||
| 9 | --RemoteEvent for communicating | |
| 10 | local Event = Instance.new("RemoteEvent")
| |
| 11 | Event.Name = "UserInput_Event" | |
| 12 | ||
| 13 | --Fake event to make stuff like Mouse.KeyDown work | |
| 14 | local function fakeEvent() | |
| 15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
| |
| 16 | t.connect = t.Connect | |
| 17 | return t | |
| 18 | end | |
| 19 | ||
| 20 | --Creating fake input objects with fake variables | |
| 21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 25 | end} | |
| 26 | --Merged 2 functions into one by checking amount of arguments | |
| 27 | CAS.UnbindAction = CAS.BindAction | |
| 28 | ||
| 29 | --This function will trigger the events that have been :Connect()'ed | |
| 30 | local function te(self,ev,...) | |
| 31 | local t = m[ev] | |
| 32 | if t and t._fakeEvent then | |
| 33 | for _,f in pairs(t.Functions) do | |
| 34 | f(...) | |
| 35 | end | |
| 36 | end | |
| 37 | end | |
| 38 | m.TrigEvent = te | |
| 39 | UIS.TrigEvent = te | |
| 40 | ||
| 41 | Event.OnServerEvent:Connect(function(plr,io) | |
| 42 | if plr~=rp then return end | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | if not io.isMouse then | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local Mouse = Player:GetMouse() | |
| 66 | local UIS = game:GetService("UserInputService")
| |
| 67 | local input = function(io,a) | |
| 68 | if a then return end | |
| 69 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 70 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 71 | end | |
| 72 | UIS.InputBegan:Connect(input) | |
| 73 | UIS.InputEnded:Connect(input) | |
| 74 | ||
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | ||
| 85 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 86 | --Real game object | |
| 87 | local _rg = game | |
| 88 | ||
| 89 | --Metatable for fake service | |
| 90 | local fsmt = {
| |
| 91 | __index = function(self,k) | |
| 92 | local s = rawget(self,"_RealService") | |
| 93 | if s then return s[k] end | |
| 94 | end, | |
| 95 | __newindex = function(self,k,v) | |
| 96 | local s = rawget(self,"_RealService") | |
| 97 | if s then s[k]=v end | |
| 98 | end, | |
| 99 | __call = function(self,...) | |
| 100 | local s = rawget(self,"_RealService") | |
| 101 | if s then return s(...) end | |
| 102 | end | |
| 103 | } | |
| 104 | local function FakeService(t,RealService) | |
| 105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
| 106 | return setmetatable(t,fsmt) | |
| 107 | end | |
| 108 | ||
| 109 | --Fake game object | |
| 110 | local g = {
| |
| 111 | GetService = function(self,s) | |
| 112 | return self[s] | |
| 113 | end, | |
| 114 | Players = FakeService({
| |
| 115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
| |
| 116 | },"Players"), | |
| 117 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 119 | } | |
| 120 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 121 | g.service = g.GetService | |
| 122 | ||
| 123 | g.RunService = FakeService({
| |
| 124 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 125 | BindToRenderStep = function(self,name,_,fun) | |
| 126 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 127 | end, | |
| 128 | UnbindFromRenderStep = function(self,name) | |
| 129 | self._btrs[name]:Disconnect() | |
| 130 | end, | |
| 131 | },"RunService") | |
| 132 | ||
| 133 | setmetatable(g,{
| |
| 134 | __index=function(self,s) | |
| 135 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
| 136 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
| 137 | end, | |
| 138 | __newindex = fsmt.__newindex, | |
| 139 | __call = fsmt.__call | |
| 140 | }) | |
| 141 | --Changing owner to fake player object to support owner:GetMouse() | |
| 142 | game,owner = g,g.Players.LocalPlayer | |
| 143 | end | |
| 144 | ||
| 145 | ||
| 146 | -- Goku Black Remastered -- | |
| 147 | -- Credits to PapiSwagGamez -- | |
| 148 | local p = game.Players.LocalPlayer | |
| 149 | local char = p.Character | |
| 150 | local mouse = p:GetMouse() | |
| 151 | local larm = char["Left Arm"] | |
| 152 | local rarm = char["Right Arm"] | |
| 153 | local lleg = char["Left Leg"] | |
| 154 | local rleg = char["Right Leg"] | |
| 155 | local hed = char.Head | |
| 156 | local torso = char.Torso | |
| 157 | local hum = char.Humanoid | |
| 158 | local cam = game.Workspace.CurrentCamera | |
| 159 | local root = char.HumanoidRootPart | |
| 160 | local rj = root.RootJoint | |
| 161 | local deb = false | |
| 162 | local shot = 0 | |
| 163 | local animpose = "Idle" | |
| 164 | local lastanimpose = "Idle" | |
| 165 | local stanceToggle = "Normal" | |
| 166 | local l = game:GetService("Lighting")
| |
| 167 | local rs = game:GetService("RunService").RenderStepped
| |
| 168 | local hb = game:GetService("RunService").Heartbeat
| |
| 169 | local Stepped = game:GetService("RunService").Stepped
| |
| 170 | local Touche = {char.Name, }
| |
| 171 | math.randomseed(os.time()) | |
| 172 | hum.JumpPower = 100 | |
| 173 | hed.face.Texture = "rbxassetid://33395282" | |
| 174 | char["Body Colors"].HeadColor = BrickColor.new("Nougat")
| |
| 175 | char["Body Colors"].TorsoColor = BrickColor.new("Hot pink")
| |
| 176 | char["Body Colors"].LeftArmColor = BrickColor.new("Nougat")
| |
| 177 | char["Body Colors"].RightArmColor = BrickColor.new("Nougat")
| |
| 178 | ---- | |
| 179 | ||
| 180 | ||
| 181 | ---------------------------------------------------- | |
| 182 | mod5 = Instance.new("Model",char)
| |
| 183 | ||
| 184 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 185 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 186 | local List = {}
| |
| 187 | for i,v in pairs(workspace:GetChildren())do | |
| 188 | if v:IsA("Model")then
| |
| 189 | if v:findFirstChild("Torso")then
| |
| 190 | if v ~= char then | |
| 191 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 192 | table.insert(List,v) | |
| 193 | end | |
| 194 | end | |
| 195 | end | |
| 196 | end | |
| 197 | end | |
| 198 | return List | |
| 199 | end | |
| 200 | ||
| 201 | function Landing() | |
| 202 | part=Instance.new('Part',mod5)
| |
| 203 | part.Anchored=true | |
| 204 | part.CanCollide=false | |
| 205 | part.FormFactor='Custom' | |
| 206 | part.Size=Vector3.new(2,2,2) | |
| 207 | part.CFrame=root.CFrame*CFrame.new(0,-2,0) | |
| 208 | part.Transparency=.7 | |
| 209 | part.BrickColor=BrickColor.new('Really black')
| |
| 210 | mesh=Instance.new('SpecialMesh',part)
| |
| 211 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 212 | mesh.Scale=Vector3.new(10,5,10) | |
| 213 | ||
| 214 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do | |
| 215 | if v:FindFirstChild('Humanoid') then
| |
| 216 | v.Humanoid:TakeDamage(math.random(20,30)) | |
| 217 | v.Humanoid.PlatformStand = true | |
| 218 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 219 | end | |
| 220 | end | |
| 221 | ||
| 222 | coroutine.resume(coroutine.create(function() | |
| 223 | for i=0,3.8,0.05 do | |
| 224 | wait() | |
| 225 | part.CFrame=part.CFrame | |
| 226 | part.Transparency=i | |
| 227 | mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1) | |
| 228 | end | |
| 229 | part.Parent = nil | |
| 230 | end)) | |
| 231 | end | |
| 232 | ----- | |
| 233 | BoostedColorScheme = "Pink" | |
| 234 | ||
| 235 | ||
| 236 | ||
| 237 | local lightspeed = math.random(0.1,0.2) | |
| 238 | local holy = false -- Is in holy/boosted form? | |
| 239 | local eColors = {"Really black", "Really black"}
| |
| 240 | local idz = {"326737588", "326737588"}
| |
| 241 | local Effects={}
| |
| 242 | local attackvalue = 1 | |
| 243 | ||
| 244 | function HasntTouched(plrname) | |
| 245 | local ret = true | |
| 246 | for _, v in pairs(Touche) do | |
| 247 | if v == plrname then | |
| 248 | ret = false | |
| 249 | end | |
| 250 | end | |
| 251 | return ret | |
| 252 | end | |
| 253 | ||
| 254 | ||
| 255 | ||
| 256 | ||
| 257 | shirt = Instance.new("Shirt", char)
| |
| 258 | shirt.Name = "Shirt" | |
| 259 | pants = Instance.new("Pants", char)
| |
| 260 | pants.Name = "Pants" | |
| 261 | char.Shirt.ShirtTemplate = "rbxassetid://453433302" | |
| 262 | char.Pants.PantsTemplate = "rbxassetid://465668148" | |
| 263 | ||
| 264 | if holy == false then | |
| 265 | eColors = {"Dark indigo", "Really black"}
| |
| 266 | else if holy == true then | |
| 267 | eColors = {BoostedColorScheme}
| |
| 268 | end | |
| 269 | end | |
| 270 | ||
| 271 | ||
| 272 | ||
| 273 | ||
| 274 | ||
| 275 | local ptz = {0.7, 0.8, 0.9, 1}
| |
| 276 | local ptz2 = {1.5, 1.6, 1.7, 1.8, 1.9, 2}
| |
| 277 | ||
| 278 | local edit = function(name,mat,col) | |
| 279 | name.Material = mat | |
| 280 | name.BrickColor = BrickColor.new(col) | |
| 281 | end | |
| 282 | ||
| 283 | ||
| 284 | function newRay(start,face,range,wat) | |
| 285 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
| 286 | hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
| 287 | return rey,hit,pos | |
| 288 | end | |
| 289 | ||
| 290 | ||
| 291 | --mossic | |
| 292 | lemosic = Instance.new("Sound",char) --Smile: print("â?º")
| |
| 293 | lemosic.SoundId = "rbxassetid://630286865"--410761150, 411368002 | |
| 294 | lemosic.Looped = true | |
| 295 | lemosic.Pitch = 1 | |
| 296 | lemosic.Volume = 1 | |
| 297 | wait(0.1) | |
| 298 | lemosic:Play() | |
| 299 | ---------------------------------------------------- | |
| 300 | --[[Additional Functions]] | |
| 301 | ||
| 302 | cf=CFrame.new | |
| 303 | vt=Vector3.new | |
| 304 | ||
| 305 | function swait(num) | |
| 306 | if num==0 or num==nil then | |
| 307 | game:service'RunService'.Stepped:wait(0) | |
| 308 | else | |
| 309 | for i=0,num do | |
| 310 | game:service'RunService'.Stepped:wait(0) | |
| 311 | end | |
| 312 | end | |
| 313 | end | |
| 314 | ||
| 315 | so = function(id,par,vol,pit) | |
| 316 | coroutine.resume(coroutine.create(function() | |
| 317 | local sou = Instance.new("Sound",par or workspace)
| |
| 318 | sou.Volume=vol | |
| 319 | sou.Pitch=pit or 1 | |
| 320 | sou.SoundId=id | |
| 321 | swait() | |
| 322 | sou:play() | |
| 323 | game:GetService("Debris"):AddItem(sou,6)
| |
| 324 | end)) | |
| 325 | end | |
| 326 | ---------------------------------------------------------- | |
| 327 | local player = game.Players.LocalPlayer | |
| 328 | local pchar = player.Character | |
| 329 | local mouse = player:GetMouse() | |
| 330 | local cam = workspace.CurrentCamera | |
| 331 | ||
| 332 | local rad = math.rad | |
| 333 | ||
| 334 | local keysDown = {}
| |
| 335 | local flySpeed = 0 | |
| 336 | local MAX_FLY_SPEED = 150 | |
| 337 | ||
| 338 | local canFly = false | |
| 339 | local flyToggled = false | |
| 340 | ||
| 341 | local forward, side = 0, 0 | |
| 342 | local lastForward, lastSide = 0, 0 | |
| 343 | ||
| 344 | local floatBP = Instance.new("BodyPosition")
| |
| 345 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
| 346 | local flyBV = Instance.new("BodyVelocity")
| |
| 347 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 348 | local turnBG = Instance.new("BodyGyro")
| |
| 349 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 350 | ||
| 351 | mouse.KeyDown:connect(function(key) | |
| 352 | keysDown[key] = true | |
| 353 | ||
| 354 | if key == "f" then | |
| 355 | flyToggled = not flyToggled | |
| 356 | ||
| 357 | if not flyToggled then | |
| 358 | stanceToggle = "Normal" | |
| 359 | floatBP.Parent = nil | |
| 360 | flyBV.Parent = nil | |
| 361 | turnBG.Parent = nil | |
| 362 | root.Velocity = Vector3.new() | |
| 363 | pchar.Humanoid.PlatformStand = false | |
| 364 | end | |
| 365 | end | |
| 366 | ||
| 367 | end) | |
| 368 | mouse.KeyUp:connect(function(key) | |
| 369 | keysDown[key] = nil | |
| 370 | end) | |
| 371 | ||
| 372 | local function updateFly() | |
| 373 | ||
| 374 | if not flyToggled then return end | |
| 375 | ||
| 376 | lastForward = forward | |
| 377 | lastSide = side | |
| 378 | ||
| 379 | forward = 0 | |
| 380 | side = 0 | |
| 381 | ||
| 382 | if keysDown.w then | |
| 383 | forward = forward + 1 | |
| 384 | end | |
| 385 | if keysDown.s then | |
| 386 | forward = forward - 1 | |
| 387 | end | |
| 388 | if keysDown.a then | |
| 389 | side = side - 1 | |
| 390 | end | |
| 391 | if keysDown.d then | |
| 392 | side = side + 1 | |
| 393 | end | |
| 394 | ||
| 395 | canFly = (forward ~= 0 or side ~= 0) | |
| 396 | ||
| 397 | if canFly then | |
| 398 | stanceToggle = "Floating" | |
| 399 | turnBG.Parent = root | |
| 400 | floatBP.Parent = nil | |
| 401 | flyBV.Parent = root | |
| 402 | ||
| 403 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
| 404 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
| 405 | else | |
| 406 | floatBP.position = root.Position | |
| 407 | floatBP.Parent = root | |
| 408 | ||
| 409 | flySpeed = flySpeed - 1 | |
| 410 | if flySpeed < 0 then flySpeed = 0 end | |
| 411 | end | |
| 412 | ||
| 413 | local camCF = cam.CoordinateFrame | |
| 414 | local in_forward = canFly and forward or lastForward | |
| 415 | local in_side = canFly and side or lastSide | |
| 416 | ||
| 417 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
| 418 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
| 419 | ||
| 420 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
| 421 | 0) | |
| 422 | end | |
| 423 | ||
| 424 | game:service'RunService'.RenderStepped:connect(function() | |
| 425 | if flyToggled then | |
| 426 | pchar.Humanoid.PlatformStand = true | |
| 427 | end | |
| 428 | updateFly() | |
| 429 | end) | |
| 430 | ||
| 431 | ||
| 432 | ------------------------------------------- | |
| 433 | repeat wait() until game.Players.LocalPlayer | |
| 434 | local Mouse = game.Players.LocalPlayer:GetMouse() | |
| 435 | local Plr = game.Players.LocalPlayer | |
| 436 | ||
| 437 | Mouse.KeyDown:connect(function(KeyDown) | |
| 438 | if KeyDown == "0" then | |
| 439 | Plr.Character.Humanoid.WalkSpeed = 40 | |
| 440 | end | |
| 441 | end) | |
| 442 | ||
| 443 | Mouse.KeyUp:connect(function(KeyUp) | |
| 444 | if KeyUp == "0" then | |
| 445 | Plr.Character.Humanoid.WalkSpeed = 17 | |
| 446 | end | |
| 447 | end) | |
| 448 | ||
| 449 | ----------------------------------------------------------------- | |
| 450 | ||
| 451 | ------- | |
| 452 | fat = Instance.new("BindableEvent",script)
| |
| 453 | fat.Name = "Heartbeat" | |
| 454 | ||
| 455 | script:WaitForChild("Heartbeat")
| |
| 456 | ||
| 457 | frame = 1/30 | |
| 458 | tf = 0 | |
| 459 | allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater. | |
| 460 | tossremainder = false --if set to true t will be set to 0 after Fire()-ing. | |
| 461 | lastframe = tick() | |
| 462 | script.Heartbeat:Fire() --ayy lmao | |
| 463 | ||
| 464 | game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
| |
| 465 | tf = tf + s | |
| 466 | if tf >= frame then | |
| 467 | if allowframeloss then | |
| 468 | script.Heartbeat:Fire() | |
| 469 | lastframe=tick() | |
| 470 | else | |
| 471 | --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
| |
| 472 | for i=1, math.floor(tf/frame) do | |
| 473 | script.Heartbeat:Fire() | |
| 474 | end | |
| 475 | lastframe=tick() | |
| 476 | end | |
| 477 | if tossremainder then | |
| 478 | tf = 0 | |
| 479 | else | |
| 480 | tf = tf - frame * math.floor(tf/frame) | |
| 481 | end | |
| 482 | end | |
| 483 | end) | |
| 484 | ---------------------------------------------------- | |
| 485 | for i,v in pairs(char:children()) do | |
| 486 | if v:IsA("Hat") then
| |
| 487 | v:Destroy() | |
| 488 | end | |
| 489 | end | |
| 490 | for i,v in pairs (hed:GetChildren()) do | |
| 491 | if v:IsA("Sound") then
| |
| 492 | v:Destroy() | |
| 493 | end | |
| 494 | end | |
| 495 | ---------------------------------------------------- | |
| 496 | Debounces = {
| |
| 497 | CanAttack = true; | |
| 498 | CanJoke = true; | |
| 499 | NoIdl = false; | |
| 500 | Slashing = false; | |
| 501 | Slashed = false; | |
| 502 | ks = false; | |
| 503 | } | |
| 504 | ---------------------------------------------------- | |
| 505 | function weld5(part0, part1, c0, c1) | |
| 506 | weeld=Instance.new("Weld", part0)
| |
| 507 | weeld.Part0=part0 | |
| 508 | weeld.Part1=part1 | |
| 509 | weeld.C0=c0 | |
| 510 | weeld.C1=c1 | |
| 511 | return weeld | |
| 512 | end | |
| 513 | ---------------------------------------------------- | |
| 514 | function NewPart(prnt,siz,cf,trans,anc,mat,col) | |
| 515 | local prt=Instance.new("Part")
| |
| 516 | prt.Parent=prnt | |
| 517 | prt.Name="Part" | |
| 518 | prt.Size=siz | |
| 519 | prt.CanCollide=false | |
| 520 | prt.Anchored=anc | |
| 521 | prt.Locked=true | |
| 522 | prt.Transparency = trans | |
| 523 | prt.TopSurface=10 | |
| 524 | prt.BottomSurface=10 | |
| 525 | prt.FrontSurface=10 | |
| 526 | prt.BackSurface=10 | |
| 527 | prt.LeftSurface=10 | |
| 528 | prt.RightSurface=10 | |
| 529 | prt:BreakJoints() | |
| 530 | prt.CFrame=cf or CFrame.new(30,10,30) | |
| 531 | prt.Material=mat | |
| 532 | prt.BrickColor=BrickColor.new(col) | |
| 533 | m=Instance.new("SpecialMesh",prt)
| |
| 534 | m.MeshType=6 | |
| 535 | return prt | |
| 536 | end | |
| 537 | ---------------------------------------------------- | |
| 538 | function lerp(a, b, t) -- Linear interpolation | |
| 539 | return a + (b - a)*t | |
| 540 | end | |
| 541 | ||
| 542 | function slerp(a, b, t) --Spherical interpolation | |
| 543 | dot = a:Dot(b) | |
| 544 | if dot > 0.99999 or dot < -0.99999 then | |
| 545 | return t <= 0.5 and a or b | |
| 546 | else | |
| 547 | r = math.acos(dot) | |
| 548 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 549 | end | |
| 550 | end | |
| 551 | ||
| 552 | function matrixInterpolate(a, b, t) | |
| 553 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 554 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 555 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 556 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 557 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 558 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 559 | local t = v1:Dot(v2) | |
| 560 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 561 | return CFrame.new() | |
| 562 | end | |
| 563 | return CFrame.new( | |
| 564 | v0.x, v0.y, v0.z, | |
| 565 | v1.x, v1.y, v1.z, | |
| 566 | v2.x, v2.y, v2.z, | |
| 567 | v3.x, v3.y, v3.z) | |
| 568 | end | |
| 569 | ---------------------------------------------------- | |
| 570 | function genWeld(a,b) | |
| 571 | local w = Instance.new("Weld",a)
| |
| 572 | w.Part0 = a | |
| 573 | w.Part1 = b | |
| 574 | return w | |
| 575 | end | |
| 576 | function weld(a, b) | |
| 577 | local weld = Instance.new("Weld")
| |
| 578 | weld.Name = "W" | |
| 579 | weld.Part0 = a | |
| 580 | weld.Part1 = b | |
| 581 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 582 | weld.Parent = a | |
| 583 | return weld; | |
| 584 | end | |
| 585 | ---------------------------------------------------- | |
| 586 | function Lerp(c1,c2,al) | |
| 587 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 588 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 589 | for i,v in pairs(com1) do | |
| 590 | com1[i] = v+(com2[i]-v)*al | |
| 591 | end | |
| 592 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 593 | end | |
| 594 | ---------------------------------------------------- | |
| 595 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 596 | local wld = Instance.new("Weld", wp1)
| |
| 597 | wld.Part0 = wp0 | |
| 598 | wld.Part1 = wp1 | |
| 599 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 600 | end | |
| 601 | ---------------------------------------------------- | |
| 602 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 603 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 604 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 605 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 606 | newWeld(torso, hed, 0, 1.5, 0) | |
| 607 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 608 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 609 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 610 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 611 | newWeld(root, torso, 0, -1, 0) | |
| 612 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 613 | ---------------------------------------------------- | |
| 614 | ---------------------------------------------------- | |
| 615 | New = function(Object, Parent, Name, Data) | |
| 616 | local Object = Instance.new(Object) | |
| 617 | for Index, Value in pairs(Data or {}) do
| |
| 618 | Object[Index] = Value | |
| 619 | end | |
| 620 | Object.Parent = Parent | |
| 621 | Object.Name = Name | |
| 622 | return Object | |
| 623 | end | |
| 624 | ---------------------------------------------------- | |
| 625 | ||
| 626 | ||
| 627 | ---------------------------------------------------- | |
| 628 | ||
| 629 | ---------------------------------------------------- | |
| 630 | hair = Instance.new("Part", hed)
| |
| 631 | hair.BrickColor = BrickColor.new("Really black")
| |
| 632 | hair.Anchored = false | |
| 633 | hair.Locked = true | |
| 634 | hair.CanCollide = false | |
| 635 | hair.Size = Vector3.new(1, 1, 1) | |
| 636 | hair.CFrame = char.Head.CFrame | |
| 637 | hairm = Instance.new("SpecialMesh", hair)
| |
| 638 | hairm.MeshId = "rbxassetid://476757756" | |
| 639 | hairm.TextureId = "" | |
| 640 | hairm.MeshType = Enum.MeshType.FileMesh | |
| 641 | hairm.Name = "Mesh" | |
| 642 | hairm.Scale = Vector3.new(1, 1, 1) | |
| 643 | hairw = Instance.new("Weld", hair)
| |
| 644 | hairw.Part0 = hed | |
| 645 | hairw.Part1 = hair | |
| 646 | hairm.Offset = Vector3.new(0.2, 0.7, 0.1) | |
| 647 | ||
| 648 | ---------------------------------------------------- | |
| 649 | ---------------------------------------------------- | |
| 650 | ||
| 651 | ---------------------------------------------------------------- | |
| 652 | local animpose = "Idle" | |
| 653 | local lastanimpose = "Idle" | |
| 654 | local grab = false | |
| 655 | local sine = 0 | |
| 656 | local change = 1 | |
| 657 | local val = 0 | |
| 658 | local ffing = false | |
| 659 | local jump = false | |
| 660 | ---------------------------------------------------- | |
| 661 | ---------------------------------------------------- | |
| 662 | mouse.KeyDown:connect(function(key) | |
| 663 | if key == "e" then | |
| 664 | if Debounces.CanAttack == true then | |
| 665 | Debounces.CanAttack = false | |
| 666 | Debounces.on = true | |
| 667 | Debounces.NoIdl = true | |
| 668 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
| |
| 669 | z = Instance.new("Sound", rarm)
| |
| 670 | z.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
| 671 | z.Volume = 1.25 | |
| 672 | z.Pitch = pt[math.random(1,#pt)] | |
| 673 | z.Looped = false | |
| 674 | z:Play() | |
| 675 | Debounces.RPunch = true | |
| 676 | Debounces.LPunch = true | |
| 677 | Debounces.ks = true | |
| 678 | Debounces.ks2 = true | |
| 679 | for i = 1, 3 do | |
| 680 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 681 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 682 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 683 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 684 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 685 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 686 | if Debounces.on == false then break end | |
| 687 | wait() | |
| 688 | end | |
| 689 | z2 = Instance.new("Sound", larm)
| |
| 690 | z2.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 691 | z2.Volume = 1.25 | |
| 692 | z2.Pitch = pt[math.random(1,#pt)] | |
| 693 | z2.Looped = false | |
| 694 | z2:Play() | |
| 695 | for i = 1, 3 do | |
| 696 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 697 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 698 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 699 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 700 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 701 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 702 | if Debounces.on == false then break end | |
| 703 | wait() | |
| 704 | end | |
| 705 | z3 = Instance.new("Sound", rarm)
| |
| 706 | z3.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 707 | z3.Volume = 1.25 | |
| 708 | z3.Pitch = pt[math.random(1,#pt)] | |
| 709 | z3.Looped = false | |
| 710 | z3:Play() | |
| 711 | for i = 1, 3 do | |
| 712 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 713 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 714 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 715 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 716 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 717 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 718 | if Debounces.on == false then break end | |
| 719 | wait() | |
| 720 | end | |
| 721 | z4 = Instance.new("Sound", larm)
| |
| 722 | z4.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 723 | z4.Volume = 1.25 | |
| 724 | z4.Pitch = pt[math.random(1,#pt)] | |
| 725 | z4.Looped = false | |
| 726 | z4:Play() | |
| 727 | for i = 1, 3 do | |
| 728 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 729 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 730 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 731 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 732 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 733 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 734 | if Debounces.on == false then break end | |
| 735 | wait() | |
| 736 | end | |
| 737 | z5 = Instance.new("Sound", rarm)
| |
| 738 | z5.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 739 | z5.Volume = 1.25 | |
| 740 | z5.Pitch = pt[math.random(1,#pt)] | |
| 741 | z5.Looped = false | |
| 742 | z5:Play() | |
| 743 | for i = 1, 3 do | |
| 744 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 745 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 746 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 747 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 748 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 749 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 750 | if Debounces.on == false then break end | |
| 751 | wait() | |
| 752 | end | |
| 753 | z6 = Instance.new("Sound", larm)
| |
| 754 | z6.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 755 | z6.Volume = 1.25 | |
| 756 | z6.Pitch = pt[math.random(1,#pt)] | |
| 757 | z6.Looped = false | |
| 758 | z6:Play() | |
| 759 | for i = 1, 3 do | |
| 760 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 761 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 762 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 763 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 764 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 765 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 766 | if Debounces.on == false then break end | |
| 767 | wait() | |
| 768 | end | |
| 769 | z7 = Instance.new("Sound", rarm)
| |
| 770 | z7.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
| 771 | z7.Volume = 1.25 | |
| 772 | z7.Pitch = pt[math.random(1,#pt)] | |
| 773 | z7.Looped = false | |
| 774 | z7:Play() | |
| 775 | for i = 1, 3 do | |
| 776 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 777 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 778 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 779 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 780 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 781 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 782 | if Debounces.on == false then break end | |
| 783 | wait() | |
| 784 | end | |
| 785 | z8 = Instance.new("Sound", larm)
| |
| 786 | z8.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 787 | z8.Volume = 1.25 | |
| 788 | z8.Pitch = pt[math.random(1,#pt)] | |
| 789 | z8.Looped = false | |
| 790 | z8:Play() | |
| 791 | for i = 1, 3 do | |
| 792 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 793 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 794 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 795 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 796 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 797 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 798 | if Debounces.on == false then break end | |
| 799 | wait() | |
| 800 | end | |
| 801 | z9 = Instance.new("Sound", rarm)
| |
| 802 | z9.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 803 | z9.Volume = 1.25 | |
| 804 | z9.Pitch = pt[math.random(1,#pt)] | |
| 805 | z9.Looped = false | |
| 806 | z9:Play() | |
| 807 | for i = 1, 3 do | |
| 808 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 809 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 810 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 811 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 812 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 813 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 814 | if Debounces.on == false then break end | |
| 815 | wait() | |
| 816 | end | |
| 817 | z10 = Instance.new("Sound", larm)
| |
| 818 | z10.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 819 | z10.Volume = 1.25 | |
| 820 | z10.Pitch = pt[math.random(1,#pt)] | |
| 821 | z10.Looped = false | |
| 822 | z10:Play() | |
| 823 | for i = 1, 3 do | |
| 824 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 825 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 826 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 827 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 828 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 829 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 830 | if Debounces.on == false then break end | |
| 831 | wait() | |
| 832 | end | |
| 833 | z11 = Instance.new("Sound", rarm)
| |
| 834 | z11.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 835 | z11.Volume = 1.25 | |
| 836 | z11.Pitch = pt[math.random(1,#pt)] | |
| 837 | z11.Looped = false | |
| 838 | z11:Play() | |
| 839 | for i = 1, 3 do | |
| 840 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 841 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 842 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 843 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 844 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 845 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 846 | if Debounces.on == false then break end | |
| 847 | wait() | |
| 848 | end | |
| 849 | z12 = Instance.new("Sound", larm)
| |
| 850 | z12.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 851 | z12.Volume = 1.25 | |
| 852 | z12.Pitch = pt[math.random(1,#pt)] | |
| 853 | z12.Looped = false | |
| 854 | z12:Play() | |
| 855 | for i = 1, 3 do | |
| 856 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 857 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 858 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 859 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 860 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 861 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 862 | if Debounces.on == false then break end | |
| 863 | wait() | |
| 864 | end | |
| 865 | z13 = Instance.new("Sound", rarm)
| |
| 866 | z13.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 867 | z13.Volume = 1.25 | |
| 868 | z13.Pitch = pt[math.random(1,#pt)] | |
| 869 | z13.Looped = false | |
| 870 | z13:Play() | |
| 871 | for i = 1, 3 do | |
| 872 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 873 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 874 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 875 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 876 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 877 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 878 | if Debounces.on == false then break end | |
| 879 | wait() | |
| 880 | end | |
| 881 | z14 = Instance.new("Sound", larm)
| |
| 882 | z14.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 883 | z14.Volume = 1.25 | |
| 884 | z14.Pitch = pt[math.random(1,#pt)] | |
| 885 | z14.Looped = false | |
| 886 | z14:Play() | |
| 887 | for i = 1, 3 do | |
| 888 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 889 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 890 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 891 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 892 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 893 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 894 | if Debounces.on == false then break end | |
| 895 | wait() | |
| 896 | end | |
| 897 | z15 = Instance.new("Sound", rarm)
| |
| 898 | z15.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 899 | z15.Volume = 1.25 | |
| 900 | z15.Pitch = pt[math.random(1,#pt)] | |
| 901 | z15.Looped = false | |
| 902 | z15:Play() | |
| 903 | for i = 1, 3 do | |
| 904 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 905 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 906 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 907 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 908 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 909 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 910 | if Debounces.on == false then break end | |
| 911 | wait() | |
| 912 | end | |
| 913 | z16 = Instance.new("Sound", larm)
| |
| 914 | z16.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 915 | z16.Volume = 1.25 | |
| 916 | z16.Pitch = pt[math.random(1,#pt)] | |
| 917 | z16.Looped = false | |
| 918 | z16:Play() | |
| 919 | for i = 1, 3 do | |
| 920 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 921 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 922 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 923 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 924 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 925 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 926 | if Debounces.on == false then break end | |
| 927 | wait() | |
| 928 | end | |
| 929 | z17 = Instance.new("Sound", rarm)
| |
| 930 | z17.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
| 931 | z17.Volume = 1.25 | |
| 932 | z17.Pitch = pt[math.random(1,#pt)] | |
| 933 | z17.Looped = false | |
| 934 | z17:Play() | |
| 935 | for i = 1, 3 do | |
| 936 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 937 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 938 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 939 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 940 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 941 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 942 | if Debounces.on == false then break end | |
| 943 | wait() | |
| 944 | end | |
| 945 | z18 = Instance.new("Sound", larm)
| |
| 946 | z18.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 947 | z18.Volume = 1.25 | |
| 948 | z18.Pitch = pt[math.random(1,#pt)] | |
| 949 | z18.Looped = false | |
| 950 | z18:Play() | |
| 951 | for i = 1, 3 do | |
| 952 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 953 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 954 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 955 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 956 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 957 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 958 | if Debounces.on == false then break end | |
| 959 | wait() | |
| 960 | end | |
| 961 | z19 = Instance.new("Sound", rarm)
| |
| 962 | z19.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 963 | z19.Volume = 1.25 | |
| 964 | z19.Pitch = pt[math.random(1,#pt)] | |
| 965 | z19.Looped = false | |
| 966 | z19:Play() | |
| 967 | for i = 1, 3 do | |
| 968 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 969 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 970 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 971 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 972 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 973 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 974 | if Debounces.on == false then break end | |
| 975 | wait() | |
| 976 | end | |
| 977 | z20 = Instance.new("Sound", larm)
| |
| 978 | z20.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 979 | z20.Volume = 1.25 | |
| 980 | z20.Pitch = pt[math.random(1,#pt)] | |
| 981 | z20.Looped = false | |
| 982 | z20:Play() | |
| 983 | for i = 1, 3 do | |
| 984 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 985 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 986 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 987 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 988 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 989 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 990 | if Debounces.on == false then break end | |
| 991 | wait() | |
| 992 | end | |
| 993 | z:Destroy() | |
| 994 | z2:Destroy() | |
| 995 | z3:Destroy() | |
| 996 | z4:Destroy() | |
| 997 | z5:Destroy() | |
| 998 | z6:Destroy() | |
| 999 | z7:Destroy() | |
| 1000 | z8:Destroy() | |
| 1001 | z9:Destroy() | |
| 1002 | z10:Destroy() | |
| 1003 | z11:Destroy() | |
| 1004 | z12:Destroy() | |
| 1005 | z13:Destroy() | |
| 1006 | z14:Destroy() | |
| 1007 | z15:Destroy() | |
| 1008 | z16:Destroy() | |
| 1009 | z17:Destroy() | |
| 1010 | z18:Destroy() | |
| 1011 | z19:Destroy() | |
| 1012 | z20:Destroy() | |
| 1013 | Debounces.LPunch = false | |
| 1014 | Debounces.RPunch = false | |
| 1015 | Debounces.ks = false | |
| 1016 | Debounces.ks2 = false | |
| 1017 | if Debounces.CanAttack == false then | |
| 1018 | Debounces.CanAttack = true | |
| 1019 | Debounces.on = false | |
| 1020 | Debounces.NoIdl = false | |
| 1021 | end | |
| 1022 | end | |
| 1023 | end | |
| 1024 | end) | |
| 1025 | --------- | |
| 1026 | Charging = false | |
| 1027 | chargewait = false | |
| 1028 | mouse.KeyDown:connect(function(key) | |
| 1029 | if key == "h" then | |
| 1030 | if Charging == false and chargewait == false then | |
| 1031 | Charging = true | |
| 1032 | chargewait = true | |
| 1033 | if Debounces.CanAttack == true then | |
| 1034 | Debounces.CanAttack = false | |
| 1035 | Debounces.NoIdl = true | |
| 1036 | Debounces.on = true | |
| 1037 | ||
| 1038 | ||
| 1039 | if holy ~= true then | |
| 1040 | holy = true | |
| 1041 | else holy = false | |
| 1042 | end | |
| 1043 | ||
| 1044 | ||
| 1045 | for i = 1,20 do | |
| 1046 | 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) | |
| 1047 | 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) | |
| 1048 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 1049 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 1050 | 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) | |
| 1051 | 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) | |
| 1052 | if Debounces.on == false then break end | |
| 1053 | rs:wait() | |
| 1054 | end | |
| 1055 | pt=Instance.new('Part',torso)
| |
| 1056 | pt.Anchored=true | |
| 1057 | pt.CanCollide=false | |
| 1058 | pt.Locked = true | |
| 1059 | pt.Material = "Neon" | |
| 1060 | pt.FormFactor='Custom' | |
| 1061 | pt.Size=Vector3.new(1,1,1) | |
| 1062 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 1063 | pt.Transparency=.6 | |
| 1064 | ||
| 1065 | if holy == false then | |
| 1066 | --mossic | |
| 1067 | lemosic = Instance.new("Sound",char) --Smile: print("â?º")
| |
| 1068 | lemosic.SoundId = "rbxassetid://610267439"--410761150, 411368002 | |
| 1069 | lemosic.Looped = true | |
| 1070 | lemosic.Pitch = 1 | |
| 1071 | lemosic.Volume = 1 | |
| 1072 | wait(0.1) | |
| 1073 | lemosic:Play() | |
| 1074 | end | |
| 1075 | ||
| 1076 | if holy == true then | |
| 1077 | --moosic | |
| 1078 | mosic = Instance.new("Sound",char) --Smile: print("â?º")
| |
| 1079 | mosic.SoundId = "rbxassetid://680804471"--410761150, 411368002 | |
| 1080 | mosic.Looped = true | |
| 1081 | mosic.Pitch = 1 | |
| 1082 | mosic.Volume = 1 | |
| 1083 | wait(0.1) | |
| 1084 | mosic:Play() | |
| 1085 | lemosic:Remove() | |
| 1086 | end | |
| 1087 | if holy == false then | |
| 1088 | lemosic:Play() | |
| 1089 | mosic:Remove() | |
| 1090 | end | |
| 1091 | ||
| 1092 | ||
| 1093 | if holy == true then | |
| 1094 | pt.BrickColor=BrickColor.new(BoostedColorScheme) | |
| 1095 | else | |
| 1096 | pt.BrickColor = BrickColor.new("Really black")
| |
| 1097 | end | |
| 1098 | ||
| 1099 | msh=Instance.new('SpecialMesh',pt)
| |
| 1100 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1101 | msh.Scale=Vector3.new(8,4,8) | |
| 1102 | pt2=pt:clone() | |
| 1103 | pt2.Parent = torso | |
| 1104 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 1105 | ||
| 1106 | if holy == true then | |
| 1107 | pt2.BrickColor=BrickColor.new(BoostedColorScheme) | |
| 1108 | else | |
| 1109 | pt2.BrickColor = BrickColor.new("Dark indigo")
| |
| 1110 | end | |
| 1111 | ||
| 1112 | ||
| 1113 | msh2=msh:clone() | |
| 1114 | msh2.Parent=pt2 | |
| 1115 | msh2.Scale=Vector3.new(10,5,10) | |
| 1116 | ||
| 1117 | 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}
| |
| 1118 | ||
| 1119 | bl = Instance.new("Part", char)
| |
| 1120 | bl.Locked = true | |
| 1121 | bl.Name = "Shell" | |
| 1122 | ||
| 1123 | if holy == true then | |
| 1124 | bl.BrickColor = BrickColor.new(BoostedColorScheme) | |
| 1125 | else | |
| 1126 | bl.BrickColor = BrickColor.new("Really black")
| |
| 1127 | end | |
| 1128 | ||
| 1129 | bl.Anchored = true | |
| 1130 | bl.Material = "Neon" | |
| 1131 | bl.CanCollide = false | |
| 1132 | bl.Transparency = 0 | |
| 1133 | bl.Reflectance = 0 | |
| 1134 | bl.BottomSurface = 0 | |
| 1135 | bl.TopSurface = 0 | |
| 1136 | bl.Shape = 0 | |
| 1137 | blm = Instance.new("SpecialMesh",bl)
| |
| 1138 | blm.MeshType = "Sphere" | |
| 1139 | blm.Scale = Vector3.new(1,1,1) | |
| 1140 | ||
| 1141 | if holy == true then | |
| 1142 | so("http://www.roblox.com/asset/?id=263254799",hed,1,1)
| |
| 1143 | so("http://www.roblox.com/asset/?id=263254799",torso,1,1.2)
| |
| 1144 | so("http://roblox.com/asset/?id=168586621",torso,1,0.5)
| |
| 1145 | end | |
| 1146 | ||
| 1147 | if holy == false then | |
| 1148 | so("http://roblox.com/asset/?id=168586621",torso,1,0.5)
| |
| 1149 | end | |
| 1150 | ||
| 1151 | if holy == true then | |
| 1152 | hair.BrickColor = BrickColor.new("Carnation pink")
| |
| 1153 | hairm.MeshId = "rbxassetid://502907463" | |
| 1154 | hairm.Scale = Vector3.new(0.05, 0.05, 0.05) | |
| 1155 | hairm.Offset = Vector3.new(0, 1, 0.5) | |
| 1156 | hed.face.Texture = "rbxassetid://594821386" | |
| 1157 | end | |
| 1158 | ||
| 1159 | if holy == false then | |
| 1160 | hair.BrickColor = BrickColor.new("Really black")
| |
| 1161 | hairm.MeshId = "rbxassetid://476757756" | |
| 1162 | hairm.Scale = Vector3.new(1, 1, 1) | |
| 1163 | hairm.Offset = Vector3.new(0.2, 0.7, 0.1) | |
| 1164 | hed.face.Texture = "rbxassetid://461020241" | |
| 1165 | ||
| 1166 | end | |
| 1167 | ||
| 1168 | ||
| 1169 | ||
| 1170 | ||
| 1171 | ||
| 1172 | coroutine.resume(coroutine.create(function() | |
| 1173 | for i=1, math.huge, 4 do | |
| 1174 | if Charging == true then | |
| 1175 | rs:wait() | |
| 1176 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 1177 | blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 1178 | bl.Transparency = bl.Transparency + 0.05 | |
| 1179 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
| 1180 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
| 1181 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
| 1182 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
| 1183 | elseif Charging == false then break | |
| 1184 | end | |
| 1185 | end | |
| 1186 | end)) | |
| 1187 | ||
| 1188 | repeat | |
| 1189 | local p = Instance.new('Part',torso)
| |
| 1190 | p.formFactor = 'Custom' | |
| 1191 | p.Size = Vector3.new(1,1,1) | |
| 1192 | ||
| 1193 | if holy == true then | |
| 1194 | p.BrickColor = BrickColor.new(BoostedColorScheme) | |
| 1195 | else | |
| 1196 | p.BrickColor = BrickColor.new("Really black")
| |
| 1197 | end | |
| 1198 | ||
| 1199 | ||
| 1200 | ||
| 1201 | ||
| 1202 | ||
| 1203 | p.CanCollide = false | |
| 1204 | p.Transparency = 0 | |
| 1205 | p.Anchored = true | |
| 1206 | p.Locked=true | |
| 1207 | p.Material = "Neon" | |
| 1208 | s = math.random(1,40)/10 | |
| 1209 | local m = Instance.new("BlockMesh",p)
| |
| 1210 | m.Scale = Vector3.new(s,s,s) | |
| 1211 | 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()) | |
| 1212 | --[[coroutine.wrap(function() | |
| 1213 | wait(2) | |
| 1214 | while Charging == true do | |
| 1215 | wait(2) | |
| 1216 | GroundWave1() | |
| 1217 | wait(2) | |
| 1218 | end | |
| 1219 | end)()]]-- | |
| 1220 | Spawn(function() | |
| 1221 | while rs:wait() do | |
| 1222 | if Charging == true then | |
| 1223 | 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))) | |
| 1224 | 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))) | |
| 1225 | 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)) | |
| 1226 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
| 1227 | 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))) | |
| 1228 | 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))) | |
| 1229 | elseif Charging == false then break | |
| 1230 | end | |
| 1231 | end | |
| 1232 | end) | |
| 1233 | Spawn(function() | |
| 1234 | while rs:wait() do | |
| 1235 | if p.Transparency >= 1 then p:Destroy() break end | |
| 1236 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
| 1237 | p.Transparency = p.Transparency+0.01 | |
| 1238 | end | |
| 1239 | end) | |
| 1240 | wait(.3) | |
| 1241 | ||
| 1242 | ||
| 1243 | until Charging == false | |
| 1244 | end | |
| 1245 | end | |
| 1246 | end | |
| 1247 | end) | |
| 1248 | ||
| 1249 | ||
| 1250 | ---------------------------------------------------- | |
| 1251 | mouse.KeyDown:connect(function(key) | |
| 1252 | if key == "m" then | |
| 1253 | hum.WalkSpeed = 0 | |
| 1254 | if Debounces.CanAttack == true then | |
| 1255 | Debounces.CanAttack = false | |
| 1256 | Debounces.on = true | |
| 1257 | Debounces.NoIdl = true | |
| 1258 | --[[x = Instance.new("Sound",char)
| |
| 1259 | x.SoundId = "http://www.roblox.com/asset/?id=169445572" | |
| 1260 | x.Looped = false | |
| 1261 | x.Pitch = 1.1 | |
| 1262 | x.Volume = 1 | |
| 1263 | x:Play() | |
| 1264 | x2 = Instance.new("Sound",char)
| |
| 1265 | x2.SoundId = "http://www.roblox.com/asset/?id=169380495" | |
| 1266 | x2.Looped = false | |
| 1267 | x2.Pitch = .7 | |
| 1268 | x2.Volume = 1 | |
| 1269 | wait(.1) | |
| 1270 | x:Play() | |
| 1271 | x2:Play() | |
| 1272 | for i = 1, 20 do | |
| 1273 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.3,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2) | |
| 1274 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.5,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2) | |
| 1275 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2) | |
| 1276 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2) | |
| 1277 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2) | |
| 1278 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2) | |
| 1279 | ||
| 1280 | if Debounces.on == false then break end | |
| 1281 | wait() | |
| 1282 | x:Destroy() | |
| 1283 | x2:Destroy() | |
| 1284 | end | |
| 1285 | wait(1)]]-- | |
| 1286 | local rng = Instance.new("Part", char)
| |
| 1287 | rng.Anchored = true | |
| 1288 | rng.BrickColor = BrickColor.new("Really black")
| |
| 1289 | rng.CanCollide = false | |
| 1290 | rng.FormFactor = 3 | |
| 1291 | rng.Name = "Ring" | |
| 1292 | rng.Size = Vector3.new(1, 1, 1) | |
| 1293 | rng.Transparency = 0.35 | |
| 1294 | rng.TopSurface = 0 | |
| 1295 | rng.BottomSurface = 0 | |
| 1296 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
| 1297 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1298 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1299 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1300 | rngm.Scale = Vector3.new(1, 1, 2) | |
| 1301 | x = Instance.new("Sound",char)
| |
| 1302 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
| 1303 | x.Looped = false | |
| 1304 | x.Pitch = .7 | |
| 1305 | x.Volume = 1 | |
| 1306 | x:Play() | |
| 1307 | coroutine.wrap(function() | |
| 1308 | for i = 1, 60, 2 do | |
| 1309 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
| 1310 | rng.Transparency = i/60 | |
| 1311 | wait() | |
| 1312 | end | |
| 1313 | wait() | |
| 1314 | rng:Destroy() | |
| 1315 | end)() | |
| 1316 | hum.WalkSpeed = 50 | |
| 1317 | BV = Instance.new("BodyVelocity", torso)
| |
| 1318 | BV.maxForce = Vector3.new(0,200000,0) | |
| 1319 | BV.P = 50000 | |
| 1320 | BV.velocity = Vector3.new(0,800,0) | |
| 1321 | for i = 1, 20 do | |
| 1322 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7) | |
| 1323 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
| 1324 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .5, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
| 1325 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, .5, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7) | |
| 1326 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
| 1327 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.6) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
| 1328 | ||
| 1329 | if Debounces.on == false then break end | |
| 1330 | wait() | |
| 1331 | end | |
| 1332 | x:Destroy() | |
| 1333 | BV:Destroy() | |
| 1334 | --[[for i = 1, 30 do | |
| 1335 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
| 1336 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3) | |
| 1337 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 1338 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 1339 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.2, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
| 1340 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.4, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
| 1341 | if Debounces.on == false then break end | |
| 1342 | wait() | |
| 1343 | end]]-- | |
| 1344 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
| 1345 | for i = 1, 30 do | |
| 1346 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
| 1347 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1348 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 1349 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 1350 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 1351 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 1352 | ||
| 1353 | if Debounces.on == false then break end | |
| 1354 | wait() | |
| 1355 | end | |
| 1356 | end | |
| 1357 | Debounces.on = false | |
| 1358 | Debounces.NoIdl = false | |
| 1359 | local ry,ht,ps=nil,nil,nil | |
| 1360 | while ht==nil do | |
| 1361 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
| |
| 1362 | wait() | |
| 1363 | end | |
| 1364 | z = Instance.new("Sound",char)
| |
| 1365 | z.SoundId = "rbxassetid://142070127" | |
| 1366 | z.Volume = 1 | |
| 1367 | wait(.1) | |
| 1368 | z:Play() | |
| 1369 | Landing() | |
| 1370 | hum.WalkSpeed = 8 | |
| 1371 | if Debounces.CanAttack == false then | |
| 1372 | Debounces.CanAttack = true | |
| 1373 | end | |
| 1374 | end | |
| 1375 | end | |
| 1376 | end) | |
| 1377 | ------------- | |
| 1378 | ------------------ | |
| 1379 | mouse.KeyDown:connect(function(key) | |
| 1380 | if key == "g" then | |
| 1381 | if Debounces.CanAttack == true then | |
| 1382 | Debounces.CanAttack = false | |
| 1383 | Debounces.NoIdl = true | |
| 1384 | Debounces.on = true | |
| 1385 | local shell = Instance.new("Part",torso)
| |
| 1386 | shell.BrickColor = BrickColor.new("Really black")
| |
| 1387 | shell.Anchored = true | |
| 1388 | shell.CanCollide = false | |
| 1389 | shell.Locked = true | |
| 1390 | shell.TopSurface = "SmoothNoOutlines" | |
| 1391 | shell.BottomSurface = "SmoothNoOutlines" | |
| 1392 | shell.Size = Vector3.new(1,1,1) | |
| 1393 | shellm = Instance.new("SpecialMesh",shell)
| |
| 1394 | shellm.MeshType = "Sphere" | |
| 1395 | shellm.Scale = Vector3.new(1,1,1) | |
| 1396 | local shell2 = Instance.new("Part",torso)
| |
| 1397 | shell2.BrickColor = BrickColor.new("Really black")
| |
| 1398 | shell2.Anchored = true | |
| 1399 | shell2.CanCollide = false | |
| 1400 | shell2.Locked = true | |
| 1401 | shell2.TopSurface = "SmoothNoOutlines" | |
| 1402 | shell2.BottomSurface = "SmoothNoOutlines" | |
| 1403 | shell2.Size = Vector3.new(1,1,1) | |
| 1404 | shellm2 = Instance.new("SpecialMesh",shell2)
| |
| 1405 | shellm2.MeshType = "Sphere" | |
| 1406 | shellm2.Scale = Vector3.new(1,1,1) | |
| 1407 | ||
| 1408 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1409 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1410 | local List = {}
| |
| 1411 | for i,v in pairs(workspace:GetChildren())do | |
| 1412 | if v:IsA("Model")then
| |
| 1413 | if v:findFirstChild("Torso")then
| |
| 1414 | if v ~= char then | |
| 1415 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1416 | table.insert(List,v) | |
| 1417 | end | |
| 1418 | end | |
| 1419 | end | |
| 1420 | end | |
| 1421 | end | |
| 1422 | return List | |
| 1423 | end | |
| 1424 | ||
| 1425 | Shell = function() | |
| 1426 | local X = Instance.new("Part",char)
| |
| 1427 | local O = Instance.new("ObjectValue",X)
| |
| 1428 | O.Name = "creator" | |
| 1429 | X.Locked = true | |
| 1430 | X.Name = "Shell" | |
| 1431 | X.Anchored = false | |
| 1432 | X.CanCollide = false | |
| 1433 | X.Transparency = 0 | |
| 1434 | X.Reflectance = 0 | |
| 1435 | X.BottomSurface = 0 | |
| 1436 | X.TopSurface = 0 | |
| 1437 | X.Shape = 0 | |
| 1438 | local V = Instance.new("ObjectValue",X)
| |
| 1439 | V.Value = char | |
| 1440 | V.Name = "creator" | |
| 1441 | X.BrickColor = BrickColor.new("Really black")
| |
| 1442 | X.Size = Vector3.new(1,1,1) | |
| 1443 | --X.Material = "Neon" | |
| 1444 | local Z = Instance.new("SpecialMesh",X)
| |
| 1445 | Z.MeshType = "Sphere" | |
| 1446 | Z.Scale = Vector3.new(1,1,1) | |
| 1447 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 1448 | local bv = Instance.new("BodyVelocity",X)
| |
| 1449 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 1450 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 1451 | bv.velocity = root.CFrame.lookVector*65 | |
| 1452 | Explode = X.Touched:connect(function(hit) | |
| 1453 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 1454 | local cf = X.CFrame | |
| 1455 | bv:Destroy() | |
| 1456 | X.Anchored = true | |
| 1457 | Z:Remove() | |
| 1458 | Explode:disconnect() | |
| 1459 | X.Size = Vector3.new(3,3,3) | |
| 1460 | X.Touched:connect(function(hit) end) | |
| 1461 | X.CanCollide = false | |
| 1462 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
| 1463 | if v:FindFirstChild('Humanoid') then
| |
| 1464 | v.Humanoid:TakeDamage(math.random(6,12)) | |
| 1465 | end | |
| 1466 | end | |
| 1467 | for i = 1, (40) do rs:wait() | |
| 1468 | X.Transparency = X.Transparency + (1/40) | |
| 1469 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 1470 | X.CFrame = cf | |
| 1471 | end | |
| 1472 | X:Destroy() | |
| 1473 | end | |
| 1474 | end) | |
| 1475 | end | |
| 1476 | Shell() | |
| 1477 | for i = 1, 10 do | |
| 1478 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 1479 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 1480 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 1481 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 1482 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
| 1483 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
| 1484 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7) | |
| 1485 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7) | |
| 1486 | if Debounces.on == false then break end | |
| 1487 | rs:wait() | |
| 1488 | end | |
| 1489 | Shell() | |
| 1490 | shell.Transparency = 1 | |
| 1491 | for i = 1, 10 do | |
| 1492 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 1493 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 1494 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 1495 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 1496 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 1497 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 1498 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 1499 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 1500 | if Debounces.on == false then break end | |
| 1501 | rs:wait() | |
| 1502 | end | |
| 1503 | Shell() | |
| 1504 | shell.Transparency = 0 | |
| 1505 | shell2.Transparency = 1 | |
| 1506 | for i = 1, 10 do | |
| 1507 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 1508 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 1509 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 1510 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 1511 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 1512 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 1513 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 1514 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 1515 | if Debounces.on == false then break end | |
| 1516 | rs:wait() | |
| 1517 | end | |
| 1518 | Shell() | |
| 1519 | shell2.Transparency = 0 | |
| 1520 | shell.Transparency = 1 | |
| 1521 | for i = 1, 10 do | |
| 1522 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 1523 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 1524 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 1525 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 1526 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 1527 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 1528 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 1529 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 1530 | if Debounces.on == false then break end | |
| 1531 | rs:wait() | |
| 1532 | end | |
| 1533 | Shell() | |
| 1534 | shell.Transparency = 0 | |
| 1535 | shell2.Transparency = 1 | |
| 1536 | for i = 1, 10 do | |
| 1537 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 1538 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 1539 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 1540 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 1541 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 1542 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 1543 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 1544 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 1545 | if Debounces.on == false then break end | |
| 1546 | rs:wait() | |
| 1547 | end | |
| 1548 | Shell() | |
| 1549 | shell2.Transparency = 0 | |
| 1550 | shell.Transparency = 1 | |
| 1551 | for i = 1, 10 do | |
| 1552 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 1553 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 1554 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 1555 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 1556 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 1557 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 1558 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 1559 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 1560 | if Debounces.on == false then break end | |
| 1561 | rs:wait() | |
| 1562 | end | |
| 1563 | Shell() | |
| 1564 | shell.Transparency = 0 | |
| 1565 | shell2.Transparency = 1 | |
| 1566 | for i = 1, 10 do | |
| 1567 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 1568 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 1569 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 1570 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
| 1571 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 1572 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 1573 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 1574 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 1575 | if Debounces.on == false then break end | |
| 1576 | rs:wait() | |
| 1577 | end | |
| 1578 | Shell() | |
| 1579 | shell2.Transparency = 0 | |
| 1580 | shell.Transparency = 1 | |
| 1581 | for i = 1, 10 do | |
| 1582 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 1583 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 1584 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 1585 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 1586 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 1587 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 1588 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 1589 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 1590 | if Debounces.on == false then break end | |
| 1591 | rs:wait() | |
| 1592 | end | |
| 1593 | Shell() | |
| 1594 | shell.Transparency = 0 | |
| 1595 | shell2.Transparency = 1 | |
| 1596 | for i = 1, 10 do | |
| 1597 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 1598 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 1599 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 1600 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 1601 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 1602 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 1603 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 1604 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 1605 | if Debounces.on == false then break end | |
| 1606 | rs:wait() | |
| 1607 | end | |
| 1608 | Shell() | |
| 1609 | shell2.Transparency = 0 | |
| 1610 | shell.Transparency = 1 | |
| 1611 | for i = 1, 10 do | |
| 1612 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 1613 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 1614 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 1615 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 1616 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 1617 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 1618 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 1619 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 1620 | if Debounces.on == false then break end | |
| 1621 | rs:wait() | |
| 1622 | end | |
| 1623 | Shell() | |
| 1624 | shell.Transparency = 0 | |
| 1625 | shell2.Transparency = 1 | |
| 1626 | for i = 1, 10 do | |
| 1627 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 1628 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 1629 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 1630 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 1631 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 1632 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 1633 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 1634 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 1635 | if Debounces.on == false then break end | |
| 1636 | rs:wait() | |
| 1637 | end | |
| 1638 | Shell() | |
| 1639 | shell2.Transparency = 0 | |
| 1640 | shell.Transparency = 1 | |
| 1641 | for i = 1, 10 do | |
| 1642 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 1643 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 1644 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 1645 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 1646 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 1647 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 1648 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 1649 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 1650 | if Debounces.on == false then break end | |
| 1651 | rs:wait() | |
| 1652 | end | |
| 1653 | Shell() | |
| 1654 | shell.Transparency = 0 | |
| 1655 | shell2.Transparency = 1 | |
| 1656 | for i = 1, 10 do | |
| 1657 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 1658 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 1659 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 1660 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 1661 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 1662 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 1663 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 1664 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 1665 | if Debounces.on == false then break end | |
| 1666 | rs:wait() | |
| 1667 | end | |
| 1668 | shell.Transparency = 1 | |
| 1669 | if Debounces.CanAttack == false then | |
| 1670 | Debounces.CanAttack = true | |
| 1671 | Debounces.NoIdl = false | |
| 1672 | Debounces.on = false | |
| 1673 | end | |
| 1674 | end | |
| 1675 | end | |
| 1676 | end) | |
| 1677 | --------------------- | |
| 1678 | mouse.KeyUp:connect(function(key) | |
| 1679 | if key == "h" then | |
| 1680 | if Charging == true and chargewait == true then | |
| 1681 | chargewait = false | |
| 1682 | wait(1) | |
| 1683 | Charging = false | |
| 1684 | ||
| 1685 | --[[for i,v in pairs (torso:GetChildren()) do | |
| 1686 | if v:IsA("Sound") then
| |
| 1687 | v:Destroy() | |
| 1688 | end | |
| 1689 | end]] | |
| 1690 | ||
| 1691 | if holy == true and BoostedAlwaysDashes == true then | |
| 1692 | hum.WalkSpeed = 50 | |
| 1693 | elseif holy == true and BoostedAlwaysDashes == false then | |
| 1694 | hum.WalkSpeed = 10 | |
| 1695 | elseif holy == false then | |
| 1696 | hum.WalkSpeed = 10 | |
| 1697 | end | |
| 1698 | ||
| 1699 | ||
| 1700 | --so("http://roblox.com/asset/?id=160867463",torso,1,0.7)
| |
| 1701 | ||
| 1702 | pt:Destroy() | |
| 1703 | pt2:Destroy() | |
| 1704 | bl:Destroy() | |
| 1705 | if Debounces.CanAttack == false then | |
| 1706 | Debounces.CanAttack = true | |
| 1707 | Debounces.NoIdl = false | |
| 1708 | Debounces.on = false | |
| 1709 | Debounces.grab = false | |
| 1710 | ||
| 1711 | end | |
| 1712 | end | |
| 1713 | end | |
| 1714 | end) | |
| 1715 | ------- | |
| 1716 | mouse.KeyDown:connect(function(key) | |
| 1717 | if key == "v" then | |
| 1718 | if Debounces.CanAttack == true then | |
| 1719 | Debounces.CanAttack = false | |
| 1720 | Debounces.on = true | |
| 1721 | Debounces.NoIdl = true | |
| 1722 | for i = 1, 20 do | |
| 1723 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
| 1724 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
| 1725 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
| 1726 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1727 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
| 1728 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
| 1729 | if Debounces.on == false then break end | |
| 1730 | rs:wait(2.6) | |
| 1731 | end | |
| 1732 | Spawn(function() | |
| 1733 | local Parts = {}
| |
| 1734 | for Y = -5,5 do | |
| 1735 | local P = Instance.new("Part",char)
| |
| 1736 | P.Anchored = true | |
| 1737 | P.FormFactor = "Custom" | |
| 1738 | P.CanCollide = false | |
| 1739 | P.Size = Vector3.new(2,4,2) | |
| 1740 | P.TopSurface = "SmoothNoOutlines" | |
| 1741 | P.BottomSurface = "SmoothNoOutlines" | |
| 1742 | P.Material = "Neon" | |
| 1743 | P.BrickColor = BrickColor.new("Really black")
| |
| 1744 | P.Name = tostring(Y) | |
| 1745 | local i = (Y+5)/(10) | |
| 1746 | i = 1-math.cos(math.pi*i-(math.pi/2)) | |
| 1747 | P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0) | |
| 1748 | --[[P.Touched:connect(function(ht) | |
| 1749 | local hit = ht.Parent | |
| 1750 | if hit:FindFirstChild("Humanoid") then
| |
| 1751 | hit.Humanoid:TakeDamage(math.random(20,50)) | |
| 1752 | end | |
| 1753 | end)]]-- | |
| 1754 | s = Instance.new("Sound",P)
| |
| 1755 | s.SoundId = "rbxassetid://228343271" | |
| 1756 | s.Volume = 1 | |
| 1757 | s.Pitch = 0.9 | |
| 1758 | s:Play() | |
| 1759 | sa = Instance.new("Sound",P)
| |
| 1760 | sa.SoundId = "rbxassetid://419447292" | |
| 1761 | sa.Volume = 1 | |
| 1762 | sa.Pitch = 1 | |
| 1763 | sa:Play() | |
| 1764 | P.Touched:connect(function(ht) | |
| 1765 | hit = ht.Parent | |
| 1766 | if ht and hit:IsA("Model") then
| |
| 1767 | if hit:FindFirstChild("Humanoid") then
| |
| 1768 | if hit.Name ~= p.Name then | |
| 1769 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 1770 | Debounces.Slashed = true]]-- | |
| 1771 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3))
| |
| 1772 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1773 | wait(1) | |
| 1774 | --Debounces.Slashed = false | |
| 1775 | --end | |
| 1776 | end | |
| 1777 | end | |
| 1778 | elseif ht and hit:IsA("Hat") then
| |
| 1779 | if hit.Parent.Name ~= p.Name then | |
| 1780 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1781 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 1782 | Debounces.Slashed = true]]-- | |
| 1783 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
| |
| 1784 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1785 | wait(1) | |
| 1786 | --Debounces.Slashed = false | |
| 1787 | --end | |
| 1788 | end | |
| 1789 | end | |
| 1790 | end | |
| 1791 | end) | |
| 1792 | Parts[#Parts+1] = P | |
| 1793 | end | |
| 1794 | local BREAKIT = false | |
| 1795 | local CParts = {}
| |
| 1796 | local Rocks = {}
| |
| 1797 | local LastPos = nil | |
| 1798 | for i = 1,70 do | |
| 1799 | for i2,v in pairs(Parts) do | |
| 1800 | v.CFrame = v.CFrame*CFrame.new(0,0,-4) | |
| 1801 | local cf = v.CFrame | |
| 1802 | v.Size = v.Size+Vector3.new(0.4,0.35,0) | |
| 1803 | v.CFrame = cf | |
| 1804 | v.Transparency = v.Transparency+0.02 | |
| 1805 | if v.Transparency >= 0.975 then BREAKIT = true end | |
| 1806 | if v.Name == "0" then | |
| 1807 | local Ignore = {}
| |
| 1808 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1809 | if v.Character ~= nil then | |
| 1810 | Ignore[#Ignore+1] = v.Character | |
| 1811 | end | |
| 1812 | end | |
| 1813 | local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0)) | |
| 1814 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore) | |
| 1815 | if Hit ~= nil then | |
| 1816 | if #Rocks == 0 then | |
| 1817 | for i = 1,5 do | |
| 1818 | local P = Instance.new("Part",char)
| |
| 1819 | Rocks[#Rocks+1] = P | |
| 1820 | P.Anchored = true | |
| 1821 | P.FormFactor = "Custom" | |
| 1822 | P.BrickColor = Hit.BrickColor | |
| 1823 | P.Material = Hit.Material | |
| 1824 | P.TopSurface = "Smooth" | |
| 1825 | P.BottomSurface = "Smooth" | |
| 1826 | P.Size = Vector3.new(2,2,2)*(math.random(500,900)/100) | |
| 1827 | end | |
| 1828 | end | |
| 1829 | for i,P in pairs(Rocks) do | |
| 1830 | P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
| 1831 | end | |
| 1832 | local P = Instance.new("Part",char)
| |
| 1833 | CParts[#CParts+1] = {P,tick()}
| |
| 1834 | P.Anchored = true | |
| 1835 | P.FormFactor = "Custom" | |
| 1836 | P.BrickColor = Hit.BrickColor | |
| 1837 | P.Material = Hit.Material | |
| 1838 | P.TopSurface = "Smooth" | |
| 1839 | P.BottomSurface = "Smooth" | |
| 1840 | P.Size = Vector3.new(2,2,2)*(math.random(100,300)/100) | |
| 1841 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
| 1842 | Pos = Pos.p | |
| 1843 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
| 1844 | local P = P:Clone() | |
| 1845 | CParts[#CParts+1] = {P,tick()}
| |
| 1846 | P.Parent = char | |
| 1847 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0) | |
| 1848 | Pos = Pos.p | |
| 1849 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20))) | |
| 1850 | if LastPos ~= nil then | |
| 1851 | local P = P:Clone() | |
| 1852 | CParts[#CParts+1] = {P,tick()}
| |
| 1853 | P.Parent = char | |
| 1854 | P.BrickColor = BrickColor.new("Really black")
| |
| 1855 | P.Material = "Neon" | |
| 1856 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
| 1857 | Pos = Pos.p | |
| 1858 | local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
| 1859 | P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25) | |
| 1860 | --P.Velocity = Vector3.new(0,-1000,0) | |
| 1861 | P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2) | |
| 1862 | end | |
| 1863 | LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
| 1864 | end | |
| 1865 | end | |
| 1866 | end | |
| 1867 | if BREAKIT then break end | |
| 1868 | wait(0.002) | |
| 1869 | end | |
| 1870 | for i,v in pairs(Rocks) do | |
| 1871 | CParts[#CParts+1] = {v,tick()}
| |
| 1872 | end | |
| 1873 | for i,v in pairs(Parts) do | |
| 1874 | v:Destroy() | |
| 1875 | end | |
| 1876 | Parts = nil | |
| 1877 | while true do | |
| 1878 | local t = tick() | |
| 1879 | local p = nil | |
| 1880 | for i,v in pairs(CParts) do | |
| 1881 | if t-v[2] > 4 then | |
| 1882 | v[1].Transparency = v[1].Transparency+0.05 | |
| 1883 | if v[1].Transparency >= 1 then | |
| 1884 | v[1]:Destroy() | |
| 1885 | CParts[i] = nil | |
| 1886 | end | |
| 1887 | end | |
| 1888 | p = v | |
| 1889 | end | |
| 1890 | if p == nil then break end | |
| 1891 | wait(0.002) | |
| 1892 | end | |
| 1893 | for i,v in pairs(CParts) do | |
| 1894 | v:Destroy() | |
| 1895 | end | |
| 1896 | CParts = {}
| |
| 1897 | end) | |
| 1898 | for i = 1, 20 do | |
| 1899 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
| 1900 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
| 1901 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 1902 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
| 1903 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 1904 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 1905 | ||
| 1906 | if Debounces.on == false then break end | |
| 1907 | rs:wait(2) | |
| 1908 | end | |
| 1909 | if Debounces.CanAttack == false then | |
| 1910 | Debounces.CanAttack = true | |
| 1911 | Debounces.on = false | |
| 1912 | Debounces.NoIdl = false | |
| 1913 | end | |
| 1914 | end | |
| 1915 | end | |
| 1916 | end) | |
| 1917 | ||
| 1918 | ------------------------------------------------------ | |
| 1919 | ------------------------ | |
| 1920 | so = function(id,par,vol,pit) | |
| 1921 | coroutine.resume(coroutine.create(function() | |
| 1922 | local sou = Instance.new("Sound",par or workspace)
| |
| 1923 | sou.Volume=vol | |
| 1924 | sou.Pitch=pit or 1 | |
| 1925 | sou.SoundId=id | |
| 1926 | swait() | |
| 1927 | sou:play() | |
| 1928 | game:GetService("Debris"):AddItem(sou,6)
| |
| 1929 | end)) | |
| 1930 | end | |
| 1931 | ||
| 1932 | mouse.KeyDown:connect(function(key) | |
| 1933 | if key == "y" then | |
| 1934 | if Debounces.CanAttack == true then | |
| 1935 | Debounces.CanAttack = false | |
| 1936 | Debounces.on = true | |
| 1937 | Debounces.NoIdl = true | |
| 1938 | for i = 1, 15 do | |
| 1939 | 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) | |
| 1940 | 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) | |
| 1941 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
| 1942 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
| 1943 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.2, -0.5) * CFrame.Angles(-0.2, 0, math.rad(-10)), 0.2) | |
| 1944 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.7, 0.1) * CFrame.Angles(-0.3, 0, math.rad(10)), 0.2) | |
| 1945 | if Debounces.on == false then break end | |
| 1946 | rs:wait(3) | |
| 1947 | end | |
| 1948 | so("http://roblox.com/asset/?id=231917788",hed,1,0.7)
| |
| 1949 | x = Instance.new("Sound",char.Head)
| |
| 1950 | x.SoundId = "rbxassetid://183763515" | |
| 1951 | x.Pitch = 0.7 | |
| 1952 | x.Volume = .8 | |
| 1953 | x3 = Instance.new("Sound",char.Head)
| |
| 1954 | x3.SoundId = "rbxassetid://183763487" | |
| 1955 | x3.Pitch = 1 | |
| 1956 | x3.Volume = .8 | |
| 1957 | wait(.1) | |
| 1958 | x:Play() | |
| 1959 | x3:Play() | |
| 1960 | wait(.1) | |
| 1961 | if holy == true then | |
| 1962 | x3.SoundId = "rbxassetid://294188875" | |
| 1963 | x.SoundId = "rbxassetid://183763515" | |
| 1964 | end | |
| 1965 | Debounces.on = false | |
| 1966 | Debounces.Here = false | |
| 1967 | shot = shot + 1 | |
| 1968 | local rng = Instance.new("Part", larm)
| |
| 1969 | rng.Anchored = true | |
| 1970 | rng.BrickColor = BrickColor.new("Lime green")
| |
| 1971 | rng.CanCollide = false | |
| 1972 | rng.Name = "Ring" | |
| 1973 | rng.Size = Vector3.new(1, 1, 1) | |
| 1974 | rng.Transparency = 0.35 | |
| 1975 | rng.TopSurface = 0 | |
| 1976 | rng.BottomSurface = 0 | |
| 1977 | rng2 = rng:clone() | |
| 1978 | rng3 = rng2:clone() | |
| 1979 | rng4 = rng2:clone() | |
| 1980 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1981 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1982 | rngm.Scale = Vector3.new(100, 100, 1) | |
| 1983 | rngm2 = rngm:clone() | |
| 1984 | rngm2.Scale = Vector3.new(10, 10, 3) | |
| 1985 | rngm3 = rngm2:clone() | |
| 1986 | rngm3.Parent = rng3 | |
| 1987 | rngm3.Scale = Vector3.new(60, 160, 1) | |
| 1988 | rngm4 = rngm2:clone() | |
| 1989 | rngm4.Parent = rng4 | |
| 1990 | rngm4.Scale = Vector3.new(40, 120, 1) | |
| 1991 | local bem = Instance.new("Part", larm)
| |
| 1992 | bem.Anchored = true | |
| 1993 | bem.BrickColor = BrickColor.new("Really black")
| |
| 1994 | bem.CanCollide = false | |
| 1995 | bem.Name = "Beam" .. shot | |
| 1996 | bem.Size = Vector3.new(2, 4, 4) | |
| 1997 | bem.Transparency = 0.35 | |
| 1998 | bem.TopSurface = 0 | |
| 1999 | bem.BottomSurface = 0 | |
| 2000 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 2001 | bemm.MeshType = 4 | |
| 2002 | bemm.Scale = Vector3.new(1, 16, 16) | |
| 2003 | local out = Instance.new("Part", larm)
| |
| 2004 | out.Anchored = true | |
| 2005 | out.BrickColor = BrickColor.new("Really black")
| |
| 2006 | out.CanCollide = false | |
| 2007 | out.Name = "Out" | |
| 2008 | out.Size = Vector3.new(4, 16, 16) | |
| 2009 | out.Transparency = 0.35 | |
| 2010 | out.TopSurface = 0 | |
| 2011 | out.BottomSurface = 0 | |
| 2012 | local outm = Instance.new("SpecialMesh", out)
| |
| 2013 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 2014 | outm.Scale = Vector3.new(24, 4, 24) | |
| 2015 | local bnd = Instance.new("Part", larm)
| |
| 2016 | bnd.Anchored = true | |
| 2017 | bnd.BrickColor = BrickColor.new("Lime green")
| |
| 2018 | bnd.CanCollide = false | |
| 2019 | bnd.Name = "Bend" | |
| 2020 | bnd.Size = Vector3.new(1, 1, 1) | |
| 2021 | bnd.Transparency = 1 | |
| 2022 | bnd.TopSurface = 0 | |
| 2023 | bnd.BottomSurface = 0 | |
| 2024 | ||
| 2025 | if holy == true then | |
| 2026 | bnd.BrickColor = BrickColor.new(BoostedColorScheme) | |
| 2027 | rng.BrickColor = BrickColor.new(BoostedColorScheme) | |
| 2028 | out.BrickColor = BrickColor.new(BoostedColorScheme) | |
| 2029 | bem.BrickColor = BrickColor.new(BoostedColorScheme) | |
| 2030 | end | |
| 2031 | ||
| 2032 | ||
| 2033 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 2034 | bndm.MeshType = 3 | |
| 2035 | bndm.Scale = Vector3.new(8, 8, 8) | |
| 2036 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 2037 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2038 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 2039 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 2040 | rng3.CFrame = rng.CFrame * CFrame.new(0, -0.5, 0) | |
| 2041 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
| 2042 | Debounces.Shewt = true | |
| 2043 | coroutine.wrap(function() | |
| 2044 | for i = 1, 20, 0.2 do | |
| 2045 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
| 2046 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
| 2047 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
| 2048 | rng.Transparency = i/20 | |
| 2049 | rng3.Transparency = 1/24 | |
| 2050 | rng4.Transparency = i/26 | |
| 2051 | wait() | |
| 2052 | end | |
| 2053 | wait() | |
| 2054 | rng:Destroy() | |
| 2055 | end)() | |
| 2056 | if Debounces.Shewt == true then | |
| 2057 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 2058 | hit = ht.Parent | |
| 2059 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 2060 | if HasntTouched(hit.Name) == true and deb == false then | |
| 2061 | deb = true | |
| 2062 | coroutine.wrap(function() | |
| 2063 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2064 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 2065 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(25,40))
| |
| 2066 | if holy == true then | |
| 2067 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(999999,9999999))
| |
| 2068 | end | |
| 2069 | end)() | |
| 2070 | table.insert(Touche, hit.Name) | |
| 2071 | deb = false | |
| 2072 | end | |
| 2073 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 2074 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 2075 | deb = true | |
| 2076 | coroutine.wrap(function() | |
| 2077 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2078 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 2079 | wait(1) | |
| 2080 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 2081 | end)() | |
| 2082 | table.insert(Touche, hit.Parent.Name) | |
| 2083 | deb = false | |
| 2084 | for i, v in pairs(Touche) do | |
| 2085 | print(v) | |
| 2086 | end | |
| 2087 | end | |
| 2088 | end | |
| 2089 | end) | |
| 2090 | end | |
| 2091 | ||
| 2092 | ||
| 2093 | ||
| 2094 | ||
| 2095 | for i = 0, 260, 8 do | |
| 2096 | bem.Size = Vector3.new(i, 3, 3) | |
| 2097 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 2098 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 - i / 2, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2099 | bnd.CFrame = bem.CFrame * CFrame.new(-i / 2, 0, 1.2) | |
| 2100 | bnd.Size = Vector3.new(1, 1, 1) | |
| 2101 | bndm.Scale = Vector3.new(8, 8, 8) | |
| 2102 | if i % 10 == 0 then | |
| 2103 | local newRng = rng2:Clone() | |
| 2104 | newRng.Parent = larm | |
| 2105 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2 - i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 2106 | local newRngm = rngm2:clone() | |
| 2107 | newRngm.Parent = newRng | |
| 2108 | coroutine.wrap(function() | |
| 2109 | ||
| 2110 | if holy == true then | |
| 2111 | newRng.BrickColor = BrickColor.new(BoostedColorScheme) | |
| 2112 | rng2.BrickColor = BrickColor.new(BoostedColorScheme) | |
| 2113 | end | |
| 2114 | ||
| 2115 | for i = 1, 10, 0.2 do | |
| 2116 | newRngm.Scale = Vector3.new(20 + i * 10, 20 + i * 10, 3) | |
| 2117 | newRng.Transparency = i / 15 | |
| 2118 | wait() | |
| 2119 | end | |
| 2120 | wait() | |
| 2121 | newRng:Destroy() | |
| 2122 | end)() | |
| 2123 | end | |
| 2124 | wait() | |
| 2125 | end | |
| 2126 | wait() | |
| 2127 | Debounces.Shewt = false | |
| 2128 | bem:Destroy() | |
| 2129 | out:Destroy() | |
| 2130 | bnd:Destroy() | |
| 2131 | Debounces.Ready = false | |
| 2132 | for i, v in pairs(Touche) do | |
| 2133 | table.remove(Touche, i) | |
| 2134 | end | |
| 2135 | wait() | |
| 2136 | table.insert(Touche, char.Name) | |
| 2137 | Debounces.NoIdl = false | |
| 2138 | if Debounces.CanAttack == false then | |
| 2139 | Debounces.CanAttack = true | |
| 2140 | end | |
| 2141 | end | |
| 2142 | end | |
| 2143 | end) | |
| 2144 | ---------------------------------------------------- | |
| 2145 | mod4 = Instance.new("Model",char)
| |
| 2146 | ||
| 2147 | ptez = {0.7, 0.8, 0.9, 1}
| |
| 2148 | ||
| 2149 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 2150 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 2151 | local List = {}
| |
| 2152 | for i,v in pairs(workspace:GetChildren())do | |
| 2153 | if v:IsA("Model")then
| |
| 2154 | if v:findFirstChild("Torso")then
| |
| 2155 | if v ~= char then | |
| 2156 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 2157 | table.insert(List,v) | |
| 2158 | end | |
| 2159 | end | |
| 2160 | end | |
| 2161 | end | |
| 2162 | end | |
| 2163 | return List | |
| 2164 | end | |
| 2165 | ||
| 2166 | function Slam() | |
| 2167 | local part=Instance.new('Part',mod4)
| |
| 2168 | part.Anchored=true | |
| 2169 | part.CanCollide=false | |
| 2170 | part.FormFactor='Custom' | |
| 2171 | part.Size=Vector3.new(.2,.2,.2) | |
| 2172 | part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0) | |
| 2173 | part.Transparency=.7 | |
| 2174 | part.BrickColor=BrickColor.new('Really black')
| |
| 2175 | mesh=Instance.new('SpecialMesh',part)
| |
| 2176 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 2177 | mesh.Scale=Vector3.new(3,3,3) | |
| 2178 | local part2=Instance.new('Part',mod4)
| |
| 2179 | part2.Anchored=true | |
| 2180 | part2.CanCollide=false | |
| 2181 | part2.FormFactor='Custom' | |
| 2182 | part2.Size=Vector3.new(.2,.2,.2) | |
| 2183 | part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6) | |
| 2184 | part2.Transparency=.7 | |
| 2185 | part2.BrickColor=BrickColor.new('Crimson')
| |
| 2186 | mesh2=Instance.new('SpecialMesh',part2)
| |
| 2187 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 2188 | mesh2.Scale=Vector3.new(3,1.5,3) | |
| 2189 | x = Instance.new("Sound",larm)
| |
| 2190 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
| 2191 | x.Pitch = ptez[math.random(1,#ptez)] | |
| 2192 | x.Volume = 1 | |
| 2193 | wait(.1) | |
| 2194 | x1 = Instance.new("Sound",larm)
| |
| 2195 | x1.SoundId = "http://www.roblox.com/asset/?id=206082327" | |
| 2196 | x1.Pitch = ptez[math.random(1,#ptez)] | |
| 2197 | x1.Volume = 1 | |
| 2198 | wait(.1) | |
| 2199 | x:Play() | |
| 2200 | x1:Play() | |
| 2201 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
| 2202 | if v:FindFirstChild('Humanoid') then
| |
| 2203 | v.Humanoid:TakeDamage(math.random(999999,9999999)) | |
| 2204 | end | |
| 2205 | end | |
| 2206 | coroutine.resume(coroutine.create(function() | |
| 2207 | for i=0,0.62,0.13 do | |
| 2208 | wait() | |
| 2209 | part.CFrame=part.CFrame | |
| 2210 | part.Transparency=i | |
| 2211 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
| 2212 | part2.CFrame=part2.CFrame | |
| 2213 | part2.Transparency=i | |
| 2214 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
| 2215 | end | |
| 2216 | part.Parent=nil | |
| 2217 | part2.Parent=nil | |
| 2218 | x:Destroy() | |
| 2219 | end)) | |
| 2220 | end | |
| 2221 | ---------------------------------------------------- | |
| 2222 | wPart = function(x,y,z,color,tr,cc,an,parent) | |
| 2223 | local wp = Instance.new('WedgePart',parent or Weapon)
| |
| 2224 | wp.formFactor = 'Custom' | |
| 2225 | wp.Size = Vector3.new(x,y,z) | |
| 2226 | wp.BrickColor = BrickColor.new(color) | |
| 2227 | wp.CanCollide = cc | |
| 2228 | wp.Transparency = tr | |
| 2229 | wp.Anchored = an | |
| 2230 | wp.TopSurface,wp.BottomSurface = 0,0 | |
| 2231 | return wp | |
| 2232 | end | |
| 2233 | ||
| 2234 | Mesh = function(par,num,x,y,z) | |
| 2235 | local msh = _ | |
| 2236 | if num == 1 then | |
| 2237 | msh = Instance.new("CylinderMesh",par)
| |
| 2238 | elseif num == 2 then | |
| 2239 | msh = Instance.new("SpecialMesh",par)
| |
| 2240 | msh.MeshType = 3 | |
| 2241 | elseif num == 3 then | |
| 2242 | msh = Instance.new("BlockMesh",par)
| |
| 2243 | elseif num == 4 then | |
| 2244 | msh = Instance.new("SpecialMesh",par)
| |
| 2245 | msh.MeshType = "Torso" | |
| 2246 | elseif type(num) == 'string' then | |
| 2247 | msh = Instance.new("SpecialMesh",par)
| |
| 2248 | msh.MeshId = num | |
| 2249 | end | |
| 2250 | msh.Scale = Vector3.new(x,y,z) | |
| 2251 | return msh | |
| 2252 | end | |
| 2253 | ||
| 2254 | local function CFrameFromTopBack(at, top, back) | |
| 2255 | local right = top:Cross(back) | |
| 2256 | return CFrame.new(at.x, at.y, at.z, | |
| 2257 | right.x, top.x, back.x, | |
| 2258 | right.y, top.y, back.y, | |
| 2259 | right.z, top.z, back.z) | |
| 2260 | end | |
| 2261 | ||
| 2262 | function Triangle(a, b, c) | |
| 2263 | local edg1 = (c-a):Dot((b-a).unit) | |
| 2264 | local edg2 = (a-b):Dot((c-b).unit) | |
| 2265 | local edg3 = (b-c):Dot((a-c).unit) | |
| 2266 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 2267 | a, b, c = a, b, c | |
| 2268 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 2269 | a, b, c = b, c, a | |
| 2270 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 2271 | a, b, c = c, a, b | |
| 2272 | else | |
| 2273 | print("unreachable")
| |
| 2274 | end | |
| 2275 | local len1 = (c-a):Dot((b-a).unit) | |
| 2276 | local len2 = (b-a).magnitude - len1 | |
| 2277 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 2278 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 2279 | local list = {}
| |
| 2280 | if len1 > 0.01 then | |
| 2281 | local w1 = wPart(0,0,0,'White',0.5,false,true,char) | |
| 2282 | local sz = Vector3.new(0.2, width, len1) | |
| 2283 | w1.Size = sz | |
| 2284 | local sp = Mesh(w1,2,0,0,0) | |
| 2285 | sp.MeshType='Wedge' | |
| 2286 | sp.Scale=Vector3.new(0,1,1)*sz/w1.Size | |
| 2287 | w1:BreakJoints() | |
| 2288 | w1.Anchored = true | |
| 2289 | w1.Transparency = 0.7 | |
| 2290 | Spawn(function() | |
| 2291 | for i=0,1,0.1 do | |
| 2292 | fat.Event:wait() | |
| 2293 | w1.Transparency=w1.Transparency+0.03 | |
| 2294 | end | |
| 2295 | end) | |
| 2296 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 2297 | table.insert(list,w1) | |
| 2298 | end | |
| 2299 | if len2 > 0.01 then | |
| 2300 | local w2 = wPart(0,0,0,'White',0.5,false,true,char) | |
| 2301 | local sz = Vector3.new(0.2, width, len2) | |
| 2302 | w2.Size = sz | |
| 2303 | local sp = Mesh(w2,2,0,0,0) | |
| 2304 | sp.MeshType='Wedge' | |
| 2305 | sp.Scale=Vector3.new(0,1,1)*sz/w2.Size | |
| 2306 | w2:BreakJoints() | |
| 2307 | w2.Anchored = true | |
| 2308 | w2.Transparency = 0.7 | |
| 2309 | Spawn(function() | |
| 2310 | for i=0,1,0.1 do | |
| 2311 | fat.Event:wait() | |
| 2312 | w2.Transparency=w2.Transparency+0.03 | |
| 2313 | end | |
| 2314 | end) | |
| 2315 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 2316 | table.insert(list,w2) | |
| 2317 | end | |
| 2318 | return unpack(list) | |
| 2319 | end | |
| 2320 | ||
| 2321 | function trail(p,t,h) | |
| 2322 | Spawn(function() | |
| 2323 | local blcf = p.CFrame | |
| 2324 | local scfr = blcf | |
| 2325 | for i=1,t do | |
| 2326 | local blcf = p.CFrame | |
| 2327 | if scfr and (p.Position-scfr.p).magnitude > .1 then | |
| 2328 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
| 2329 | if a then game.Debris:AddItem(a,1) end | |
| 2330 | if b then game.Debris:AddItem(b,1) end | |
| 2331 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
| 2332 | if a then game.Debris:AddItem(a,1) end | |
| 2333 | if b then game.Debris:AddItem(b,1) end | |
| 2334 | scfr = blcf | |
| 2335 | elseif not scfr then | |
| 2336 | scfr = blcf | |
| 2337 | end | |
| 2338 | fat.Event:wait() | |
| 2339 | end | |
| 2340 | scfr=nil | |
| 2341 | end) | |
| 2342 | end | |
| 2343 | ---------------------------------------------------- | |
| 2344 | ||
| 2345 | Charging = false | |
| 2346 | mouse.KeyDown:connect(function(key) | |
| 2347 | if key == "r" then | |
| 2348 | if Charging == false then | |
| 2349 | Charging = true | |
| 2350 | if Debounces.CanAttack == true then | |
| 2351 | Debounces.CanAttack = false | |
| 2352 | Debounces.NoIdl = true | |
| 2353 | Debounces.on = true | |
| 2354 | for i = 1,20 do | |
| 2355 | 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) | |
| 2356 | 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) | |
| 2357 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 2358 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 2359 | 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) | |
| 2360 | 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) | |
| 2361 | if Debounces.on == false then break end | |
| 2362 | rs:wait() | |
| 2363 | end | |
| 2364 | --[[for i = 1,20 do | |
| 2365 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
| 2366 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
| 2367 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
| 2368 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
| 2369 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
| 2370 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
| 2371 | if Debounces.on == false then break end | |
| 2372 | rs:wait() | |
| 2373 | end]]-- | |
| 2374 | ---------------------------------------------------- | |
| 2375 | pt=Instance.new('Part',torso)
| |
| 2376 | pt.Anchored=true | |
| 2377 | pt.CanCollide=false | |
| 2378 | pt.Locked = true | |
| 2379 | pt.FormFactor='Custom' | |
| 2380 | pt.Size=Vector3.new(1,1,1) | |
| 2381 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 2382 | pt.Transparency=.6 | |
| 2383 | pt.BrickColor=BrickColor.new('Really black')
| |
| 2384 | msh=Instance.new('SpecialMesh',pt)
| |
| 2385 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 2386 | msh.Scale=Vector3.new(8,4,8) | |
| 2387 | pt2=pt:clone() | |
| 2388 | pt2.Parent = torso | |
| 2389 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 2390 | pt2.BrickColor=BrickColor.new("Royal purple")
| |
| 2391 | msh2=msh:clone() | |
| 2392 | msh2.Parent=pt2 | |
| 2393 | msh2.Scale=Vector3.new(10,5,10) | |
| 2394 | ||
| 2395 | 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}
| |
| 2396 | ||
| 2397 | ||
| 2398 | ||
| 2399 | bl = Instance.new("Part", char)
| |
| 2400 | bl.Locked = true | |
| 2401 | bl.Name = "Shell" | |
| 2402 | bl.BrickColor = BrickColor.new("Really black")
| |
| 2403 | bl.Anchored = true | |
| 2404 | bl.CanCollide = false | |
| 2405 | bl.Transparency = 0 | |
| 2406 | bl.Reflectance = 0 | |
| 2407 | bl.BottomSurface = 0 | |
| 2408 | bl.TopSurface = 0 | |
| 2409 | bl.Shape = 0 | |
| 2410 | blm = Instance.new("SpecialMesh",bl)
| |
| 2411 | blm.MeshType = "Sphere" | |
| 2412 | blm.Scale = Vector3.new(1,1,1) | |
| 2413 | blm.MeshId = "rbxassetid://9982590" | |
| 2414 | ||
| 2415 | ||
| 2416 | ||
| 2417 | local rot ={4}
| |
| 2418 | bc = BrickColor.new | |
| 2419 | ||
| 2420 | ||
| 2421 | wit = bc("Maroon").Color
| |
| 2422 | koy = bc("Royal purple").Color
| |
| 2423 | kiy = bc("Lavender").Color
| |
| 2424 | key = bc("Really black").Color
| |
| 2425 | kay = bc("Really black").Color
| |
| 2426 | ||
| 2427 | p=game.Players.LocalPlayer | |
| 2428 | char=p.Character | |
| 2429 | ||
| 2430 | aura = Instance.new("Part", char)
| |
| 2431 | aura.Parent = bl | |
| 2432 | aura.FormFactor = "Custom" | |
| 2433 | aura.Transparency = 1 | |
| 2434 | aura.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 2435 | aura.Name = "Aura" | |
| 2436 | aura.Anchored = true | |
| 2437 | aura2 = Instance.new("Part", char)
| |
| 2438 | aura2.Parent = bl | |
| 2439 | aura2.FormFactor = "Custom" | |
| 2440 | aura2.Transparency = 1 | |
| 2441 | aura2.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 2442 | aura2.Name = "Aura2" | |
| 2443 | aura2.Anchored = true | |
| 2444 | local w = Instance.new("Weld", torso)
| |
| 2445 | w.Part0 = torso | |
| 2446 | w.Part1 = aura | |
| 2447 | w.C0 = CFrame.new(0, -2, 0) | |
| 2448 | local ww = Instance.new("Weld", torso)
| |
| 2449 | ww.Part0 = torso | |
| 2450 | ww.Part1 = aura2 | |
| 2451 | ww.C0 = CFrame.new(0, 0, 0) | |
| 2452 | aura.Anchored = false | |
| 2453 | aura2.Anchored = false | |
| 2454 | local primary = Color3.new(1015,0,0) | |
| 2455 | local secondary = Color3.new(0.66666666666667, 0, 1) | |
| 2456 | pe = Instance.new("ParticleEmitter", aura)
| |
| 2457 | pe.Texture = "http://www.roblox.com/asset/?id=317180612" | |
| 2458 | pe.Color = ColorSequence.new(koy,kiy) | |
| 2459 | pe.LightEmission = 0.75 | |
| 2460 | pe.Size = NumberSequence.new(10) | |
| 2461 | pe.Transparency = NumberSequence.new(0) | |
| 2462 | pe.ZOffset = 0.8 | |
| 2463 | pe.LockedToPart = true | |
| 2464 | pe.Acceleration = Vector3.new(10, 10, 0) | |
| 2465 | pe.Lifetime = NumberRange.new(0.25) | |
| 2466 | pe.Speed = NumberRange.new(15) | |
| 2467 | pe.Rotation = NumberRange.new(-10, 10) | |
| 2468 | pe.Enabled = true | |
| 2469 | pe.Rate = 40 | |
| 2470 | pe.VelocitySpread = 10 | |
| 2471 | pe.Name = "Charge" | |
| 2472 | pe.Enabled = true | |
| 2473 | se1 = {NumberSequenceKeypoint.new(0, 10, 0), NumberSequenceKeypoint.new(1, 30, 0)}
| |
| 2474 | pe2 = Instance.new("ParticleEmitter", aura2)
| |
| 2475 | pe2.Texture = "http://www.roblox.com/asset/?id=305943367" | |
| 2476 | pe2.Color = ColorSequence.new(kiy,wit) | |
| 2477 | pe2.LightEmission = 0.39 | |
| 2478 | pe2.Size = NumberSequence.new(se1) | |
| 2479 | pe2.Transparency = NumberSequence.new(0) | |
| 2480 | pe2.ZOffset = 0 | |
| 2481 | pe2.LockedToPart = true | |
| 2482 | pe2.Acceleration = Vector3.new(0, 0, 0) | |
| 2483 | pe2.Lifetime = NumberRange.new(0.6) | |
| 2484 | pe2.Speed = NumberRange.new(0) | |
| 2485 | pe2.Rotation = NumberRange.new(0, 0) | |
| 2486 | pe2.Enabled = true | |
| 2487 | pe2.Rate = 12 | |
| 2488 | pe2.VelocitySpread = 0 | |
| 2489 | pe2.Name = "Charge" | |
| 2490 | pe2.Enabled = true | |
| 2491 | ||
| 2492 | dez = Instance.new("Sound", hed)
| |
| 2493 | dez.SoundId = "rbxassetid://262498439" | |
| 2494 | dez.Looped = true | |
| 2495 | dez.Pitch = 1 | |
| 2496 | dez.Volume = 1 | |
| 2497 | wait(0.1) | |
| 2498 | dez:Play() | |
| 2499 | ||
| 2500 | ||
| 2501 | ||
| 2502 | coroutine.resume(coroutine.create(function() | |
| 2503 | for i=1, math.huge, 4 do | |
| 2504 | if Charging == true then | |
| 2505 | rs:wait() | |
| 2506 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 2507 | blm.Scale = blm.Scale + Vector3.new(8.1, 8.1, 8.1) | |
| 2508 | bl.Transparency = bl.Transparency + 0.1 | |
| 2509 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
| 2510 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
| 2511 | msh.Scale = msh.Scale + Vector3.new(8.1,0,8.1) | |
| 2512 | msh2.Scale = msh2.Scale + Vector3.new(8.1,0,8.1) | |
| 2513 | ||
| 2514 | elseif Charging == false then break | |
| 2515 | end | |
| 2516 | end | |
| 2517 | end)) | |
| 2518 | repeat | |
| 2519 | local p = Instance.new('Part',torso)
| |
| 2520 | p.formFactor = 'Custom' | |
| 2521 | p.Size = Vector3.new(1,1,1) | |
| 2522 | p.BrickColor = BrickColor.new("Dark indigo")
| |
| 2523 | p.CanCollide = false | |
| 2524 | p.Transparency = 0 | |
| 2525 | p.Anchored = true | |
| 2526 | p.Locked=true | |
| 2527 | p.Material = "Neon" | |
| 2528 | s = math.random(1,40)/10 | |
| 2529 | local m = Instance.new("BlockMesh",p)
| |
| 2530 | m.Scale = Vector3.new(s,s,s) | |
| 2531 | 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()) | |
| 2532 | ||
| 2533 | if holy == false then | |
| 2534 | pe.Color = ColorSequence.new(kiy) | |
| 2535 | pe2.Color = ColorSequence.new(kay,key) | |
| 2536 | pe2.Texture = "http://www.roblox.com/asset/?id=0" | |
| 2537 | pt2.BrickColor=BrickColor.new("Really black")
| |
| 2538 | p.BrickColor = BrickColor.new("New Yeller")
| |
| 2539 | end | |
| 2540 | ||
| 2541 | ||
| 2542 | ------------------------------------------------- | |
| 2543 | ||
| 2544 | ||
| 2545 | ||
| 2546 | --[[coroutine.wrap(function() | |
| 2547 | wait(2) | |
| 2548 | while Charging == true do | |
| 2549 | wait(2) | |
| 2550 | GroundWave1() | |
| 2551 | wait(2) | |
| 2552 | end | |
| 2553 | end)()]]-- | |
| 2554 | Spawn(function() | |
| 2555 | while rs:wait() do | |
| 2556 | if Charging == true then | |
| 2557 | 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))) | |
| 2558 | 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))) | |
| 2559 | 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)) | |
| 2560 | torso.Weld.C0 = CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
| 2561 | 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))) | |
| 2562 | 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))) | |
| 2563 | elseif Charging == false then break | |
| 2564 | end | |
| 2565 | end | |
| 2566 | end) | |
| 2567 | Spawn(function() | |
| 2568 | while rs:wait() do | |
| 2569 | if p.Transparency >= 1 then p:Destroy() break end | |
| 2570 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
| 2571 | p.Transparency = p.Transparency+0.01 | |
| 2572 | end | |
| 2573 | end) | |
| 2574 | wait(.3) | |
| 2575 | until Charging == false | |
| 2576 | end | |
| 2577 | end | |
| 2578 | end | |
| 2579 | end) | |
| 2580 | ||
| 2581 | ---------------------------------------------------- | |
| 2582 | mouse.KeyUp:connect(function(key) | |
| 2583 | if key == "r" then | |
| 2584 | if Charging == true then | |
| 2585 | ||
| 2586 | Charging = false | |
| 2587 | pt:Destroy() | |
| 2588 | pt2:Destroy() | |
| 2589 | bl:Destroy() | |
| 2590 | dez:Remove() | |
| 2591 | if Debounces.CanAttack == false then | |
| 2592 | Debounces.CanAttack = true | |
| 2593 | Debounces.NoIdl = false | |
| 2594 | Debounces.on = false | |
| 2595 | end | |
| 2596 | end | |
| 2597 | end | |
| 2598 | end) | |
| 2599 | ---------------------------------------------------- | |
| 2600 | ---------------------------------------------------- | |
| 2601 | mouse.KeyDown:connect(function(key) | |
| 2602 | if key == "j" then | |
| 2603 | if Debounces.CanJoke == true then | |
| 2604 | Debounces.CanJoke = false | |
| 2605 | z = Instance.new("Sound",hed)
| |
| 2606 | z.SoundId = "rbxassetid://415859013" | |
| 2607 | z.Pitch = pitches[math.random(1,#pitches)] | |
| 2608 | z.Volume = 1 | |
| 2609 | wait() | |
| 2610 | z:Play() | |
| 2611 | wait(2) | |
| 2612 | z:Destroy() | |
| 2613 | if Debounces.CanJoke == false then | |
| 2614 | Debounces.CanJoke = true | |
| 2615 | end | |
| 2616 | end | |
| 2617 | end | |
| 2618 | end) | |
| 2619 | ---------------------------------------------------- | |
| 2620 | mouse.KeyDown:connect(function(key) | |
| 2621 | if key == "k" then | |
| 2622 | if Debounces.CanJoke == true then | |
| 2623 | Debounces.CanJoke = false | |
| 2624 | z = Instance.new("Sound",hed)
| |
| 2625 | z.SoundId = "rbxassetid://415859085" | |
| 2626 | z.Pitch = pitches[math.random(1,#pitches)] | |
| 2627 | z.Volume = 1 | |
| 2628 | wait() | |
| 2629 | z:Play() | |
| 2630 | wait(2) | |
| 2631 | z:Destroy() | |
| 2632 | if Debounces.CanJoke == false then | |
| 2633 | Debounces.CanJoke = true | |
| 2634 | end | |
| 2635 | end | |
| 2636 | end | |
| 2637 | end) | |
| 2638 | ---------------------------------------------------- | |
| 2639 | Grab = false | |
| 2640 | ||
| 2641 | ---------------------------------------------------- | |
| 2642 | ||
| 2643 | mouse.KeyDown:connect(function(key) | |
| 2644 | if key == "q" then | |
| 2645 | if Debounces.CanAttack == true then | |
| 2646 | Debounces.CanAttack = false | |
| 2647 | Debounces.on = true | |
| 2648 | Debounces.NoIdl = true | |
| 2649 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
| |
| 2650 | z = Instance.new("Sound", rarm)
| |
| 2651 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 2652 | z.Volume = 18 | |
| 2653 | z.Pitch = pt[math.random(1,#pt)] | |
| 2654 | z.Looped = false | |
| 2655 | z:Play() | |
| 2656 | Debounces.RPunch = true | |
| 2657 | Debounces.LPunch = true | |
| 2658 | Debounces.ks = true | |
| 2659 | for i = 1, 3 do | |
| 2660 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, -0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(70)), 0.7) | |
| 2661 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0.2) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.7) | |
| 2662 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(-70), 0), 0.7) | |
| 2663 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.7) | |
| 2664 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(-10)), 0.7) | |
| 2665 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.7) | |
| 2666 | wait(0.1) | |
| 2667 | end | |
| 2668 | Debounces.ks = false | |
| 2669 | Debounces.RPunch = false | |
| 2670 | Debounces.LPunch = false | |
| 2671 | if Debounces.CanAttack == false then | |
| 2672 | Debounces.CanAttack = true | |
| 2673 | Debounces.on = false | |
| 2674 | Debounces.NoIdl = false | |
| 2675 | z:Remove() | |
| 2676 | end | |
| 2677 | end | |
| 2678 | end | |
| 2679 | end) | |
| 2680 | ---------------------------------------------------- | |
| 2681 | mouse.KeyDown:connect(function(key) | |
| 2682 | if string.byte(key) == 52 then | |
| 2683 | Swing = 2 | |
| 2684 | char.Humanoid.WalkSpeed = 28 | |
| 2685 | end | |
| 2686 | end) | |
| 2687 | mouse.KeyUp:connect(function(key) | |
| 2688 | if string.byte(key) == 52 then | |
| 2689 | Swing = 1 | |
| 2690 | char.Humanoid.WalkSpeed = 16 | |
| 2691 | end | |
| 2692 | end) | |
| 2693 | ---------------------------------------------------- | |
| 2694 | ||
| 2695 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 2696 | if char.Humanoid.Jump == true then | |
| 2697 | jump = true | |
| 2698 | else | |
| 2699 | jump = false | |
| 2700 | end | |
| 2701 | char.Humanoid.FreeFalling:connect(function(f) | |
| 2702 | if f then | |
| 2703 | ffing = true | |
| 2704 | else | |
| 2705 | ffing = false | |
| 2706 | end | |
| 2707 | end) | |
| 2708 | ||
| 2709 | RightLeg = CFrame.new(0.5,-1,0) | |
| 2710 | LeftLeg = CFrame.new(-0.5,-1,0) | |
| 2711 | ||
| 2712 | lefth = (torso.CFrame*LeftLeg) | |
| 2713 | righth = (torso.CFrame*RightLeg) | |
| 2714 | ||
| 2715 | speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z) | |
| 2716 | ||
| 2717 | TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100) | |
| 2718 | ||
| 2719 | ||
| 2720 | local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100) | |
| 2721 | local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100) | |
| 2722 | ||
| 2723 | sine = sine + change | |
| 2724 | if jump == true then | |
| 2725 | animpose = "Jumping" | |
| 2726 | elseif ffing == true then | |
| 2727 | animpose = "Freefalling" | |
| 2728 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 2729 | animpose = "Idle" | |
| 2730 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 2731 | animpose = "Walking" | |
| 2732 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 2733 | animpose = "Running" | |
| 2734 | end | |
| 2735 | if animpose ~= lastanimpose then | |
| 2736 | sine = 0 | |
| 2737 | if Debounces.NoIdl == false then | |
| 2738 | if stanceToggle == "Normal" and holy ~= true then | |
| 2739 | for i = 1, 2 do | |
| 2740 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3) | |
| 2741 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3) | |
| 2742 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2) | |
| 2743 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2+2*math.cos(sine/22)), math.rad(0), 0), 0.2) | |
| 2744 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(5), math.rad(-5)), 0.2) | |
| 2745 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(-5), math.rad(5)), 0.2) | |
| 2746 | end | |
| 2747 | elseif stanceToggle == "Floating" then | |
| 2748 | change = 1 | |
| 2749 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.55, 0) * CFrame.Angles(math.rad(-16) - root.RotVelocity.Y / 20, math.rad(-20) - root.RotVelocity.Y / 20, math.rad(10 + 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 2750 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, 0) * CFrame.Angles(math.rad(-20) + root.RotVelocity.Y / 20, math.rad(16) - root.RotVelocity.Y / 20, math.rad(-10 - 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 2751 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4) | |
| 2752 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20) - root.RotVelocity.Y / 10, 0), 0.2) | |
| 2753 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.17 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-16), math.rad(0), root.RotVelocity.Y / 10), 0.05) | |
| 2754 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20) + root.RotVelocity.Y / 10, 0), 0.05) | |
| 2755 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-13 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(-8) - root.RotVelocity.Y / 20), 0.4) | |
| 2756 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -0.5 - 0.1 * math.sin(sine / 14), -0.7) * CFrame.Angles(math.rad(-16 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(8) - root.RotVelocity.Y / 20), 0.4) | |
| 2757 | wait() | |
| 2758 | end | |
| 2759 | else | |
| 2760 | end | |
| 2761 | end | |
| 2762 | lastanimpose = animpose | |
| 2763 | if Debounces.NoIdl == false then | |
| 2764 | if animpose == "Idle" then | |
| 2765 | if stanceToggle == "Normal" and holy ~= true then | |
| 2766 | change = 0.5 | |
| 2767 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6+0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),-0.2-0.1*math.cos(sine/10))*CFrame.Angles(math.rad(8+2.5*math.cos(sine/10)),math.rad(22+7*math.cos(sine/10)),math.rad(15+2*math.cos(sine/10))), 0.8) | |
| 2768 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
| 2769 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6-0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(-8-2.5*math.cos(sine/10)),math.rad(12+5*math.cos(sine/10)),math.rad(-12-3*math.cos(sine/10))), 0.8) | |
| 2770 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
| 2771 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.05*math.cos(sine/10))*CFrame.Angles(math.rad(-15+3*math.cos(sine/10)),math.rad(0),math.rad(0)), 0.5) | |
| 2772 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20-3*math.cos(sine/10)),math.rad(0)), 0.5) | |
| 2773 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6+3*math.cos(sine/10)), math.rad(0), 0), 0.1) | |
| 2774 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0-0.08*math.cos(sine/10), -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20+3*math.cos(sine/10)), 0), 0.1) | |
| 2775 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14+0.06*math.cos(sine/10)) * CFrame.Angles(math.rad(-3-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1) | |
| 2776 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10-3*math.cos(sine/10)), math.rad(5+3*math.cos(sine/10))), 0.1) | |
| 2777 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(8-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1) | |
| 2778 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10-3*math.cos(sine/10)), math.rad(-5+3*math.cos(sine/10))), 0.1) | |
| 2779 | elseif stanceToggle == "Idle2" then | |
| 2780 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65-0.1*math.cos(sine/3),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20-2*math.cos(sine/3))), 0.1) | |
| 2781 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
| 2782 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.23, 0.5, -.56) * CFrame.Angles(math.rad(88+4*math.cos(sine/3)), 0, math.rad(45)), 0.6) | |
| 2783 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
| 2784 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(-10+2*math.cos(sine/6)), 0, 0), 0.8) | |
| 2785 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1) | |
| 2786 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
| 2787 | --hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-5-10*math.cos(sine/18)), math.sin(sine/36)/3, 0), 0.3) | |
| 2788 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
| 2789 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.15) * CFrame.Angles(math.rad(-9-2*math.cos(sine/6)), 0, 0), 0.8) | |
| 2790 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1-0.1*math.cos(sine/3), 0+0.04*math.cos(sine/6)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.8) | |
| 2791 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56-2*math.cos(sine/6)), 0, 0), 0.8) | |
| 2792 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.8) | |
| 2793 | elseif stanceToggle == "Normal" and holy == true then --- Floating anim | |
| 2794 | change = 0.5 | |
| 2795 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-3 + 6 * math.sin(sine / 10)), math.rad(-15 - 10 * math.cos(sine / 10)), math.rad(13 + 6 * math.cos(sine / 10))), 0.4) | |
| 2796 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-4 - 6 * math.sin(sine / 10)), math.rad(15 + 10 * math.cos(sine / 10)), math.rad(-13 - 6 * math.cos(sine / 10))), 0.4) | |
| 2797 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14 - 5 * math.cos(sine / 10)), math.rad(-20), 0), 0.4) | |
| 2798 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.16 * math.cos(sine / 10), 0) * CFrame.Angles(math.rad(-10 + 3 * math.cos(sine / 10)), math.rad(20), math.rad(0)), 0.05) | |
| 2799 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-12 + 5 * math.sin(sine / 10)), math.rad(20 + 6 * math.sin(sine / 10)), math.rad(-12 - 2 * math.sin(sine / 10))), 0.4) | |
| 2800 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6 - 0.1 * math.sin(sine / 10), -0.5) * CFrame.Angles(math.rad(-9 + 5 * math.sin(sine / 10)), math.rad(-9 - 6 * math.sin(sine / 10)), math.rad(4 + 3 * math.sin(sine / 10))), 0.4) | |
| 2801 | elseif stanceToggle == "Floating" then | |
| 2802 | change = 0.5 | |
| 2803 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.55, 0) * CFrame.Angles(math.rad(-16) - root.RotVelocity.Y / 20, math.rad(-20) - root.RotVelocity.Y / 20, math.rad(10 + 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 2804 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, 0) * CFrame.Angles(math.rad(-20) + root.RotVelocity.Y / 20, math.rad(16) - root.RotVelocity.Y / 20, math.rad(-10 - 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 2805 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4) | |
| 2806 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20) - root.RotVelocity.Y / 10, 0), 0.2) | |
| 2807 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.17 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-16), math.rad(0), root.RotVelocity.Y / 10), 0.05) | |
| 2808 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20) + root.RotVelocity.Y / 10, 0), 0.05) | |
| 2809 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-13 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(-8) - root.RotVelocity.Y / 20), 0.4) | |
| 2810 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -0.5 - 0.1 * math.sin(sine / 14), -0.7) * CFrame.Angles(math.rad(-16 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(8) - root.RotVelocity.Y / 20), 0.4) | |
| 2811 | elseif stanceToggle == "Grabbed" and holy ~= true then | |
| 2812 | grab = true | |
| 2813 | ||
| 2814 | 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) | |
| 2815 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2) | |
| 2816 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(90+4*math.cos(sine/14)),math.rad(0),math.rad(-80+4*math.cos(sine/14))), 0.3) | |
| 2817 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2) | |
| 2818 | 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) | |
| 2819 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
| 2820 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
| 2821 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1) | |
| 2822 | 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) | |
| 2823 | lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
| 2824 | 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) | |
| 2825 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
| 2826 | elseif stanceToggle == "Grabbed" and holy == true then | |
| 2827 | grab = true | |
| 2828 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4) | |
| 2829 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7) | |
| 2830 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/2), -math.sin(sine/4)/4)*CFrame.Angles(math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(-10-7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4) | |
| 2831 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7) | |
| 2832 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4) | |
| 2833 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7) | |
| 2834 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4) | |
| 2835 | --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1) | |
| 2836 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8) | |
| 2837 | --lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.9-0.24*math.cos(sine/4)/2.8, -0.05 + math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)-math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4) | |
| 2838 | lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8) | |
| 2839 | lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
| 2840 | --rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.9+0.24*math.cos(sine/4)/2.8, -0.05 + -math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)+math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4) | |
| 2841 | rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8) | |
| 2842 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
| 2843 | end | |
| 2844 | elseif animpose == "Walking" then | |
| 2845 | if stanceToggle == "Normal" and holy ~= true then | |
| 2846 | change = 1 | |
| 2847 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4) | |
| 2848 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7) | |
| 2849 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/-2.8, -math.sin(sine/4)/3, (math.rad(-10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4) | |
| 2850 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7) | |
| 2851 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4) | |
| 2852 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7) | |
| 2853 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4) | |
| 2854 | --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1) | |
| 2855 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8) | |
| 2856 | lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8) | |
| 2857 | lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
| 2858 | rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8) | |
| 2859 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
| 2860 | ||
| 2861 | elseif stanceToggle == "Normal" and holy == true then --- Floating walk anim | |
| 2862 | for i = 1, 2 do | |
| 2863 | change = 0.5 | |
| 2864 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.55, 0) * CFrame.Angles(math.rad(-16) - root.RotVelocity.Y / 20, math.rad(-20) - root.RotVelocity.Y / 20, math.rad(10 + 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 2865 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, 0) * CFrame.Angles(math.rad(-20) + root.RotVelocity.Y / 20, math.rad(16) - root.RotVelocity.Y / 20, math.rad(-10 - 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 2866 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4) | |
| 2867 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20) - root.RotVelocity.Y / 10, 0), 0.2) | |
| 2868 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.17 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-16), math.rad(0), root.RotVelocity.Y / 10), 0.05) | |
| 2869 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20) + root.RotVelocity.Y / 10, 0), 0.05) | |
| 2870 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-13 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(-8) - root.RotVelocity.Y / 20), 0.4) | |
| 2871 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -0.5 - 0.1 * math.sin(sine / 14), -0.7) * CFrame.Angles(math.rad(-16 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(8) - root.RotVelocity.Y / 20), 0.4) | |
| 2872 | end | |
| 2873 | elseif stanceToggle == "Floating" then | |
| 2874 | change = 1 | |
| 2875 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.55, 0) * CFrame.Angles(math.rad(-16) - root.RotVelocity.Y / 20, math.rad(-20) - root.RotVelocity.Y / 20, math.rad(10 + 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 2876 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, 0) * CFrame.Angles(math.rad(-20) + root.RotVelocity.Y / 20, math.rad(16) - root.RotVelocity.Y / 20, math.rad(-10 - 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 2877 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4) | |
| 2878 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20) - root.RotVelocity.Y / 10, 0), 0.2) | |
| 2879 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.17 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-16), math.rad(0), root.RotVelocity.Y / 10), 0.05) | |
| 2880 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20) + root.RotVelocity.Y / 10, 0), 0.05) | |
| 2881 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-13 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(-8) - root.RotVelocity.Y / 20), 0.4) | |
| 2882 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -0.5 - 0.1 * math.sin(sine / 14), -0.7) * CFrame.Angles(math.rad(-16 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(8) - root.RotVelocity.Y / 20), 0.4) | |
| 2883 | elseif stanceToggle == "Grabbed" and holy ~= true then | |
| 2884 | 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) | |
| 2885 | 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) | |
| 2886 | 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) | |
| 2887 | 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) | |
| 2888 | 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) | |
| 2889 | 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) | |
| 2890 | elseif stanceToggle == "Grabbed" and holy == true then | |
| 2891 | 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) | |
| 2892 | 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) | |
| 2893 | 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) | |
| 2894 | 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) | |
| 2895 | 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) | |
| 2896 | 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) | |
| 2897 | end | |
| 2898 | elseif animpose == "Running" then | |
| 2899 | if stanceToggle == "Normal" and holy ~= true then | |
| 2900 | change = 1 | |
| 2901 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.24+.6*math.cos(sine/4)/1.4, 0.54, 0+0.8*math.cos(sine/4)) * CFrame.Angles(math.rad(6-140*math.cos(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.cos(sine/4))), 0.2) | |
| 2902 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36) | |
| 2903 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24+.6*math.cos(sine/4)/1.4, 0.54, 0-0.8*math.cos(sine/4))*CFrame.Angles(math.rad(6+140*math.cos(sine/4)/1.2), math.rad(0), math.rad(20+70*math.cos(sine/4))), 0.2) | |
| 2904 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
| 2905 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-8+12*math.cos(sine/2)/1.5), math.rad(0+12*math.cos(sine/4)), math.rad(0)),0.2) | |
| 2906 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.5) | |
| 2907 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.2*math.cos(sine/2)/1.7, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/2)/1.5), math.rad(0-12*math.cos(sine/4))-root.RotVelocity.Y/10, math.rad(0)+root.RotVelocity.Y/20), 0.2) | |
| 2908 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4) | |
| 2909 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.8-0.4*math.cos(sine/4)/2, math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + -math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8) | |
| 2910 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 2911 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8+0.4*math.cos(sine/4)/2, -math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8) | |
| 2912 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 2913 | elseif stanceToggle == "Normal" and holy == true then | |
| 2914 | change = 0.5 | |
| 2915 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-3 + 6 * math.sin(sine / 10)), math.rad(-15 - 10 * math.cos(sine / 10)), math.rad(13 + 6 * math.cos(sine / 10))), 0.4) | |
| 2916 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-4 - 6 * math.sin(sine / 10)), math.rad(15 + 10 * math.cos(sine / 10)), math.rad(-13 - 6 * math.cos(sine / 10))), 0.4) | |
| 2917 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14 - 5 * math.cos(sine / 10)), math.rad(-20), 0), 0.4) | |
| 2918 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.16 * math.cos(sine / 10), 0) * CFrame.Angles(math.rad(-10 + 3 * math.cos(sine / 10)), math.rad(20), math.rad(0)), 0.05) | |
| 2919 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-12 + 5 * math.sin(sine / 10)), math.rad(20 + 6 * math.sin(sine / 10)), math.rad(-12 - 2 * math.sin(sine / 10))), 0.4) | |
| 2920 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6 - 0.1 * math.sin(sine / 10), -0.5) * CFrame.Angles(math.rad(-9 + 5 * math.sin(sine / 10)), math.rad(-9 - 6 * math.sin(sine / 10)), math.rad(4 + 3 * math.sin(sine / 10))), 0.4) | |
| 2921 | elseif stanceToggle == "Floating" then | |
| 2922 | change = 1 | |
| 2923 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.55, 0) * CFrame.Angles(math.rad(-16) - root.RotVelocity.Y / 20, math.rad(-20) - root.RotVelocity.Y / 20, math.rad(10 + 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 2924 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, 0) * CFrame.Angles(math.rad(-20) + root.RotVelocity.Y / 20, math.rad(16) - root.RotVelocity.Y / 20, math.rad(-10 - 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 2925 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4) | |
| 2926 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20) - root.RotVelocity.Y / 10, 0), 0.2) | |
| 2927 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.17 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-16), math.rad(0), root.RotVelocity.Y / 10), 0.05) | |
| 2928 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20) + root.RotVelocity.Y / 10, 0), 0.05) | |
| 2929 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-13 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(-8) - root.RotVelocity.Y / 20), 0.4) | |
| 2930 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -0.5 - 0.1 * math.sin(sine / 14), -0.7) * CFrame.Angles(math.rad(-16 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(8) - root.RotVelocity.Y / 20), 0.4) | |
| 2931 | end | |
| 2932 | ||
| 2933 | elseif animpose == "Jumping" then --JUMPING ANIM | |
| 2934 | ||
| 2935 | if stanceToggle == "Normal" and holy ~= true then | |
| 2936 | change = 0.8 | |
| 2937 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(20)), 0.2) | |
| 2938 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36) | |
| 2939 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2) | |
| 2940 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
| 2941 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2) | |
| 2942 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 2943 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4) | |
| 2944 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 2945 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 2946 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 2947 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 2948 | elseif stanceToggle == "Grabbed" and holy ~= true then | |
| 2949 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0), math.rad(0)),0.3) | |
| 2950 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad (0), math.rad(0)), 0.3) | |
| 2951 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3) | |
| 2952 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), 0.3) | |
| 2953 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
| 2954 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0), 0.3) | |
| 2955 | elseif stanceToggle == "Grabbed" and holy == true then | |
| 2956 | 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) | |
| 2957 | 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) | |
| 2958 | 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) | |
| 2959 | 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) | |
| 2960 | 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) | |
| 2961 | 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) | |
| 2962 | end | |
| 2963 | ||
| 2964 | elseif animpose == "Freefalling" then --FF ANIM | |
| 2965 | ||
| 2966 | if stanceToggle == "Normal" and holy ~= true then | |
| 2967 | change = 0.8 | |
| 2968 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-40),math.rad(20),math.rad(50)), 0.2) | |
| 2969 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36) | |
| 2970 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(110),math.rad(-20),math.rad(-30)), 0.2) | |
| 2971 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
| 2972 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2) | |
| 2973 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2) | |
| 2974 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4) | |
| 2975 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, 0.2) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.2) | |
| 2976 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 2977 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.6) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), 0.2) | |
| 2978 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 2979 | end | |
| 2980 | elseif stanceToggle == "Normal" and holy == true then | |
| 2981 | change = 0.8 | |
| 2982 | change = 0.5 | |
| 2983 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-3 + 6 * math.sin(sine / 10)), math.rad(-15 - 10 * math.cos(sine / 10)), math.rad(13 + 6 * math.cos(sine / 10))), 0.4) | |
| 2984 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-4 - 6 * math.sin(sine / 10)), math.rad(15 + 10 * math.cos(sine / 10)), math.rad(-13 - 6 * math.cos(sine / 10))), 0.4) | |
| 2985 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14 - 5 * math.cos(sine / 10)), math.rad(-20), 0), 0.4) | |
| 2986 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.16 * math.cos(sine / 10), 0) * CFrame.Angles(math.rad(-10 + 3 * math.cos(sine / 10)), math.rad(20), math.rad(0)), 0.05) | |
| 2987 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-12 + 5 * math.sin(sine / 10)), math.rad(20 + 6 * math.sin(sine / 10)), math.rad(-12 - 2 * math.sin(sine / 10))), 0.4) | |
| 2988 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6 - 0.1 * math.sin(sine / 10), -0.5) * CFrame.Angles(math.rad(-9 + 5 * math.sin(sine / 10)), math.rad(-9 - 6 * math.sin(sine / 10)), math.rad(4 + 3 * math.sin(sine / 10))), 0.4) | |
| 2989 | end | |
| 2990 | end | |
| 2991 | end) | |
| 2992 | hum.MaxHealth = 5000 | |
| 2993 | wait(3) | |
| 2994 | hum.Health = 5000 |