Advertisement
Synpase_X

Sk8r shooter

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