SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,game,owner = owner,game | |
| 4 | local RealPlayer = Player | |
| 5 | do | |
| 6 | print("FE Compatibility code V2 by Mokiros")
| |
| 7 | local RealPlayer = RealPlayer | |
| 8 | script.Parent = RealPlayer.Character | |
| 9 | ||
| 10 | --Fake event to make stuff like Mouse.KeyDown work | |
| 11 | local Disconnect_Function = function(this) | |
| 12 | this[1].Functions[this[2]] = nil | |
| 13 | end | |
| 14 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
| |
| 15 | local FakeEvent_Metatable = {__index={
| |
| 16 | Connect = function(this,f) | |
| 17 | local i = tostring(math.random(0,10000)) | |
| 18 | while this.Functions[i] do | |
| 19 | i = tostring(math.random(0,10000)) | |
| 20 | end | |
| 21 | this.Functions[i] = f | |
| 22 | return setmetatable({this,i},Disconnect_Metatable)
| |
| 23 | end | |
| 24 | }} | |
| 25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
| 26 | local function fakeEvent() | |
| 27 | return setmetatable({Functions={}},FakeEvent_Metatable)
| |
| 28 | end | |
| 29 | ||
| 30 | --Creating fake input objects with fake variables | |
| 31 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
| |
| 32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
| 33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
| 34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 37 | end} | |
| 38 | --Merged 2 functions into one by checking amount of arguments | |
| 39 | CAS.UnbindAction = CAS.BindAction | |
| 40 | ||
| 41 | --This function will trigger the events that have been :Connect()'ed | |
| 42 | local function TriggerEvent(self,ev,...) | |
| 43 | for _,f in pairs(self[ev].Functions) do | |
| 44 | f(...) | |
| 45 | end | |
| 46 | end | |
| 47 | FakeMouse.TriggerEvent = TriggerEvent | |
| 48 | UIS.TriggerEvent = TriggerEvent | |
| 49 | ||
| 50 | --Client communication | |
| 51 | local Event = Instance.new("RemoteEvent")
| |
| 52 | Event.Name = "UserInput_Event" | |
| 53 | Event.OnServerEvent:Connect(function(plr,io) | |
| 54 | if plr~=RealPlayer then return end | |
| 55 | FakeMouse.Target = io.Target | |
| 56 | FakeMouse.Hit = io.Hit | |
| 57 | if not io.isMouse then | |
| 58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 60 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
| 61 | end | |
| 62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
| 63 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
| 64 | end | |
| 65 | for _,t in pairs(CAS.Actions) do | |
| 66 | for _,k in pairs(t.Keys) do | |
| 67 | if k==io.KeyCode then | |
| 68 | t.Function(t.Name,io.UserInputState,io) | |
| 69 | end | |
| 70 | end | |
| 71 | end | |
| 72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 73 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 74 | end | |
| 75 | end) | |
| 76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
| |
| 77 | local Mouse = owner:GetMouse() | |
| 78 | local UIS = game:GetService("UserInputService")
| |
| 79 | local input = function(io,RobloxHandled) | |
| 80 | if RobloxHandled then return end | |
| 81 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 83 | end | |
| 84 | UIS.InputBegan:Connect(input) | |
| 85 | UIS.InputEnded:Connect(input) | |
| 86 | local h,t | |
| 87 | --Give the server mouse data every second frame, but only if the values changed | |
| 88 | --If player is not moving their mouse, client won't fire events | |
| 89 | local HB = game:GetService("RunService").Heartbeat
| |
| 90 | while true do | |
| 91 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 92 | h,t=Mouse.Hit,Mouse.Target | |
| 93 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 94 | end | |
| 95 | --Wait 2 frames | |
| 96 | for i=1,2 do | |
| 97 | HB:Wait() | |
| 98 | end | |
| 99 | end]==],script) | |
| 100 | ||
| 101 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 102 | --Real game object | |
| 103 | local RealGame = game | |
| 104 | ||
| 105 | --Metatable for fake service | |
| 106 | local FakeService_Metatable = {
| |
| 107 | __index = function(self,k) | |
| 108 | local s = rawget(self,"_RealService") | |
| 109 | if s then | |
| 110 | return typeof(s[k])=="function" | |
| 111 | and function(_,...)return s[k](s,...)end or s[k] | |
| 112 | end | |
| 113 | end, | |
| 114 | __newindex = function(self,k,v) | |
| 115 | local s = rawget(self,"_RealService") | |
| 116 | if s then s[k]=v end | |
| 117 | end | |
| 118 | } | |
| 119 | local function FakeService(t,RealService) | |
| 120 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
| 121 | return setmetatable(t,FakeService_Metatable) | |
| 122 | end | |
| 123 | ||
| 124 | --Fake game object | |
| 125 | local FakeGame = {
| |
| 126 | GetService = function(self,s) | |
| 127 | return rawget(self,s) or RealGame:GetService(s) | |
| 128 | end, | |
| 129 | Players = FakeService({
| |
| 130 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
| |
| 131 | },"Players"), | |
| 132 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 133 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 134 | RunService = FakeService({
| |
| 135 | _btrs = {},
| |
| 136 | RenderStepped = RealGame:GetService("RunService").Heartbeat,
| |
| 137 | BindToRenderStep = function(self,name,_,fun) | |
| 138 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 139 | end, | |
| 140 | UnbindFromRenderStep = function(self,name) | |
| 141 | self._btrs[name]:Disconnect() | |
| 142 | end, | |
| 143 | },"RunService") | |
| 144 | } | |
| 145 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
| 146 | FakeGame.service = FakeGame.GetService | |
| 147 | FakeService(FakeGame,game) | |
| 148 | --Changing owner to fake player object to support owner:GetMouse() | |
| 149 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
| 150 | end | |
| 151 | ||
| 152 | local plr = game.Players.LocalPlayer | |
| 153 | local chr = plr.Character | |
| 154 | local maus = plr:GetMouse() | |
| 155 | local PGui = plr.PlayerGui | |
| 156 | local lleg = chr["Left Leg"] | |
| 157 | local rleg = chr["Right Leg"] | |
| 158 | local larm = chr["Left Arm"] | |
| 159 | local rarm = chr["Right Arm"] | |
| 160 | local hed = chr.Head | |
| 161 | local rutprt = chr.HumanoidRootPart | |
| 162 | local torso = chr.Torso | |
| 163 | local otheranims = false | |
| 164 | local armmovement = false | |
| 165 | local equipped = false | |
| 166 | if chr:findFirstChild("Animate") then
| |
| 167 | chr.Animate.Disabled = true | |
| 168 | end | |
| 169 | local RunSpeed = 26 | |
| 170 | local WlkSpeed = 16 | |
| 171 | local CrawlSpeed = 8 | |
| 172 | local runnin = false | |
| 173 | local disabled = false | |
| 174 | local sitting = false | |
| 175 | local tik = 0 | |
| 176 | local slidehitdb = false | |
| 177 | local fldb = {
| |
| 178 | w = false, | |
| 179 | a = false, | |
| 180 | s = false, | |
| 181 | d = false | |
| 182 | } | |
| 183 | local reganims = {
| |
| 184 | "Idling", | |
| 185 | "Walking", | |
| 186 | "Sprinting", | |
| 187 | "Crawling", | |
| 188 | "SpeedCrawling", | |
| 189 | "PreCrawl", | |
| 190 | "CrawlJump", | |
| 191 | "CrawlFall", | |
| 192 | "PreSuperJump", | |
| 193 | "SuperJump", | |
| 194 | "Sliding", | |
| 195 | "Jumping", | |
| 196 | "Falling", | |
| 197 | "Crouching" | |
| 198 | } | |
| 199 | local Meows = {
| |
| 200 | "60871617", | |
| 201 | "151742282", | |
| 202 | "138093919", | |
| 203 | "169836751", | |
| 204 | "439998659", | |
| 205 | "593617525", | |
| 206 | "748861274", | |
| 207 | "361967959", | |
| 208 | "130808361" | |
| 209 | } | |
| 210 | local leftnekoface = "260195370" | |
| 211 | local rightnekoface = "260196558" | |
| 212 | local swing = "Right" | |
| 213 | local armanim = "" | |
| 214 | local hitdb = false | |
| 215 | local nskn = NumberSequenceKeypoint.new | |
| 216 | local RightNekoColor = BrickColor.new("Really black")
| |
| 217 | local LeftNekoColor = BrickColor.new("Institutional white")
| |
| 218 | local BeltColor = BrickColor.new("Brown")
| |
| 219 | local nfc1 = BrickColor.new("Crimson").Color
| |
| 220 | local NekoFabricColor = BrickColor.new(Color3.new(nfc1.r - 0.1, nfc1.g - 0.1, nfc1.b - 0.1)) | |
| 221 | local ltouched = false | |
| 222 | local rtouched = false | |
| 223 | local launched = false | |
| 224 | local newobj = Instance.new | |
| 225 | local tasercharge = 100 | |
| 226 | local BaseDamage = 12 | |
| 227 | local DamageMult = 1 | |
| 228 | local taser = false | |
| 229 | chr.Humanoid.MaxHealth = 85 | |
| 230 | for i, x in pairs(hed:GetChildren()) do | |
| 231 | if x:IsA("Sound") then
| |
| 232 | x:Destroy() | |
| 233 | end | |
| 234 | end | |
| 235 | function Lerp(a, b, i) | |
| 236 | local com1 = {
| |
| 237 | a.X, | |
| 238 | a.Y, | |
| 239 | a.Z, | |
| 240 | a:toEulerAnglesXYZ() | |
| 241 | } | |
| 242 | local com2 = {
| |
| 243 | b.X, | |
| 244 | b.Y, | |
| 245 | b.Z, | |
| 246 | b:toEulerAnglesXYZ() | |
| 247 | } | |
| 248 | local calx = com1[1] + (com2[1] - com1[1]) * i | |
| 249 | local caly = com1[2] + (com2[2] - com1[2]) * i | |
| 250 | local calz = com1[3] + (com2[3] - com1[3]) * i | |
| 251 | local cala = com1[4] + (com2[4] - com1[4]) * i | |
| 252 | local calb = com1[5] + (com2[5] - com1[5]) * i | |
| 253 | local calc = com1[6] + (com2[6] - com1[6]) * i | |
| 254 | return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc) | |
| 255 | end | |
| 256 | function TwnSingleNumber(s, f, m) | |
| 257 | local wot = s + (f - s) * m | |
| 258 | return wot | |
| 259 | end | |
| 260 | function TwnVector3(q, w, e) | |
| 261 | local begin = {
| |
| 262 | q.x, | |
| 263 | q.y, | |
| 264 | q.z | |
| 265 | } | |
| 266 | local ending = {
| |
| 267 | w.x, | |
| 268 | w.y, | |
| 269 | w.z | |
| 270 | } | |
| 271 | local bgx = begin[1] + (ending[1] - begin[1]) * e | |
| 272 | local bgy = begin[2] + (ending[2] - begin[2]) * e | |
| 273 | local bgz = begin[3] + (ending[3] - begin[3]) * e | |
| 274 | return Vector3.new(bgx, bgy, bgz) | |
| 275 | end | |
| 276 | function newWeld(wp0, wp1, wc0x, wc0y, wc0z) | |
| 277 | local wld = newobj("Weld", wp1)
| |
| 278 | wld.Part0 = wp0 | |
| 279 | wld.Part1 = wp1 | |
| 280 | wld.C1 = CFrame.new(wc0x, wc0y, wc0z) | |
| 281 | return wld | |
| 282 | end | |
| 283 | function Avg(a, b) | |
| 284 | return CFrame.new((a.X + b.X) / 2, (a.Y + b.Y) / 2, (a.Z + b.Z) / 2) | |
| 285 | end | |
| 286 | function nPart(parent, name, shape, formfactor, material, anch, collide, trans, refl, sf, color, size, cfr) | |
| 287 | local p = newobj("Part")
| |
| 288 | p.Name = name | |
| 289 | p.Shape = shape | |
| 290 | p.FormFactor = formfactor | |
| 291 | p.Material = material | |
| 292 | p.Anchored = anch | |
| 293 | p.CanCollide = collide | |
| 294 | p.Transparency = trans | |
| 295 | p.Reflectance = refl | |
| 296 | p.TopSurface = sf | |
| 297 | p.BottomSurface = sf | |
| 298 | p.LeftSurface = sf | |
| 299 | p.RightSurface = sf | |
| 300 | p.FrontSurface = sf | |
| 301 | p.BackSurface = sf | |
| 302 | p.BrickColor = color | |
| 303 | p.Size = size | |
| 304 | p.CFrame = cfr | |
| 305 | p:breakJoints("")
| |
| 306 | p.Parent = parent | |
| 307 | return p | |
| 308 | end | |
| 309 | function TakeDamage(h,d) | |
| 310 | h:TakeDamage(d) | |
| 311 | end | |
| 312 | local larmweld = newWeld(torso, larm, 0, 0, 0) | |
| 313 | local rarmweld = newWeld(torso, rarm, 0, 0, 0) | |
| 314 | local llegweld = newWeld(torso, lleg, 0, 0, 0) | |
| 315 | local rlegweld = newWeld(torso, rleg, 0, 0, 0) | |
| 316 | local headweld = newWeld(torso, hed, 0, 0, 0) | |
| 317 | local rutwald = newobj("Weld", rutprt)
| |
| 318 | rutwald.Part0 = rutprt | |
| 319 | rutwald.Part1 = torso | |
| 320 | rutwald.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0) | |
| 321 | larmweld.C1 = CFrame.new(0, 0.5, 0) | |
| 322 | rarmweld.C1 = CFrame.new(0, 0.5, 0) | |
| 323 | rlegweld.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), 0, 0) | |
| 324 | llegweld.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), 0, 0) | |
| 325 | function GetTorso(target) | |
| 326 | if target:findFirstChild("Torso") then
| |
| 327 | return target.Torso | |
| 328 | elseif target:findFirstChild("UpperTorso") then
| |
| 329 | return target.UpperTorso | |
| 330 | end | |
| 331 | end | |
| 332 | local alldecals = {
| |
| 333 | "387418012", | |
| 334 | "339886198", | |
| 335 | "486961931", | |
| 336 | "339302474", | |
| 337 | "339302316", | |
| 338 | "339303212", | |
| 339 | "339302607", | |
| 340 | "339302826", | |
| 341 | "339303065", | |
| 342 | "339303400", | |
| 343 | "150037981", | |
| 344 | "167241003", | |
| 345 | "235558077", | |
| 346 | "265452635", | |
| 347 | "260161937", | |
| 348 | "242814125", | |
| 349 | "230417107", | |
| 350 | "252230874", | |
| 351 | "231949998", | |
| 352 | "229222676", | |
| 353 | "181607551", | |
| 354 | "231953209", | |
| 355 | "123431503", | |
| 356 | "184905165", | |
| 357 | "172755711", | |
| 358 | "161494218", | |
| 359 | "292791711", | |
| 360 | "205912841", | |
| 361 | "68953525", | |
| 362 | "180163702", | |
| 363 | "123385234", | |
| 364 | "138847283", | |
| 365 | "159127645", | |
| 366 | "172511645", | |
| 367 | "210175195", | |
| 368 | "206539362", | |
| 369 | "192486406", | |
| 370 | "96613287", | |
| 371 | "131764585", | |
| 372 | "168427244", | |
| 373 | "128595009", | |
| 374 | "96687581", | |
| 375 | "171590601", | |
| 376 | "172329151", | |
| 377 | "72116648", | |
| 378 | "221557708", | |
| 379 | "214883980" | |
| 380 | } | |
| 381 | local anim = "Idling" | |
| 382 | local lastanim = "Idling" | |
| 383 | local val = 0 | |
| 384 | local syne = 0 | |
| 385 | local num = 0 | |
| 386 | local runtime = 0 | |
| 387 | local NekoNekoKnuckles = newobj("Model", chr)
| |
| 388 | NekoNekoKnuckles.Name = "Neko Neko Knuckles" | |
| 389 | local RightNeko = newobj("Model", NekoNekoKnuckles)
| |
| 390 | RightNeko.Name = "Right Neko" | |
| 391 | local LeftNeko = newobj("Model", NekoNekoKnuckles)
| |
| 392 | LeftNeko.Name = "Left Neko" | |
| 393 | local tasersoundid = "758554256" | |
| 394 | local Belt = Instance.new("Model", NekoNekoKnuckles)
| |
| 395 | Belt.Name = "Belt" | |
| 396 | local bel1 = nPart(Belt, "Belt", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BeltColor, Vector3.new(2.01, 0.2, 1.01), CFrame.new(0, 0, 0)) | |
| 397 | local bel1w = newobj("Weld", bel1)
| |
| 398 | bel1w.Part0 = bel1 | |
| 399 | bel1w.Part1 = torso | |
| 400 | bel1w.C0 = CFrame.new(0, 0.85, 0) | |
| 401 | local bel2 = nPart(Belt, "BeltR", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, RightNekoColor, Vector3.new(0.4, 0.6, 0.8), CFrame.new(0, 0, 0)) | |
| 402 | local bel2w = newobj("Weld", bel2)
| |
| 403 | bel2w.Part0 = bel2 | |
| 404 | bel2w.Part1 = bel1 | |
| 405 | bel2w.C0 = CFrame.new(-1.1, 0.25, 0) * CFrame.Angles(0, 0, math.rad(-5)) | |
| 406 | local bel3 = nPart(Belt, "BeltL", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, LeftNekoColor, Vector3.new(0.4, 0.6, 0.8), CFrame.new(0, 0, 0)) | |
| 407 | local bel3w = newobj("Weld", bel3)
| |
| 408 | bel3w.Part0 = bel3 | |
| 409 | bel3w.Part1 = bel1 | |
| 410 | bel3w.C0 = CFrame.new(1.1, 0.25, 0) * CFrame.Angles(0, 0, math.rad(5)) | |
| 411 | local bel4 = nPart(Belt, "Belt", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.1, 0.05, 0.1), CFrame.new(0, 0, 0))
| |
| 412 | local bel4w = newobj("Weld", bel4)
| |
| 413 | bel4w.Part0 = bel4 | |
| 414 | bel4w.Part1 = bel2 | |
| 415 | bel4w.C0 = CFrame.new(0, 0.39, -0.15) * CFrame.Angles(math.rad(90), 0, 0) | |
| 416 | local bel4m = newobj("CylinderMesh", bel4)
| |
| 417 | local taserattright1 = newobj("Attachment", bel4)
| |
| 418 | local bel6 = nPart(Belt, "Belt", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.1, 0.05, 0.1), CFrame.new(0, 0, 0))
| |
| 419 | local bel6w = newobj("Weld", bel6)
| |
| 420 | bel6w.Part0 = bel6 | |
| 421 | bel6w.Part1 = bel2 | |
| 422 | bel6w.C0 = CFrame.new(0, -0.39, -0.15) * CFrame.Angles(math.rad(90), 0, 0) | |
| 423 | local bel6m = newobj("CylinderMesh", bel6)
| |
| 424 | local taserattright3 = newobj("Attachment", bel6)
| |
| 425 | taserattright3.Position = Vector3.new(0, 0, 0) | |
| 426 | local bel5 = nPart(Belt, "Belt", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.1, 0.05, 0.1), CFrame.new(0, 0, 0))
| |
| 427 | local bel5w = newobj("Weld", bel5)
| |
| 428 | bel5w.Part0 = bel5 | |
| 429 | bel5w.Part1 = bel3 | |
| 430 | bel5w.C0 = CFrame.new(0, 0.39, -0.15) * CFrame.Angles(math.rad(90), 0, 0) | |
| 431 | local bel5m = newobj("CylinderMesh", bel5)
| |
| 432 | local taserattleft1 = newobj("Attachment", bel5)
| |
| 433 | taserattleft1.Position = Vector3.new(0, 0, 0) | |
| 434 | local bel7 = nPart(Belt, "Belt", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.1, 0.05, 0.1), CFrame.new(0, 0, 0))
| |
| 435 | local bel7w = newobj("Weld", bel7)
| |
| 436 | bel7w.Part0 = bel7 | |
| 437 | bel7w.Part1 = bel3 | |
| 438 | bel7w.C0 = CFrame.new(0, -0.39, -0.15) * CFrame.Angles(math.rad(90), 0, 0) | |
| 439 | local bel7m = newobj("CylinderMesh", bel7)
| |
| 440 | local taserattleft3 = newobj("Attachment", bel7)
| |
| 441 | taserattleft3.Position = Vector3.new(0, 0, 0) | |
| 442 | local bel8 = nPart(Belt, "Battery", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Dark stone grey"), Vector3.new(1.4, 0.6, 0.3), CFrame.new(0, 0, 0))
| |
| 443 | local bel8w = newobj("Weld", bel8)
| |
| 444 | bel8w.Part0 = bel8 | |
| 445 | bel8w.Part1 = bel1 | |
| 446 | bel8w.C0 = CFrame.new(0, 0.1, -0.6) * CFrame.Angles(math.rad(5), 0, 0) | |
| 447 | local bel9 = nPart(Belt, "Belt", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.1, 0.05, 0.1), CFrame.new(0, 0, 0))
| |
| 448 | local bel9w = newobj("Weld", bel9)
| |
| 449 | bel9w.Part0 = bel9 | |
| 450 | bel9w.Part1 = bel8 | |
| 451 | bel9w.C0 = CFrame.new(-0.15, 0.69, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 452 | local bel9m = newobj("CylinderMesh", bel9)
| |
| 453 | local taserattleft4 = newobj("Attachment", bel9)
| |
| 454 | taserattleft4.Position = Vector3.new(0, 0, 0) | |
| 455 | local bel10 = nPart(Belt, "Belt", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.1, 0.05, 0.1), CFrame.new(0, 0, 0))
| |
| 456 | local bel10w = newobj("Weld", bel10)
| |
| 457 | bel10w.Part0 = bel10 | |
| 458 | bel10w.Part1 = bel8 | |
| 459 | bel10w.C0 = CFrame.new(-0.15, -0.69, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 460 | local bel7m = newobj("CylinderMesh", bel10)
| |
| 461 | local taserattright4 = newobj("Attachment", bel10)
| |
| 462 | taserattright4.Position = Vector3.new(0, 0, 0) | |
| 463 | local cable1 = newobj("RopeConstraint", bel8)
| |
| 464 | cable1.Attachment0 = taserattright1 | |
| 465 | cable1.Attachment1 = taserattright4 | |
| 466 | cable1.Thickness = 0.02 | |
| 467 | cable1.Enabled = true | |
| 468 | cable1.Visible = true | |
| 469 | cable1.Length = 1.2 | |
| 470 | cable1.Color = BrickColor.new("Really black")
| |
| 471 | local cable2 = newobj("RopeConstraint", bel8)
| |
| 472 | cable2.Attachment0 = taserattleft1 | |
| 473 | cable2.Attachment1 = taserattleft4 | |
| 474 | cable2.Thickness = 0.02 | |
| 475 | cable2.Enabled = true | |
| 476 | cable2.Visible = true | |
| 477 | cable2.Length = 1.2 | |
| 478 | cable2.Color = BrickColor.new("Really black")
| |
| 479 | local bel11 = nPart(Belt, "Battery", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Really red"), Vector3.new(1.3, 0.1, 0.1), CFrame.new(0, 0, 0))
| |
| 480 | local bel11w = newobj("Weld", bel11)
| |
| 481 | bel11w.Part0 = bel11 | |
| 482 | bel11w.Part1 = bel8 | |
| 483 | bel11w.C0 = CFrame.new(0, 0.2, -0.11) | |
| 484 | local gu = Instance.new("SurfaceGui", bel8)
| |
| 485 | gu.Name = "BatteryIndicator" | |
| 486 | gu.Adornee = bel11 | |
| 487 | gu.Face = "Back" | |
| 488 | gu.CanvasSize = Vector2.new(3000, 1000) | |
| 489 | local tb = Instance.new("TextLabel", gu)
| |
| 490 | tb.Name = "Battery" | |
| 491 | tb.Size = UDim2.new(1, 0, 1, 0) | |
| 492 | tb.Position = UDim2.new(0, 0, 0, 0) | |
| 493 | tb.TextTransparency = 1 | |
| 494 | tb.BackgroundTransparency = 0 | |
| 495 | tb.BorderSizePixel = 0 | |
| 496 | tb.TextStrokeTransparency = 1 | |
| 497 | tb.Text = "" | |
| 498 | tb.Rotation = 0 | |
| 499 | tb.BackgroundColor3 = Color3.new(0, 0.5, 0.1) | |
| 500 | local rn1 = nPart(RightNeko, "RightHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, NekoFabricColor, Vector3.new(1.01, 1.3, 1.01), CFrame.new(0, 0, 0)) | |
| 501 | local rn1w = newobj("Weld", rn1)
| |
| 502 | rn1w.Part0 = rn1 | |
| 503 | rn1w.Part1 = rarm | |
| 504 | rn1w.C0 = CFrame.new(0, 0.4, 0) | |
| 505 | local rn2 = nPart(RightNeko, "RightHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, RightNekoColor, Vector3.new(1.05, 0.3, 1.05), CFrame.new(0, 0, 0)) | |
| 506 | local rn2w = newobj("Weld", rn2)
| |
| 507 | rn2w.Part0 = rn2 | |
| 508 | rn2w.Part1 = rn1 | |
| 509 | rn2w.C0 = CFrame.new(0, -0.6, 0) | |
| 510 | local rn5 = nPart(RightNeko, "RightHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, RightNekoColor, Vector3.new(0.5, 0.3, 0.2), CFrame.new(0, 0, 0)) | |
| 511 | local rn5w = newobj("Weld", rn5)
| |
| 512 | rn5w.Part0 = rn5 | |
| 513 | rn5w.Part1 = rn1 | |
| 514 | rn5w.C0 = CFrame.new(0, -0.3, 0.415) | |
| 515 | local rn6 = nPart(RightNeko, "RightHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, RightNekoColor, Vector3.new(1.05, 0.3, 0.4), CFrame.new(0, 0, 0)) | |
| 516 | local rn6w = newobj("Weld", rn6)
| |
| 517 | rn6w.Part0 = rn6 | |
| 518 | rn6w.Part1 = rn1 | |
| 519 | rn6w.C0 = CFrame.new(0, -0.3, 0) | |
| 520 | local rn7 = nPart(RightNeko, "RightHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, RightNekoColor, Vector3.new(0.5, 1.05, 0.5), CFrame.new(0, 0, 0)) | |
| 521 | local rn7w = newobj("Weld", rn7)
| |
| 522 | rn7w.Part0 = rn7 | |
| 523 | rn7w.Part1 = rn1 | |
| 524 | rn7w.C0 = CFrame.new(0.2, 0, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 525 | local rn7m = newobj("CylinderMesh", rn7)
| |
| 526 | local rnbell = nPart(RightNeko, "RightBell", 1, 3, "SmoothPlastic", false, false, 0, 0.4, 10, BrickColor.new("New Yeller"), Vector3.new(0.25, 0.25, 0.15), CFrame.new(0, 0, 0))
| |
| 527 | local rnbellw = newobj("Weld", rnbell)
| |
| 528 | rnbellw.Part0 = rnbell | |
| 529 | rnbellw.Part1 = rn1 | |
| 530 | rnbellw.C0 = CFrame.new(0, -0.15, 0.5) | |
| 531 | local rnbellm = newobj("SpecialMesh", rnbell)
| |
| 532 | rnbellm.MeshType = "Sphere" | |
| 533 | local rnbellp2 = nPart(RightNeko, "RightBellSetting", 1, 3, "SmoothPlastic", false, false, 0, 0.4, 10, BrickColor.new("New Yeller"), Vector3.new(0.28, 0.05, 0.28), CFrame.new(0, 0, 0))
| |
| 534 | local rnbellw2 = newobj("Weld", rnbellp2)
| |
| 535 | rnbellw2.Part0 = rnbellp2 | |
| 536 | rnbellw2.Part1 = rn1 | |
| 537 | rnbellw2.C0 = CFrame.new(0, -0.5, -0.15) * CFrame.Angles(math.rad(90), 0, 0) | |
| 538 | local rnbellm2 = newobj("CylinderMesh", rnbellp2)
| |
| 539 | local rnbellp3 = nPart(RightNeko, "RightBellTop", 1, 3, "SmoothPlastic", false, false, 0, 0.4, 10, BrickColor.new("New Yeller"), Vector3.new(0.05, 0.13, 0.1), CFrame.new(0, 0, 0))
| |
| 540 | local rnbellw3 = newobj("Weld", rnbellp3)
| |
| 541 | rnbellw3.Part0 = rnbellp3 | |
| 542 | rnbellw3.Part1 = rn1 | |
| 543 | rnbellw3.C0 = CFrame.new(0, -0.15, 0.53) | |
| 544 | local rnbf = newobj("PointLight", rnbell)
| |
| 545 | rnbf.Shadows = true | |
| 546 | rnbf.Range = 10 | |
| 547 | rnbf.Brightness = 3 | |
| 548 | rnbf.Enabled = false | |
| 549 | local rnding = newobj("Sound", rnbell)
| |
| 550 | rnding.SoundId = "http://www.roblox.com/asset?id=138134386" | |
| 551 | rnding.Volume = 0.2 | |
| 552 | local rn3 = nPart(RightNeko, "RightHead", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, RightNekoColor, Vector3.new(1.45, 1.4, 1.45), CFrame.new(0, 0, 0)) | |
| 553 | local rn3w = newobj("Weld", rn3)
| |
| 554 | local taserattright2 = newobj("Attachment", rn3)
| |
| 555 | taserattright2.Position = Vector3.new(0, 0.3, 0.45) | |
| 556 | local tasercon = newobj("RopeConstraint", rn3)
| |
| 557 | tasercon.Attachment0 = taserattright1 | |
| 558 | tasercon.Attachment1 = taserattright3 | |
| 559 | tasercon.Thickness = 0.02 | |
| 560 | tasercon.Enabled = true | |
| 561 | tasercon.Visible = true | |
| 562 | tasercon.Length = 3.4 | |
| 563 | tasercon.Color = RightNekoColor | |
| 564 | rn3w.Part0 = rn3 | |
| 565 | rn3w.Part1 = rn1 | |
| 566 | rn3w.C0 = CFrame.new(0, 0.55, 0) | |
| 567 | local rn3m = newobj("SpecialMesh", rn3)
| |
| 568 | rn3m.MeshType = "Sphere" | |
| 569 | local rnfang1 = nPart(RightNeko, "RightFang", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.2, 0.2, 0.2), CFrame.new(0, 0, 0))
| |
| 570 | local rnfang1w = newobj("Weld", rnfang1)
| |
| 571 | rnfang1w.Part0 = rnfang1 | |
| 572 | rnfang1w.Part1 = rn3 | |
| 573 | rnfang1w.C0 = CFrame.new(0.1, -0.36, -0.56) * CFrame.Angles(math.rad(-110), 0, 0) | |
| 574 | local rnfang1m = newobj("SpecialMesh", rnfang1)
| |
| 575 | rnfang1m.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 576 | rnfang1m.Scale = Vector3.new(0.03, 0.12, 0.03) | |
| 577 | local rnfang2 = nPart(RightNeko, "RightFang", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.2, 0.2, 0.2), CFrame.new(0, 0, 0))
| |
| 578 | local rnfang2w = newobj("Weld", rnfang2)
| |
| 579 | rnfang2w.Part0 = rnfang2 | |
| 580 | rnfang2w.Part1 = rn3 | |
| 581 | rnfang2w.C0 = CFrame.new(-0.1, -0.36, -0.56) * CFrame.Angles(math.rad(-110), 0, 0) | |
| 582 | local rnfang2m = newobj("SpecialMesh", rnfang2)
| |
| 583 | rnfang2m.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 584 | rnfang2m.Scale = Vector3.new(0.03, 0.12, 0.03) | |
| 585 | local rnface = newobj("Decal", rn3)
| |
| 586 | rnface.Texture = "http://www.roblox.com/asset?id=" .. rightnekoface | |
| 587 | rnface.Face = "Bottom" | |
| 588 | local rnpunch = newobj("Sound", rn3)
| |
| 589 | rnpunch.SoundId = "http://www.roblox.com/asset?id=146163534" | |
| 590 | rnpunch.Volume = 0.3 | |
| 591 | local ratt1 = newobj("Attachment", rn3)
| |
| 592 | ratt1.Position = Vector3.new(0.35, -0.5, 0) | |
| 593 | local ratt2 = newobj("Attachment", rn3)
| |
| 594 | ratt2.Position = Vector3.new(-0.35, -0.5, 0) | |
| 595 | local rartrail = newobj("Trail", rn3)
| |
| 596 | rartrail.Attachment0 = ratt1 | |
| 597 | rartrail.Attachment1 = ratt2 | |
| 598 | rartrail.Transparency = NumberSequence.new({
| |
| 599 | nskn(0, 0.66, 0), | |
| 600 | nskn(1, 1, 0) | |
| 601 | }) | |
| 602 | rartrail.Lifetime = 0.123 | |
| 603 | local ratt3 = newobj("Attachment", rn3)
| |
| 604 | ratt3.Position = Vector3.new(0, 0, 0) | |
| 605 | local ratt4 = newobj("Attachment", rn1)
| |
| 606 | ratt4.Position = Vector3.new(0, -0.4, 0) | |
| 607 | local rspring = newobj("SpringConstraint", rn1)
| |
| 608 | rspring.Attachment0 = ratt3 | |
| 609 | rspring.Attachment1 = ratt4 | |
| 610 | rspring.Coils = 8 | |
| 611 | rspring.Visible = true | |
| 612 | rspring.LimitsEnabled = true | |
| 613 | rspring.Enabled = true | |
| 614 | rspring.MaxLength = 80 | |
| 615 | rspring.Color = rn3.BrickColor | |
| 616 | rspring.Thickness = 0.2 | |
| 617 | rspring.FreeLength = 4 | |
| 618 | rspring.Stiffness = 30 | |
| 619 | rspring.Radius = 0.5 | |
| 620 | rspring.Damping = 0 | |
| 621 | local rn4 = nPart(RightNeko, "RightEars", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, RightNekoColor, Vector3.new(1.575, 0.2, 1.575), CFrame.new(0, 0, 0)) | |
| 622 | local rn4w = newobj("Weld", rn4)
| |
| 623 | rn4w.Part0 = rn4 | |
| 624 | rn4w.Part1 = rn3 | |
| 625 | rn4w.C0 = CFrame.new(-0.04, -0.6, 0.15) * CFrame.Angles(math.rad(90), 0, 0) | |
| 626 | local rn4m = newobj("SpecialMesh", rn4)
| |
| 627 | rn4m.Scale = Vector3.new(1, 0.7, 1) | |
| 628 | rn4m.MeshId = "http://www.roblox.com/asset?id=1374148" | |
| 629 | rn4m.TextureId = "http://www.roblox.com/asset?id=14817175" | |
| 630 | local ln1 = nPart(LeftNeko, "LeftHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, NekoFabricColor, Vector3.new(1.01, 1.3, 1.01), CFrame.new(0, 0, 0)) | |
| 631 | local ln1w = newobj("Weld", ln1)
| |
| 632 | ln1w.Part0 = ln1 | |
| 633 | ln1w.Part1 = larm | |
| 634 | ln1w.C0 = CFrame.new(0, 0.4, 0) | |
| 635 | local ln2 = nPart(LeftNeko, "LeftHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, LeftNekoColor, Vector3.new(1.05, 0.3, 1.05), CFrame.new(0, 0, 0)) | |
| 636 | local ln2w = newobj("Weld", ln2)
| |
| 637 | ln2w.Part0 = ln2 | |
| 638 | ln2w.Part1 = ln1 | |
| 639 | ln2w.C0 = CFrame.new(0, -0.6, 0) | |
| 640 | local ln5 = nPart(LeftNeko, "LeftHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, LeftNekoColor, Vector3.new(0.5, 0.3, 0.2), CFrame.new(0, 0, 0)) | |
| 641 | local ln5w = newobj("Weld", ln5)
| |
| 642 | ln5w.Part0 = ln5 | |
| 643 | ln5w.Part1 = ln1 | |
| 644 | ln5w.C0 = CFrame.new(0, -0.3, 0.415) | |
| 645 | local ln6 = nPart(LeftNeko, "LeftHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, LeftNekoColor, Vector3.new(1.05, 0.3, 0.4), CFrame.new(0, 0, 0)) | |
| 646 | local ln6w = newobj("Weld", ln6)
| |
| 647 | ln6w.Part0 = ln6 | |
| 648 | ln6w.Part1 = ln1 | |
| 649 | ln6w.C0 = CFrame.new(0, -0.3, 0) | |
| 650 | local ln7 = nPart(LeftNeko, "LeftHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, LeftNekoColor, Vector3.new(0.5, 1.05, 0.5), CFrame.new(0, 0, 0)) | |
| 651 | local ln7w = newobj("Weld", ln7)
| |
| 652 | ln7w.Part0 = ln7 | |
| 653 | ln7w.Part1 = ln1 | |
| 654 | ln7w.C0 = CFrame.new(0.2, 0, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 655 | local ln7m = newobj("CylinderMesh", ln7)
| |
| 656 | local lnbell = nPart(LeftNeko, "LeftBell", 1, 3, "SmoothPlastic", false, false, 0, 0.4, 10, BrickColor.new("New Yeller"), Vector3.new(0.25, 0.25, 0.15), CFrame.new(0, 0, 0))
| |
| 657 | local lnbellw = newobj("Weld", lnbell)
| |
| 658 | lnbellw.Part0 = lnbell | |
| 659 | lnbellw.Part1 = ln1 | |
| 660 | lnbellw.C0 = CFrame.new(0, -0.15, 0.5) | |
| 661 | local lnbellm = newobj("SpecialMesh", lnbell)
| |
| 662 | lnbellm.MeshType = "Sphere" | |
| 663 | local lnbellp2 = nPart(LeftNeko, "LeftBellSetting", 1, 3, "SmoothPlastic", false, false, 0, 0.4, 10, BrickColor.new("New Yeller"), Vector3.new(0.28, 0.05, 0.28), CFrame.new(0, 0, 0))
| |
| 664 | local lnbellw2 = newobj("Weld", lnbellp2)
| |
| 665 | lnbellw2.Part0 = lnbellp2 | |
| 666 | lnbellw2.Part1 = ln1 | |
| 667 | lnbellw2.C0 = CFrame.new(0, -0.5, -0.15) * CFrame.Angles(math.rad(90), 0, 0) | |
| 668 | local lnbellm2 = newobj("CylinderMesh", lnbellp2)
| |
| 669 | local lnbellp3 = nPart(LeftNeko, "LeftBellTop", 1, 3, "SmoothPlastic", false, false, 0, 0.4, 10, BrickColor.new("New Yeller"), Vector3.new(0.05, 0.13, 0.1), CFrame.new(0, 0, 0))
| |
| 670 | local lnbellw3 = newobj("Weld", lnbellp3)
| |
| 671 | lnbellw3.Part0 = lnbellp3 | |
| 672 | lnbellw3.Part1 = ln1 | |
| 673 | lnbellw3.C0 = CFrame.new(0, -0.15, 0.53) | |
| 674 | local lnbf = newobj("PointLight", lnbell)
| |
| 675 | lnbf.Shadows = true | |
| 676 | lnbf.Range = 10 | |
| 677 | lnbf.Brightness = 3 | |
| 678 | lnbf.Enabled = false | |
| 679 | local lnding = newobj("Sound", lnbell)
| |
| 680 | lnding.SoundId = "http://www.roblox.com/asset?id=138134386" | |
| 681 | lnding.Volume = 0.2 | |
| 682 | local ln3 = nPart(LeftNeko, "LeftHead", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, LeftNekoColor, Vector3.new(1.45, 1.4, 1.45), CFrame.new(0, 0, 0)) | |
| 683 | local ln3w = newobj("Weld", ln3)
| |
| 684 | local taserattleft2 = newobj("Attachment", ln3)
| |
| 685 | taserattleft2.Position = Vector3.new(0, 0.3, 0.45) | |
| 686 | local tasercon2 = newobj("RopeConstraint", ln3)
| |
| 687 | tasercon2.Attachment0 = taserattleft1 | |
| 688 | tasercon2.Attachment1 = taserattleft3 | |
| 689 | tasercon2.Thickness = 0.02 | |
| 690 | tasercon2.Enabled = true | |
| 691 | tasercon2.Visible = true | |
| 692 | tasercon2.Length = 3.4 | |
| 693 | tasercon2.Color = LeftNekoColor | |
| 694 | ln3w.Part0 = ln3 | |
| 695 | ln3w.Part1 = ln1 | |
| 696 | ln3w.C0 = CFrame.new(0, 0.55, 0) | |
| 697 | local ln3m = newobj("SpecialMesh", ln3)
| |
| 698 | ln3m.MeshType = "Sphere" | |
| 699 | local lnface = newobj("Decal", ln3)
| |
| 700 | lnface.Texture = "http://www.roblox.com/asset?id=" .. leftnekoface | |
| 701 | lnface.Face = "Bottom" | |
| 702 | local lnpunch = newobj("Sound", ln3)
| |
| 703 | lnpunch.SoundId = "http://www.roblox.com/asset?id=146163534" | |
| 704 | lnpunch.Volume = 0.3 | |
| 705 | local latt1 = newobj("Attachment", ln3)
| |
| 706 | latt1.Position = Vector3.new(0.35, -0.5, 0) | |
| 707 | local latt2 = newobj("Attachment", ln3)
| |
| 708 | latt2.Position = Vector3.new(-0.35, -0.5, 0) | |
| 709 | local lartrail = newobj("Trail", ln3)
| |
| 710 | lartrail.Attachment0 = latt1 | |
| 711 | lartrail.Attachment1 = latt2 | |
| 712 | lartrail.Transparency = NumberSequence.new({
| |
| 713 | nskn(0, 0.66, 0), | |
| 714 | nskn(1, 1, 0) | |
| 715 | }) | |
| 716 | lartrail.Lifetime = 0.123 | |
| 717 | local lnfang1 = nPart(LeftNeko, "LeftFang", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.2, 0.2, 0.2), CFrame.new(0, 0, 0))
| |
| 718 | local lnfang1w = newobj("Weld", lnfang1)
| |
| 719 | lnfang1w.Part0 = lnfang1 | |
| 720 | lnfang1w.Part1 = ln3 | |
| 721 | lnfang1w.C0 = CFrame.new(0.1, -0.42, -0.522) * CFrame.Angles(math.rad(-110), 0, 0) | |
| 722 | local lnfang1m = newobj("SpecialMesh", lnfang1)
| |
| 723 | lnfang1m.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 724 | lnfang1m.Scale = Vector3.new(0.03, 0.12, 0.03) | |
| 725 | local lnfang2 = nPart(LeftNeko, "LeftFang", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.2, 0.2, 0.2), CFrame.new(0, 0, 0))
| |
| 726 | local lnfang2w = newobj("Weld", lnfang2)
| |
| 727 | lnfang2w.Part0 = lnfang2 | |
| 728 | lnfang2w.Part1 = ln3 | |
| 729 | lnfang2w.C0 = CFrame.new(-0.1, -0.42, -0.522) * CFrame.Angles(math.rad(-110), 0, 0) | |
| 730 | local lnfang2m = newobj("SpecialMesh", lnfang2)
| |
| 731 | lnfang2m.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 732 | lnfang2m.Scale = Vector3.new(0.03, 0.12, 0.03) | |
| 733 | local latt3 = newobj("Attachment", ln3)
| |
| 734 | latt3.Position = Vector3.new(0, 0, 0) | |
| 735 | local latt4 = newobj("Attachment", ln1)
| |
| 736 | latt4.Position = Vector3.new(0, -0.4, 0) | |
| 737 | local lspring = newobj("SpringConstraint", ln1)
| |
| 738 | lspring.Attachment0 = latt3 | |
| 739 | lspring.Attachment1 = latt4 | |
| 740 | lspring.Coils = 8 | |
| 741 | lspring.Visible = true | |
| 742 | lspring.LimitsEnabled = true | |
| 743 | lspring.Enabled = true | |
| 744 | lspring.MaxLength = 80 | |
| 745 | lspring.Color = ln3.BrickColor | |
| 746 | lspring.Thickness = 0.2 | |
| 747 | lspring.FreeLength = 4 | |
| 748 | lspring.Stiffness = 30 | |
| 749 | lspring.Radius = 0.5 | |
| 750 | lspring.Damping = 0 | |
| 751 | local ln4 = nPart(LeftNeko, "LeftEars", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, LeftNekoColor, Vector3.new(1.575, 0.2, 1.575), CFrame.new(0, 0, 0)) | |
| 752 | local ln4w = newobj("Weld", ln4)
| |
| 753 | ln4w.Part0 = ln4 | |
| 754 | ln4w.Part1 = ln3 | |
| 755 | ln4w.C0 = CFrame.new(-0.04, -0.6, 0.15) * CFrame.Angles(math.rad(90), 0, 0) | |
| 756 | local ln4m = newobj("SpecialMesh", ln4)
| |
| 757 | ln4m.Scale = Vector3.new(1, 0.7, 1) | |
| 758 | ln4m.MeshId = "http://www.roblox.com/asset?id=1374148" | |
| 759 | ln4m.TextureId = "http://www.roblox.com/asset?id=59596104" | |
| 760 | function GetHumanoidFromPart(prt) | |
| 761 | local hyoom | |
| 762 | if prt and prt.Parent and prt.Parent.Parent then | |
| 763 | for i, x in pairs(prt.Parent:GetChildren()) do | |
| 764 | if x:IsA("Humanoid") then
| |
| 765 | hyoom = x | |
| 766 | end | |
| 767 | end | |
| 768 | if hyoom and prt.Parent:IsA("Model") and prt.Parent ~= chr then
| |
| 769 | return hyoom | |
| 770 | end | |
| 771 | end | |
| 772 | end | |
| 773 | function GetRPFromPart(prt) | |
| 774 | local RP, RP2 | |
| 775 | if prt and prt.Parent and prt.Parent.Parent then | |
| 776 | RP = prt.Parent:findFirstChild("HumanoidRootPart")
| |
| 777 | RP2 = prt.Parent.Parent:findFirstChild("HumanoidRootPart")
| |
| 778 | if RP then | |
| 779 | return RP | |
| 780 | elseif not RP and RP2 then | |
| 781 | return RP2 | |
| 782 | end | |
| 783 | end | |
| 784 | end | |
| 785 | local rhitdb = false | |
| 786 | local lhitdb = false | |
| 787 | rn3.Touched:connect(function(hit) | |
| 788 | if hit and hit.Parent and not rhitdb and swing == "Right" and (armanim == "RightSwing2" or armanim == "RightSwing1" or armanim == "Launching") then | |
| 789 | do | |
| 790 | local enhum = GetHumanoidFromPart(hit) | |
| 791 | local rootpart = GetRPFromPart(hit) | |
| 792 | if enhum then | |
| 793 | local nyaa = newobj("Sound", rn3)
| |
| 794 | nyaa.SoundId = "http://www.roblox.com/asset?id=" .. Meows[math.random(1, #Meows)] | |
| 795 | nyaa.Pitch = math.random(80, 120) * 0.01 | |
| 796 | nyaa:Play("")
| |
| 797 | if taser and tasercharge >= 20 and not launched then | |
| 798 | do | |
| 799 | local tasers = newobj("Sound", rn3)
| |
| 800 | tasers.SoundId = "http://www.roblox.com/asset?id=" .. tasersoundid | |
| 801 | tasers.Pitch = 0.8 | |
| 802 | tasers.Volume = 0.9 | |
| 803 | tasers:Play("")
| |
| 804 | tasercharge = tasercharge - 20 | |
| 805 | enhum.PlatformStand = true | |
| 806 | local ht = enhum.Changed:connect(function(tz) | |
| 807 | if tz == "PlatformStand" then | |
| 808 | enhum.PlatformStand = true | |
| 809 | end | |
| 810 | end) | |
| 811 | if rootpart then | |
| 812 | rootpart.Velocity = rootpart.Velocity + (rutprt.CFrame * CFrame.new(0, 1, -1)).p - rutprt.CFrame.p.unit * 25 | |
| 813 | end | |
| 814 | spawn(function() | |
| 815 | wait(".35")
| |
| 816 | ht:disconnect("")
| |
| 817 | enhum.PlatformStand = false | |
| 818 | end) | |
| 819 | game:service("Debris"):AddItem(tasers, 1)
| |
| 820 | end | |
| 821 | end | |
| 822 | rnpunch:Play("")
| |
| 823 | game:service("Debris"):AddItem(nyaa, 2)
| |
| 824 | rhitdb = true | |
| 825 | TakeDamage(enhum, BaseDamage * DamageMult) | |
| 826 | spawn(function() | |
| 827 | wait(0.7) | |
| 828 | rhitdb = false | |
| 829 | end) | |
| 830 | end | |
| 831 | end | |
| 832 | end | |
| 833 | end) | |
| 834 | ln3.Touched:connect(function(hit) | |
| 835 | if hit and hit.Parent and not lhitdb and swing == "Left" and (armanim == "LeftSwing2" or armanim == "LeftSwing1" or armanim == "Launching") then | |
| 836 | do | |
| 837 | local enhum = GetHumanoidFromPart(hit) | |
| 838 | if enhum then | |
| 839 | local nyaa = newobj("Sound", ln3)
| |
| 840 | nyaa.SoundId = "http://www.roblox.com/asset?id=" .. Meows[math.random(1, #Meows)] | |
| 841 | nyaa.Pitch = math.random(80, 120) * 0.01 | |
| 842 | nyaa:Play("")
| |
| 843 | lnpunch:Play("")
| |
| 844 | if taser and tasercharge >= 20 and not launched then | |
| 845 | do | |
| 846 | local tasers = newobj("Sound", ln3)
| |
| 847 | tasers.SoundId = "http://www.roblox.com/asset?id=" .. tasersoundid | |
| 848 | tasers.Pitch = 0.8 | |
| 849 | tasers.Volume = 0.9 | |
| 850 | tasers:Play("")
| |
| 851 | tasercharge = tasercharge - 20 | |
| 852 | enhum.PlatformStand = true | |
| 853 | local ht = enhum.Changed:connect(function(tz) | |
| 854 | if tz == "PlatformStand" then | |
| 855 | enhum.PlatformStand = true | |
| 856 | end | |
| 857 | end) | |
| 858 | spawn(function() | |
| 859 | wait(".35")
| |
| 860 | ht:disconnect("")
| |
| 861 | enhum.PlatformStand = false | |
| 862 | end) | |
| 863 | game:service("Debris"):AddItem(tasers, 1)
| |
| 864 | end | |
| 865 | end | |
| 866 | game:service("Debris"):AddItem(nyaa, 2)
| |
| 867 | lhitdb = true | |
| 868 | TakeDamage(enhum, BaseDamage * DamageMult) | |
| 869 | spawn(function() | |
| 870 | wait(0.7) | |
| 871 | lhitdb = false | |
| 872 | end) | |
| 873 | end | |
| 874 | end | |
| 875 | end | |
| 876 | end) | |
| 877 | maus.KeyDown:connect(function(kei) | |
| 878 | if string.byte(kei) == 48 and not otheranims and not sitting and not disabled then | |
| 879 | runnin = true | |
| 880 | end | |
| 881 | if kei == "w" then | |
| 882 | fldb.w = true | |
| 883 | end | |
| 884 | if kei == "a" then | |
| 885 | fldb.a = true | |
| 886 | end | |
| 887 | if kei == "s" then | |
| 888 | fldb.s = true | |
| 889 | end | |
| 890 | if kei == "d" then | |
| 891 | fldb.d = true | |
| 892 | end | |
| 893 | if string.byte(kei) == 50 and not crawling then | |
| 894 | if crouching then | |
| 895 | otheranims = false | |
| 896 | crouching = false | |
| 897 | chr.Humanoid.WalkSpeed = 18 | |
| 898 | elseif not crouching and not otheranims then | |
| 899 | otheranims = true | |
| 900 | crouching = true | |
| 901 | anim = "Crouching" | |
| 902 | end | |
| 903 | end | |
| 904 | if kei == "l" then | |
| 905 | rnbf.Enabled = not rnbf.Enabled | |
| 906 | lnbf.Enabled = not lnbf.Enabled | |
| 907 | end | |
| 908 | if kei == "e" and not otheranims and not armmovement and not disabled and not lit and not crawling then | |
| 909 | otheranims = true | |
| 910 | anim = "PreSuperJump" | |
| 911 | chr.Humanoid.WalkSpeed = 0 | |
| 912 | jumpcharge = true | |
| 913 | end | |
| 914 | if kei == "f" and not otheranims and not armmovement and not launched and not disabled and not crawling and not lit and equipped then | |
| 915 | armmovement = true | |
| 916 | launchcharge = true | |
| 917 | armanim = "LaunchCharge" | |
| 918 | end | |
| 919 | if kei == "r" and not otheranims and not armmovement and not launched and not disabled then | |
| 920 | if taser then | |
| 921 | taser = false | |
| 922 | tasercon.Attachment1 = taserattright3 | |
| 923 | tasercon2.Attachment1 = taserattleft3 | |
| 924 | elseif not taser and tasercharge >= 20 then | |
| 925 | taser = true | |
| 926 | tasercon.Attachment1 = taserattright2 | |
| 927 | tasercon2.Attachment1 = taserattleft2 | |
| 928 | end | |
| 929 | end | |
| 930 | if kei == "c" and not armmovement and not sitting and not disabled and not jumpcharge then | |
| 931 | if (torso.Velocity * Vector3.new(1, 0, 1)).magnitude >= RunSpeed - 2.5 and not otheranims and not crawling then | |
| 932 | otheranims = true | |
| 933 | anim = "Sliding" | |
| 934 | do | |
| 935 | local tempvelocity = newobj("BodyVelocity", rutprt)
| |
| 936 | tempvelocity.Name = "TemporaryVelocity" | |
| 937 | tempvelocity.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 938 | tempvelocity.velocity = (rutprt.CFrame * CFrame.new(0, 0, -1)).p - rutprt.CFrame.p.unit * RunSpeed | |
| 939 | coroutine.resume(coroutine.create(function() | |
| 940 | local totesvelocity = RunSpeed | |
| 941 | repeat | |
| 942 | if (tempvelocity.velocity * Vector3.new(1, 1, 1)).magnitude <= 10 then | |
| 943 | tempvelocity:destroy("")
| |
| 944 | runnin = false | |
| 945 | crawling = true | |
| 946 | chr.Humanoid.WalkSpeed = 8 | |
| 947 | elseif (tempvelocity.velocity * Vector3.new(1, 1, 1)).magnitude > 10 then | |
| 948 | totesvelocity = totesvelocity - 1.2 * (RunSpeed / 100) | |
| 949 | tempvelocity.velocity = (rutprt.CFrame * CFrame.new(0, 0, -1)).p - rutprt.CFrame.p.unit * totesvelocity | |
| 950 | end | |
| 951 | wait("")
| |
| 952 | until tempvelocity.Parent == nil | |
| 953 | end)) | |
| 954 | end | |
| 955 | elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude <= RunSpeed - 2 then | |
| 956 | if not crawling then | |
| 957 | otheranims = true | |
| 958 | anim = "PreCrawl" | |
| 959 | wait(".2")
| |
| 960 | crawling = true | |
| 961 | chr.Humanoid.WalkSpeed = 8 | |
| 962 | elseif crawling then | |
| 963 | crawling = false | |
| 964 | otheranims = false | |
| 965 | chr.Humanoid.WalkSpeed = WlkSpeed | |
| 966 | end | |
| 967 | end | |
| 968 | end | |
| 969 | end) | |
| 970 | maus.KeyUp:connect(function(kei) | |
| 971 | if string.byte(kei) == 48 and not otheranims and not sitting and not disabled then | |
| 972 | runnin = false | |
| 973 | end | |
| 974 | if kei == "w" then | |
| 975 | fldb.w = false | |
| 976 | end | |
| 977 | if kei == "a" then | |
| 978 | fldb.a = false | |
| 979 | end | |
| 980 | if kei == "s" then | |
| 981 | fldb.s = false | |
| 982 | end | |
| 983 | if kei == "d" then | |
| 984 | fldb.d = false | |
| 985 | end | |
| 986 | if kei == "c" and rutprt:findFirstChild("TemporaryVelocity") and otheranims then
| |
| 987 | otheranims = false | |
| 988 | rutprt.TemporaryVelocity:destroy("")
| |
| 989 | end | |
| 990 | if kei == "f" and launchcharge and armmovement and not launched and not crawling and not jumpcharge and not otheranims then | |
| 991 | launchcharge = false | |
| 992 | launched = true | |
| 993 | armanim = "Launching" | |
| 994 | DamageMult = 1.5 | |
| 995 | do | |
| 996 | local oldat1 = tasercon.Attachment1 | |
| 997 | local oldat2 = tasercon2.Attachment1 | |
| 998 | tasercon.Attachment1 = nil | |
| 999 | tasercon2.Attachment1 = nil | |
| 1000 | rn3w.Parent = nil | |
| 1001 | ln3w.Parent = nil | |
| 1002 | rn3w.Part0 = nil | |
| 1003 | ln3w.Part0 = nil | |
| 1004 | rspring.Parent = nil | |
| 1005 | lspring.Parent = nil | |
| 1006 | rn3.CanCollide = true | |
| 1007 | ln3.CanCollide = true | |
| 1008 | wait("0")
| |
| 1009 | rn3.Velocity = (rutprt.CFrame * CFrame.new(-1, 0.4, -2).p - rutprt.CFrame.p).unit * 100 | |
| 1010 | ln3.Velocity = (rutprt.CFrame * CFrame.new(1, 0.4, -2).p - rutprt.CFrame.p).unit * 100 | |
| 1011 | wait("")
| |
| 1012 | rspring.Parent = rn3 | |
| 1013 | lspring.Parent = ln3 | |
| 1014 | spawn(function() | |
| 1015 | wait(0.7) | |
| 1016 | rn3.CanCollide = false | |
| 1017 | ln3.CanCollide = false | |
| 1018 | tasercon.Attachment1 = oldat1 | |
| 1019 | tasercon2.Attachment1 = oldat2 | |
| 1020 | rn3w.Parent = rn3 | |
| 1021 | ln3w.Parent = ln3 | |
| 1022 | ln3w.Part0 = ln3 | |
| 1023 | ln3w.Part1 = ln1 | |
| 1024 | ln3w.C0 = CFrame.new(0, 0.55, 0) | |
| 1025 | rn3w.Part0 = rn3 | |
| 1026 | rn3w.Part1 = rn1 | |
| 1027 | rn3w.C0 = CFrame.new(0, 0.55, 0) | |
| 1028 | if launchhitdb then | |
| 1029 | launchhitdb = false | |
| 1030 | end | |
| 1031 | armmovement = false | |
| 1032 | wait("2.5")
| |
| 1033 | ltouched = false | |
| 1034 | rtouched = false | |
| 1035 | launched = false | |
| 1036 | end) | |
| 1037 | end | |
| 1038 | end | |
| 1039 | if kei == "e" and otheranims and jumpcharge and not crawling then | |
| 1040 | if runnin then | |
| 1041 | chr.Humanoid.WalkSpeed = RunSpeed | |
| 1042 | else | |
| 1043 | chr.Humanoid.WalkSpeed = WlkSpeed | |
| 1044 | end | |
| 1045 | local rei = Ray.new(rleg.CFrame.p, (rleg.CFrame * CFrame.new(0, 1.25, 0)).p - rleg.CFrame.p.unit * -3) | |
| 1046 | local parthit, point = Workspace:FindPartOnRay(rei, chr) | |
| 1047 | if parthit and point and parthit.CanCollide then | |
| 1048 | chr.Humanoid.Jump = true | |
| 1049 | anim = "SuperJump" | |
| 1050 | local aasdd = newobj("BodyVelocity", rutprt)
| |
| 1051 | aasdd.maxForce = Vector3.new(0, 1 / 0, 0) | |
| 1052 | aasdd.velocity = Vector3.new(0, jumpheight, 0) | |
| 1053 | game:service("Debris"):AddItem(aasdd, 0.05)
| |
| 1054 | jumpcharge = false | |
| 1055 | otheranims = false | |
| 1056 | else | |
| 1057 | otheranims = false | |
| 1058 | jumpheight = 10 | |
| 1059 | end | |
| 1060 | end | |
| 1061 | end) | |
| 1062 | local funcrt, funclt | |
| 1063 | maus.Button1Down:connect(function() | |
| 1064 | if not otheranims and not sitting and not disabled and not armmovement and equipped then | |
| 1065 | if taser and tasercharge >= 20 then | |
| 1066 | DamageMult = 0.8 | |
| 1067 | else | |
| 1068 | DamageMult = 1 | |
| 1069 | end | |
| 1070 | armmovement = true | |
| 1071 | armanim = swing .. "Swing1" | |
| 1072 | wait(0.22) | |
| 1073 | armanim = swing .. "Swing2" | |
| 1074 | if swing == "Right" then | |
| 1075 | rnding:Play() | |
| 1076 | spawn(function() | |
| 1077 | wait(0.6) | |
| 1078 | rnding:Stop() | |
| 1079 | end) | |
| 1080 | else | |
| 1081 | lnding:Play() | |
| 1082 | spawn(function() | |
| 1083 | wait(0.6) | |
| 1084 | lnding:Stop() | |
| 1085 | end) | |
| 1086 | end | |
| 1087 | wait(0.15) | |
| 1088 | armmovement = false | |
| 1089 | if swing == "Right" then | |
| 1090 | swing = "Left" | |
| 1091 | else | |
| 1092 | swing = "Right" | |
| 1093 | end | |
| 1094 | end | |
| 1095 | end) | |
| 1096 | chr.Humanoid.Changed:connect(function(chng) | |
| 1097 | if (crouching or disabled) and chng == "Jump" then | |
| 1098 | chr.Humanoid.Jump = false | |
| 1099 | end | |
| 1100 | end) | |
| 1101 | game:service("RunService").RenderStepped:connect(function()
| |
| 1102 | tasercharge = tasercharge + 0.04 | |
| 1103 | if tasercharge < 0 then | |
| 1104 | tasercharge = 0 | |
| 1105 | end | |
| 1106 | if tasercharge > 100 then | |
| 1107 | tasercharge = 100 | |
| 1108 | end | |
| 1109 | tb.Size = UDim2.new(tasercharge / 100, 0, 1, 0) | |
| 1110 | if anim ~= "PreCrawl" and (anim ~= "IdleCrawl" or armanim == "Digging") and anim ~= "Sliding" and anim ~= "Jumping" and anim ~= "Falling" then | |
| 1111 | syne = syne + 0.95 | |
| 1112 | end | |
| 1113 | chr.Humanoid.CameraOffset = rutprt.CFrame:toObjectSpace(hed.CFrame).p + Vector3.new(0, -1.25, 0) | |
| 1114 | if not otheranims then | |
| 1115 | if 1 > (torso.Velocity * Vector3.new(1, 0, 1)).magnitude and not dnc and not chr.Humanoid.Jump then | |
| 1116 | anim = "Idling" | |
| 1117 | chr.Humanoid.JumpPower = 54 | |
| 1118 | elseif 1 < (rutprt.Velocity * Vector3.new(1, 0, 1)).magnitude and (rutprt.Velocity * Vector3.new(1, 0, 1)).magnitude < RunSpeed - 5 and not chr.Humanoid.Jump then | |
| 1119 | anim = "Walking" | |
| 1120 | dnc = false | |
| 1121 | chr.Humanoid.JumpPower = 56 | |
| 1122 | elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude > RunSpeed - 10 and not chr.Humanoid.Jump then | |
| 1123 | anim = "Sprinting" | |
| 1124 | dnc = false | |
| 1125 | chr.Humanoid.JumpPower = 62 | |
| 1126 | end | |
| 1127 | if torso.Velocity.y > 4 then | |
| 1128 | anim = "Jumping" | |
| 1129 | dnc = false | |
| 1130 | elseif torso.Velocity.y < -4 then | |
| 1131 | anim = "Falling" | |
| 1132 | dnc = false | |
| 1133 | end | |
| 1134 | end | |
| 1135 | local rpvl = (torso.Velocity * Vector3.new(1, 0, 1)).magnitude / RunSpeed | |
| 1136 | local rpvl2 = (torso.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1137 | if otheranims and crawling then | |
| 1138 | if 1 > (torso.Velocity * Vector3.new(1, 0, 1)).magnitude and not chr.Humanoid.Jump then | |
| 1139 | anim = "IdleCrawl" | |
| 1140 | chr.Humanoid.JumpPower = 0 | |
| 1141 | elseif 1 < (torso.Velocity * Vector3.new(1, 0, 1)).magnitude and (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 12 and not chr.Humanoid.Jump then | |
| 1142 | anim = "Crawling" | |
| 1143 | idled = false | |
| 1144 | chr.Humanoid.JumpPower = 38 | |
| 1145 | elseif 1 < (torso.Velocity * Vector3.new(1, 0, 1)).magnitude and (torso.Velocity * Vector3.new(1, 0, 1)).magnitude > 12 and not chr.Humanoid.Jump then | |
| 1146 | anim = "SpeedCrawling" | |
| 1147 | idled = false | |
| 1148 | chr.Humanoid.JumpPower = 46 | |
| 1149 | end | |
| 1150 | end | |
| 1151 | if otheranims and crawling then | |
| 1152 | if torso.Velocity.y > 2 then | |
| 1153 | anim = "CrawlJump" | |
| 1154 | elseif torso.Velocity.y < -6 then | |
| 1155 | anim = "CrawlFall" | |
| 1156 | end | |
| 1157 | end | |
| 1158 | if anim ~= lastanim then | |
| 1159 | runtime = 0 | |
| 1160 | end | |
| 1161 | if not armmovement and not equipped then | |
| 1162 | rn1w.Part1 = torso | |
| 1163 | rn1w.C1 = CFrame.new(0.4, -0.3, 0.6) * CFrame.Angles(math.rad(-11), math.rad(183), math.rad(85)) | |
| 1164 | ln1w.Part1 = torso | |
| 1165 | ln1w.C1 = CFrame.new(-0.4, -1, 0.6) * CFrame.Angles(math.rad(11), math.rad(-183), math.rad(-85)) | |
| 1166 | else | |
| 1167 | rn1w.Part1 = rarm | |
| 1168 | rn1w.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1169 | ln1w.Part1 = larm | |
| 1170 | ln1w.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1171 | end | |
| 1172 | lastanim = anim | |
| 1173 | local idlesineinc = 32.5 | |
| 1174 | if anim == "Idling" then | |
| 1175 | if not armmovement and not equipped then | |
| 1176 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.5, 0.525 + math.cos(syne / idlesineinc) / 25, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.1) | |
| 1177 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525 + math.cos(syne / idlesineinc) / 25, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.1) | |
| 1178 | elseif not armmovement and equipped then | |
| 1179 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.2, 0.4 + math.cos(syne / idlesineinc) / 25, 0.1) * CFrame.Angles(math.rad(105), math.rad(-15), math.rad(-20)), 0.1) | |
| 1180 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.1, 0.2 + math.cos(syne / idlesineinc) / 25, -0.65) * CFrame.Angles(math.rad(90), math.rad(10), math.rad(15)), 0.1) | |
| 1181 | end | |
| 1182 | llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55, -1.9 - math.cos(syne / idlesineinc) / 20, math.cos(syne / idlesineinc) / 35) * CFrame.Angles(-(math.cos(syne / idlesineinc) / 35), 0, math.rad(-2.5)), 0.1) | |
| 1183 | rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55, -1.9 - math.cos(syne / idlesineinc) / 20, math.cos(syne / idlesineinc) / 35) * CFrame.Angles(-(math.cos(syne / idlesineinc) / 35), 0, math.rad(2.5)), 0.1) | |
| 1184 | headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5 + math.cos(syne / idlesineinc) / 50, -math.cos(syne / idlesineinc) / 60) * CFrame.Angles(-math.cos(syne / idlesineinc) / 60, 0, 0), 0.1) | |
| 1185 | rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -0.1 + math.cos(syne / idlesineinc) / 20, 0) * CFrame.Angles(math.cos(syne / idlesineinc) / 35 + math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 1186 | end | |
| 1187 | if anim == "Walking" then | |
| 1188 | if not armmovement and not equipped then | |
| 1189 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.5, 0.525, -0.1) * CFrame.Angles(math.cos(syne / 6) / 1.25, -(math.cos(syne / 6) / 10) + math.rad(5), -(math.cos(syne / 6.75) / 10) + math.rad(8)), 0.1) | |
| 1190 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525, -0.1) * CFrame.Angles(-(math.cos(syne / 6) / 1.25), -(math.cos(syne / 6) / 10) - math.rad(5), -(math.cos(syne / 6.75) / 10) - math.rad(8)), 0.1) | |
| 1191 | elseif not armmovement and equipped then | |
| 1192 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.4, 0.425, -0.2) * CFrame.Angles(math.rad(40), math.rad(10), math.rad(5)), 0.1) | |
| 1193 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.4, 0.425, -0.2) * CFrame.Angles(math.rad(40), math.rad(-10), math.rad(-5)), 0.1) | |
| 1194 | end | |
| 1195 | llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.515, -1.8 - math.sin(syne / 6) / 4 + math.sin(rutprt.RotVelocity.y / 2) / 13, -(math.cos(syne / 6) / 1.125) - 0.15) * CFrame.Angles(math.cos(syne / 6) / 1.125 + math.rad(5), 0, math.rad(-1)), 0.1) | |
| 1196 | rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.515, -1.8 + math.sin(syne / 6) / 4 - math.sin(rutprt.RotVelocity.y / 2) / 13, math.cos(syne / 6) / 1.125 - 0.15) * CFrame.Angles(-(math.cos(syne / 6) / 1.125) + math.rad(5), 0, math.rad(1)), 0.1) | |
| 1197 | headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5 + math.cos(syne / 20) / 50, 0) * CFrame.Angles(-math.cos(syne / 3) / 20 + math.rad(2), -math.cos(syne / 6) / 10, 0), 0.1) | |
| 1198 | rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -0.2 + math.cos(syne / 3.375) / 20, math.cos(syne / 3) / 5) * CFrame.Angles(math.cos(syne / 3) / 20 + math.rad(-10), math.cos(syne / 6) / 8, -math.cos(syne / 6) / 25 + math.sin(rutprt.RotVelocity.y / 2) / 6), 0.1) | |
| 1199 | end | |
| 1200 | if anim == "Sprinting" then | |
| 1201 | if not armmovement and not equipped then | |
| 1202 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.5, 0.525, math.cos(syne / 4) / 15) * CFrame.Angles(-math.cos(syne / 2.5) / 5 + math.rad(-55), 0, math.rad(12.5)), 0.1) | |
| 1203 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525, -math.cos(syne / 4) / 15) * CFrame.Angles(-math.cos(syne / 2.5) / 5 + math.rad(-55), 0, math.rad(-12.5)), 0.1) | |
| 1204 | elseif not armmovement and equipped then | |
| 1205 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.4, 0.5, -0.1) * CFrame.Angles(math.rad(-5), math.rad(10), math.rad(35)), 0.1) | |
| 1206 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.4, 0.5, -0.1) * CFrame.Angles(math.rad(-5), math.rad(-10), math.rad(-35)), 0.1) | |
| 1207 | end | |
| 1208 | llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55 + math.cos(syne / 4) / 20, -1.4 - math.sin(syne / 4) / 2.4 + math.sin(rutprt.RotVelocity.y / 2) / 8, -(math.cos(syne / 4) * 2.5) - 0.125) * CFrame.Angles(math.cos(syne / 4) * 2.1 + math.rad(-8), 0, math.rad(-2.5)), 0.1) | |
| 1209 | rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55 - math.cos(syne / 4) / 20, -1.4 + math.sin(syne / 4) / 2.4 - math.sin(rutprt.RotVelocity.y / 2) / 8, math.cos(syne / 4) * 2.5 - 0.125) * CFrame.Angles(-(math.cos(syne / 4) * 2.1) + math.rad(-8), 0, math.rad(2.5)), 0.1) | |
| 1210 | headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.55 + math.cos(syne / 20) / 50, 0) * CFrame.Angles(-math.cos(syne / 2.5) / 10 + math.rad(20), -math.cos(syne / 2.5) / 8, 0), 0.1) | |
| 1211 | rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -0.27 + math.cos(syne / 2.5) / 5, math.cos(syne / 2.5)) * CFrame.Angles(math.cos(syne / 2.5) / 6 + math.rad(-25), math.cos(syne / 2.5) / 8, math.cos(syne / 4) / 15 + math.sin(rutprt.RotVelocity.y / 3) / 2.5), 0.1) | |
| 1212 | chr.Humanoid.CameraOffset = rutprt.CFrame:toObjectSpace(hed.CFrame).p + Vector3.new(math.cos(syne / 2.5) / 30, -1.3 - math.cos(syne / 5) / 25, -0.1) | |
| 1213 | end | |
| 1214 | if anim == "Jumping" then | |
| 1215 | if not armmovement then | |
| 1216 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.5, 0.525, 0) * CFrame.Angles(math.rad(10), 0, math.rad(50)), 0.1) | |
| 1217 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-50)), 0.1) | |
| 1218 | end | |
| 1219 | llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55, -1.4, 0) * CFrame.Angles(math.rad(-17.5), 0, math.rad(-2.5)), 0.1) | |
| 1220 | rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55, -1.1, -0.1) * CFrame.Angles(math.rad(-17.5), 0, math.rad(2.5)), 0.1) | |
| 1221 | headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5 + math.cos(syne / 20) / 50, 0) * CFrame.Angles(math.cos(syne / 20) / 40, 0, 0), 0.1) | |
| 1222 | rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -0.1 + math.cos(syne / 20) / 20, 0) * CFrame.Angles(-rpvl * chr.Humanoid.JumpPower / 58 / 1.5, math.rad(0), math.rad(0)), 0.1) | |
| 1223 | end | |
| 1224 | if anim == "Falling" then | |
| 1225 | if not armmovement then | |
| 1226 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.5, 0.525, 0) * CFrame.Angles(math.rad(10), 0, math.rad(70)), 0.035) | |
| 1227 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-70)), 0.035) | |
| 1228 | end | |
| 1229 | llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55, -1.2, 0) * CFrame.Angles(math.rad(-14), 0, math.rad(-2.5)), 0.035) | |
| 1230 | rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55, -1.9, 0) * CFrame.Angles(math.rad(0), 0, math.rad(2.5)), 0.035) | |
| 1231 | headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5, -0.3) * CFrame.Angles(math.rad(-40), 0, 0), 0.035) | |
| 1232 | rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -1, 0) * CFrame.Angles(rpvl / 3, math.rad(0), math.rad(0)), 0.1) | |
| 1233 | end | |
| 1234 | if anim == "Sliding" then | |
| 1235 | if equipped then | |
| 1236 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.4 - math.sin(rutprt.RotVelocity.y / 2) / 9, 0.535, 0.5 + math.sin(rutprt.RotVelocity.y / 2) / 3) * CFrame.Angles(math.rad(-65), 0, math.rad(-15)), 0.17) | |
| 1237 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525, -0.2 - math.sin(rutprt.RotVelocity.y / 2) / 3) * CFrame.Angles(math.rad(-120) - math.sin(rutprt.RotVelocity.y / 2) / 7, 0, math.rad(-40)), 0.17) | |
| 1238 | llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55, -1 + math.sin(rutprt.RotVelocity.y / 2) / 3, -0.125) * CFrame.Angles(math.rad(-17.5) - math.sin(rutprt.RotVelocity.y / 2) / 9, 0, math.rad(-2.5)), 0.17) | |
| 1239 | rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55, -1.6 - math.sin(rutprt.RotVelocity.y / 2) / 4, 0.15) * CFrame.Angles(math.rad(-10) + math.sin(rutprt.RotVelocity.y / 2) / 9, 0, math.rad(2.5)), 0.17) | |
| 1240 | headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5, -0.6) * CFrame.Angles(math.rad(-50), math.rad(-18), math.rad(-10)), 0.17) | |
| 1241 | rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(65), math.rad(30) + math.sin(rutprt.RotVelocity.y / 2) / 3, math.rad(0)), 0.17) | |
| 1242 | else | |
| 1243 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.4 - math.sin(rutprt.RotVelocity.y / 2) / 9, 0.535, 0.5 + math.sin(rutprt.RotVelocity.y / 2) / 3) * CFrame.Angles(math.rad(-60), 0, math.rad(-15)), 0.17) | |
| 1244 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525, -0.2 - math.sin(rutprt.RotVelocity.y / 2) / 3) * CFrame.Angles(math.rad(-105) - math.sin(rutprt.RotVelocity.y / 2) / 7, 0, math.rad(-40)), 0.17) | |
| 1245 | llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55, -1 + math.sin(rutprt.RotVelocity.y / 2) / 3, -0.125) * CFrame.Angles(math.rad(-17.5) - math.sin(rutprt.RotVelocity.y / 2) / 9, 0, math.rad(-2.5)), 0.17) | |
| 1246 | rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55, -1.6 - math.sin(rutprt.RotVelocity.y / 2) / 4, 0.15) * CFrame.Angles(math.rad(-10) + math.sin(rutprt.RotVelocity.y / 2) / 9, 0, math.rad(2.5)), 0.17) | |
| 1247 | headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5, -0.6) * CFrame.Angles(math.rad(-50), math.rad(-8), math.rad(-10)), 0.17) | |
| 1248 | rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -1.7, 0) * CFrame.Angles(math.rad(70), math.rad(20) + math.sin(rutprt.RotVelocity.y / 2) / 3, math.rad(0)), 0.17) | |
| 1249 | end | |
| 1250 | end | |
| 1251 | if armmovement then | |
| 1252 | if armanim == "RightSwing1" then | |
| 1253 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.4, 0.25 + math.cos(syne / idlesineinc) / 25, 1.2) * CFrame.Angles(math.rad(95), math.rad(-15), math.rad(15)), 0.25) | |
| 1254 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.2, 0.35 + math.cos(syne / idlesineinc) / 25, 0) * CFrame.Angles(math.rad(45), math.rad(10), math.rad(10)), 0.25) | |
| 1255 | end | |
| 1256 | if armanim == "RightSwing2" then | |
| 1257 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(0.8, 0.3 + math.cos(syne / idlesineinc) / 25, -0.8) * CFrame.Angles(math.rad(95), math.rad(15), math.rad(-15)), 0.55) | |
| 1258 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.2, 0.45 + math.cos(syne / idlesineinc) / 25, 0) * CFrame.Angles(math.rad(45), math.rad(10), math.rad(-10)), 0.55) | |
| 1259 | end | |
| 1260 | if armanim == "LeftSwing1" then | |
| 1261 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.4, 0.25 + math.cos(syne / idlesineinc) / 25, 1.2) * CFrame.Angles(math.rad(95), math.rad(10), math.rad(15)), 0.25) | |
| 1262 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.2, 0.35 + math.cos(syne / idlesineinc) / 25, 0) * CFrame.Angles(math.rad(45), math.rad(10), math.rad(10)), 0.25) | |
| 1263 | end | |
| 1264 | if armanim == "LeftSwing2" then | |
| 1265 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-0.8, 0.3 + math.cos(syne / idlesineinc) / 25, -0.8) * CFrame.Angles(math.rad(95), math.rad(-15), math.rad(15)), 0.55) | |
| 1266 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.2, 0.45 + math.cos(syne / idlesineinc) / 25, 0) * CFrame.Angles(math.rad(45), math.rad(10), math.rad(10)), 0.55) | |
| 1267 | end | |
| 1268 | if armanim == "Digging" then | |
| 1269 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.15 - math.cos(syne * 0.6) / 8, 1.2 + math.cos(syne * 0.6) * 0.6, -0.1) * CFrame.Angles(math.rad(179), 0, math.rad(-15)), 0.6) | |
| 1270 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.15 - math.cos(syne * 0.6) / 8, 1.2 - math.cos(syne * 0.6) * 0.6, -0.1) * CFrame.Angles(math.rad(179), 0, math.rad(15)), 0.6) | |
| 1271 | end | |
| 1272 | if armanim == "LaunchCharge" then | |
| 1273 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.45, 0.3 + math.cos(syne / idlesineinc) / 25, 0.8) * CFrame.Angles(math.rad(95), math.rad(10), math.rad(-15)), 0.5) | |
| 1274 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.45, 0.3 + math.cos(syne / idlesineinc) / 25, 0.8) * CFrame.Angles(math.rad(95), math.rad(-10), math.rad(15)), 0.5) | |
| 1275 | end | |
| 1276 | if armanim == "Launching" then | |
| 1277 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.35, 0.3 + math.cos(syne / idlesineinc) / 25, -0.4) * CFrame.Angles(math.rad(95), math.rad(10), math.rad(15)), 0.5) | |
| 1278 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.35, 0.3 + math.cos(syne / idlesineinc) / 25, -0.4) * CFrame.Angles(math.rad(95), math.rad(-10), math.rad(-15)), 0.5) | |
| 1279 | end | |
| 1280 | else | |
| 1281 | armanim = "Empty" | |
| 1282 | end | |
| 1283 | if jumpcharge and 100 > jumpheight then | |
| 1284 | jumpheight = jumpheight + 2.5 | |
| 1285 | elseif not jumpcharge then | |
| 1286 | jumpheight = 5 | |
| 1287 | end | |
| 1288 | if anim == "PreSuperJump" then | |
| 1289 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.5, 0.525, 0) * CFrame.Angles(math.rad(10), 0, math.rad(50)), 0.06) | |
| 1290 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-50)), 0.06) | |
| 1291 | llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55, -1, 0.3) * CFrame.Angles(math.rad(-40), 0, math.rad(-2.5)), 0.06) | |
| 1292 | rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55, -0.6, -0.65) * CFrame.Angles(math.rad(10), 0, math.rad(2.5)), 0.06) | |
| 1293 | headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5, 0.3) * CFrame.Angles(math.rad(40), 0, 0), 0.06) | |
| 1294 | rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -1.6, 0.2) * CFrame.Angles(math.rad(-14), math.rad(0), math.rad(0)), 0.06) | |
| 1295 | end | |
| 1296 | if anim == "SuperJump" then | |
| 1297 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.4, 0.525, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(20)), 0.1) | |
| 1298 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.4, 0.525, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-20)), 0.1) | |
| 1299 | llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55, -1.8, 0) * CFrame.Angles(math.rad(-2.5), 0, math.rad(-2.5)), 0.2) | |
| 1300 | rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55, -1.8, 0) * CFrame.Angles(math.rad(-2.5), 0, math.rad(2.5)), 0.2) | |
| 1301 | headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5, 0.3) * CFrame.Angles(math.rad(30), 0, 0), 0.1) | |
| 1302 | rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.1) | |
| 1303 | chr.Humanoid.Jump = true | |
| 1304 | end | |
| 1305 | if anim == "Crouching" then | |
| 1306 | if not armmovement then | |
| 1307 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.4, 0.35, -0.225) * CFrame.Angles(math.rad(70), 0, math.rad(-15)), 0.075) | |
| 1308 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.4, 0.35, -0.225) * CFrame.Angles(math.rad(70), 0, math.rad(15)), 0.075) | |
| 1309 | end | |
| 1310 | llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.5, -0.55, -1) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.075) | |
| 1311 | rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.5, -0.65, -1.275) * CFrame.Angles(math.rad(60), 0, math.rad(0)), 0.075) | |
| 1312 | headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(5), 0, 0), 0.05) | |
| 1313 | rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 0.075) | |
| 1314 | end | |
| 1315 | if anim == "PreCrawl" then | |
| 1316 | if not armmovement then | |
| 1317 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.45, 0.9, -0.175) * CFrame.Angles(math.rad(150), 0, math.rad(-25)), 0.2) | |
| 1318 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.45, 0.9, -0.175) * CFrame.Angles(math.rad(150), 0, math.rad(25)), 0.2) | |
| 1319 | end | |
| 1320 | llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.5, -1.6, -0.1) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.2) | |
| 1321 | rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.5, -1.6, -0.1) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.2) | |
| 1322 | headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.35, 0.25) * CFrame.Angles(math.rad(72.5), 0, 0), 0.2) | |
| 1323 | rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -2.3, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.2) | |
| 1324 | end | |
| 1325 | if crawling then | |
| 1326 | if anim == "Crawling" then | |
| 1327 | if not armmovement then | |
| 1328 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.25, 1 - math.cos(syne / 10) / 2 - math.sin(rutprt.RotVelocity.y / 2) / 7, -0.35 + math.cos(syne / 10) / 6) * CFrame.Angles(math.rad(155) + math.sin(syne / 10) / 7, 0, math.rad(-25) + math.cos(syne / 10) / 13), 0.175) | |
| 1329 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.25, 1 + math.cos(syne / 10) / 2 + math.sin(rutprt.RotVelocity.y / 2) / 7, -0.35 - math.cos(syne / 10) / 6) * CFrame.Angles(math.rad(165) - math.sin(syne / 10) / 7, 0, math.rad(25) - math.cos(syne / 10) / 13), 0.175) | |
| 1330 | end | |
| 1331 | llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.525, -1.5 - math.cos(syne / 10) / 3 + math.sin(rutprt.RotVelocity.y / 2) / 7, -0.3 + math.sin(syne / 10) / 5) * CFrame.Angles(math.rad(-5) - math.cos(syne / 10) / 9, 0, -math.cos(syne / 10) / 15), 0.175) | |
| 1332 | rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.525, -1.5 + math.cos(syne / 10) / 3 - math.sin(rutprt.RotVelocity.y / 2) / 7, -0.3 - math.sin(syne / 10) / 5) * CFrame.Angles(math.rad(-5) + math.cos(syne / 10) / 9, 0, -math.cos(syne / 10) / 15), 0.175) | |
| 1333 | headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.35, math.cos(syne / 30) / 20 + 0.25) * CFrame.Angles(math.cos(syne / 30) / 25 + math.rad(75), 0, 0), 0.175) | |
| 1334 | rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -2.1, 0) * CFrame.Angles(math.rad(-82) + math.cos(syne / 5) / 12, math.cos(syne / 10) / 15 - math.sin(rutprt.RotVelocity.y / 2) / 7, math.cos(syne / 5) / 15), 0.15) | |
| 1335 | end | |
| 1336 | if anim == "CrawlJump" then | |
| 1337 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.35, 0.4, -0.175) * CFrame.Angles(math.rad(10), 0, math.rad(15)), 0.15) | |
| 1338 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.35, 0.4, -0.175) * CFrame.Angles(math.rad(10), 0, math.rad(-15)), 0.15) | |
| 1339 | llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.5, -1.8, -0.1) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.15) | |
| 1340 | rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.5, -1.8, -0.1) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.15) | |
| 1341 | headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.35, 0.25) * CFrame.Angles(math.rad(55), 0, 0), 0.15) | |
| 1342 | rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -2.1, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), 0.15) | |
| 1343 | end | |
| 1344 | if anim == "CrawlFall" then | |
| 1345 | rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.35, 1.2, -0.175) * CFrame.Angles(math.rad(170), 0, math.rad(-10)), 0.15) | |
| 1346 | larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.35, 1.2, -0.175) * CFrame.Angles(math.rad(170), 0, math.rad(10)), 0.15) | |
| 1347 | llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.5, -1.5, -0.3) * CFrame.Angles(math.rad(5), 0, math.rad(0)), 0.15) | |
| 1348 | rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.5, -1.5, -0.3) * CFrame.Angles(math.rad(5), 0, math.rad(0)), 0.15) | |
| 1349 | headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.35, 0.3) * CFrame.Angles(math.rad(90), 0, 0), 0.15) | |
| 1350 | rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(0)), 0.15) | |
| 1351 | end | |
| 1352 | end | |
| 1353 | if crouching then | |
| 1354 | chr.Humanoid.WalkSpeed = 0 | |
| 1355 | end | |
| 1356 | if runnin and not disabled and not otheranims and not sitting then | |
| 1357 | chr.Humanoid.WalkSpeed = RunSpeed | |
| 1358 | elseif not runnin and not disabled and not otheranims and not sitting then | |
| 1359 | chr.Humanoid.WalkSpeed = WlkSpeed | |
| 1360 | elseif not runnin and not disabled and otheranims and crawling and not sitting then | |
| 1361 | chr.Humanoid.WalkSpeed = CrawlSpeed | |
| 1362 | end | |
| 1363 | end) | |
| 1364 | local hp = newobj("HopperBin", plr.Backpack)
| |
| 1365 | hp.Name = "Neko Neko Knuckles" | |
| 1366 | hp.TextureId = "rbxassetid://985312942" | |
| 1367 | hp.Selected:connect(function() | |
| 1368 | equipped = true | |
| 1369 | end) | |
| 1370 | hp.Deselected:connect(function() | |
| 1371 | equipped = false | |
| 1372 | end) |