SHOW:
|
|
- or go back to the newest paste.
| 1 | ----Made by tyefoodmania | |
| 2 | ----Credits go to moneypro123 aka speedoflightpro123 | |
| 3 | ----Noobs | |
| 4 | ||
| 5 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 6 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 7 | local Player,game,owner = owner,game | |
| 8 | local RealPlayer = Player | |
| 9 | do | |
| 10 | print("FE Compatibility code V2 by Mokiros")
| |
| 11 | local RealPlayer = RealPlayer | |
| 12 | script.Parent = RealPlayer.Character | |
| 13 | ||
| 14 | --Fake event to make stuff like Mouse.KeyDown work | |
| 15 | local Disconnect_Function = function(this) | |
| 16 | this[1].Functions[this[2]] = nil | |
| 17 | end | |
| 18 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
| |
| 19 | local FakeEvent_Metatable = {__index={
| |
| 20 | Connect = function(this,f) | |
| 21 | local i = tostring(math.random(0,10000)) | |
| 22 | while this.Functions[i] do | |
| 23 | i = tostring(math.random(0,10000)) | |
| 24 | end | |
| 25 | this.Functions[i] = f | |
| 26 | return setmetatable({this,i},Disconnect_Metatable)
| |
| 27 | end | |
| 28 | }} | |
| 29 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
| 30 | local function fakeEvent() | |
| 31 | return setmetatable({Functions={}},FakeEvent_Metatable)
| |
| 32 | end | |
| 33 | ||
| 34 | --Creating fake input objects with fake variables | |
| 35 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
| |
| 36 | FakeMouse.keyUp = FakeMouse.KeyUp | |
| 37 | FakeMouse.keyDown = FakeMouse.KeyDown | |
| 38 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 39 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 40 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 41 | end} | |
| 42 | --Merged 2 functions into one by checking amount of arguments | |
| 43 | CAS.UnbindAction = CAS.BindAction | |
| 44 | ||
| 45 | --This function will trigger the events that have been :Connect()'ed | |
| 46 | local function TriggerEvent(self,ev,...) | |
| 47 | for _,f in pairs(self[ev].Functions) do | |
| 48 | f(...) | |
| 49 | end | |
| 50 | end | |
| 51 | FakeMouse.TriggerEvent = TriggerEvent | |
| 52 | UIS.TriggerEvent = TriggerEvent | |
| 53 | ||
| 54 | --Client communication | |
| 55 | local Event = Instance.new("RemoteEvent")
| |
| 56 | Event.Name = "UserInput_Event" | |
| 57 | Event.OnServerEvent:Connect(function(plr,io) | |
| 58 | if plr~=RealPlayer then return end | |
| 59 | FakeMouse.Target = io.Target | |
| 60 | FakeMouse.Hit = io.Hit | |
| 61 | if not io.isMouse then | |
| 62 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 63 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 64 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
| 65 | end | |
| 66 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
| 67 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
| 68 | end | |
| 69 | for _,t in pairs(CAS.Actions) do | |
| 70 | for _,k in pairs(t.Keys) do | |
| 71 | if k==io.KeyCode then | |
| 72 | t.Function(t.Name,io.UserInputState,io) | |
| 73 | end | |
| 74 | end | |
| 75 | end | |
| 76 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 77 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 78 | end | |
| 79 | end) | |
| 80 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
| |
| 81 | local Mouse = owner:GetMouse() | |
| 82 | local UIS = game:GetService("UserInputService")
| |
| 83 | local input = function(io,RobloxHandled) | |
| 84 | if RobloxHandled then return end | |
| 85 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 86 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 87 | end | |
| 88 | UIS.InputBegan:Connect(input) | |
| 89 | UIS.InputEnded:Connect(input) | |
| 90 | local h,t | |
| 91 | --Give the server mouse data every second frame, but only if the values changed | |
| 92 | --If player is not moving their mouse, client won't fire events | |
| 93 | local HB = game:GetService("RunService").Heartbeat
| |
| 94 | while true do | |
| 95 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 96 | h,t=Mouse.Hit,Mouse.Target | |
| 97 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 98 | end | |
| 99 | --Wait 2 frames | |
| 100 | for i=1,2 do | |
| 101 | HB:Wait() | |
| 102 | end | |
| 103 | end]==],script) | |
| 104 | ||
| 105 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 106 | --Real game object | |
| 107 | local RealGame = game | |
| 108 | ||
| 109 | --Metatable for fake service | |
| 110 | local FakeService_Metatable = {
| |
| 111 | __index = function(self,k) | |
| 112 | local s = rawget(self,"_RealService") | |
| 113 | if s then | |
| 114 | return typeof(s[k])=="function" | |
| 115 | and function(_,...)return s[k](s,...)end or s[k] | |
| 116 | end | |
| 117 | end, | |
| 118 | __newindex = function(self,k,v) | |
| 119 | local s = rawget(self,"_RealService") | |
| 120 | if s then s[k]=v end | |
| 121 | end | |
| 122 | } | |
| 123 | local function FakeService(t,RealService) | |
| 124 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
| 125 | return setmetatable(t,FakeService_Metatable) | |
| 126 | end | |
| 127 | ||
| 128 | --Fake game object | |
| 129 | local FakeGame = {
| |
| 130 | GetService = function(self,s) | |
| 131 | return rawget(self,s) or RealGame:GetService(s) | |
| 132 | end, | |
| 133 | Players = FakeService({
| |
| 134 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
| |
| 135 | },"Players"), | |
| 136 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 137 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 138 | RunService = FakeService({
| |
| 139 | _btrs = {},
| |
| 140 | RenderStepped = RealGame:GetService("RunService").Heartbeat,
| |
| 141 | BindToRenderStep = function(self,name,_,fun) | |
| 142 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 143 | end, | |
| 144 | UnbindFromRenderStep = function(self,name) | |
| 145 | self._btrs[name]:Disconnect() | |
| 146 | end, | |
| 147 | },"RunService") | |
| 148 | } | |
| 149 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
| 150 | FakeGame.service = FakeGame.GetService | |
| 151 | FakeService(FakeGame,game) | |
| 152 | --Changing owner to fake player object to support owner:GetMouse() | |
| 153 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
| 154 | end | |
| 155 | ||
| 156 | local Player = game.Players.localPlayer | |
| 157 | local Character = Player.Character | |
| 158 | local Humanoid = Character.Humanoid | |
| 159 | local Mouse = Player:GetMouse() | |
| 160 | local LeftArm = Character["Left Arm"] | |
| 161 | local RightArm = Character["Right Arm"] | |
| 162 | local LeftLeg = Character["Left Leg"] | |
| 163 | local RightLeg = Character["Right Leg"] | |
| 164 | local Head = Character.Head | |
| 165 | local Torso = Character.Torso | |
| 166 | local Camera = game.Workspace.CurrentCamera | |
| 167 | local RootPart = Character.HumanoidRootPart | |
| 168 | local RootJoint = RootPart.RootJoint | |
| 169 | local Pause = false | |
| 170 | local attack = false | |
| 171 | local LOL = false | |
| 172 | local Anim = 'Idle' | |
| 173 | local attacktype = 1 | |
| 174 | local delays = false | |
| 175 | local play = true | |
| 176 | local targetted = nil | |
| 177 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 178 | local velocity = RootPart.Velocity.y | |
| 179 | local sine = 0 | |
| 180 | local change = 1 | |
| 181 | local doe = 0 | |
| 182 | local Create = LoadLibrary("RbxUtility").Create
| |
| 183 | for i,v in pairs(Character:children()) do | |
| 184 | if v:IsA("Hat") then
| |
| 185 | v:Destroy() | |
| 186 | end | |
| 187 | end | |
| 188 | for i,v in pairs(Character:children()) do | |
| 189 | if v:IsA("Accessory") then
| |
| 190 | v:Destroy() | |
| 191 | end | |
| 192 | end | |
| 193 | for i,v in pairs(Character:children()) do | |
| 194 | if v:IsA("Clothing") then
| |
| 195 | v:Destroy() | |
| 196 | end | |
| 197 | end | |
| 198 | for i,v in pairs(Character:children()) do | |
| 199 | if v:IsA("Accoutrement") then
| |
| 200 | v:Destroy() | |
| 201 | end | |
| 202 | end | |
| 203 | local Shirt = Instance.new("Shirt",Character)
| |
| 204 | local Pants = Instance.new("Pants",Character)
| |
| 205 | Head.face.Texture = "rbxassetid://403828505" | |
| 206 | local Hat = Instance.new("Part",Character)
| |
| 207 | Hat.Size = Vector3.new(1,1,1) | |
| 208 | Hat.CanCollide = false | |
| 209 | Hat.BrickColor = BrickColor.new("Really black")
| |
| 210 | local Hat2 = Instance.new("SpecialMesh",Hat)
| |
| 211 | Hat2.MeshId = "rbxassetid://922015392" | |
| 212 | Hat2.TextureId = "rbxassetid://922016290" | |
| 213 | Hat2.Scale = Vector3.new(0.08,0.08,0.08) | |
| 214 | local Hat3 = Instance.new("Weld",Hat)
| |
| 215 | Hat3.Part0 = Head | |
| 216 | Hat3.Part1 = Hat | |
| 217 | Hat3.C0 = CFrame.new(-0.1,1,0)*CFrame.Angles(0,0,0.4) | |
| 218 | Shirt.ShirtTemplate = "rbxassetid://578666808" | |
| 219 | Pants.PantsTemplate = "rbxassetid://578667800" | |
| 220 | local M = Instance.new("Sound",Torso)
| |
| 221 | M.SoundId = "rbxassetid://538732827" | |
| 222 | M.Looped = true | |
| 223 | M.Volume = 0.5 | |
| 224 | M.Pitch = 1 | |
| 225 | M:play() | |
| 226 | Humanoid.WalkSpeed = 25 | |
| 227 | Humanoid.Animator.Parent = nil | |
| 228 | Character.Animate.Parent = nil | |
| 229 | ||
| 230 | local newMotor = function(part0, part1, c0, c1) | |
| 231 | local w = Create('Motor'){
| |
| 232 | Parent = part0, | |
| 233 | Part0 = part0, | |
| 234 | Part1 = part1, | |
| 235 | C0 = c0, | |
| 236 | C1 = c1, | |
| 237 | } | |
| 238 | return w | |
| 239 | end | |
| 240 | function clerp(a, b, t) | |
| 241 | return a:lerp(b, t) | |
| 242 | end | |
| 243 | ||
| 244 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 245 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 246 | ||
| 247 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 248 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 249 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 250 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 251 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 252 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 253 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 254 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 255 | ||
| 256 | local rarmc1 = RW.C1 | |
| 257 | local larmc1 = LW.C1 | |
| 258 | local rlegc1 = RH.C1 | |
| 259 | local llegc1 = LH.C1 | |
| 260 | ||
| 261 | local resetc1 = false | |
| 262 | ||
| 263 | function PlayAnimationFromTable(table, speed, bool) | |
| 264 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 265 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 266 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 267 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 268 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 269 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 270 | if bool == true then | |
| 271 | if resetc1 == false then | |
| 272 | resetc1 = true | |
| 273 | RootJoint.C1 = RootJoint.C1 | |
| 274 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 275 | RW.C1 = rarmc1 | |
| 276 | LW.C1 = larmc1 | |
| 277 | RH.C1 = rlegc1 | |
| 278 | LH.C1 = llegc1 | |
| 279 | end | |
| 280 | end | |
| 281 | end | |
| 282 | ||
| 283 | ArtificialHB = Create("BindableEvent", script){
| |
| 284 | Parent = script, | |
| 285 | Name = "Heartbeat", | |
| 286 | } | |
| 287 | ||
| 288 | script:WaitForChild("Heartbeat")
| |
| 289 | ||
| 290 | frame = 1 / 30 | |
| 291 | tf = 0 | |
| 292 | allowframeloss = false | |
| 293 | tossremainder = false | |
| 294 | lastframe = tick() | |
| 295 | script.Heartbeat:Fire() | |
| 296 | ||
| 297 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 298 | tf = tf + s | |
| 299 | if tf >= frame then | |
| 300 | if allowframeloss then | |
| 301 | script.Heartbeat:Fire() | |
| 302 | lastframe = tick() | |
| 303 | else | |
| 304 | for i = 1, math.floor(tf / frame) do | |
| 305 | script.Heartbeat:Fire() | |
| 306 | end | |
| 307 | lastframe = tick() | |
| 308 | end | |
| 309 | if tossremainder then | |
| 310 | tf = 0 | |
| 311 | else | |
| 312 | tf = tf - frame * math.floor(tf / frame) | |
| 313 | end | |
| 314 | end | |
| 315 | end) | |
| 316 | ||
| 317 | function swait(num) | |
| 318 | if num == 0 or num == nil then | |
| 319 | ArtificialHB.Event:wait() | |
| 320 | else | |
| 321 | for i = 0, num do | |
| 322 | ArtificialHB.Event:wait() | |
| 323 | end | |
| 324 | end | |
| 325 | end | |
| 326 | function Hit1() | |
| 327 | if not D then D = true | |
| 328 | Pause = true | |
| 329 | for i = 0,0.5,0.1 do | |
| 330 | swait() | |
| 331 | PlayAnimationFromTable({
| |
| 332 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0.2) * CFrame.Angles(0, -0.3, 0), | |
| 333 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 334 | CFrame.new(1.9,0.5,0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,1), | |
| 335 | CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
| 336 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
| 337 | CFrame.new(-0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -0.1), | |
| 338 | }, .5, false) | |
| 339 | end | |
| 340 | local Grab = Instance.new("Part",RightArm)
| |
| 341 | Grab.Size = Vector3.new(1,1,1) | |
| 342 | Grab.CanCollide = false | |
| 343 | Grab.BrickColor = BrickColor.new("Deep orange")
| |
| 344 | Grab.Transparency = math.huge | |
| 345 | local Grabo = Instance.new("Weld",Grab)
| |
| 346 | Grabo.Part0 = RightArm | |
| 347 | Grabo.Part1 = Grab | |
| 348 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
| 349 | local RA = Instance.new("Part",RightArm)
| |
| 350 | RA.Size = Vector3.new(1.1,2.1,1.1) | |
| 351 | RA.BrickColor = BrickColor.new("New Yeller")
| |
| 352 | RA.Material = "Neon" | |
| 353 | RA.Transparency = 0 | |
| 354 | local RA2 = Instance.new("Weld",RA)
| |
| 355 | RA2.Part0 = RightArm | |
| 356 | RA2.Part1 = RA | |
| 357 | RA2.C0 = CFrame.new(0,0,0) | |
| 358 | local Sou = Instance.new("Sound",Torso)
| |
| 359 | Sou.SoundId = "rbxassetid://727821717" | |
| 360 | Sou.Pitch = 1 | |
| 361 | Sou.Looped = false | |
| 362 | Sou.Volume = 1 | |
| 363 | Sou:play() | |
| 364 | coroutine.resume(coroutine.create(function() | |
| 365 | for i = 1,2 do | |
| 366 | for i = 1,5 do | |
| 367 | RA.Transparency = RA.Transparency + 0.1 | |
| 368 | game:GetService("RunService").RenderStepped:wait()
| |
| 369 | end | |
| 370 | wait(0.1) | |
| 371 | for i = 1,5 do | |
| 372 | RA.Transparency = RA.Transparency - 0.1 | |
| 373 | game:GetService("RunService").RenderStepped:wait()
| |
| 374 | end | |
| 375 | game:GetService("RunService").RenderStepped:wait()
| |
| 376 | end | |
| 377 | for i = 1,10 do | |
| 378 | RA.Transparency = RA.Transparency + 0.1 | |
| 379 | game:GetService("RunService").RenderStepped:wait()
| |
| 380 | end | |
| 381 | RA:remove() | |
| 382 | end)) | |
| 383 | local SFXZ = Instance.new("Sound",Torso)
| |
| 384 | SFXZ.SoundId = "rbxassetid://169259383" | |
| 385 | SFXZ.Volume = 1 | |
| 386 | SFXZ.Pitch = 1.5 | |
| 387 | SFXZ.Looped = false | |
| 388 | wait(0.01) | |
| 389 | SFXZ:Play() | |
| 390 | Grab.Touched:connect(function(hit) | |
| 391 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
| |
| 392 | Grab:remove() | |
| 393 | hit.Parent.Humanoid:TakeDamage(13) | |
| 394 | local SFXZ = Instance.new("Sound",Torso)
| |
| 395 | SFXZ.SoundId = "rbxassetid://743886825" | |
| 396 | SFXZ.Volume = 1 | |
| 397 | SFXZ.Pitch = 1 | |
| 398 | SFXZ.Looped = false | |
| 399 | wait(0.01) | |
| 400 | SFXZ:Play() | |
| 401 | local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
| |
| 402 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 403 | Fl.velocity = Torso.CFrame.lookVector*33 | |
| 404 | wait(0.05) | |
| 405 | Fl:remove() | |
| 406 | end | |
| 407 | end) | |
| 408 | for i = 0,1,0.1 do | |
| 409 | swait() | |
| 410 | PlayAnimationFromTable({
| |
| 411 | CFrame.new(0,0,0) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, 0.6, 0), | |
| 412 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.2, 0), | |
| 413 | CFrame.new(1.7,0.5,-0.6) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0.4), | |
| 414 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1.2, 0, 0), | |
| 415 | CFrame.new(0.6,-1.8,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1), | |
| 416 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,-0.1), | |
| 417 | }, .5, false) | |
| 418 | end | |
| 419 | Grab:remove() | |
| 420 | Pause = false | |
| 421 | wait(0.2) | |
| 422 | D = false | |
| 423 | end | |
| 424 | end | |
| 425 | function Hit2() | |
| 426 | if not D then D = true | |
| 427 | Pause = true | |
| 428 | for i = 0,0.5,0.1 do | |
| 429 | swait() | |
| 430 | PlayAnimationFromTable({
| |
| 431 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0.2) * CFrame.Angles(0, 0.3, 0), | |
| 432 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 433 | CFrame.new(1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0), | |
| 434 | CFrame.new(-1.9,0.5,0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -1), | |
| 435 | CFrame.new(0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1), | |
| 436 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
| 437 | }, .5, false) | |
| 438 | end | |
| 439 | local Grab = Instance.new("Part",RightArm)
| |
| 440 | Grab.Size = Vector3.new(1,1,1) | |
| 441 | Grab.CanCollide = false | |
| 442 | Grab.BrickColor = BrickColor.new("Deep orange")
| |
| 443 | Grab.Transparency = math.huge | |
| 444 | local Grabo = Instance.new("Weld",Grab)
| |
| 445 | Grabo.Part0 = LeftArm | |
| 446 | Grabo.Part1 = Grab | |
| 447 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
| 448 | local LA = Instance.new("Part",LeftArm)
| |
| 449 | LA.Size = Vector3.new(1.1,2.1,1.1) | |
| 450 | LA.BrickColor = BrickColor.new("New Yeller")
| |
| 451 | LA.Material = "Neon" | |
| 452 | LA.Transparency = 0 | |
| 453 | local LA2 = Instance.new("Weld",LA)
| |
| 454 | LA2.Part0 = LeftArm | |
| 455 | LA2.Part1 = LA | |
| 456 | LA2.C0 = CFrame.new(0,0,0) | |
| 457 | local Sou = Instance.new("Sound",Torso)
| |
| 458 | Sou.SoundId = "rbxassetid://727821717" | |
| 459 | Sou.Pitch = 1 | |
| 460 | Sou.Looped = false | |
| 461 | Sou.Volume = 1 | |
| 462 | Sou:play() | |
| 463 | coroutine.resume(coroutine.create(function() | |
| 464 | for i = 1,2 do | |
| 465 | for i = 1,5 do | |
| 466 | LA.Transparency = LA.Transparency + 0.1 | |
| 467 | game:GetService("RunService").RenderStepped:wait()
| |
| 468 | end | |
| 469 | wait(0.1) | |
| 470 | for i = 1,5 do | |
| 471 | LA.Transparency = LA.Transparency - 0.1 | |
| 472 | game:GetService("RunService").RenderStepped:wait()
| |
| 473 | end | |
| 474 | game:GetService("RunService").RenderStepped:wait()
| |
| 475 | end | |
| 476 | for i = 1,10 do | |
| 477 | LA.Transparency = LA.Transparency + 0.1 | |
| 478 | game:GetService("RunService").RenderStepped:wait()
| |
| 479 | end | |
| 480 | LA:remove() | |
| 481 | end)) | |
| 482 | local SFXZ = Instance.new("Sound",Torso)
| |
| 483 | SFXZ.SoundId = "rbxassetid://169259383" | |
| 484 | SFXZ.Volume = 1 | |
| 485 | SFXZ.Pitch = 1.5 | |
| 486 | SFXZ.Looped = false | |
| 487 | wait(0.01) | |
| 488 | SFXZ:Play() | |
| 489 | Grab.Touched:connect(function(hit) | |
| 490 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
| |
| 491 | Grab:remove() | |
| 492 | hit.Parent.Humanoid:TakeDamage(13) | |
| 493 | local SFXZ = Instance.new("Sound",Torso)
| |
| 494 | SFXZ.SoundId = "rbxassetid://743886825" | |
| 495 | SFXZ.Volume = 1 | |
| 496 | SFXZ.Pitch = 1 | |
| 497 | SFXZ.Looped = false | |
| 498 | wait(0.01) | |
| 499 | SFXZ:Play() | |
| 500 | local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
| |
| 501 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 502 | Fl.velocity = Torso.CFrame.lookVector*33 | |
| 503 | wait(0.05) | |
| 504 | Fl:remove() | |
| 505 | end | |
| 506 | end) | |
| 507 | for i = 0,1,0.1 do | |
| 508 | swait() | |
| 509 | PlayAnimationFromTable({
| |
| 510 | CFrame.new(0,0,0) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, -0.6, 0), | |
| 511 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.2, 0), | |
| 512 | CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2,0,0.4), | |
| 513 | CFrame.new(-1.7,0.5,-0.6) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -0.4), | |
| 514 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
| 515 | CFrame.new(-0.6,-1.8,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3,0,-0.1), | |
| 516 | }, .5, false) | |
| 517 | end | |
| 518 | Grab:remove() | |
| 519 | Pause = false | |
| 520 | wait(0.2) | |
| 521 | D = false | |
| 522 | end | |
| 523 | end | |
| 524 | function Torn() | |
| 525 | if not D then D = true | |
| 526 | Pause = true | |
| 527 | for i = 0,1.2,0.1 do | |
| 528 | swait() | |
| 529 | PlayAnimationFromTable({
| |
| 530 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 531 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 532 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
| 533 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
| 534 | CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 535 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 536 | }, .5, false) | |
| 537 | end | |
| 538 | for i = 0,3,0.1 do | |
| 539 | swait() | |
| 540 | PlayAnimationFromTable({
| |
| 541 | CFrame.new(0,0,0) * CFrame.new(0, -0.7, 0) * CFrame.Angles(0, 0, 0), | |
| 542 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 543 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
| 544 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
| 545 | CFrame.new(0.5,-1.8,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.9, 0, 0), | |
| 546 | CFrame.new(-0.5,-1.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0), | |
| 547 | }, .1, false) | |
| 548 | end | |
| 549 | local RA = Instance.new("Part",RightArm)
| |
| 550 | RA.Size = Vector3.new(1.1,2.1,1.1) | |
| 551 | RA.BrickColor = BrickColor.new("New Yeller")
| |
| 552 | RA.Material = "Neon" | |
| 553 | RA.Transparency = 0 | |
| 554 | local RA2 = Instance.new("Weld",RA)
| |
| 555 | RA2.Part0 = RightLeg | |
| 556 | RA2.Part1 = RA | |
| 557 | RA2.C0 = CFrame.new(0,0,0) | |
| 558 | local E = Instance.new("Sound",Torso)
| |
| 559 | E.SoundId = "rbxassetid://727821717" | |
| 560 | E.Volume = 112 | |
| 561 | E.Pitch = 1 | |
| 562 | E.Looped = false | |
| 563 | E:play() | |
| 564 | for i = 1,2 do ----15 | |
| 565 | for i = 1,5 do | |
| 566 | RA.Transparency = RA.Transparency + 0.1 | |
| 567 | game:GetService("RunService").RenderStepped:wait()
| |
| 568 | end | |
| 569 | wait(0.1) | |
| 570 | for i = 1,5 do | |
| 571 | RA.Transparency = RA.Transparency - 0.1 | |
| 572 | game:GetService("RunService").RenderStepped:wait()
| |
| 573 | end | |
| 574 | end | |
| 575 | for i = 1,10 do | |
| 576 | RA.Transparency = RA.Transparency + 0.1 | |
| 577 | game:GetService("RunService").RenderStepped:wait()
| |
| 578 | end | |
| 579 | for i = 0,1.1,0.1 do | |
| 580 | swait() | |
| 581 | PlayAnimationFromTable({
| |
| 582 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 583 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 584 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
| 585 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
| 586 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
| 587 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 588 | }, .5, false) | |
| 589 | end | |
| 590 | --- | |
| 591 | local To = Instance.new("Part",Torso)
| |
| 592 | To.Size = Vector3.new(10,10,10) | |
| 593 | To.BrickColor = BrickColor.new("New Yeller")
| |
| 594 | To.Transparency = 0 | |
| 595 | To.CanCollide = false | |
| 596 | To.CFrame = Torso.CFrame*CFrame.new(0,0,0) | |
| 597 | coroutine.resume(coroutine.create(function() | |
| 598 | for i = 1,26 do | |
| 599 | local Ef = Instance.new("Part",Torso)
| |
| 600 | Ef.Size = Vector3.new(1,1,1) | |
| 601 | Ef.Anchored = true | |
| 602 | Ef.CanCollide = false | |
| 603 | Ef.BrickColor = BrickColor.new("New Yeller")
| |
| 604 | Ef.CFrame = To.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
| 605 | local Ef2 = Instance.new("SpecialMesh",Ef)
| |
| 606 | Ef2.MeshId = "rbxassetid://3270017" | |
| 607 | Ef2.Scale = Vector3.new(1,1,0.01) | |
| 608 | coroutine.resume(coroutine.create(function() | |
| 609 | for i = 1,300 do | |
| 610 | Ef2.Scale = Ef2.Scale + Vector3.new(1,1,0.1) | |
| 611 | Ef.Transparency = Ef.Transparency + 0.005 | |
| 612 | game:GetService("RunService").RenderStepped:wait()
| |
| 613 | end | |
| 614 | Ef:remove() | |
| 615 | end)) | |
| 616 | wait(0.3) | |
| 617 | end | |
| 618 | end)) | |
| 619 | To.Touched:connect(function(hit) | |
| 620 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
| |
| 621 | if not ZC then ZC = true | |
| 622 | hit.Parent.Humanoid:TakeDamage(20) | |
| 623 | local FlyIn = Instance.new("BodyPosition",hit.Parent.Torso)
| |
| 624 | FlyIn.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 625 | FlyIn.Position = Torso.Position | |
| 626 | wait(0.3) | |
| 627 | FlyIn:remove() | |
| 628 | ZC = false | |
| 629 | end | |
| 630 | end | |
| 631 | end) | |
| 632 | local To2 = Instance.new("SpecialMesh",To)
| |
| 633 | To2.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 634 | To2.Scale = Vector3.new(6,6,6) | |
| 635 | local Spa = Instance.new("ParticleEmitter",To)
| |
| 636 | Spa.Texture = "rbxassetid://569507414" | |
| 637 | Spa.Size = NumberSequence.new(0.8,0.2) | |
| 638 | Spa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0)) | |
| 639 | Spa.Lifetime = NumberRange.new(1,2) | |
| 640 | Spa.Rate = 99 | |
| 641 | Spa.Transparency = NumberSequence.new(0.5,0.6) | |
| 642 | Spa.LightEmission = 0.75 | |
| 643 | Spa.Speed = NumberRange.new(2) | |
| 644 | Spa.Acceleration = Vector3.new(0, 0, 0) | |
| 645 | Spa.VelocitySpread = 1212 | |
| 646 | coroutine.resume(coroutine.create(function() | |
| 647 | for i = 1,300 do | |
| 648 | To.CFrame = Torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1,0) | |
| 649 | To.Transparency = To.Transparency + 0.00009 | |
| 650 | To2.Scale = To2.Scale + Vector3.new(0.05,0.05,0.05) | |
| 651 | game:GetService("RunService").RenderStepped:wait()
| |
| 652 | end | |
| 653 | To:remove() | |
| 654 | end)) | |
| 655 | for i = 1,28 do | |
| 656 | for i = 0,0.1,0.1 do | |
| 657 | swait() | |
| 658 | PlayAnimationFromTable({
| |
| 659 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0), | |
| 660 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 661 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
| 662 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
| 663 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
| 664 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 665 | }, .5, false) | |
| 666 | end | |
| 667 | for i = 0,0.1,0.1 do | |
| 668 | swait() | |
| 669 | PlayAnimationFromTable({
| |
| 670 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -3, 0), | |
| 671 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 672 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
| 673 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
| 674 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
| 675 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 676 | }, .5, false) | |
| 677 | end | |
| 678 | for i = 0,0.1,0.1 do | |
| 679 | swait() | |
| 680 | PlayAnimationFromTable({
| |
| 681 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -4, 0), | |
| 682 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 683 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
| 684 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
| 685 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
| 686 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 687 | }, .5, false) | |
| 688 | end | |
| 689 | for i = 0,0.1,0.1 do | |
| 690 | swait() | |
| 691 | PlayAnimationFromTable({
| |
| 692 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -5, 0), | |
| 693 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 694 | CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
| 695 | CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55), | |
| 696 | CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
| 697 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 698 | }, .5, false) | |
| 699 | end | |
| 700 | game:GetService("RunService").RenderStepped:wait()
| |
| 701 | end | |
| 702 | Pause = false | |
| 703 | To:remove() | |
| 704 | --- | |
| 705 | wait(1) | |
| 706 | D = false | |
| 707 | end | |
| 708 | end | |
| 709 | function Zoom() | |
| 710 | if not D then D = true | |
| 711 | Pause = true | |
| 712 | Character.Humanoid.WalkSpeed = 0 | |
| 713 | for i = 0,1.2,0.1 do | |
| 714 | swait() | |
| 715 | PlayAnimationFromTable({
| |
| 716 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.55, 0), | |
| 717 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.15, 0), | |
| 718 | CFrame.new(0.45,0.5,-1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(0,-0.5,-1.55), | |
| 719 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0), | |
| 720 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
| 721 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
| 722 | }, .5, false) | |
| 723 | end | |
| 724 | local RA = Instance.new("Part",RightArm)
| |
| 725 | RA.Size = Vector3.new(1.1,2.1,1.1) | |
| 726 | RA.BrickColor = BrickColor.new("New Yeller")
| |
| 727 | RA.Material = "Neon" | |
| 728 | RA.Transparency = 0 | |
| 729 | local RA2 = Instance.new("Weld",RA)
| |
| 730 | RA2.Part0 = RightArm | |
| 731 | RA2.Part1 = RA | |
| 732 | RA2.C0 = CFrame.new(0,0,0) | |
| 733 | local E = Instance.new("Sound",Torso)
| |
| 734 | E.SoundId = "rbxassetid://727821717" | |
| 735 | E.Volume = 112 | |
| 736 | E.Pitch = 1 | |
| 737 | E.Looped = false | |
| 738 | E:play() | |
| 739 | for i = 1,2 do ----15 | |
| 740 | for i = 1,5 do | |
| 741 | RA.Transparency = RA.Transparency + 0.1 | |
| 742 | game:GetService("RunService").RenderStepped:wait()
| |
| 743 | end | |
| 744 | wait(0.1) | |
| 745 | for i = 1,5 do | |
| 746 | RA.Transparency = RA.Transparency - 0.1 | |
| 747 | game:GetService("RunService").RenderStepped:wait()
| |
| 748 | end | |
| 749 | end | |
| 750 | for i = 1,10 do | |
| 751 | RA.Transparency = RA.Transparency + 0.1 | |
| 752 | game:GetService("RunService").RenderStepped:wait()
| |
| 753 | end | |
| 754 | RightArm.Transparency = 1 | |
| 755 | local owo = Instance.new("Model",Torso)
| |
| 756 | Instance.new("Humanoid",owo)
| |
| 757 | Shirt:Clone().Parent = owo | |
| 758 | local R = Instance.new("Part",owo)
| |
| 759 | R.Size = Vector3.new(1,2,1) | |
| 760 | R.TopSurface = 0 | |
| 761 | R.BottomSurface = 0 | |
| 762 | R.Name = 'Right Arm' | |
| 763 | R.BrickColor = RightArm.BrickColor | |
| 764 | R.CanCollide = false | |
| 765 | R.Anchored = true | |
| 766 | R.CFrame = RightArm.CFrame*CFrame.new(0,0,0) | |
| 767 | R.Touched:connect(function(hit) | |
| 768 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
| |
| 769 | if not ZZ then ZZ = true | |
| 770 | hit.Parent.Humanoid:TakeDamage(40) | |
| 771 | hit.Parent.Humanoid.Sit = true | |
| 772 | local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
| |
| 773 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 774 | Fl.velocity = RootPart.CFrame.lookVector*130 | |
| 775 | wait(0.1) | |
| 776 | Fl:remove() | |
| 777 | wait(0.00001) | |
| 778 | ZZ = false | |
| 779 | end | |
| 780 | end | |
| 781 | end) | |
| 782 | coroutine.resume(coroutine.create(function() | |
| 783 | for i = 1,20 do | |
| 784 | R.Size = R.Size + Vector3.new(0,0.8,0) | |
| 785 | R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.5,0) | |
| 786 | game:GetService("RunService").RenderStepped:wait()
| |
| 787 | end | |
| 788 | end)) | |
| 789 | for i = 0,1,0.1 do | |
| 790 | swait() | |
| 791 | PlayAnimationFromTable({
| |
| 792 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.5, 0), | |
| 793 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.2, 0), | |
| 794 | CFrame.new(1.95,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55), | |
| 795 | CFrame.new(-1.5,0,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.7, 0, 0), | |
| 796 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
| 797 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1) | |
| 798 | }, .5, false) | |
| 799 | end | |
| 800 | wait(1) | |
| 801 | for i = 1,20 do | |
| 802 | R.Size = R.Size - Vector3.new(0,0.8,0) | |
| 803 | R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.75,0) | |
| 804 | game:GetService("RunService").RenderStepped:wait()
| |
| 805 | end | |
| 806 | RightArm.Transparency = 0 | |
| 807 | R:remove() | |
| 808 | Pause = false | |
| 809 | Character.Humanoid.WalkSpeed = 25 | |
| 810 | wait(1) | |
| 811 | D = false | |
| 812 | end | |
| 813 | end | |
| 814 | function Baby() | |
| 815 | if not D then D = true | |
| 816 | Pause = true | |
| 817 | for i = 0,1.2,0.1 do | |
| 818 | swait() | |
| 819 | PlayAnimationFromTable({
| |
| 820 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 821 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 822 | CFrame.new(1.5,1,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(2.8,0,0), | |
| 823 | CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
| 824 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
| 825 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
| 826 | }, .5, false) | |
| 827 | end | |
| 828 | wait(0.5) | |
| 829 | local Ba = Instance.new("Sound",Torso)
| |
| 830 | Ba.SoundId = "rbxassetid://1037853116" | |
| 831 | Ba.Volume = math.huge | |
| 832 | Ba.Pitch = 1 | |
| 833 | Ba.Looped = false | |
| 834 | Ba:play() | |
| 835 | for i = 0,1.2,0.1 do | |
| 836 | swait() | |
| 837 | PlayAnimationFromTable({
| |
| 838 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 839 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 840 | CFrame.new(1.5,1,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(2.4,0,0), | |
| 841 | CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0), | |
| 842 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
| 843 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
| 844 | }, .5, false) | |
| 845 | end | |
| 846 | wait(0.8) | |
| 847 | Pause = false | |
| 848 | wait(0.5) | |
| 849 | D = false | |
| 850 | end | |
| 851 | end | |
| 852 | ||
| 853 | function Breathe() | |
| 854 | if not DZ then DZ = true | |
| 855 | Pause = true | |
| 856 | Character.Humanoid.WalkSpeed = 0 | |
| 857 | for i = 0,3,0.1 do | |
| 858 | swait() | |
| 859 | PlayAnimationFromTable({
| |
| 860 | CFrame.new(0,0.01,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0), | |
| 861 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.1, 0, 0), | |
| 862 | CFrame.new(1.5,0,0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3,0,0), | |
| 863 | CFrame.new(-1.5,0,0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0), | |
| 864 | CFrame.new(0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1), | |
| 865 | CFrame.new(-0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -0.1), | |
| 866 | }, .5, false) | |
| 867 | end | |
| 868 | local P = Instance.new("Part",Character)
| |
| 869 | P.Size = Vector3.new(0.1,0.1,0.1) | |
| 870 | P.Anchored = true | |
| 871 | P.Transparency = math.huge | |
| 872 | P.CanCollide = false | |
| 873 | P.CFrame = Head.CFrame*CFrame.new(0,-0.1,-1.9) | |
| 874 | local FlA = Instance.new("ParticleEmitter",P)
| |
| 875 | FlA.Texture = "rbxassetid://833874434" | |
| 876 | FlA.Size = NumberSequence.new(0.7,0.1) | |
| 877 | FlA.EmissionDirection = "Back" | |
| 878 | FlA.Rotation = NumberRange.new(-100, 100) | |
| 879 | FlA.RotSpeed = NumberRange.new(-100, 100) | |
| 880 | FlA.Transparency = NumberSequence.new(0,1) | |
| 881 | FlA.Drag = 4 | |
| 882 | FlA.Lifetime = NumberRange.new(0.5) | |
| 883 | FlA.Rate = 1111 | |
| 884 | wait(2) | |
| 885 | FlA.Enabled = false | |
| 886 | wait(1) | |
| 887 | P:remove() | |
| 888 | for i = 0,3,0.1 do | |
| 889 | swait() | |
| 890 | PlayAnimationFromTable({
| |
| 891 | CFrame.new(0,0.01,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 892 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0), | |
| 893 | CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3,0,0), | |
| 894 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0), | |
| 895 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), | |
| 896 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), | |
| 897 | }, .5, false) | |
| 898 | end | |
| 899 | local RA = Instance.new("Part",RightArm)
| |
| 900 | RA.Size = Vector3.new(1.1,2.1,1.1) | |
| 901 | RA.BrickColor = BrickColor.new("New Yeller")
| |
| 902 | RA.Material = "Neon" | |
| 903 | RA.Transparency = 0 | |
| 904 | local RA2 = Instance.new("Weld",RA)
| |
| 905 | RA2.Part0 = RightArm | |
| 906 | RA2.Part1 = RA | |
| 907 | RA2.C0 = CFrame.new(0,0,0) | |
| 908 | local LA = Instance.new("Part",LeftArm)
| |
| 909 | LA.Size = Vector3.new(1.1,2.1,1.1) | |
| 910 | LA.BrickColor = BrickColor.new("New Yeller")
| |
| 911 | LA.Material = "Neon" | |
| 912 | LA.Transparency = 0 | |
| 913 | local LA2 = Instance.new("Weld",LA)
| |
| 914 | LA2.Part0 = LeftArm | |
| 915 | LA2.Part1 = LA | |
| 916 | LA2.C0 = CFrame.new(0,0,0) | |
| 917 | local AZZ = Instance.new("ParticleEmitter",LA)
| |
| 918 | AZZ.Texture = "rbxassetid://998225956" | |
| 919 | AZZ.EmissionDirection = "Top" | |
| 920 | AZZ.Rotation = NumberRange.new(-100, 100) | |
| 921 | AZZ.Size = NumberSequence.new(1) | |
| 922 | AZZ.Lifetime = NumberRange.new(0.8,1) | |
| 923 | AZZ.Rate = 50 | |
| 924 | AZZ.Speed = NumberRange.new(0.3) | |
| 925 | AZZ.LightEmission = 1 | |
| 926 | AZZ.VelocitySpread = 100 | |
| 927 | local LAZZ = Instance.new("ParticleEmitter",RA)
| |
| 928 | LAZZ.Texture = "rbxassetid://998225956" | |
| 929 | LAZZ.EmissionDirection = "Top" | |
| 930 | LAZZ.Rotation = NumberRange.new(-100, 100) | |
| 931 | LAZZ.Size = NumberSequence.new(1) | |
| 932 | LAZZ.Lifetime = NumberRange.new(0.8,1) | |
| 933 | LAZZ.Rate = 50 | |
| 934 | LAZZ.Speed = NumberRange.new(0.3) | |
| 935 | LAZZ.LightEmission = 1 | |
| 936 | LAZZ.VelocitySpread = 100 | |
| 937 | local Spa = Instance.new("ParticleEmitter",RA)
| |
| 938 | Spa.Texture = "rbxassetid://569507414" | |
| 939 | Spa.Size = NumberSequence.new(0.8,0.2) | |
| 940 | Spa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0)) | |
| 941 | Spa.Lifetime = NumberRange.new(1,2) | |
| 942 | Spa.Rate = 99 | |
| 943 | Spa.Transparency = NumberSequence.new(0.5,0.6) | |
| 944 | Spa.LightEmission = 0.75 | |
| 945 | Spa.Speed = NumberRange.new(2) | |
| 946 | Spa.Acceleration = Vector3.new(0, 0, 0) | |
| 947 | Spa.VelocitySpread = 1212 | |
| 948 | local Rpa = Instance.new("ParticleEmitter",LA)
| |
| 949 | Rpa.Texture = "rbxassetid://569507414" | |
| 950 | Rpa.Size = NumberSequence.new(0.8,0.2) | |
| 951 | Rpa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0)) | |
| 952 | Rpa.EmissionDirection = "Top" | |
| 953 | Rpa.Lifetime = NumberRange.new(1,2) | |
| 954 | Rpa.Rate = 99 | |
| 955 | Rpa.Transparency = NumberSequence.new(0.5,0.6) | |
| 956 | Rpa.LightEmission = 0.75 | |
| 957 | Rpa.Speed = NumberRange.new(2) | |
| 958 | Rpa.Acceleration = Vector3.new(0, 0, 0) | |
| 959 | Rpa.VelocitySpread = 1212 | |
| 960 | for i = 1,5 do ----15 | |
| 961 | local E = Instance.new("Sound",Torso)
| |
| 962 | E.SoundId = "rbxassetid://186130717" | |
| 963 | E.Volume = 1 | |
| 964 | E.Pitch = 1 | |
| 965 | E.Looped = false | |
| 966 | local E1 = Instance.new("Sound",Torso)
| |
| 967 | E1.SoundId = "rbxassetid://727821717" | |
| 968 | E1.Volume = 0.1 | |
| 969 | E1.Pitch = 1 | |
| 970 | E1.Looped = false | |
| 971 | E1:play() | |
| 972 | E:play() | |
| 973 | for i = 1,5 do | |
| 974 | RA.Transparency = RA.Transparency + 0.1 | |
| 975 | LA.Transparency = LA.Transparency + 0.1 | |
| 976 | game:GetService("RunService").RenderStepped:wait()
| |
| 977 | end | |
| 978 | wait(0.1) | |
| 979 | for i = 1,5 do | |
| 980 | RA.Transparency = RA.Transparency - 0.1 | |
| 981 | LA.Transparency = LA.Transparency - 0.1 | |
| 982 | game:GetService("RunService").RenderStepped:wait()
| |
| 983 | end | |
| 984 | wait(0.1) | |
| 985 | for i = 1,9 do | |
| 986 | RA.Transparency = RA.Transparency + 0.1 | |
| 987 | LA.Transparency = LA.Transparency + 0.1 | |
| 988 | game:GetService("RunService").RenderStepped:wait()
| |
| 989 | end | |
| 990 | wait(0.1) | |
| 991 | for i = 1,9 do | |
| 992 | RA.Transparency = RA.Transparency - 0.1 | |
| 993 | LA.Transparency = LA.Transparency - 0.1 | |
| 994 | game:GetService("RunService").RenderStepped:wait()
| |
| 995 | end | |
| 996 | game:GetService("RunService").RenderStepped:wait()
| |
| 997 | end | |
| 998 | Rpa.Enabled = false | |
| 999 | Spa.Enabled = false | |
| 1000 | LAZZ.Enabled = false | |
| 1001 | AZZ.Enabled = false | |
| 1002 | local FlA = Instance.new("ParticleEmitter",LeftArm)
| |
| 1003 | FlA.Texture = "rbxassetid://313742348" | |
| 1004 | FlA.Size = NumberSequence.new(0.7) | |
| 1005 | FlA.Transparency = NumberSequence.new(0) | |
| 1006 | FlA.Lifetime = NumberRange.new(0.4) | |
| 1007 | FlA.Rate = 20 | |
| 1008 | FlA.Rotation = NumberRange.new(-100, 100) | |
| 1009 | FlA.Speed = NumberRange.new(0) | |
| 1010 | FlA.LockedToPart = true | |
| 1011 | local LP = Instance.new("ParticleEmitter",LeftArm)
| |
| 1012 | LP.Texture = "rbxassetid://1298571523" | |
| 1013 | LP.Transparency = NumberSequence.new(0,1) | |
| 1014 | LP.Size = NumberSequence.new(0.06) | |
| 1015 | LP.Color = ColorSequence.new(Color3.fromRGB(255,255,0)) | |
| 1016 | LP.Lifetime = NumberRange.new(1.5) | |
| 1017 | LP.Rate = 4000 | |
| 1018 | LP.ZOffset = 1 | |
| 1019 | LP.VelocitySpread = 35 | |
| 1020 | LP.Speed = NumberRange.new(0.3) | |
| 1021 | LP.LightEmission = 1 | |
| 1022 | LP.LightInfluence = 1 | |
| 1023 | LP.LockedToPart = true | |
| 1024 | local ZXA = Instance.new("ParticleEmitter",RightArm)
| |
| 1025 | ZXA.Texture = "rbxassetid://313742348" | |
| 1026 | ZXA.Size = NumberSequence.new(0.7) | |
| 1027 | ZXA.Transparency = NumberSequence.new(0) | |
| 1028 | ZXA.Lifetime = NumberRange.new(0.4) | |
| 1029 | ZXA.Rate = 20 | |
| 1030 | ZXA.Rotation = NumberRange.new(-100, 100) | |
| 1031 | ZXA.Speed = NumberRange.new(0) | |
| 1032 | ZXA.LockedToPart = true | |
| 1033 | local LLP = Instance.new("ParticleEmitter",RightArm)
| |
| 1034 | LLP.Texture = "rbxassetid://1298571523" | |
| 1035 | LLP.Transparency = NumberSequence.new(0,1) | |
| 1036 | LLP.Size = NumberSequence.new(0.06) | |
| 1037 | LLP.Color = ColorSequence.new(Color3.fromRGB(255,255,0)) | |
| 1038 | LLP.Lifetime = NumberRange.new(1.5) | |
| 1039 | LLP.Rate = 4000 | |
| 1040 | LLP.ZOffset = 1 | |
| 1041 | LLP.VelocitySpread = 35 | |
| 1042 | LLP.Speed = NumberRange.new(0.3) | |
| 1043 | LLP.LightEmission = 1 | |
| 1044 | LLP.LightInfluence = 1 | |
| 1045 | LLP.LockedToPart = true | |
| 1046 | Character.Humanoid.WalkSpeed = 25 | |
| 1047 | wait(1) | |
| 1048 | Pause = false | |
| 1049 | for i = 1,11 do | |
| 1050 | RA.Transparency = RA.Transparency + 0.1 | |
| 1051 | LA.Transparency = LA.Transparency + 0.1 | |
| 1052 | game:GetService("RunService").RenderStepped:wait()
| |
| 1053 | end | |
| 1054 | LA:remove() | |
| 1055 | RA:remove() | |
| 1056 | Humanoid.MaxHealth = 400 | |
| 1057 | wait(0.01) | |
| 1058 | Humanoid.Health = 500 | |
| 1059 | Mouse.KeyDown:connect(function(key) | |
| 1060 | if key == "e" then | |
| 1061 | Zoom() | |
| 1062 | end | |
| 1063 | if key == "r" then | |
| 1064 | Torn() | |
| 1065 | end | |
| 1066 | end) | |
| 1067 | Mouse.Button1Down:connect(function() | |
| 1068 | if attack == false and attacktype == 1 then | |
| 1069 | Hit1() | |
| 1070 | attacktype = 2 | |
| 1071 | elseif attack == false and attacktype == 2 then | |
| 1072 | Hit2() | |
| 1073 | attacktype = 1 | |
| 1074 | end | |
| 1075 | end) | |
| 1076 | wait(12412412) | |
| 1077 | DZ = false | |
| 1078 | end | |
| 1079 | end | |
| 1080 | Mouse.KeyDown:connect(function(key) | |
| 1081 | if key == "m" then | |
| 1082 | Baby() | |
| 1083 | end | |
| 1084 | if key == "z" then | |
| 1085 | Breathe() | |
| 1086 | end | |
| 1087 | end) | |
| 1088 | ||
| 1089 | New = function(Object, Parent, Name, Data) | |
| 1090 | local Object = Instance.new(Object) | |
| 1091 | for Index, Value in pairs(Data or {}) do
| |
| 1092 | Object[Index] = Value | |
| 1093 | end | |
| 1094 | Object.Parent = Parent | |
| 1095 | Object.Name = Name | |
| 1096 | return Object | |
| 1097 | end | |
| 1098 | function rayCast(Position, Direction, Range, Ignore) | |
| 1099 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 1100 | end | |
| 1101 | ||
| 1102 | ||
| 1103 | ||
| 1104 | ||
| 1105 | coroutine.wrap(function() | |
| 1106 | while 1 do | |
| 1107 | swait() | |
| 1108 | if doe <= 360 then | |
| 1109 | doe = doe + 2 | |
| 1110 | else | |
| 1111 | doe = 0 | |
| 1112 | end | |
| 1113 | end | |
| 1114 | end)() | |
| 1115 | while true do | |
| 1116 | swait() | |
| 1117 | for i, v in pairs(Character:GetChildren()) do | |
| 1118 | if v:IsA("Part") then
| |
| 1119 | v.Material = "SmoothPlastic" | |
| 1120 | elseif v:IsA("Accessory") then
| |
| 1121 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 1122 | end | |
| 1123 | end | |
| 1124 | ||
| 1125 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1126 | velocity = RootPart.Velocity.y | |
| 1127 | sine = sine + change | |
| 1128 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 1129 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 1130 | Anim = "Jump" | |
| 1131 | if Pause == false then | |
| 1132 | PlayAnimationFromTable({
| |
| 1133 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1134 | CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1135 | CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1136 | CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1137 | CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1138 | CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1139 | }, .3, false) | |
| 1140 | end | |
| 1141 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 1142 | Anim = "Fall" | |
| 1143 | if Pause == false then | |
| 1144 | PlayAnimationFromTable({
| |
| 1145 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1146 | CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1147 | CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1148 | CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1149 | CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1150 | CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1151 | }, .3, false) | |
| 1152 | end | |
| 1153 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 1154 | Anim = "Idle" | |
| 1155 | if Pause == false then | |
| 1156 | change = 1 | |
| 1157 | PlayAnimationFromTable({
| |
| 1158 | CFrame.new(0,0,0) * CFrame.new(0, 0-.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0), | |
| 1159 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0-.08*math.sin(tick()*2),0,0)*CFrame.Angles(-0.2, 0, 0), | |
| 1160 | CFrame.new(1.1,1,-0.8) * CFrame.new(0, 0-.08*math.sin(tick()*2), 0) * CFrame.Angles(3.1,0,-0.4), | |
| 1161 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0-.08*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0), | |
| 1162 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0+.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0.1), | |
| 1163 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0+.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, -0.1), | |
| 1164 | }, .3, false) | |
| 1165 | end | |
| 1166 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 1167 | Anim = "Walk" | |
| 1168 | if Pause == false then | |
| 1169 | PlayAnimationFromTable({
| |
| 1170 | CFrame.new(0,0,0) * CFrame.new(0,0,0)*CFrame.Angles(-0.3,0-.1*math.sin(tick()*9),0+RootPart.RotVelocity.Y/29), | |
| 1171 | CFrame.new(0,1.5,0) * CFrame.new(0,0,0) * CFrame.Angles(0,0,0)*CFrame.Angles(-0.3, 0, 0), | |
| 1172 | CFrame.new(1.1,1,-0.8) * CFrame.new(0,0,0) * CFrame.Angles(3.1,0,-0.4), | |
| 1173 | CFrame.new(-1.5,0,0) * CFrame.new(0,0,0+.5 * math.cos((sine) / 3.5))*CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 3.5)),0,0), | |
| 1174 | CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 3.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 3.5)), 0, 0-RootPart.RotVelocity.Y/33), | |
| 1175 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 3.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 3.5)), 0, 0-RootPart.RotVelocity.Y/33), | |
| 1176 | }, .3, false) | |
| 1177 | end | |
| 1178 | end | |
| 1179 | end |