Advertisement
Synpase_X

Gnome

Dec 13th, 2021 (edited)
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.01 KB | None | 0 0
  1. --[[
  2.  
  3. Hats Required (Free)
  4.  
  5. idk
  6.  
  7. ]]--
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16. sethiddenproperty(game.Players.LocalPlayer,"MaximumSimulationRadius",math.huge)
  17. sethiddenproperty(game.Players.LocalPlayer,"SimulationRadius",1.0000000331814e+32)
  18.  
  19. for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
  20. if v:IsA("BasePart") then--and v.Name ~="HumanoidRootPart" then
  21. game:GetService("RunService").Heartbeat:connect(function()
  22. v.Velocity = Vector3.new(0,-25.05,0)
  23. wait(0.5)
  24. end)
  25. end
  26. end
  27.  
  28. local char = workspace[game.Players.LocalPlayer.Name]
  29. char.Archivable = true
  30.  
  31. local fakechar = char:Clone()
  32. fakechar.Name = 'clone'
  33. fakechar.Parent = char
  34. fakechar.Head.face.Transparency = 1
  35. workspace.CurrentCamera.CameraSubject = fakechar
  36. char.Torso.Anchored = true
  37.  
  38. local connections = {}
  39.  
  40. function create(part, parent, p, r)
  41. part.AccessoryWeld:Remove()
  42. Instance.new("Attachment",part)
  43. Instance.new("AlignPosition",part)
  44. Instance.new("AlignOrientation",part)
  45. Instance.new("Attachment",parent)
  46. part.AlignPosition.Attachment0 = part.Attachment
  47. part.AlignOrientation.Attachment0 = part.Attachment
  48. part.AlignPosition.Attachment1 = parent.Attachment
  49. part.AlignOrientation.Attachment1 = parent.Attachment
  50. part.Attachment.Position = p
  51. part.Attachment.Orientation = r
  52. part.AlignPosition.MaxForce = 999999999
  53. part.AlignPosition.MaxVelocity = math.huge
  54. part.AlignPosition.ReactionForceEnabled = false
  55. part.AlignPosition.Responsiveness = math.huge
  56. part.AlignOrientation.Responsiveness = 200
  57. part.AlignPosition.RigidityEnabled = false
  58. part.AlignOrientation.MaxTorque = 999999999
  59. end
  60.  
  61. local hats = {
  62. Torso = char:FindFirstChild('Hat1').Handle,
  63. Torso1 = char:FindFirstChild('BONK').Handle,
  64. LeftArm = char:FindFirstChild('Pink Hair').Handle,
  65. RightArm = char:FindFirstChild('Pal Hair').Handle,
  66. LeftLeg = char:FindFirstChild('Kate Hair').Handle,
  67. RightLeg = char:FindFirstChild('LavanderHair').Handle,
  68. }
  69.  
  70. function rmesh(HatName)
  71. for _,mesh in next, workspace[game.Players.LocalPlayer.Name][HatName]:GetDescendants() do
  72. if mesh:IsA("Mesh") or mesh:IsA("SpecialMesh") then
  73. mesh:Remove()
  74. end
  75. end
  76. end
  77.  
  78. table.insert(connections, game:GetService('RunService').Stepped:Connect(function()
  79. fakechar.Torso.CanCollide = false
  80. fakechar.Head.CanCollide = false
  81. end))
  82.  
  83.  
  84. create(hats.Torso, fakechar['Torso'], Vector3.new(9090,0,0), Vector3.new(90000000,-900000,-900000))
  85. create(hats.Torso1, fakechar['Torso'], Vector3.new(0.3,0.1,0), Vector3.new(0,0,0))
  86. create(hats.LeftArm, fakechar['Left Arm'], Vector3.new(999,999,999), Vector3.new(9999,0,0))
  87. create(hats.RightArm, fakechar['Right Arm'], Vector3.new(999,999,999), Vector3.new(99990,0,0))
  88. create(hats.LeftLeg, fakechar['Left Leg'], Vector3.new(), Vector3.new(90,0,0))
  89. create(hats.RightLeg, fakechar['Right Leg'], Vector3.new(), Vector3.new(90,0,0))
  90.  
  91. rmesh('Hat1')
  92. rmesh('Robloxclassicred')
  93. rmesh('Pink Hair')
  94. rmesh('Pal Hair')
  95. rmesh('Kate Hair')
  96. rmesh('LavanderHair')
  97.  
  98. local kill = false
  99.  
  100. for i,v in next, fakechar:GetDescendants() do
  101. if v:IsA("BasePart") then
  102. v.Transparency = 1
  103. end
  104. end
  105.  
  106. fakechar.Humanoid.Died:Connect(function()
  107. game.Players.LocalPlayer.Character = char
  108. char:BreakJoints()
  109. fakechar:Destroy()
  110. kill = true
  111.  
  112. for _,v in pairs(connections) do v:Disconnect() end
  113. end)
  114. char.Humanoid.Died:Connect(function()
  115. game.Players.LocalPlayer.Character = char
  116. char:BreakJoints()
  117. fakechar:Destroy()
  118. kill = true
  119.  
  120. for _,v in pairs(connections) do v:Disconnect() end
  121. end)
  122.  
  123. game.Players.LocalPlayer.Character = fakechar
  124.  
  125. local Player=game.Players.LocalPlayer local Character=fakechar local hum = Character.Humanoid local LeftArm=Character["Left Arm"] local LeftLeg=Character["Left Leg"] local RightArm=Character["Right Arm"] local RightLeg=Character["Right Leg"] local Root=Character["HumanoidRootPart"] local Head=Character["Head"] local Torso=Character["Torso"] local Neck=Torso["Neck"] local mouse = Player:GetMouse() local position = nil local sine = 0 local t = 0 local change = 1
  126.  
  127. local HEADLERP = Instance.new("ManualWeld")
  128. HEADLERP.Parent = Head
  129. HEADLERP.Part0 = Head
  130. HEADLERP.Part1 = Head
  131. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  132.  
  133. local TORSOLERP = Instance.new("ManualWeld")
  134. TORSOLERP.Parent = Root
  135. TORSOLERP.Part0 = Torso
  136. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  137.  
  138. local ROOTLERP = Instance.new("ManualWeld")
  139. ROOTLERP.Parent = Root
  140. ROOTLERP.Part0 = Root
  141. ROOTLERP.Part1 = Torso
  142. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  143.  
  144. local RIGHTARMLERP = Instance.new("ManualWeld")
  145. RIGHTARMLERP.Parent = RightArm
  146. RIGHTARMLERP.Part0 = RightArm
  147. RIGHTARMLERP.Part1 = Torso
  148. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  149.  
  150. local LEFTARMLERP = Instance.new("ManualWeld")
  151. LEFTARMLERP.Parent = LeftArm
  152. LEFTARMLERP.Part0 = LeftArm
  153. LEFTARMLERP.Part1 = Torso
  154. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  155.  
  156. local RIGHTLEGLERP = Instance.new("ManualWeld")
  157. RIGHTLEGLERP.Parent = RightLeg
  158. RIGHTLEGLERP.Part0 = RightLeg
  159. RIGHTLEGLERP.Part1 = Torso
  160. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  161.  
  162. local LEFTLEGLERP = Instance.new("ManualWeld")
  163. LEFTLEGLERP.Parent = LeftLeg
  164. LEFTLEGLERP.Part0 = LeftLeg
  165. LEFTLEGLERP.Part1 = Torso
  166. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  167.  
  168. function swait(num)
  169. if num == 0 or num == nil then
  170. game:service("RunService").Stepped:wait(0)
  171. else
  172. for i = 0, num do
  173. game:service("RunService").Stepped:wait(0)
  174. end
  175. end
  176. end
  177.  
  178. m = game.Players.LocalPlayer:GetMouse()
  179.  
  180. venttoggle = false
  181. vented = false
  182. mode2 = false
  183. attack = false
  184. modetoggle = false
  185. dead = false
  186. dtoggle = false
  187. sittoggle = false
  188. sit = false
  189.  
  190. m.Button1Down:connect(function()
  191. if kill == false and mode2 == false and dead == false then
  192. attack = true
  193. vented = false
  194. Character.Humanoid.WalkSpeed = 0
  195. wait(0.5)
  196. Character.Humanoid.WalkSpeed = 16
  197. attack = false
  198. end
  199. end)
  200.  
  201. m.KeyDown:connect(function(k)
  202. k=k:lower()
  203. if k == 'e' then
  204. if kill == false then
  205. if venttoggle == false then
  206. modetoggle = false
  207. mode2 = false
  208. venttoggle = true
  209. vented = true
  210. Character.Humanoid.WalkSpeed = 100
  211. position = "ventidle"
  212. elseif venttoggle == true then
  213. venttoggle = false
  214. vented = false
  215. Character.Humanoid.WalkSpeed = 16
  216. end
  217. end
  218. end
  219. end)
  220.  
  221. m.KeyDown:connect(function(k)
  222. k=k:lower()
  223. if k == 'f' then
  224. if kill == false then
  225. if modetoggle == false then
  226. venttoggle = false
  227. vented = false
  228. modetoggle = true
  229. mode2 = true
  230. sittoggle = false
  231. sit = false
  232. Character.Humanoid.WalkSpeed = 60
  233. elseif modetoggle == true then
  234. modetoggle = false
  235. mode2 = false
  236. Character.Humanoid.WalkSpeed = 16
  237. end
  238. end
  239. end
  240. end)
  241.  
  242. m.KeyDown:connect(function(k)
  243. k=k:lower()
  244. if k == 'q' then
  245. if kill == false then
  246. if dtoggle == false then
  247. venttoggle = false
  248. vented = false
  249. modetoggle = false
  250. mode2 = false
  251. dtoggle = true
  252. dead = true
  253. sittoggle = false
  254. sit = false
  255. Character.Humanoid.WalkSpeed = 0
  256. elseif dtoggle == true then
  257. dtoggle = false
  258. dead = false
  259. Character.Humanoid.WalkSpeed = 16
  260. end
  261. end
  262. end
  263. end)
  264.  
  265. m.KeyDown:connect(function(k)
  266. k=k:lower()
  267. if k == 'c' then
  268. if kill == false then
  269. if sittoggle == false then
  270. venttoggle = false
  271. vented = false
  272. modetoggle = false
  273. mode2 = false
  274. dtoggle = false
  275. dead = false
  276. sittoggle = true
  277. sit = true
  278. Character.Humanoid.WalkSpeed = 0
  279. elseif sittoggle == true then
  280. sittoggle = false
  281. sit = false
  282. Character.Humanoid.WalkSpeed = 16
  283. end
  284. end
  285. end
  286. end)
  287.  
  288. coroutine.wrap(function()--poses
  289. while true do
  290. if attack == true and vented == false and mode2 == false and dead == false and sit == false then
  291. position = "attack"
  292. elseif attack == false and vented == false and mode2 == false and dead == true and sit == false then
  293. position = "dead"
  294. elseif attack == false and vented == false and mode2 == false and dead == false and sit == true then
  295. position = "sit"
  296. end
  297. wait()
  298. end
  299. end)()
  300.  
  301. --[[
  302. coroutine.wrap(function() -------Checks
  303. while true do
  304. if attack == false and vented == false and mode2 == false and dead == false and sit == true then
  305. position = "sit"
  306. end
  307. wait()
  308. end
  309. end)()
  310.  
  311.  
  312. coroutine.wrap(function() -------Checks
  313. while true do
  314. if attack == false and vented == false and mode2 == false and dead == true and sit == false then
  315. position = "dead"
  316. end
  317. wait()
  318. end
  319. end)()
  320. ]]
  321.  
  322. coroutine.wrap(function() -------Checks
  323. while true do
  324. if mode2 == true and vented == false and dead == false then
  325. if Root.Velocity.Magnitude < 2 then
  326. position = "idle2"
  327. elseif Root.Velocity.Magnitude > 20 then
  328. position = "walk2"
  329. end
  330. end
  331. wait()
  332. end
  333. end)()
  334.  
  335. coroutine.wrap(function() -------Checks
  336. while true do
  337. if vented == false and mode2 == false and attack == false and dead == false then
  338. if Root.Velocity.y > 1 then
  339. position = "jump"
  340. elseif Root.Velocity.y < -1 then
  341. position = "fall"
  342. elseif Root.Velocity.Magnitude < 2 then
  343. position = "idle"
  344. elseif Root.Velocity.Magnitude < 20 then
  345. position = "walk"
  346. elseif Root.Velocity.Magnitude > 20 then
  347. position = "run"
  348. end
  349. end
  350. wait()
  351. end
  352. end)()
  353.  
  354. coroutine.wrap(function()
  355. while true do
  356. sine = sine + change
  357. if position == "idle" then
  358. change = 1
  359. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), 0 + 0.3 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 10 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  360. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.9 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12), -0.0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(2 + 0 * math.sin(sine/12)), math.rad(2 + 0 * math.sin(sine/12)), math.rad(150 + 0 * math.sin(sine/12))),0.1)
  361. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.9 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12), -0.0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(2 + 0 * math.sin(sine/12)), math.rad(2 + 0 * math.sin(sine/12)), math.rad(150 + 0 * math.sin(sine/12))),0.1)
  362. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 2 + 0.3 * math.sin(sine/12), 0.3 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 10 * math.sin(sine/12)), math.rad(20 + 0 * math.sin(sine/12)), math.rad(-3 + 0 * math.sin(sine/12))),0.1)
  363. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 2 + 0.3 * math.sin(sine/12), 0.3 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 10 * math.sin(sine/12)), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(3 + 0 * math.sin(sine/12))),0.1)
  364. elseif position == "walk" then
  365. change = 1
  366. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), 0 + 0.3 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-10 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  367. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  368. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  369. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 2 + 0.3 * math.sin(sine/12), 0.3 + 0.3 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 30 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  370. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 2 + 0.3 * math.sin(sine/12), 0.3 + -0.3 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + -30 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  371. elseif position == "jump" then
  372. change = 1
  373. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  374. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  375. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  376. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(15 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  377. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(10 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  378. elseif position == "fall" then
  379. change = 1
  380. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  381. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  382. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  383. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(15 + 10 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(-10 + 0 * math.sin(sine/12))),0.1)
  384. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(10 + 5 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(10 + 0 * math.sin(sine/12))),0.1)
  385. elseif position == "vent" then
  386. change = 1
  387. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), 0 + -8 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  388. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  389. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  390. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 1.5 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(26.02 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  391. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 2 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  392. elseif position == "ventidle" then
  393. change = 1
  394. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), -20 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  395. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  396. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  397. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 1.5 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(26.02 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  398. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 2 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  399. elseif position == "idle2" then
  400. change = 1
  401. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/20), 3 + 0.3 * math.sin(sine/20), 0 + 0 * math.sin(sine/20)) * CFrame.Angles(math.rad(0 + 20 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20))),0.1)
  402. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  403. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  404. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/20), 1 + 0 * math.sin(sine/20), 1 + 0 * math.sin(sine/20)) * CFrame.Angles(math.rad(20 + -20 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20))),0.1)
  405. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/20), 2 + 0 * math.sin(sine/20), 0.5 + -0.5 * math.sin(sine/20)) * CFrame.Angles(math.rad(10 + -20 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20))),0.1)
  406. elseif position == "walk2" then
  407. change = 1
  408. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/20), 3 + 0.3 * math.sin(sine/20), 0 + 0 * math.sin(sine/20)) * CFrame.Angles(math.rad(-60 + 10 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20))),0.1)
  409. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  410. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  411. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/20), 2 + 0 * math.sin(sine/20), 0.3 + 0 * math.sin(sine/20)) * CFrame.Angles(math.rad(0 + -10 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20)), math.rad(-5 + 0 * math.sin(sine/20))),0.1)
  412. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/20), 1 + 0 * math.sin(sine/20), 0.5 + 0 * math.sin(sine/20)) * CFrame.Angles(math.rad(0 + -20 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20)), math.rad(5 + 0 * math.sin(sine/20))),0.1)
  413. elseif position == "attack" then
  414. change = 1
  415. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/5), 0 + 0 * math.sin(sine/5), 0 + 0 * math.sin(sine/5)) * CFrame.Angles(math.rad(30 + 0 * math.sin(sine/5)), math.rad(0 + 0 * math.sin(sine/5)), math.rad(0 + 0 * math.sin(sine/5))),0.1)
  416. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  417. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  418. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 2 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(30 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(-4 + 0 * math.sin(sine/12))),0.1)
  419. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 2 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(30 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(4 + 0 * math.sin(sine/12))),0.1)
  420. elseif position == "sit" then
  421. change = 1
  422. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/5), -1.8 + 0 * math.sin(sine/5), 0 + 0 * math.sin(sine/5)) * CFrame.Angles(math.rad(10 + 0 * math.sin(sine/5)), math.rad(0 + 0 * math.sin(sine/5)), math.rad(0 + 0 * math.sin(sine/5))),0.1)
  423. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  424. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  425. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12), -1 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-90 + 0 * math.sin(sine/12)), math.rad(10 + 0 * math.sin(sine/12)), math.rad(-4 + 0 * math.sin(sine/12))),0.1)
  426. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12), -1 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-90 + 0 * math.sin(sine/12)), math.rad(-10 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  427. elseif position == "dead" then
  428. change = 1
  429. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/5), -2.5 + 0 * math.sin(sine/5), -1 + 0 * math.sin(sine/5)) * CFrame.Angles(math.rad(-90 + 0 * math.sin(sine/5)), math.rad(0 + 0 * math.sin(sine/5)), math.rad(0 + 0 * math.sin(sine/5))),0.1)
  430. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  431. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  432. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 3 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(-4 + 0 * math.sin(sine/12))),0.1)
  433. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 3 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(4 + 0 * math.sin(sine/12))),0.1)
  434. end
  435. swait()
  436. end
  437. end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement