Advertisement
sneakydodge123

map

Sep 3rd, 2018
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.69 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145.  
  146.  
  147. local Players = game:GetService("Players")
  148. local LocalPlayer = Players.LocalPlayer
  149.  
  150. local children = game.Workspace:GetChildren()
  151. for _, child in pairs(children) do
  152. for _, child in pairs(child:GetChildren()) do
  153. table.insert(children, child)
  154. end
  155.  
  156. 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
  157. child:Destroy()
  158. end
  159. end
  160.  
  161. game.Lighting.FogEnd = 50
  162. game.Lighting.GlobalShadows = false
  163. game.Lighting.Brightness = 0.3
  164. game.Lighting.TimeOfDay = 0
  165. game:GetObjects("rbxassetid://654999902")[1].Parent=game.Workspace
  166.  
  167. for _, Player in pairs(Players:GetPlayers()) do
  168. if Player.Character then
  169. Player.Character.HumanoidRootPart.CFrame = game.Workspace.Field.Spawn.CFrame
  170. end
  171. end
  172.  
  173. for _, Player in pairs(Players:GetPlayers()) do
  174. if Player.Character and Player ~= LocalPlayer then
  175. pcall(function()
  176. Player.Character.Name = "Slave"
  177. Player.Character.Head.BrickColor = BrickColor.new("Dirt brown")
  178. Player.Character["Left Arm"].BrickColor = BrickColor.new("Dirt brown")
  179. Player.Character["Right Arm"].BrickColor = BrickColor.new("Dirt brown")
  180. Player.Character["Left Leg"].BrickColor = BrickColor.new("Dirt brown")
  181. Player.Character["Right Leg"].BrickColor = BrickColor.new("Dirt brown")
  182. Player.Character.Torso.BrickColor = BrickColor.new("Dirt brown")
  183. end)
  184. end
  185. Player.CharacterAdded:connect(function()
  186. if Player.Character and Player ~= LocalPlayer then
  187. Player.Character.Name = "Slave"
  188. repeat pcall(function()
  189. Player.Character.Head.BrickColor = BrickColor.new("Dirt brown")
  190. Player.Character["Left Arm"].BrickColor = BrickColor.new("Dirt brown")
  191. Player.Character["Right Arm"].BrickColor = BrickColor.new("Dirt brown")
  192. Player.Character["Left Leg"].BrickColor = BrickColor.new("Dirt brown")
  193. Player.Character["Right Leg"].BrickColor = BrickColor.new("Dirt brown")
  194. Player.Character.Torso.BrickColor = BrickColor.new("Dirt brown")
  195. end) wait() until Player:FindFirstChild("Torso") and Player.Torso.BrickColor == BrickColor.new("Dirt brown")
  196. end
  197. end)
  198. end
  199.  
  200.  
  201. wait(1)
  202.  
  203. local Players = game:GetService("Players")
  204. local RunService = game:GetService("RunService")
  205.  
  206. local Player = Players.LocalPlayer
  207. local Camera = workspace.CurrentCamera
  208. local Mouse = Player:GetMouse()
  209. local Camera = workspace.CurrentCamera
  210. local Character = Player.Character
  211. local Humanoid = Character:FindFirstChild("Humanoid")
  212. local Head = Character:FindFirstChild("Head")
  213. local Torso = Character:FindFirstChild("Torso")
  214. local HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart")
  215. local RightArm = Character:FindFirstChild("Right Arm")
  216. local LeftArm = Character:FindFirstChild("Left Arm")
  217. local RightLeg = Character:FindFirstChild("Right Leg")
  218. local LeftLeg = Character:FindFirstChild("Left Leg")
  219.  
  220.  
  221.  
  222. local Funcs = {}
  223.  
  224.  
  225. local Animation = "Standing"
  226.  
  227.  
  228. local charWelds = {}
  229.  
  230. local Config = {
  231. standingSway = math.pi/45;
  232. walkingSway = math.pi/14;
  233. standingOffset = math.pi/80;
  234. walkingOffset = math.pi/48;
  235. }
  236.  
  237.  
  238.  
  239. Humanoid.WalkSpeed = 22.4
  240. Humanoid.JumpPower = 40
  241.  
  242. --Camera.CameraType = "Scriptable"
  243.  
  244.  
  245.  
  246.  
  247. charWelds.HumanoidRootPart = Instance.new("Weld", HumanoidRootPart)
  248. charWelds.HumanoidRootPart.Part0 = HumanoidRootPart
  249. charWelds.HumanoidRootPart.Part1 = Torso
  250.  
  251. charWelds.rightArmWeld = Instance.new("Weld", Torso)
  252. charWelds.rightArmWeld.Part0 = Torso
  253. charWelds.rightArmWeld.Part1 = RightArm
  254. charWelds.rightArmWeld.C0 = CFrame.new(1.5, .5, 0)
  255. charWelds.rightArmWeld.C1 = CFrame.new(0, .5, 0)
  256.  
  257. charWelds.leftArmWeld = Instance.new("Weld", Torso)
  258. charWelds.leftArmWeld.Part0 = Torso
  259. charWelds.leftArmWeld.Part1 = LeftArm
  260. charWelds.leftArmWeld.C0 = CFrame.new(-1.5, .5, 0)
  261. charWelds.leftArmWeld.C1 = CFrame.new(0, .5, 0)
  262.  
  263. charWelds.rightLegWeld = Instance.new("Weld", Torso)
  264. charWelds.rightLegWeld.Part0 = Torso
  265. charWelds.rightLegWeld.Part1 = RightLeg
  266. charWelds.rightLegWeld.C0 = CFrame.new(.5, -1.5, 0)
  267. charWelds.rightLegWeld.C1 = CFrame.new(0, .5, 0)
  268.  
  269. charWelds.leftLegWeld = Instance.new("Weld", Torso)
  270. charWelds.leftLegWeld.Part0 = Torso
  271. charWelds.leftLegWeld.Part1 = LeftLeg
  272. charWelds.leftLegWeld.C0 = CFrame.new(-.5, -1.5, 0)
  273. charWelds.leftLegWeld.C1 = CFrame.new(0, .5, 0)
  274.  
  275. local Equipment = Instance.new("Folder", Character)
  276.  
  277.  
  278.  
  279.  
  280. function Funcs.CFrameInterpolate(oc, c, v)
  281. local oc1, oc2, oc3, oc4, oc5, oc6, oc7, oc8, oc9, oc10, oc11, oc12 = oc:components()
  282. local c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12 = c:components()
  283. return CFrame.new(
  284. oc1 + (c1 - oc1) * v, oc2 + (c2 - oc2) * v, oc3 + (c3 - oc3) * v, oc4 + (c4 - oc4) * v, oc5 + (c5 - oc5) * v, oc6 + (c6 - oc6) * v
  285. , oc7 + (c7 - oc7) * v, oc8 + (c8 - oc8) * v, oc9 + (c9 - oc9) * v, oc10 + (c10 - oc10) * v, oc11 + (c11 - oc11) * v, oc12 + (c12 - oc12) * v
  286. )
  287. end
  288.  
  289. function Funcs.Trail(p, c1, c2)
  290. local mag = (c2.p - c1.p).magnitude
  291. p.Size = Vector3.new(0, 0, mag)
  292. p.CFrame = CFrame.new(c1.p:Lerp(c2.p, 0.5))
  293. p.CFrame = CFrame.new(p.CFrame.p, c2.p)
  294. end
  295.  
  296. function Funcs.AngleInterpolate(w,c,x,y,z,x1,y1,z1,l)
  297. w.C1 = c * CFrame.fromEulerAnglesXYZ(
  298. x + math.sin(math.pi / 2 * l) * (x1 - x)
  299. , y + math.sin(math.pi / 2 * l) * (y1 - y)
  300. , z + math.sin(math.pi / 2 * l) * (z1 - z)
  301. )
  302. end
  303.  
  304. function Funcs.Part(Parent, t)
  305. local Part = Instance.new("Part", Parent)
  306. Part.BrickColor = t[2]
  307. Part.FormFactor = 3
  308. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface
  309. , Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  310. Part.CanCollide = t[1]
  311. Part.Transparency = t[3]
  312. Part.Material = t[4]
  313. Part.Reflectance = t[5]
  314. Part.Shape = t[6]
  315. Part.Size = t[7]
  316. return Part
  317. end
  318.  
  319. function Funcs.BlockMesh(Part, Scale)
  320. local BlockMesh = Instance.new("BlockMesh", Part)
  321. BlockMesh.Scale = Scale
  322. return BlockMesh
  323. end
  324.  
  325. function Funcs.CylinderMesh(Part, Scale)
  326. local CylinderMesh = Instance.new("CylinderMesh", Part)
  327. CylinderMesh.Scale = Scale
  328. return CylinderMesh
  329. end
  330.  
  331. function Funcs.SpecialMesh(Part, Scale, MeshType)
  332. local SpecialMesh = Instance.new("SpecialMesh", Part)
  333. SpecialMesh.Scale = Scale
  334. SpecialMesh.MeshType = MeshType
  335. return SpecialMesh
  336. end
  337.  
  338. function Funcs.Weld(Part0, Part1, C0)
  339. local Weld = Instance.new("Weld", Part0)
  340. Weld.Part0, Weld.Part1, Weld.C0 = Part0, Part1, C0
  341. return Weld
  342. end
  343.  
  344. function Funcs.AddEquipment()
  345.  
  346. Whip = Funcs.Part(Equipment, {true, BrickColor.new("Brown"), 0, Enum.Material.SmoothPlastic, 0, Enum.PartType.Block, Vector3.new(0.2, 0.2, 1.6)})
  347. local WhipWeld = Funcs.Weld(RightArm, Whip, CFrame.new(0, -1.1, -0.6))
  348.  
  349. Rope = Funcs.Part(Equipment, {false, BrickColor.new("Really black"), 0, Enum.Material.SmoothPlastic, 0, Enum.PartType.Block, Vector3.new(0, 0, 1)})
  350. local RopeMesh = Funcs.BlockMesh(Rope, Vector3.new(0.4, 0.4, 1))
  351. Rope.Anchored = true
  352.  
  353. RopeE = Funcs.Part(Equipment, {false, BrickColor.new("Dark stone grey"), 0, Enum.Material.SmoothPlastic, 0, Enum.PartType.Block, Vector3.new(0, 0, 0)})
  354. local RopeEMesh = Funcs.SpecialMesh(RopeE, Vector3.new(0.8, 0.8, 0.8), "Sphere")
  355. RopeE.Anchored = true
  356.  
  357. end
  358.  
  359. local ropeEnd = CFrame.new(0, 0, 0)
  360.  
  361. function Funcs.Whip()
  362. if Animation ~= "Throwing" then
  363. Animation = "Throwing"
  364.  
  365. for i = 0, 1, 0.1 do
  366. Funcs.AngleInterpolate(charWelds.HumanoidRootPart, CFrame.new(0, 0, 0)
  367. , 0, 0, 0, 0, math.pi / 8, 0, i)
  368. Funcs.AngleInterpolate(charWelds.rightArmWeld, CFrame.new(0,.5,0)
  369. , 0, 0, -math.pi / 8, -math.pi * 5 / 4, 0, math.pi / 12, i)
  370. wait()
  371. end
  372.  
  373. local targ = Mouse.Target
  374. local cf = Mouse.Hit
  375.  
  376. for i = 0, 1, 0.2 do
  377. Funcs.AngleInterpolate(charWelds.HumanoidRootPart, CFrame.new(0, 0, 0)
  378. , 0, math.pi / 8, 0, 0, 0, 0, i)
  379. Funcs.AngleInterpolate(charWelds.rightArmWeld, CFrame.new(0,.5,0)
  380. , -math.pi * 5 / 4, 0, math.pi / 8, 0, 0, -math.pi / 12, i)
  381. wait()
  382. end
  383.  
  384. if (Torso.Position - cf.p).magnitude < 120 then
  385. ropeEnd = cf
  386.  
  387. wait(1 / 2)
  388. if targ and targ.Parent and targ.Parent:FindFirstChild("Humanoid") then
  389. targ.Parent:BreakJoints()
  390. end
  391.  
  392. ropeEnd = Whip.CFrame * CFrame.new(0, -1.8, -0.7)
  393. end
  394.  
  395. Animation = "Standing"
  396. end
  397. end
  398.  
  399. local Snd = Instance.new("Sound", Torso)
  400. Snd.SoundId = "rbxassetid://163277488"
  401. Snd.Volume = 100
  402.  
  403. Mouse.Button1Down:connect(function()
  404. Snd:Play()
  405. Funcs.Whip()
  406. end)
  407.  
  408.  
  409. Funcs.AddEquipment()
  410.  
  411. local i = 0
  412. local camGoal = Head.CFrame
  413. local ropeCEnd = RightArm.CFrame
  414. ropeEnd = Whip.CFrame * CFrame.new(0, -1.8, -0.7)
  415.  
  416.  
  417. RunService.Stepped:connect(function()
  418.  
  419.  
  420. local animSpeed = 0.02
  421. local offsetMultiplier = 1
  422.  
  423.  
  424. local ropeStart = Whip.CFrame * CFrame.new(0, 0, -0.7)
  425. ropeCEnd = CFrame.new(ropeCEnd.p:Lerp(ropeEnd.p, 0.2))
  426. RopeE.CFrame = ropeCEnd
  427. if Animation ~= "Throwing" then
  428. ropeEnd = Whip.CFrame * CFrame.new(0, -1.8, -0.7)
  429. end
  430.  
  431. Funcs.Trail(Rope, ropeStart, ropeCEnd)
  432.  
  433.  
  434.  
  435. if Humanoid.Jump == true then
  436. if Animation ~= "Throwing" then
  437. Animation = "Jumping"
  438.  
  439. end
  440. animSpeed = 0.001
  441. offsetMultiplier = 3
  442. elseif Torso.Velocity.magnitude > 0.4 then
  443. if Animation ~= "Throwing" then
  444. Animation = "Walking"
  445. end
  446. animSpeed = 0.1
  447. offsetMultiplier = 1
  448. else
  449. if Animation ~= "Throwing" then
  450. Animation = "Standing"
  451. end
  452. animSpeed = 0.02
  453. offsetMultiplier = 1
  454. end
  455.  
  456.  
  457. if i < 2 then
  458. i = i + animSpeed
  459. else
  460. i = 0
  461. end
  462.  
  463.  
  464. if Animation == "Standing" or Animation == "Throwing" then
  465. if i < 1 then
  466. if Animation ~= "Throwing" then
  467. Funcs.AngleInterpolate(charWelds.rightArmWeld, CFrame.new(0,.5,0)
  468. , Config.standingSway, 0, -Config.standingOffset * offsetMultiplier, -Config.standingSway, 0, -Config.standingOffset * offsetMultiplier, i)
  469. end
  470. Funcs.AngleInterpolate(charWelds.leftArmWeld, CFrame.new(0,.5,0)
  471. , -Config.standingSway, 0, Config.standingOffset * offsetMultiplier, Config.standingSway, 0, Config.standingOffset * offsetMultiplier, i)
  472. Funcs.AngleInterpolate(charWelds.leftLegWeld, CFrame.new(0,.5,0)
  473. , Config.standingSway, 0, Config.standingOffset * offsetMultiplier / 2, -Config.standingSway, 0, Config.standingOffset * offsetMultiplier / 2, i)
  474. Funcs.AngleInterpolate(charWelds.rightLegWeld, CFrame.new(0,.5,0)
  475. , -Config.standingSway, 0, -Config.standingOffset * offsetMultiplier / 2, Config.standingSway, 0, -Config.standingOffset * offsetMultiplier / 2, i)
  476. elseif i >= 1 then
  477. if Animation ~= "Throwing" then
  478. Funcs.AngleInterpolate(charWelds.rightArmWeld, CFrame.new(0,.5,0)
  479. , -Config.standingSway, 0, -Config.standingOffset * offsetMultiplier, Config.standingSway, 0, -Config.standingOffset * offsetMultiplier, i - 1)
  480. end
  481. Funcs.AngleInterpolate(charWelds.leftArmWeld, CFrame.new(0,.5,0)
  482. , Config.standingSway, 0, Config.standingOffset * offsetMultiplier, -Config.standingSway, 0, Config.standingOffset * offsetMultiplier, i - 1)
  483. Funcs.AngleInterpolate(charWelds.leftLegWeld, CFrame.new(0,.5,0)
  484. , -Config.standingSway, 0, Config.standingOffset * offsetMultiplier / 2, Config.standingSway, 0, Config.standingOffset * offsetMultiplier / 2, i - 1)
  485. Funcs.AngleInterpolate(charWelds.rightLegWeld, CFrame.new(0,.5,0)
  486. , Config.standingSway, 0, -Config.standingOffset * offsetMultiplier / 2, -Config.standingSway, 0, -Config.standingOffset * offsetMultiplier / 2, i - 1)
  487. end
  488. end
  489. if Animation == "Walking" or Animation == "Jumping" or Animation == "Throwing" or Animation == "Shooting" then
  490. if i < 1 then
  491. if Animation ~= "Throwing" then
  492. Funcs.AngleInterpolate(charWelds.rightArmWeld, CFrame.new(0,.5,0)
  493. , Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier, -Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier, i)
  494. end
  495. Funcs.AngleInterpolate(charWelds.leftArmWeld, CFrame.new(0,.5,0)
  496. , -Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier, Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier, i)
  497. Funcs.AngleInterpolate(charWelds.leftLegWeld, CFrame.new(0,.5,0)
  498. , Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier / 2, -Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier / 2, i)
  499. Funcs.AngleInterpolate(charWelds.rightLegWeld, CFrame.new(0,.5,0)
  500. , -Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier / 2, Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier / 2, i)
  501. elseif i >= 1 then
  502. if Animation ~= "Throwing" then
  503. Funcs.AngleInterpolate(charWelds.rightArmWeld, CFrame.new(0,.5,0)
  504. , -Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier, Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier, i - 1)
  505. end
  506. Funcs.AngleInterpolate(charWelds.leftArmWeld, CFrame.new(0,.5,0)
  507. , Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier, -Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier, i - 1)
  508. Funcs.AngleInterpolate(charWelds.leftLegWeld, CFrame.new(0,.5,0)
  509. , -Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier / 2, Config.walkingSway, 0, Config.walkingOffset * offsetMultiplier / 2, i - 1)
  510. Funcs.AngleInterpolate(charWelds.rightLegWeld, CFrame.new(0,.5,0)
  511. , Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier / 2, -Config.walkingSway, 0, -Config.walkingOffset * offsetMultiplier / 2, i - 1)
  512. end
  513. end
  514. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement