SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Your fucking script is assholic use h/ dumbass") end
| |
| 3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 4 | local RealPlayer = Player | |
| 5 | do print("Execute the c00l Kidd stuff")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 6 | local Players = game:GetService("Players")
| |
| 7 | local LocalPlayer = Players.LocalPlayer | |
| 8 | ||
| 9 | local children = game.Workspace:GetChildren() | |
| 10 | for _, child in pairs(children) do | |
| 11 | for _, child in pairs(child:GetChildren()) do | |
| 12 | table.insert(children, child) | |
| 13 | end | |
| 14 | ||
| 15 | if child.ClassName ~= "Terrain" and child:IsA("BasePart") and child.Name ~= "Right Leg" and child.Name ~= "Left Leg" and child.Name ~= "Right Arm" and child.Name ~= "Left Arm" and child.Name ~= "Head" and child.Name ~= "Torso" and child.Name ~= "HumanoidRootPart" then
| |
| 16 | child:Destroy() | |
| 17 | end | |
| 18 | end | |
| 19 | ||
| 20 | game.Lighting.FogEnd = 50 | |
| 21 | game.Lighting.GlobalShadows = false | |
| 22 | game.Lighting.Brightness = 0.3 | |
| 23 | game.Lighting.TimeOfDay = 0 | |
| 24 | game:GetObjects("rbxassetid://654999902")[1].Parent=game.Workspace
| |
| 25 | ||
| 26 | for _, Player in pairs(Players:GetPlayers()) do | |
| 27 | if Player.Character then | |
| 28 | Player.Character.HumanoidRootPart.CFrame = game.Workspace.Field.Spawn.CFrame | |
| 29 | end | |
| 30 | end | |
| 31 | ||
| 32 | for _, Player in pairs(Players:GetPlayers()) do | |
| 33 | if Player.Character and Player ~= LocalPlayer then | |
| 34 | pcall(function() | |
| 35 | Player.Character.Name = "Slave" | |
| 36 | Player.Character.Head.BrickColor = BrickColor.new("Dirt brown")
| |
| 37 | Player.Character["Left Arm"].BrickColor = BrickColor.new("Dirt brown")
| |
| 38 | Player.Character["Right Arm"].BrickColor = BrickColor.new("Dirt brown")
| |
| 39 | Player.Character["Left Leg"].BrickColor = BrickColor.new("Dirt brown")
| |
| 40 | Player.Character["Right Leg"].BrickColor = BrickColor.new("Dirt brown")
| |
| 41 | Player.Character.Torso.BrickColor = BrickColor.new("Dirt brown")
| |
| 42 | end) | |
| 43 | end | |
| 44 | Player.CharacterAdded:connect(function() | |
| 45 | if Player.Character and Player ~= LocalPlayer then | |
| 46 | Player.Character.Name = "Slave" | |
| 47 | repeat pcall(function() | |
| 48 | Player.Character.Head.BrickColor = BrickColor.new("Dirt brown")
| |
| 49 | Player.Character["Left Arm"].BrickColor = BrickColor.new("Dirt brown")
| |
| 50 | Player.Character["Right Arm"].BrickColor = BrickColor.new("Dirt brown")
| |
| 51 | Player.Character["Left Leg"].BrickColor = BrickColor.new("Dirt brown")
| |
| 52 | Player.Character["Right Leg"].BrickColor = BrickColor.new("Dirt brown")
| |
| 53 | Player.Character.Torso.BrickColor = BrickColor.new("Dirt brown")
| |
| 54 | end) wait() until Player:FindFirstChild("Torso") and Player.Torso.BrickColor == BrickColor.new("Dirt brown")
| |
| 55 | end | |
| 56 | end) | |
| 57 | end | |
| 58 | ||
| 59 | ||
| 60 | wait(1) | |
| 61 | ||
| 62 | local Players = game:GetService("Players")
| |
| 63 | local RunService = game:GetService("RunService")
| |
| 64 | ||
| 65 | local Player = Players.LocalPlayer | |
| 66 | local Camera = workspace.CurrentCamera | |
| 67 | local Mouse = Player:GetMouse() | |
| 68 | local Camera = workspace.CurrentCamera | |
| 69 | local Character = Player.Character | |
| 70 | local Humanoid = Character:FindFirstChild("Humanoid")
| |
| 71 | local Head = Character:FindFirstChild("Head")
| |
| 72 | local Torso = Character:FindFirstChild("Torso")
| |
| 73 | local HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart")
| |
| 74 | local RightArm = Character:FindFirstChild("Right Arm")
| |
| 75 | local LeftArm = Character:FindFirstChild("Left Arm")
| |
| 76 | local RightLeg = Character:FindFirstChild("Right Leg")
| |
| 77 | local LeftLeg = Character:FindFirstChild("Left Leg")
| |
| 78 | ||
| 79 | ||
| 80 | ||
| 81 | local Funcs = {}
| |
| 82 | ||
| 83 | ||
| 84 | local Animation = "Standing" | |
| 85 | ||
| 86 | ||
| 87 | local charWelds = {}
| |
| 88 | ||
| 89 | local Config = {
| |
| 90 | standingSway = math.pi/45; | |
| 91 | walkingSway = math.pi/14; | |
| 92 | standingOffset = math.pi/80; | |
| 93 | walkingOffset = math.pi/48; | |
| 94 | } | |
| 95 | ||
| 96 | ||
| 97 | ||
| 98 | Humanoid.WalkSpeed = 22.4 | |
| 99 | Humanoid.JumpPower = 40 | |
| 100 | ||
| 101 | --Camera.CameraType = "Scriptable" | |
| 102 | ||
| 103 | ||
| 104 | ||
| 105 | ||
| 106 | charWelds.HumanoidRootPart = Instance.new("Weld", HumanoidRootPart)
| |
| 107 | charWelds.HumanoidRootPart.Part0 = HumanoidRootPart | |
| 108 | charWelds.HumanoidRootPart.Part1 = Torso | |
| 109 | ||
| 110 | charWelds.rightArmWeld = Instance.new("Weld", Torso)
| |
| 111 | charWelds.rightArmWeld.Part0 = Torso | |
| 112 | charWelds.rightArmWeld.Part1 = RightArm | |
| 113 | charWelds.rightArmWeld.C0 = CFrame.new(1.5, .5, 0) | |
| 114 | charWelds.rightArmWeld.C1 = CFrame.new(0, .5, 0) | |
| 115 | ||
| 116 | charWelds.leftArmWeld = Instance.new("Weld", Torso)
| |
| 117 | charWelds.leftArmWeld.Part0 = Torso | |
| 118 | charWelds.leftArmWeld.Part1 = LeftArm | |
| 119 | charWelds.leftArmWeld.C0 = CFrame.new(-1.5, .5, 0) | |
| 120 | charWelds.leftArmWeld.C1 = CFrame.new(0, .5, 0) | |
| 121 | ||
| 122 | charWelds.rightLegWeld = Instance.new("Weld", Torso)
| |
| 123 | charWelds.rightLegWeld.Part0 = Torso | |
| 124 | charWelds.rightLegWeld.Part1 = RightLeg | |
| 125 | charWelds.rightLegWeld.C0 = CFrame.new(.5, -1.5, 0) | |
| 126 | charWelds.rightLegWeld.C1 = CFrame.new(0, .5, 0) | |
| 127 | ||
| 128 | charWelds.leftLegWeld = Instance.new("Weld", Torso)
| |
| 129 | charWelds.leftLegWeld.Part0 = Torso | |
| 130 | charWelds.leftLegWeld.Part1 = LeftLeg | |
| 131 | charWelds.leftLegWeld.C0 = CFrame.new(-.5, -1.5, 0) | |
| 132 | charWelds.leftLegWeld.C1 = CFrame.new(0, .5, 0) | |
| 133 | ||
| 134 | local Equipment = Instance.new("Folder", Character)
| |
| 135 | ||
| 136 | ||
| 137 | ||
| 138 | ||
| 139 | function Funcs.CFrameInterpolate(oc, c, v) | |
| 140 | local oc1, oc2, oc3, oc4, oc5, oc6, oc7, oc8, oc9, oc10, oc11, oc12 = oc:components() | |
| 141 | local c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12 = c:components() | |
| 142 | return CFrame.new( | |
| 143 | oc1 + (c1 - oc1) * v, oc2 + (c2 - oc2) * v, oc3 + (c3 - oc3) * v, oc4 + (c4 - oc4) * v, oc5 + (c5 - oc5) * v, oc6 + (c6 - oc6) * v | |
| 144 | , oc7 + (c7 - oc7) * v, oc8 + (c8 - oc8) * v, oc9 + (c9 - oc9) * v, oc10 + (c10 - oc10) * v, oc11 + (c11 - oc11) * v, oc12 + (c12 - oc12) * v | |
| 145 | ) | |
| 146 | end | |
| 147 | ||
| 148 | function Funcs.Trail(p, c1, c2) | |
| 149 | local mag = (c2.p - c1.p).magnitude | |
| 150 | p.Size = Vector3.new(0, 0, mag) | |
| 151 | p.CFrame = CFrame.new(c1.p:Lerp(c2.p, 0.5)) | |
| 152 | p.CFrame = CFrame.new(p.CFrame.p, c2.p) | |
| 153 | end | |
| 154 | ||
| 155 | function Funcs.AngleInterpolate(w,c,x,y,z,x1,y1,z1,l) | |
| 156 | w.C1 = c * CFrame.fromEulerAnglesXYZ( | |
| 157 | x + math.sin(math.pi / 2 * l) * (x1 - x) | |
| 158 | , y + math.sin(math.pi / 2 * l) * (y1 - y) | |
| 159 | , z + math.sin(math.pi / 2 * l) * (z1 - z) | |
| 160 | ) | |
| 161 | end | |
| 162 | ||
| 163 | function Funcs.Part(Parent, t) | |
| 164 | local Part = Instance.new("Part", Parent)
| |
| 165 | Part.BrickColor = t[2] | |
| 166 | Part.FormFactor = 3 | |
| 167 | Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface | |
| 168 | , Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 169 | Part.CanCollide = t[1] | |
| 170 | Part.Transparency = t[3] | |
| 171 | Part.Material = t[4] | |
| 172 | Part.Reflectance = t[5] | |
| 173 | Part.Shape = t[6] | |
| 174 | Part.Size = t[7] | |
| 175 | return Part | |
| 176 | end | |
| 177 | ||
| 178 | function Funcs.BlockMesh(Part, Scale) | |
| 179 | local BlockMesh = Instance.new("BlockMesh", Part)
| |
| 180 | BlockMesh.Scale = Scale | |
| 181 | return BlockMesh | |
| 182 | end | |
| 183 | ||
| 184 | function Funcs.CylinderMesh(Part, Scale) | |
| 185 | local CylinderMesh = Instance.new("CylinderMesh", Part)
| |
| 186 | CylinderMesh.Scale = Scale | |
| 187 | return CylinderMesh | |
| 188 | end | |
| 189 | ||
| 190 | function Funcs.SpecialMesh(Part, Scale, MeshType) | |
| 191 | local SpecialMesh = Instance.new("SpecialMesh", Part)
| |
| 192 | SpecialMesh.Scale = Scale | |
| 193 | SpecialMesh.MeshType = MeshType | |
| 194 | return SpecialMesh | |
| 195 | end | |
| 196 | ||
| 197 | function Funcs.Weld(Part0, Part1, C0) | |
| 198 | local Weld = Instance.new("Weld", Part0)
| |
| 199 | Weld.Part0, Weld.Part1, Weld.C0 = Part0, Part1, C0 | |
| 200 | return Weld | |
| 201 | end | |
| 202 | ||
| 203 | function Funcs.AddEquipment() | |
| 204 | ||
| 205 | Whip = Funcs.Part(Equipment, {true, BrickColor.new("Brown"), 0, Enum.Material.SmoothPlastic, 0, Enum.PartType.Block, Vector3.new(0.2, 0.2, 1.6)})
| |
| 206 | local WhipWeld = Funcs.Weld(RightArm, Whip, CFrame.new(0, -1.1, -0.6)) | |
| 207 | ||
| 208 | Rope = Funcs.Part(Equipment, {false, BrickColor.new("Really black"), 0, Enum.Material.SmoothPlastic, 0, Enum.PartType.Block, Vector3.new(0, 0, 1)})
| |
| 209 | local RopeMesh = Funcs.BlockMesh(Rope, Vector3.new(0.4, 0.4, 1)) | |
| 210 | Rope.Anchored = true | |
| 211 | ||
| 212 | RopeE = Funcs.Part(Equipment, {false, BrickColor.new("Dark stone grey"), 0, Enum.Material.SmoothPlastic, 0, Enum.PartType.Block, Vector3.new(0, 0, 0)})
| |
| 213 | local RopeEMesh = Funcs.SpecialMesh(RopeE, Vector3.new(0.8, 0.8, 0.8), "Sphere") | |
| 214 | RopeE.Anchored = true | |
| 215 | ||
| 216 | end | |
| 217 | ||
| 218 | local ropeEnd = CFrame.new(0, 0, 0) | |
| 219 | ||
| 220 | function Funcs.Whip() | |
| 221 | if Animation ~= "Throwing" then | |
| 222 | Animation = "Throwing" | |
| 223 | ||
| 224 | for i = 0, 1, 0.1 do | |
| 225 | Funcs.AngleInterpolate(charWelds.HumanoidRootPart, CFrame.new(0, 0, 0) | |
| 226 | , 0, 0, 0, 0, math.pi / 8, 0, i) | |
| 227 | Funcs.AngleInterpolate(charWelds.rightArmWeld, CFrame.new(0,.5,0) | |
| 228 | , 0, 0, -math.pi / 8, -math.pi * 5 / 4, 0, math.pi / 12, i) | |
| 229 | wait() | |
| 230 | end | |
| 231 | ||
| 232 | local targ = Mouse.Target | |
| 233 | local cf = Mouse.Hit | |
| 234 | ||
| 235 | for i = 0, 1, 0.2 do | |
| 236 | Funcs.AngleInterpolate(charWelds.HumanoidRootPart, CFrame.new(0, 0, 0) | |
| 237 | , 0, math.pi / 8, 0, 0, 0, 0, i) | |
| 238 | Funcs.AngleInterpolate(charWelds.rightArmWeld, CFrame.new(0,.5,0) | |
| 239 | , -math.pi * 5 / 4, 0, math.pi / 8, 0, 0, -math.pi / 12, i) | |
| 240 | wait() | |
| 241 | end | |
| 242 | ||
| 243 | if (Torso.Position - cf.p).magnitude < 120 then | |
| 244 | ropeEnd = cf | |
| 245 | ||
| 246 | wait(1 / 2) | |
| 247 | if targ and targ.Parent and targ.Parent:FindFirstChild("Humanoid") then
| |
| 248 | targ.Parent:BreakJoints() | |
| 249 | end | |
| 250 | ||
| 251 | ropeEnd = Whip.CFrame * CFrame.new(0, -1.8, -0.7) | |
| 252 | end | |
| 253 | ||
| 254 | Animation = "Standing" | |
| 255 | end | |
| 256 | end | |
| 257 | ||
| 258 | local Snd = Instance.new("Sound", Torso)
| |
| 259 | Snd.SoundId = "rbxassetid://163277488" | |
| 260 | Snd.Volume = 100 | |
| 261 | ||
| 262 | Mouse.Button1Down:connect(function() | |
| 263 | Snd:Play() | |
| 264 | Funcs.Whip() | |
| 265 | end) | |
| 266 | ||
| 267 | ||
| 268 | Funcs.AddEquipment() | |
| 269 | ||
| 270 | local i = 0 | |
| 271 | local camGoal = Head.CFrame | |
| 272 | local ropeCEnd = RightArm.CFrame | |
| 273 | ropeEnd = Whip.CFrame * CFrame.new(0, -1.8, -0.7) | |
| 274 | ||
| 275 | ||
| 276 | RunService.Stepped:connect(function() | |
| 277 | ||
| 278 | ||
| 279 | local animSpeed = 0.02 | |
| 280 | local offsetMultiplier = 1 | |
| 281 | ||
| 282 | ||
| 283 | local ropeStart = Whip.CFrame * CFrame.new(0, 0, -0.7) | |
| 284 | ropeCEnd = CFrame.new(ropeCEnd.p:Lerp(ropeEnd.p, 0.2)) | |
| 285 | RopeE.CFrame = ropeCEnd | |
| 286 | if Animation ~= "Throwing" then | |
| 287 | ropeEnd = Whip.CFrame * CFrame.new(0, -1.8, -0.7) | |
| 288 | end | |
| 289 | ||
| 290 | Funcs.Trail(Rope, ropeStart, ropeCEnd) | |
| 291 | ||
| 292 | ||
| 293 | ||
| 294 | if Humanoid.Jump == true then | |
| 295 | if Animation ~= "Throwing" then | |
| 296 | Animation = "Jumping" | |
| 297 | ||
| 298 | end | |
| 299 | animSpeed = 0.001 | |
| 300 | offsetMultiplier = 3 | |
| 301 | elseif Torso.Velocity.magnitude > 0.4 then | |
| 302 | if Animation ~= "Throwing" then | |
| 303 | Animation = "Walking" | |
| 304 | end | |
| 305 | animSpeed = 0.1 | |
| 306 | offsetMultiplier = 1 | |
| 307 | else | |
| 308 | if Animation ~= "Throwing" then | |
| 309 | Animation = "Standing" | |
| 310 | end | |
| 311 | animSpeed = 0.02 | |
| 312 | offsetMultiplier = 1 | |
| 313 | end | |
| 314 | ||
| 315 | ||
| 316 | if i < 2 then | |
| 317 | i = i + animSpeed | |
| 318 | else | |
| 319 | i = 0 | |
| 320 | end | |
| 321 | ||
| 322 | ||
| 323 | if Animation == "Standing" or Animation == "Throwing" then | |
| 324 | if i < 1 then | |
| 325 | if Animation ~= "Throwing" then | |
| 326 | Funcs.AngleInterpolate(charWelds.rightArmWeld, CFrame.new(0,.5,0) | |
| 327 | , Config.standingSway, 0, -Config.standingOffset * offsetMultiplier, -Config.standingSway, 0, -Config.standingOffset * offsetMultiplier, i) | |
| 328 | end | |
| 329 | Funcs.AngleInterpolate(charWelds.leftArmWeld, CFrame.new(0,.5,0) | |
| 330 | , -Config.standingSway, 0, Config.standingOffset * offsetMultiplier, Config.standingSway, 0, Config.standingOffset * offsetMultiplier, i) | |
| 331 | Funcs.AngleInterpolate(charWelds.leftLegWeld, CFrame.new(0,.5,0) | |
| 332 | , Config.standingSway, 0, Config.standingOffset * offsetMultiplier / 2, -Config.standingSway, 0, Config.standingOffset * offsetMultiplier / 2, i) | |
| 333 | Funcs.AngleInterpolate(charWelds.rightLegWeld, CFrame.new(0,.5,0) | |
| 334 | , -Config.standingSway, 0, -Config.standingOffset * offsetMultiplier / 2, Config.standingSway, 0, -Config.standingOffset * offsetMultiplier / 2, i) | |
| 335 | elseif i >= 1 then | |
| 336 | if Animation ~= "Throwing" then | |
| 337 | Funcs.AngleInterpolate(charWelds.rightArmWeld, CFrame.new(0,.5,0) | |
| 338 | , -Config.standingSway, 0, -Config.standingOffset * offsetMultiplier, Config.standingSway, 0, -Config.standingOffset * offsetMultiplier, i - 1) | |
| 339 | end | |
| 340 | Funcs.AngleInterpolate(charWelds.leftArmWeld, CFrame.new(0,.5,0) | |
| 341 | , Config.standingSway, 0, Config.standingOffset * offsetMultiplier, -Config.standingSway, 0, Config.standingOffset * offsetMultiplier, i - 1) | |
| 342 | Funcs.AngleInterpolate(charWelds.leftLegWeld, CFrame.new(0,.5,0) | |
| 343 | , -Config.standingSway, 0, Config.standingOffset * offsetMultiplier / 2, Config.standingSway, 0, Config.standingOffset * offsetMultiplier / 2, i - 1) | |
| 344 | Funcs.AngleInterpolate(charWelds.rightLegWeld, CFrame.new(0,.5,0) | |
| 345 | , Config.standingSway, 0, -Config.standingOffset * offsetMultiplier / 2, -Config.standingSway, 0, -Config.standingOffset * offsetMultiplier / 2, i - 1) | |
| 346 | end | |
| 347 | end | |
| 348 | if Animation == "Walking" or Animation == "Jumping" or Animation == "Throwing" or Animation == "Shooting" then | |
| 349 | if i < 1 then | |
| 350 | if Animation ~= "Throwing" then | |
| 351 | Funcs.AngleInterpolate(charWelds.rightArmWeld, CFrame.new(0,.5,0) | |
| 352 | , Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier, -Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier, i) | |
| 353 | end | |
| 354 | Funcs.AngleInterpolate(charWelds.leftArmWeld, CFrame.new(0,.5,0) | |
| 355 | , -Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier, Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier, i) | |
| 356 | Funcs.AngleInterpolate(charWelds.leftLegWeld, CFrame.new(0,.5,0) | |
| 357 | , Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier / 2, -Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier / 2, i) | |
| 358 | Funcs.AngleInterpolate(charWelds.rightLegWeld, CFrame.new(0,.5,0) | |
| 359 | , -Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier / 2, Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier / 2, i) | |
| 360 | elseif i >= 1 then | |
| 361 | if Animation ~= "Throwing" then | |
| 362 | Funcs.AngleInterpolate(charWelds.rightArmWeld, CFrame.new(0,.5,0) | |
| 363 | , -Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier, Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier, i - 1) | |
| 364 | end | |
| 365 | Funcs.AngleInterpolate(charWelds.leftArmWeld, CFrame.new(0,.5,0) | |
| 366 | , Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier, -Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier, i - 1) | |
| 367 | Funcs.AngleInterpolate(charWelds.leftLegWeld, CFrame.new(0,.5,0) | |
| 368 | , -Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier / 2, Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier / 2, i - 1) | |
| 369 | Funcs.AngleInterpolate(charWelds.rightLegWeld, CFrame.new(0,.5,0) | |
| 370 | , Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier / 2, -Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier / 2, i - 1) | |
| 371 | end | |
| 372 | end | |
| 373 | end) |