Advertisement
Zach_script_stealer2

Ruby golem

Sep 21st, 2019
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. print(" this script was converted by An ignorant / zach ")
  3. warn(" credits goes to CASS ")
  4. warn(" pls dont abuse ")
  5. warn(" i beg u ")
  6. local Player,game,owner = owner,game
  7. local RealPlayer = Player
  8. do
  9. print("FE Compatibility code by Mokiros")
  10. local rp = RealPlayer
  11. script.Parent = rp.Character
  12.  
  13. --RemoteEvent for communicating
  14. local Event = Instance.new("RemoteEvent")
  15. Event.Name = "UserInput_Event"
  16.  
  17. --Fake event to make stuff like Mouse.KeyDown work
  18. local function fakeEvent()
  19. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  20. t.connect = t.Connect
  21. return t
  22. end
  23.  
  24. --Creating fake input objects with fake variables
  25. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  26. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  27. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  28. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  29. end}
  30. --Merged 2 functions into one by checking amount of arguments
  31. CAS.UnbindAction = CAS.BindAction
  32.  
  33. --This function will trigger the events that have been :Connect()'ed
  34. local function te(self,ev,...)
  35. local t = m[ev]
  36. if t and t._fakeEvent then
  37. for _,f in pairs(t.Functions) do
  38. f(...)
  39. end
  40. end
  41. end
  42. m.TrigEvent = te
  43. UIS.TrigEvent = te
  44.  
  45. Event.OnServerEvent:Connect(function(plr,io)
  46. if plr~=rp then return end
  47. m.Target = io.Target
  48. m.Hit = io.Hit
  49. if not io.isMouse then
  50. local b = io.UserInputState == Enum.UserInputState.Begin
  51. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  52. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  53. end
  54. for _,t in pairs(CAS.Actions) do
  55. for _,k in pairs(t.Keys) do
  56. if k==io.KeyCode then
  57. t.Function(t.Name,io.UserInputState,io)
  58. end
  59. end
  60. end
  61. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  62. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  63. end
  64. end)
  65. Event.Parent = NLS([==[
  66. local Player = game:GetService("Players").LocalPlayer
  67. local Event = script:WaitForChild("UserInput_Event")
  68.  
  69. local Mouse = Player:GetMouse()
  70. local UIS = game:GetService("UserInputService")
  71. local input = function(io,a)
  72. if a then return end
  73. --Since InputObject is a client-side instance, we create and pass table instead
  74. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  75. end
  76. UIS.InputBegan:Connect(input)
  77. UIS.InputEnded:Connect(input)
  78.  
  79. local h,t
  80. --Give the server mouse data 30 times every second, but only if the values changed
  81. --If player is not moving their mouse, client won't fire events
  82. while wait(1/30) do
  83. if h~=Mouse.Hit or t~=Mouse.Target then
  84. h,t=Mouse.Hit,Mouse.Target
  85. Event:FireServer({isMouse=true,Target=t,Hit=h})
  86. end
  87. end]==],Player.Character)
  88.  
  89. ----Sandboxed game object that allows the usage of client-side methods and services
  90. --Real game object
  91. local _rg = game
  92.  
  93. --Metatable for fake service
  94. local fsmt = {
  95. __index = function(self,k)
  96. local s = rawget(self,"_RealService")
  97. if s then return s[k] end
  98. end,
  99. __newindex = function(self,k,v)
  100. local s = rawget(self,"_RealService")
  101. if s then s[k]=v end
  102. end,
  103. __call = function(self,...)
  104. local s = rawget(self,"_RealService")
  105. if s then return s(...) end
  106. end
  107. }
  108. local function FakeService(t,RealService)
  109. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  110. return setmetatable(t,fsmt)
  111. end
  112.  
  113. --Fake game object
  114. local g = {
  115. GetService = function(self,s)
  116. return self[s]
  117. end,
  118. Players = FakeService({
  119. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  120. },"Players"),
  121. UserInputService = FakeService(UIS,"UserInputService"),
  122. ContextActionService = FakeService(CAS,"ContextActionService"),
  123. }
  124. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  125. g.service = g.GetService
  126.  
  127. g.RunService = FakeService({
  128. RenderStepped = _rg:GetService("RunService").Heartbeat,
  129. BindToRenderStep = function(self,name,_,fun)
  130.  
  131. end,
  132. UnbindFromRenderStep = function(self,name)
  133. self._btrs[name]:Disconnect()
  134. end,
  135. },"RunService")
  136.  
  137. setmetatable(g,{
  138. __index=function(self,s)
  139. return _rg:GetService(s) or typeof(_rg[s])=="function"
  140. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  141. end,
  142. __newindex = fsmt.__newindex,
  143. __call = fsmt.__call
  144. })
  145. --Changing owner to fake player object to support owner:GetMouse()
  146. game,owner = g,g.Players.LocalPlayer
  147. end
  148.  
  149.  
  150.  
  151.  
  152. CN, CA, V3, BC, C3 = CFrame.new, CFrame.Angles, Vector3.new, BrickColor.new, Color3.new
  153. Ins, Abs, Sin, Cos, Rad, Pi = Instance.new, math.abs, math.sin, math.cos, math.rad, math.pi
  154. Floor, Ceil = math.floor, math.ceil
  155. NR, NS = NumberRange.new, NumberSequence.new
  156. Random = function(A)
  157. return ( math.random() - .5) * 2 * (A or 1)
  158. end
  159. Part = function(Parent, CFrame, Size, Colour, Material, Transparency, Anchored, CanCollide, Type)
  160. local P = Ins(Type or "Part")
  161. P.FormFactor = "Custom"
  162. P.Size = Size
  163. P.Anchored = Anchored
  164. P.Material = Material
  165. P.BrickColor = BC(Colour)
  166. P.Transparency = Transparency
  167. P.CanCollide = CanCollide
  168. P.TopSurface, P.BottomSurface, P.LeftSurface, P.RightSurface, P.FrontSurface, P.BackSurface = 10, 10, 10, 10, 10, 10
  169. P.CFrame = CFrame
  170. P.Parent = Parent
  171. P.Locked = true
  172. P:BreakJoints()
  173. return P
  174. end
  175. Weld = function(P0, P1, C0, C1)
  176. local W = Ins("Snap", P0)
  177. W.Part0 = P0
  178. W.Part1 = P1
  179. W.C0 = C0 or CN()
  180. W.C1 = C1 or CN()
  181. return W
  182. end
  183. function Lerp(A, B, Alpha)
  184. return (1-Alpha) * A + (Alpha * B)
  185. end
  186. New = function(Object, Parent, Data)
  187. local Object = Ins(Object)
  188. for Index, Value in pairs(Data or {}) do
  189. Object[Index] = Value
  190. end
  191. Object.Parent = Parent
  192. return Object
  193. end
  194. function GetMass(Model)
  195. local Mass = 0
  196. for i, v in pairs(Model:children()) do
  197. if v:IsA("BasePart") then Mass = Mass + v:GetMass() end
  198. Mass = Mass + GetMass(v)
  199. end
  200. return Mass
  201. end
  202. function Raycast(Start, End, Ignore)
  203. return workspace:FindPartOnRayWithIgnoreList( Ray.new( Start, End.unit * End.magnitude ), Ignore )
  204. end
  205.  
  206. Player = game:service("Players").LocalPlayer
  207. Mouse = Player:GetMouse()
  208. Util = assert(LoadLibrary("RbxUtility"))
  209. InputService = game:service("UserInputService")
  210.  
  211. Character = Player.Character
  212. Torso = Character:WaitForChild("Torso")
  213. HRP = Character:WaitForChild("HumanoidRootPart")
  214. RA = Character:WaitForChild("Right Arm")
  215. LA = Character:WaitForChild("Left Arm")
  216. RL = Character:WaitForChild("Right Leg")
  217. LL = Character:WaitForChild("Left Leg")
  218. Head = Character:WaitForChild("Head")
  219. --ORS = Torso:WaitForChild("Right Shoulder")
  220. --OLS = Torso:WaitForChild("Left Shoulder")
  221. --ORH = Torso:WaitForChild("Right Hip")
  222. --OLH = Torso:WaitForChild("Left Hip")
  223. Humanoid = Character:WaitForChild("Humanoid")
  224.  
  225. for i, v in pairs(Character:children()) do
  226. if v:IsA("CharacterAppearance") then
  227. pcall(game.Destroy, v)
  228. end
  229. if v:IsA("Accessory") then
  230. pcall(game.Destroy, v)
  231. end
  232. if v:IsA("Part") then
  233. v.Transparency = 1
  234. end
  235. if v.Name == "Head" and v:FindFirstChild("face") then
  236. pcall(game.Destroy, v:FindFirstChild("face"))
  237. end
  238. end
  239.  
  240. C0 = {
  241. LS = CN(-1, 0.5, 0),
  242. RS = CN(1, 0.5, 0),
  243. LH = CN(-1, -1, 0),
  244. RH = CN(1, -1, 0),
  245. NK = CN(0, 1, 0),
  246. TW = CN(0, 0, 0),
  247. HW = CN(0, 0, 0),
  248.  
  249. GTorso = CN(0, 1.4, 0),
  250. GNeck = CN(0, 1.125, 0),
  251. GLowerT = CN(0, -.9, 0),
  252.  
  253. GLeftLegB = CN(-.3, -.4, 0),
  254. GLeftLegP1 = CN(0, -.3, 0),
  255. GLeftLegP2 = CN(0, -.3, 0),
  256. GLeftLegP3 = CN(0, -.3, 0),
  257. GLeftLegP4 = CN(0, -.3, 0),
  258. GLeftFoot = CN(0, -.3, -.0625),
  259.  
  260. GRightLegB = CN(.3, -.4, 0),
  261. GRightLegP1 = CN(0, -.3, 0),
  262. GRightLegP2 = CN(0, -.3, 0),
  263. GRightLegP3 = CN(0, -.3, 0),
  264. GRightLegP4 = CN(0, -.3, 0),
  265. GRightFoot = CN(0, -.3, -.0625),
  266.  
  267. GLeftArmB = CN(-1, .25, 0),
  268. GLeftArmP1 = CN(0, -.3, 0),
  269. GLeftArmP2 = CN(0, -.225, 0),
  270.  
  271. GRightArmB = CN(1, .25, 0),
  272. GRightArmP1 = CN(0, -.3, 0),
  273. GRightArmP2 = CN(0, -.3, 0),
  274. GRightArmP3 = CN(0, -.3, 0),
  275. GRightArmP4 = CN(0, -.3, 0),
  276. GRightArmP5 = CN(0, -.3, 0),
  277. GRightArmP6 = CN(0, -.3, 0),
  278. GRightHand = CN(0, -.5, 0),
  279. }
  280. C1 = {
  281. LS = CN(0.5, 0.5, 0),
  282. RS = CN(-0.5, 0.5, 0),
  283. LH = CN(-.5, 1, 0),
  284. RH = CN(.5, 1, 0),
  285. NK = CN(0, -.5, 0),
  286. TW = CN(0, 0, 0),
  287. }
  288. Desired = {
  289. LS = C0.LS,
  290. RS = C0.RS,
  291. LH = C0.LH,
  292. RH = C0.RH,
  293. NK = C0.NK,
  294. TW = C0.TW,
  295.  
  296. GTorso = CN(0, 1.4, 0),
  297. GNeck = CN(0, 1.125, 0),
  298. GLowerT = CN(0, -.9, 0),
  299.  
  300. GLeftLegB = CN(-.3, -.4, 0),
  301. GLeftLegP1 = CN(0, -.3, 0),
  302. GLeftLegP2 = CN(0, -.3, 0),
  303. GLeftLegP3 = CN(0, -.3, 0),
  304. GLeftLegP4 = CN(0, -.3, 0),
  305. GLeftFoot = CN(0, -.3, -.0625),
  306.  
  307. GRightLegB = CN(.3, -.4, 0),
  308. GRightLegP1 = CN(0, -.3, 0),
  309. GRightLegP2 = CN(0, -.3, 0),
  310. GRightLegP3 = CN(0, -.3, 0),
  311. GRightLegP4 = CN(0, -.3, 0),
  312. GRightFoot = CN(0, -.3, -.0625),
  313.  
  314. GLeftArmB = CN(-1, .25, 0),
  315. GLeftArmP1 = CN(0, -.3, 0),
  316. GLeftArmP2 = CN(0, -.225, 0),
  317.  
  318. GRightArmB = CN(1, .25, 0),
  319. GRightArmP1 = CN(0, -.3, 0),
  320. GRightArmP2 = CN(0, -.3, 0),
  321. GRightArmP3 = CN(0, -.3, 0),
  322. GRightArmP4 = CN(0, -.3, 0),
  323. GRightArmP5 = CN(0, -.3, 0),
  324. GRightArmP6 = CN(0, -.3, 0),
  325. GRightHand = CN(0, -.5, 0),
  326. }
  327. Speed = .2
  328. Count = 0
  329. CountTime = 40
  330. CountSpeed = .5
  331. Angle = 0
  332. Keysdown = { }
  333. Action = false
  334. Run = false
  335.  
  336. Humanoid.Died:connect(function()
  337. end)
  338.  
  339. GlowParts = { }
  340. Low, Full = 331, 1024
  341. LowOnPower = true
  342.  
  343. function ChangeColor(On)
  344. for i, v in pairs(GlowParts) do
  345. v.BrickColor = BC(On and Full or Low)
  346. end
  347. end
  348. function TurnOn()
  349. for i, v in pairs(GlowParts) do
  350.  
  351. end
  352. end
  353.  
  354. pcall(game.Destroy, Character:FindFirstChild("Golem"))
  355. Model = New("Model", Character, { Name = "Golem" })
  356. GTorso = Part(Model, CN(), V3(2, 2, 1), "Grey", "Slate", 0, false, false)
  357. GTorsoW = Weld(Torso, GTorso, CN(0, 1.4, 0) * CA(0, 0, 0), CN(0, -1.4, 0))
  358. We1 = Part(Model, CN(), V3(1, .25, 1.5), "Grey", "Slate", 0, false, false, "WedgePart")
  359. Weld(GTorso, We1, CN(-.75, 1.125, 0) * CA(0, Pi/2, 0))
  360. We2 = Part(Model, CN(), V3(1, .25, 1.5), "Grey", "Slate", 0, false, false, "WedgePart")
  361. Weld(GTorso, We2, CN(.75, 1.125, 0) * CA(0, -Pi/2, 0))
  362. P1 = Part(Model, CN(), V3(.25, 1.25, 1), "Grey", "Slate", 0, false, false)
  363. Weld(GTorso, P1, CN(1.125, .375, 0) * CA(0, 0, 0))
  364. P2 = Part(Model, CN(), V3(.25, 1.25, 1), "Grey", "Slate", 0, false, false)
  365. Weld(GTorso, P2, CN(-1.125, .375, 0) * CA(0, 0, 0))
  366. We3 = Part(Model, CN(), V3(1, 1.25, .25), "Grey", "Slate", 0, false, false, "WedgePart")
  367. Weld(GTorso, We3, CN(1.375, .375, 0) * CA(Pi, -Pi/2, 0))
  368. We4 = Part(Model, CN(), V3(1, .75, .25), "Grey", "Slate", 0, false, false, "WedgePart")
  369. Weld(GTorso, We4, CN(1.125, -.625, 0) * CA(Pi, -Pi/2, 0))
  370. We5 = Part(Model, CN(), V3(1, 1.25, .25), "Grey", "Slate", 0, false, false, "WedgePart")
  371. Weld(GTorso, We5, CN(-1.375, .375, 0) * CA(Pi, Pi/2, 0))
  372. We6 = Part(Model, CN(), V3(1, .75, .25), "Grey", "Slate", 0, false, false, "WedgePart")
  373. Weld(GTorso, We6, CN(-1.125, -.625, 0) * CA(Pi, Pi/2, 0))
  374.  
  375. G1 = Part(Model, CN(), V3(1, 0, .5), 313, "Grass", 0, false, false)
  376. New("BlockMesh", G1, {
  377. Scale = V3(1, .5, 1);
  378. })
  379. Weld(We1, G1, CA(-Pi/20, 0, 0) * CN(0, .05, 0))
  380. G2 = Part(Model, CN(), V3(.75, 0, .375), 313, "Grass", 0, false, false)
  381. New("BlockMesh", G2, {
  382. Scale = V3(1, .5, 1);
  383. })
  384. Weld(G1, G2, CN(.125, 0, -.4))
  385. G3 = Part(Model, CN(), V3(.75, 0, .2), 313, "Grass", 0, false, false)
  386. New("BlockMesh", G3, {
  387. Scale = V3(1, .5, 1);
  388. })
  389. Weld(G1, G3, CN(.0125, 0, -.675))
  390. G4 = Part(Model, CN(), V3(.75, 0, .4), 313, "Grass", 0, false, false)
  391. New("BlockMesh", G4, {
  392. Scale = V3(1, .5, 1);
  393. })
  394. Weld(G1, G4, CN(.0125, 0, .4))
  395. G5 = Part(Model, CN(), V3(1, 0, .2), 313, "Grass", 0, false, false)
  396. New("BlockMesh", G5, {
  397. Scale = V3(1, .5, 1);
  398. })
  399. Weld(G1, G5, CN(0, 0, .675))
  400.  
  401. G6 = Part(Model, CN(), V3(1, 0, .5), 313, "Grass", 0, false, false)
  402. New("BlockMesh", G6, {
  403. Scale = V3(1, .5, 1);
  404. })
  405. Weld(We2, G6, CA(-Pi/20, 0, 0) * CN(0, .05, .5))
  406. G7 = Part(Model, CN(), V3(.75, 0, .375), 313, "Grass", 0, false, false)
  407. New("BlockMesh", G7, {
  408. Scale = V3(1, .5, 1);
  409. })
  410. Weld(G6, G7, CN(-.125, 0, -.4))
  411. G8 = Part(Model, CN(), V3(1, 0, .3), 313, "Grass", 0, false, false)
  412. New("BlockMesh", G8, {
  413. Scale = V3(1, .5, 1);
  414. })
  415. Weld(G6, G8, CN(0, 0, -.675))
  416. G9 = Part(Model, CN(), V3(.5, 0, .215), 313, "Grass", 0, false, false)
  417. New("BlockMesh", G9, {
  418. Scale = V3(1, .5, 1);
  419. })
  420. Weld(G6, G9, CN(0, 0, -.85))
  421. G10 = Part(Model, CN(), V3(.5, 0, .215), 313, "Grass", 0, false, false)
  422. New("BlockMesh", G10, {
  423. Scale = V3(1, .5, 1);
  424. })
  425. Weld(G6, G10, CN(-.125, 0, -1.05))
  426. G11 = Part(Model, CN(), V3(.75, 0, 0), 313, "Grass", 0, false, false)
  427. New("BlockMesh", G11, {
  428. Scale = V3(1, .5, .55);
  429. })
  430. Weld(G6, G11, CN(.125, 0, -1.2125))
  431.  
  432. G12 = Part(Model, CN(), V3(0, .25, .4), 313, "Grass", 0, false, false)
  433. New("BlockMesh", G12, {
  434. Scale = V3(.4, 1, 1);
  435. })
  436. Weld(GTorso, G12, CN(-.75, 1.09, .475) * CA(0, Pi/2, 0))
  437. G13 = Part(Model, CN(), V3(0, 1, .2), 313, "Grass", 0, false, false)
  438. New("BlockMesh", G13, {
  439. Scale = V3(.4, 1, 1);
  440. })
  441. Weld(G12, G13, CN(0, -.5, 0) * CA(-Pi/30, 0, 0))
  442. G14 = Part(Model, CN(), V3(0, .25, .6), 313, "Grass", 0, false, false)
  443. New("BlockMesh", G14, {
  444. Scale = V3(.4, 1, 1);
  445. })
  446. Weld(GTorso, G14, CN(.75, 1.075, .475) * CA(0, Pi/2, 0))
  447. G15 = Part(Model, CN(), V3(0, 1.25, .0), 313, "Grass", 0, false, false)
  448. New("BlockMesh", G15, {
  449. Scale = V3(.4, 1, .75);
  450. })
  451. Weld(G14, G15, CN(0, -.725, 0) * CA(Pi/30, 0, 0))
  452. G16 = Part(Model, CN(), V3(0, .75, .0), 313, "Grass", 0, false, false)
  453. New("BlockMesh", G16, {
  454. Scale = V3(.4, 1, 1);
  455. })
  456. Weld(G14, G16, CN(0, -.2, -.25) * CA(0, 0, 0))
  457. G17 = Part(Model, CN(), V3(0, 1, 0), 313, "Grass", 0, false, false)
  458. New("BlockMesh", G17, {
  459. Scale = V3(.4, 1, .5);
  460. })
  461. Weld(GTorso, G17, CN(-.0125, .8, .475) * CA(0, Pi/2, 0))
  462. G18 = Part(Model, CN(), V3(0, .25, .75), 313, "Grass", 0, false, false)
  463. New("BlockMesh", G18, {
  464. Scale = V3(.4, 1, 1);
  465. })
  466. Weld(GTorso, G18, CN(.4, 1.11, -.475) * CA(0, Pi/2, 0))
  467. G19 = Part(Model, CN(), V3(0, .75, .0), 313, "Grass", 0, false, false)
  468. New("BlockMesh", G19, {
  469. Scale = V3(.4, 1, 1);
  470. })
  471. Weld(G18, G19, CN(0, -.2, -.25) * CA(0, 0, 0))
  472. G20 = Part(Model, CN(), V3(0, 1, 0), 313, "Grass", 0, false, false)
  473. New("BlockMesh", G20, {
  474. Scale = V3(.4, 1, .5);
  475. })
  476. Weld(GTorso, G20, CN(.5, .7, -.475) * CA(0, Pi/2, 0))
  477. G21 = Part(Model, CN(), V3(0, .6, .3), 313, "Grass", 0, false, false)
  478. New("BlockMesh", G21, {
  479. Scale = V3(.4, 1, .5);
  480. })
  481. Weld(GTorso, G21, CN(-.7, .9, -.475) * CA(0, Pi/2, 0))
  482. for i = 1, 12 do
  483. local P = Part(Model, CN(), V3(.325, 0, .2), "Light stone grey", "Slate", 0, false, false)
  484. Weld(GTorso, P, CN(0, 0, -.50 + ( i / 1000 )) * CA(Pi/2, 0, 0) * CA(0, Pi * 2 / 12 * i, 0) * CN(0, 0, -.5))
  485. local P0 = Part(Model, CN(), V3(.32, 0, .3), Low, "Neon", 0, false, false)
  486. Weld(GTorso, P0, CN(0, 0, -.49 + ( i / 1000 )) * CA(Pi/2, 0, 0) * CA(0, Pi * 2 / 12 * i, 0) * CN(0, 0, -.5))
  487. table.insert(GlowParts, P0)
  488. end
  489.  
  490. GHead = Part(Model, CN(), V3(1.25, 1.25, 1.25), "Grey", "Slate", 0, false, false)
  491. GNeck = Weld(GTorso, GHead, CN(0, 1.125, 0) * CA(0, 0, 0), CN(0, -1.125, 0))
  492.  
  493. BH = Part(Model, CN(), V3(1, 0, 1), Low, "Neon", 0, false, false)
  494. Weld(GHead, BH, CN(0, -.62, 0) * CA(0, 0, 0))
  495. table.insert(GlowParts, BH)
  496.  
  497. GLowerT = Part(Model, CN(), V3(1.5, 1, 1), "Grey", "Slate", 0, false, false)
  498. GLowerTW = Weld(GTorso, GLowerT, CN(0, -.9, 0) * CA(0, 0, 0), CN(0, .9, 0))
  499.  
  500. BH2 = Part(Model, CN(), V3(1.75, 0, .75), Low, "Neon", 0, false, false)
  501. Weld(GTorso, BH2, CN(0, -.995, 0) * CA(0, 0, 0))
  502. table.insert(GlowParts, BH2)
  503. BH3 = Part(Model, CN(), V3(1.75, 0, .75), Low, "Neon", 0, false, false)
  504. Weld(GLowerT, BH3, CN(0, .495, 0) * CA(0, 0, 0))
  505. table.insert(GlowParts, BH3)
  506. BH4 = Part(Model, CN(), V3(1.25, 0, .75), Low, "Neon", 0, false, false)
  507. Weld(GLowerT, BH4, CN(0, - .495, 0) * CA(0, 0, 0))
  508. table.insert(GlowParts, BH4)
  509. We7 = Part(Model, CN(), V3(1, 1, .25), "Grey", "Slate", 0, false, false, "WedgePart")
  510. Weld(GLowerT, We7, CN(.875, 0, 0) * CA(Pi, -Pi/2, 0))
  511. We8 = Part(Model, CN(), V3(1, 1, .25), "Grey", "Slate", 0, false, false, "WedgePart")
  512. Weld(GLowerT, We8, CN(-.875, 0, 0) * CA(Pi, Pi/2, 0))
  513.  
  514. GLeftLegB = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  515. GLeftLegBW = Weld(GLowerT, GLeftLegB, CN(-.3, -.4, 0) * CA(0, 0, 0), CN(.3, .4, 0))
  516. GLeftLegP1 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  517. GLeftLegP1W = Weld(GLeftLegB, GLeftLegP1, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  518.  
  519. GLeftLegP2 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  520. GLeftLegP2W = Weld(GLeftLegP1, GLeftLegP2, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  521.  
  522. GLeftLegP3 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  523. GLeftLegP3W = Weld(GLeftLegP2, GLeftLegP3, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  524.  
  525. GLeftLegP4 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  526. GLeftLegP4W = Weld(GLeftLegP3, GLeftLegP4, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  527.  
  528. GLeftFoot = Part(Model, CN(), V3(1, .5, .75), "Grey", "Slate", 0, false, false)
  529. GLeftFootW = Weld(GLeftLegP4, GLeftFoot, CN(0, -.3, -.0625) * CA(0, 0, 0), CN(0, .3, .0625))
  530.  
  531. GRightLegB = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  532. GRightLegBW = Weld(GLowerT, GRightLegB, CN(.3, -.4, 0) * CA(0, 0, 0), CN(-.3, .4, 0))
  533. GRightLegP1 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  534. GRightLegP1W = Weld(GRightLegB, GRightLegP1, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  535.  
  536. GRightLegP2 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  537. GRightLegP2W = Weld(GRightLegP1, GRightLegP2, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  538.  
  539. GRightLegP3 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  540. GRightLegP3W = Weld(GRightLegP2, GRightLegP3, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  541.  
  542. GRightLegP4 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  543. GRightLegP4W = Weld(GRightLegP3, GRightLegP4, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  544.  
  545. GRightFoot = Part(Model, CN(), V3(1, .5, .75), "Grey", "Slate", 0, false, false)
  546. GRightFootW = Weld(GRightLegP4, GRightFoot, CN(0, -.3, -.0625) * CA(0, 0, 0), CN(0, .3, .0625))
  547.  
  548.  
  549. GLeftArmB = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  550. GLeftArmBW = Weld(GTorso, GLeftArmB, CN(-1, .25, 0) * CA(0, 0, 0), CN(1, -.25, 0))
  551. GLeftArmP1 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  552. GLeftArmP1W = Weld(GLeftArmB, GLeftArmP1, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  553.  
  554. GLeftArmP2 = Part(Model, CN(), V3(1, .25, .5), "Grey", "Slate", 0, false, false)
  555. GLeftArmP2W = Weld(GLeftArmP1, GLeftArmP2, CN(0, -.225, 0) * CA(0, 0, 0), CN(0, .225, 0))
  556. GLeftArmPA = Part(Model, CN(), V3(.75, 0, .5), "Grey", "Slate", 0, false, false)
  557. Weld(GLeftArmP2, GLeftArmPA, CN(.125, -.225, 0) * CA(0, 0, 0))
  558.  
  559. GRightArmB = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  560. GRightArmBW = Weld(GTorso, GRightArmB, CN(1, .25, 0) * CA(0, 0, 0), CN(-1, -.25, 0))
  561. GRightArmP1 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  562. GRightArmP1W = Weld(GRightArmB, GRightArmP1, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  563.  
  564. GRightArmP2 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  565. GRightArmP2W = Weld(GRightArmP1, GRightArmP2, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  566.  
  567. GRightArmP3 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  568. GRightArmP3W = Weld(GRightArmP2, GRightArmP3, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  569.  
  570. GRightArmP4 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  571. GRightArmP4W = Weld(GRightArmP3, GRightArmP4, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  572.  
  573. GRightArmP5 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  574. GRightArmP5W = Weld(GRightArmP4, GRightArmP5, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  575.  
  576. GRightArmP6 = Part(Model, CN(), V3(1, .5, .5), "Grey", "Slate", 0, false, false)
  577. GRightArmP6W = Weld(GRightArmP5, GRightArmP6, CN(0, -.3, 0) * CA(0, 0, 0), CN(0, .3, 0))
  578.  
  579. GRightHand = Part(Model, CN(), V3(1, 1.25, .5), "Grey", "Slate", 0, false, false)
  580. GRightHandW = Weld(GRightArmP6, GRightHand, CN(0, -.5, 0) * CA(0, 0, 0), CN(0, .5, 0))
  581.  
  582. GThumb = Part(Model, CN(), V3(.3, .75, .3), "Grey", "Slate", 0, false, false)
  583. GThumbW = Weld(GRightHand, GThumb, CN(-.3, .125, 0) * CA(0, 0, 0), CN(.3, -.125, 0))
  584.  
  585. --
  586.  
  587. RS = Weld(Torso, RA, C0.RS, C1.RS)
  588. LS = Weld(Torso, LA, C0.LS, C1.LS)
  589. TW = Weld(HRP, Torso, C0.TW, C1.TW)
  590. NK = Weld(Torso, Head, C0.NK, C1.NK)
  591. LH = Weld(Torso, LL, C0.LH, C1.LH)
  592. RH = Weld(Torso, RL, C0.RH, C1.RH)
  593.  
  594. function SetDesired(Table)
  595. --[[Desired.RS = Table.RS
  596. Desired.LS = Table.LS
  597. Desired.NK = Table.NK
  598. Desired.TW = Table.TW
  599. Desired.RH = Table.RH
  600. Desired.LH = Table.LH]]
  601.  
  602. Desired.GTorso = Table.GTorso
  603. Desired.GNeck = Table.GNeck
  604. Desired.GLowerT = Table.GLowerT
  605.  
  606. Desired.GLeftLegB = Table.GLeftLegB
  607. Desired.GLeftLegP1 = Table.GLeftLegP1
  608. Desired.GLeftLegP2 = Table.GLeftLegP2
  609. Desired.GLeftLegP3 = Table.GLeftLegP3
  610. Desired.GLeftLegP4 = Table.GLeftLegP4
  611. Desired.GLeftFoot = Table.GLeftFoot
  612.  
  613. Desired.GRightLegB = Table.GRightLegB
  614. Desired.GRightLegP1 = Table.GRightLegP1
  615. Desired.GRightLegP2 = Table.GRightLegP2
  616. Desired.GRightLegP3 = Table.GRightLegP3
  617. Desired.GRightLegP4 = Table.GRightLegP4
  618. Desired.GRightFoot = Table.GRightFoot
  619.  
  620. Desired.GLeftArmB = Table.GLeftArmB
  621. Desired.GLeftArmP1 = Table.GLeftArmP1
  622. Desired.GLeftArmP2 = Table.GLeftArmP2
  623.  
  624. Desired.GRightArmB = Table.GRightArmB
  625. Desired.GRightArmP1 = Table.GRightArmP1
  626. Desired.GRightArmP2 = Table.GRightArmP2
  627. Desired.GRightArmP3 = Table.GRightArmP3
  628. Desired.GRightArmP4 = Table.GRightArmP4
  629. Desired.GRightArmP5 = Table.GRightArmP5
  630. Desired.GRightArmP6 = Table.GRightArmP6
  631. Desired.GRightHand = Table.GRightHand
  632.  
  633. end
  634.  
  635. game:service("RunService").Stepped:connect(function()
  636.  
  637. if Keysdown[Enum.KeyCode.LeftShift] then
  638. Run = true
  639. else
  640. Run = false
  641. end
  642.  
  643. Count = (Count % CountTime) + CountSpeed
  644. Angle = Pi * Sin((Pi * 2) / CountTime * Count)
  645.  
  646. local Movement = HRP.Velocity
  647. local XZ = V3(Movement.X, 0, Movement.Z).magnitude
  648. local IsWalking = XZ > 2
  649. local Y = Movement.Y
  650. local Falling = Y > -25
  651. local Jump = Y > 0
  652. local PlatformCheck = Raycast(HRP.Position, V3(0, -6, 0), Character:children() )
  653.  
  654. if not Action then
  655. local Swing = Rad(HRP.RotVelocity.Y) * 1
  656.  
  657. if IsWalking and not Run and PlatformCheck then
  658.  
  659. Humanoid.WalkSpeed = 4
  660.  
  661. CountTime = 200
  662. CountSpeed = 2
  663. Speed = .05
  664. SetDesired({
  665. -- LS = C0.LS * CA(0, 0, 0) * CN(0, 0, 0) * CA(-Angle * .2, Angle * .075, 0),
  666. -- RS = C0.RS * CA(0, 0, 0) * CN(0, 0, 0) * CA(Angle * .2, Angle * .075, 0),
  667. -- LH = C0.LH * CA(-Pi/20 + Angle * .2, 0, 0) * CN(0, 0, -Angle * .075),
  668. -- RH = C0.RH * CA(-Pi/20 - Angle * .2, 0, 0) * CN(0, 0, Angle * .075),
  669. -- NK = C0.NK * CA(0, -Angle * .0125, 0),
  670. -- TW = C0.TW * CN(0, -.075 + Abs(Angle * .075), 0) * CA(0, Angle * .0125, 0),
  671.  
  672. GTorso = CN(0, 1.4, 0) * CA (-Pi/40 - Abs(Angle * .05), Angle * .05, 0),
  673. GNeck = CN(0, .75 + Abs(Angle * .2), -.3) * CA(Pi/40 + Abs(Angle * .05), 0, 0),
  674. GLowerT = CN(0, -.9 - Abs(Angle * .1), 0) * CA(0, -Angle * .05, 0),
  675.  
  676. GLeftLegB = CN(-.3, -.4 + math.max(Abs(Angle * .4), .4) - .8, 0) * CA(Pi/10 + math.min(math.max(Angle * .3, -.5), .6), 0, 0),
  677. GLeftLegP1 = CN(0, -.3, 0),
  678. GLeftLegP2 = CN(0, -.3, 0) * CA(-Abs(Angle * .2), 0, 0),
  679. GLeftLegP3 = CN(0, -.3, 0),
  680. GLeftLegP4 = CN(0, -.3, 0),
  681. GLeftFoot = CN(0, -.3, -.0625) * CA(Pi/10 - math.min(math.max(Angle * .3, -.3), .5), 0, 0),
  682.  
  683. GRightLegB = CN(.3, -.4 - math.min(-Abs(Angle * .4), -.4) - .8, 0) * CA(Pi/10 - math.min(math.max(Angle * .3, -.5), .6), 0, 0),
  684. GRightLegP1 = CN(0, -.3, 0),
  685. GRightLegP2 = CN(0, -.3, 0) * CA(-Abs(Angle * .2), 0, 0),
  686. GRightLegP3 = CN(0, -.3, 0),
  687. GRightLegP4 = CN(0, -.3, 0),
  688. GRightFoot = CN(0, -.3, -.0625) * CA(Pi/10 + math.min(math.max(Angle * .3, -.5), .6), 0, 0),
  689.  
  690. GLeftArmB = CN(-1, .25, 0) * CA(-Angle * .2, 0, 0),
  691. GLeftArmP1 = CN(0, -.3, 0),
  692. GLeftArmP2 = CN(0, -.225, 0),
  693.  
  694. GRightArmB = CN(1, .25, 0) * CA(Angle * .2, 0, 0),
  695. GRightArmP1 = CN(0, -.3, 0),
  696. GRightArmP2 = CN(0, -.3, 0) * CA(Abs(Angle * .1), 0, 0),
  697. GRightArmP3 = CN(0, -.3, 0),
  698. GRightArmP4 = CN(0, -.3, 0) * CA(Abs(Angle * .025), 0, 0),
  699. GRightArmP5 = CN(0, -.3, 0),
  700. GRightArmP6 = CN(0, -.3, 0),
  701. GRightHand = CN(0, -.5, 0) * CA(Abs(Angle * .025), 0, 0),
  702.  
  703. })
  704.  
  705. elseif IsWalking and Run and PlatformCheck then
  706.  
  707. Humanoid.WalkSpeed = 10
  708.  
  709. CountTime = 40
  710. CountSpeed = 1.125
  711. Speed = .2
  712. SetDesired({
  713. -- LS = C0.LS * CA(0, 0, 0) * CN(0, 0, 0) * CA(-Angle * .2, Angle * .075, 0),
  714. -- RS = C0.RS * CA(0, 0, 0) * CN(0, 0, 0) * CA(Angle * .2, Angle * .075, 0),
  715. -- LH = C0.LH * CA(-Pi/20 + Angle * .2, 0, 0) * CN(0, 0, -Angle * .075),
  716. -- RH = C0.RH * CA(-Pi/20 - Angle * .2, 0, 0) * CN(0, 0, Angle * .075),
  717. -- NK = C0.NK * CA(0, -Angle * .0125, 0),
  718. -- TW = C0.TW * CN(0, -.075 + Abs(Angle * .075), 0) * CA(0, Angle * .0125, 0),
  719.  
  720. GTorso = CN(0, 1.4, 0) * CA (0, 0, 0),
  721. GNeck = CN(0, 1.125, 0),
  722. GLowerT = CN(0, -.9, 0),
  723.  
  724. GLeftLegB = CN(-.3, -.4, 0),
  725. GLeftLegP1 = CN(0, -.3, 0),
  726. GLeftLegP2 = CN(0, -.3, 0),
  727. GLeftLegP3 = CN(0, -.3, 0),
  728. GLeftLegP4 = CN(0, -.3, 0),
  729. GLeftFoot = CN(0, -.3, -.0625),
  730.  
  731. GRightLegB = CN(.3, -.4, 0),
  732. GRightLegP1 = CN(0, -.3, 0),
  733. GRightLegP2 = CN(0, -.3, 0),
  734. GRightLegP3 = CN(0, -.3, 0),
  735. GRightLegP4 = CN(0, -.3, 0),
  736. GRightFoot = CN(0, -.3, -.0625),
  737.  
  738. GLeftArmB = CN(-1, .25, 0),
  739. GLeftArmP1 = CN(0, -.3, 0),
  740. GLeftArmP2 = CN(0, -.225, 0),
  741.  
  742. GRightArmB = CN(1, .25, 0),
  743. GRightArmP1 = CN(0, -.3, 0),
  744. GRightArmP2 = CN(0, -.3, 0),
  745. GRightArmP3 = CN(0, -.3, 0),
  746. GRightArmP4 = CN(0, -.3, 0),
  747. GRightArmP5 = CN(0, -.3, 0),
  748. GRightArmP6 = CN(0, -.3, 0),
  749. GRightHand = CN(0, -.5, 0),
  750.  
  751. })
  752.  
  753. elseif not IsWalking and PlatformCheck then
  754.  
  755. CountTime = 200
  756. CountSpeed = 1
  757. Speed = .1
  758. SetDesired({
  759. -- LS = C0.LS * CA(0, 0, 0) * CN(0, 0, 0) * CA(-Angle * .2, Angle * .075, 0),
  760. -- RS = C0.RS * CA(0, 0, 0) * CN(0, 0, 0) * CA(Angle * .2, Angle * .075, 0),
  761. -- LH = C0.LH * CA(-Pi/20 + Angle * .2, 0, 0) * CN(0, 0, -Angle * .075),
  762. -- RH = C0.RH * CA(-Pi/20 - Angle * .2, 0, 0) * CN(0, 0, Angle * .075),
  763. -- NK = C0.NK * CA(0, -Angle * .0125, 0),
  764. -- TW = C0.TW * CN(0, -.075 + Abs(Angle * .075), 0) * CA(0, Angle * .0125, 0),
  765.  
  766. GTorso = CN(0, 1.4 + (Angle * .01), 0) * CA (0, 0, 0),
  767. GNeck = CN(0, 1.125 + (Angle * .005), 0),
  768. GLowerT = CN(0, -.9 - (Angle * .01), 0),
  769.  
  770. GLeftLegB = CN(-.3, -.4, 0),
  771. GLeftLegP1 = CN(0, -.3, 0),
  772. GLeftLegP2 = CN(0, -.3, 0),
  773. GLeftLegP3 = CN(0, -.3, 0),
  774. GLeftLegP4 = CN(0, -.3, 0),
  775. GLeftFoot = CN(0, -.3, -.0625),
  776.  
  777. GRightLegB = CN(.3, -.4, 0),
  778. GRightLegP1 = CN(0, -.3, 0),
  779. GRightLegP2 = CN(0, -.3, 0),
  780. GRightLegP3 = CN(0, -.3, 0),
  781. GRightLegP4 = CN(0, -.3, 0),
  782. GRightFoot = CN(0, -.3, -.0625),
  783.  
  784. GLeftArmB = CN(-1, .25 - (Angle * .005), 0),
  785. GLeftArmP1 = CN(0, -.3, 0),
  786. GLeftArmP2 = CN(0, -.225, 0),
  787.  
  788. GRightArmB = CN(1, .25 - (Angle * .005), 0),
  789. GRightArmP1 = CN(0, -.3, 0),
  790. GRightArmP2 = CN(0, -.3, 0),
  791. GRightArmP3 = CN(0, -.3, 0),
  792. GRightArmP4 = CN(0, -.3, 0),
  793. GRightArmP5 = CN(0, -.3, 0),
  794. GRightArmP6 = CN(0, -.3, 0),
  795. GRightHand = CN(0, -.5, 0),
  796.  
  797. })
  798.  
  799. elseif not PlatformCheck and Jump then
  800.  
  801. CountTime = 40
  802. CountSpeed = 1
  803. Speed = .2
  804. SetDesired({
  805. -- LS = C0.LS * CA(0, 0, 0) * CN(0, 0, 0) * CA(-Angle * .2, Angle * .075, 0),
  806. -- RS = C0.RS * CA(0, 0, 0) * CN(0, 0, 0) * CA(Angle * .2, Angle * .075, 0),
  807. -- LH = C0.LH * CA(-Pi/20 + Angle * .2, 0, 0) * CN(0, 0, -Angle * .075),
  808. -- RH = C0.RH * CA(-Pi/20 - Angle * .2, 0, 0) * CN(0, 0, Angle * .075),
  809. -- NK = C0.NK * CA(0, -Angle * .0125, 0),
  810. -- TW = C0.TW * CN(0, -.075 + Abs(Angle * .075), 0) * CA(0, Angle * .0125, 0),
  811.  
  812. GTorso = CN(0, 1.4, 0) * CA (0, 0, 0),
  813. GNeck = CN(0, 1.125, 0),
  814. GLowerT = CN(0, -.9, 0),
  815.  
  816. GLeftLegB = CN(-.3, -.4, 0),
  817. GLeftLegP1 = CN(0, -.3, 0),
  818. GLeftLegP2 = CN(0, -.3, 0),
  819. GLeftLegP3 = CN(0, -.3, 0),
  820. GLeftLegP4 = CN(0, -.3, 0),
  821. GLeftFoot = CN(0, -.3, -.0625),
  822.  
  823. GRightLegB = CN(.3, -.4, 0),
  824. GRightLegP1 = CN(0, -.3, 0),
  825. GRightLegP2 = CN(0, -.3, 0),
  826. GRightLegP3 = CN(0, -.3, 0),
  827. GRightLegP4 = CN(0, -.3, 0),
  828. GRightFoot = CN(0, -.3, -.0625),
  829.  
  830. GLeftArmB = CN(-1, .25, 0),
  831. GLeftArmP1 = CN(0, -.3, 0),
  832. GLeftArmP2 = CN(0, -.225, 0),
  833.  
  834. GRightArmB = CN(1, .25, 0),
  835. GRightArmP1 = CN(0, -.3, 0),
  836. GRightArmP2 = CN(0, -.3, 0),
  837. GRightArmP3 = CN(0, -.3, 0),
  838. GRightArmP4 = CN(0, -.3, 0),
  839. GRightArmP5 = CN(0, -.3, 0),
  840. GRightArmP6 = CN(0, -.3, 0),
  841. GRightHand = CN(0, -.5, 0),
  842.  
  843. })
  844.  
  845. elseif not PlatformCheck and Falling then
  846.  
  847. CountTime = 40
  848. CountSpeed = 1
  849. Speed = .2
  850. SetDesired({
  851. -- LS = C0.LS * CA(0, 0, 0) * CN(0, 0, 0) * CA(-Angle * .2, Angle * .075, 0),
  852. -- RS = C0.RS * CA(0, 0, 0) * CN(0, 0, 0) * CA(Angle * .2, Angle * .075, 0),
  853. -- LH = C0.LH * CA(-Pi/20 + Angle * .2, 0, 0) * CN(0, 0, -Angle * .075),
  854. -- RH = C0.RH * CA(-Pi/20 - Angle * .2, 0, 0) * CN(0, 0, Angle * .075),
  855. -- NK = C0.NK * CA(0, -Angle * .0125, 0),
  856. -- TW = C0.TW * CN(0, -.075 + Abs(Angle * .075), 0) * CA(0, Angle * .0125, 0),
  857.  
  858. GTorso = CN(0, 1.4, 0) * CA (0, 0, 0),
  859. GNeck = CN(0, 1.125, 0),
  860. GLowerT = CN(0, -.9, 0),
  861.  
  862. GLeftLegB = CN(-.3, -.4, 0),
  863. GLeftLegP1 = CN(0, -.3, 0),
  864. GLeftLegP2 = CN(0, -.3, 0),
  865. GLeftLegP3 = CN(0, -.3, 0),
  866. GLeftLegP4 = CN(0, -.3, 0),
  867. GLeftFoot = CN(0, -.3, -.0625),
  868.  
  869. GRightLegB = CN(.3, -.4, 0),
  870. GRightLegP1 = CN(0, -.3, 0),
  871. GRightLegP2 = CN(0, -.3, 0),
  872. GRightLegP3 = CN(0, -.3, 0),
  873. GRightLegP4 = CN(0, -.3, 0),
  874. GRightFoot = CN(0, -.3, -.0625),
  875.  
  876. GLeftArmB = CN(-1, .25, 0),
  877. GLeftArmP1 = CN(0, -.3, 0),
  878. GLeftArmP2 = CN(0, -.225, 0),
  879.  
  880. GRightArmB = CN(1, .25, 0),
  881. GRightArmP1 = CN(0, -.3, 0),
  882. GRightArmP2 = CN(0, -.3, 0),
  883. GRightArmP3 = CN(0, -.3, 0),
  884. GRightArmP4 = CN(0, -.3, 0),
  885. GRightArmP5 = CN(0, -.3, 0),
  886. GRightArmP6 = CN(0, -.3, 0),
  887. GRightHand = CN(0, -.5, 0),
  888.  
  889. })
  890.  
  891. end
  892. end
  893.  
  894. RS.C0 = RS.C0:lerp(Desired.RS, Speed)
  895. LS.C0 = LS.C0:lerp(Desired.LS, Speed)
  896. NK.C0 = NK.C0:lerp(Desired.NK, Speed)
  897. TW.C0 = TW.C0:lerp(Desired.TW, Speed)
  898. RH.C0 = RH.C0:lerp(Desired.RH, Speed)
  899. LH.C0 = LH.C0:lerp(Desired.LH, Speed)
  900.  
  901. GTorsoW.C0 = GTorsoW.C0:lerp(Desired.GTorso, Speed)
  902. GNeck.C0 = GNeck.C0:lerp(Desired.GNeck, Speed)
  903. GLowerTW.C0 = GLowerTW.C0:lerp(Desired.GLowerT, Speed)
  904.  
  905. GLeftLegBW.C0 = GLeftLegBW.C0:lerp(Desired.GLeftLegB, Speed)
  906. GLeftLegP1W.C0 = GLeftLegP1W.C0:lerp(Desired.GLeftLegP1, Speed)
  907. GLeftLegP2W.C0 = GLeftLegP2W.C0:lerp(Desired.GLeftLegP2, Speed)
  908. GLeftLegP3W.C0 = GLeftLegP3W.C0:lerp(Desired.GLeftLegP3, Speed)
  909. GLeftLegP4W.C0 = GLeftLegP4W.C0:lerp(Desired.GLeftLegP4, Speed)
  910. GLeftFootW.C0 = GLeftFootW.C0:lerp(Desired.GLeftFoot, Speed)
  911.  
  912. GRightLegBW.C0 = GRightLegBW.C0:lerp(Desired.GRightLegB, Speed)
  913. GRightLegP1W.C0 = GRightLegP1W.C0:lerp(Desired.GRightLegP1, Speed)
  914. GRightLegP2W.C0 = GRightLegP2W.C0:lerp(Desired.GRightLegP2, Speed)
  915. GRightLegP3W.C0 = GRightLegP3W.C0:lerp(Desired.GRightLegP3, Speed)
  916. GRightLegP4W.C0 = GRightLegP4W.C0:lerp(Desired.GRightLegP4, Speed)
  917. GRightFootW.C0 = GRightFootW.C0:lerp(Desired.GRightFoot, Speed)
  918.  
  919. GLeftArmBW.C0 = GLeftArmBW.C0:lerp(Desired.GLeftArmB, Speed)
  920. GLeftArmP1W.C0 = GLeftArmP1W.C0:lerp(Desired.GLeftArmP1, Speed)
  921. GLeftArmP2W.C0 = GLeftArmP2W.C0:lerp(Desired.GLeftArmP2, Speed)
  922.  
  923. GRightArmBW.C0 = GRightArmBW.C0:lerp(Desired.GRightArmB, Speed)
  924. GRightArmP1W.C0 = GRightArmP1W.C0:lerp(Desired.GRightArmP1, Speed)
  925. GRightArmP2W.C0 = GRightArmP2W.C0:lerp(Desired.GRightArmP2, Speed)
  926. GRightArmP3W.C0 = GRightArmP3W.C0:lerp(Desired.GRightArmP3, Speed)
  927. GRightArmP4W.C0 = GRightArmP4W.C0:lerp(Desired.GRightArmP4, Speed)
  928. GRightArmP5W.C0 = GRightArmP5W.C0:lerp(Desired.GRightArmP5, Speed)
  929. GRightArmP6W.C0 = GRightArmP6W.C0:lerp(Desired.GRightArmP6, Speed)
  930. GRightHandW.C0 = GRightHandW.C0:lerp(Desired.GRightHand, Speed)
  931.  
  932. end)
  933.  
  934. InputService.InputBegan:connect(function(Input)
  935.  
  936. if Input.UserInputType == Enum.UserInputType.Keyboard then
  937.  
  938. local Key = Input.KeyCode
  939. Keysdown[Key] = true
  940.  
  941. end
  942.  
  943. end)
  944. InputService.InputEnded:connect(function(Input)
  945.  
  946. if Input.UserInputType == Enum.UserInputType.Keyboard then
  947.  
  948. local Key = Input.KeyCode
  949. Keysdown[Key] = false
  950.  
  951. end
  952.  
  953. end)
  954. workspace.h6IIow.Humanoid.MaxHealth=1000
  955. workspace.h6IIow.Humanoid.Health=102000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement