Void_scripter0

Russian gun

Mar 8th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.01 KB | None | 0 0
  1. ------------------------
  2.  
  3. --made by goodguyaiden--
  4. --This is America-------
  5.  
  6. ------------------------
  7.  
  8. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  9. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  10. do
  11.  
  12. script.Parent = Player.Character
  13.  
  14. --RemoteEvent for communicating
  15. local Event = Instance.new("RemoteEvent")
  16. Event.Name = "UserInput_Event"
  17.  
  18. --Fake event to make stuff like Mouse.KeyDown work
  19. local function fakeEvent()
  20. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  21. t.connect = t.Connect
  22. return t
  23. end
  24.  
  25. --Creating fake input objects with fake variables
  26. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  27. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  28. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  29. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  30. end}
  31. --Merged 2 functions into one by checking amount of arguments
  32. CAS.UnbindAction = CAS.BindAction
  33.  
  34. --This function will trigger the events that have been :Connect()'ed
  35. local function te(self,ev,...)
  36. local t = m[ev]
  37. if t and t._fakeEvent and t.Function then
  38. t.Function(...)
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=Player then return end
  46. if io.isMouse then
  47. m.Target = io.Target
  48. m.Hit = io.Hit
  49. else
  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 UIS = game:GetService("UserInputService")
  70. local input = function(io,a)
  71. if a then return end
  72. --Since InputObject is a client-side instance, we create and pass table instead
  73. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77.  
  78. local Mouse = Player:GetMouse()
  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. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  89. end
  90.  
  91.  
  92. local plr = owner
  93. local char = plr.Character
  94. local Humanoid = char.Humanoid
  95. local Backpack = plr.Backpack
  96. local ra = char["Right Arm"]
  97. local la= char["Left Arm"]
  98. local rl= char["Right Leg"]
  99. local ll = char["Left Leg"]
  100. local hed = char.Head
  101. local root = char.HumanoidRootPart
  102. local rootj = root.RootJoint
  103. local tors = char.Torso
  104. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  105. local RHCF = CFrame.fromEulerAnglesXYZ(0, 0, 0)
  106. local LHCF = CFrame.fromEulerAnglesXYZ(0, 0, 0)
  107.  
  108.  
  109.  
  110.  
  111. local bgmusic = Instance.new("Sound")
  112. bgmusic.Volume = 3.5
  113. bgmusic.SoundId = "rbxassetid://1064109642"
  114. bgmusic.Looped = true
  115. bgmusic.Parent = owner.Character.Torso
  116. bgmusic:Play()
  117.  
  118. CF = CFrame.new
  119. angles = CFrame.Angles
  120. attack = false
  121. Euler = CFrame.fromEulerAnglesXYZ
  122. Rad = math.rad
  123. IT = Instance.new
  124. BrickC = BrickColor.new
  125. Cos = math.cos
  126. Acos = math.acos
  127. Sin = math.sin
  128. Asin = math.asin
  129. Abs = math.abs
  130. Mrandom = math.random
  131. Floor = math.floor
  132. random = math.random
  133. radian = math.rad
  134. Vec3 = Vector3.new
  135. cFrame = CFrame.new
  136. Euler = CFrame.fromEulerAnglesXYZ
  137. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  138. RSH, LSH = nil, nil
  139. RW = Instance.new("Weld")
  140. LW = Instance.new("Weld")
  141. RH = tors["Right Hip"]
  142. LH = tors["Left Hip"]
  143. RSH = tors["Right Shoulder"]
  144. LSH = tors["Left Shoulder"]
  145. RSH.Parent = nil
  146. LSH.Parent = nil
  147. RW.Name = "RW"
  148. RW.Part0 = tors
  149. RW.C0 = CF(1.5, 0.5, 0)
  150. RW.C1 = CF(0, 0.5, 0)
  151. RW.Part1 = ra
  152. RW.Parent = tors
  153. LW.Name = "LW"
  154. LW.Part0 = tors
  155. LW.C0 = CF(-1.5, 0.5, 0)
  156. LW.C1 = CF(0, 0.5, 0)
  157. LW.Part1 = la
  158. LW.Parent = tors
  159. Effects = {}
  160.  
  161.  
  162. ArtificialHB = Instance.new("BindableEvent", script)
  163. ArtificialHB.Name = "Heartbeat"
  164. script:WaitForChild("Heartbeat")
  165.  
  166. frame = 1 / 60
  167. tf = 0
  168. allowframeloss = false
  169. tossremainder = false
  170.  
  171.  
  172. lastframe = tick()
  173. script.Heartbeat:Fire()
  174.  
  175.  
  176. game:GetService("RunService").Heartbeat:connect(function(s, p)
  177. tf = tf + s
  178. if tf >= frame then
  179. if allowframeloss then
  180. script.Heartbeat:Fire()
  181. lastframe = tick()
  182. else
  183. for i = 1, math.floor(tf / frame) do
  184. script.Heartbeat:Fire()
  185. end
  186. lastframe = tick()
  187. end
  188. if tossremainder then
  189. tf = 0
  190. else
  191. tf = tf - frame * math.floor(tf / frame)
  192. end
  193. end
  194. end)
  195.  
  196. local Player_Size = 1
  197.  
  198. function swait(num)
  199. if num == 0 or num == nil then
  200. game:service("RunService").Stepped:wait(0)
  201. else
  202. for i = 0, num do
  203. game:service("RunService").Stepped:wait(0)
  204. end
  205. end
  206. end
  207. function thread(f)
  208. coroutine.resume(coroutine.create(f))
  209. end
  210. function clerp(a, b, t)
  211. local qa = {
  212. QuaternionFromCFrame(a)
  213. }
  214. local qb = {
  215. QuaternionFromCFrame(b)
  216. }
  217. local ax, ay, az = a.x, a.y, a.z
  218. local bx, by, bz = b.x, b.y, b.z
  219. local _t = 1 - t
  220. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  221. end
  222. function QuaternionFromCFrame(cf)
  223. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  224. local trace = m00 + m11 + m22
  225. if trace > 0 then
  226. local s = math.sqrt(1 + trace)
  227. local recip = 0.5 / s
  228. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  229. else
  230. local i = 0
  231. if m00 < m11 then
  232. i = 1
  233. end
  234. if m22 > (i == 0 and m00 or m11) then
  235. i = 2
  236. end
  237. if i == 0 then
  238. local s = math.sqrt(m00 - m11 - m22 + 1)
  239. local recip = 0.5 / s
  240. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  241. elseif i == 1 then
  242. local s = math.sqrt(m11 - m22 - m00 + 1)
  243. local recip = 0.5 / s
  244. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  245. elseif i == 2 then
  246. local s = math.sqrt(m22 - m00 - m11 + 1)
  247. local recip = 0.5 / s
  248. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  249. end
  250. end
  251. end
  252. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  253. local xs, ys, zs = x + x, y + y, z + z
  254. local wx, wy, wz = w * xs, w * ys, w * zs
  255. local xx = x * xs
  256. local xy = x * ys
  257. local xz = x * zs
  258. local yy = y * ys
  259. local yz = y * zs
  260. local zz = z * zs
  261. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  262. end
  263. function QuaternionSlerp(a, b, t)
  264. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  265. local startInterp, finishInterp
  266. if cosTheta >= 1.0E-4 then
  267. if 1 - cosTheta > 1.0E-4 then
  268. local theta = math.acos(cosTheta)
  269. local invSinTheta = 1 / Sin(theta)
  270. startInterp = Sin((1 - t) * theta) * invSinTheta
  271. finishInterp = Sin(t * theta) * invSinTheta
  272. else
  273. startInterp = 1 - t
  274. finishInterp = t
  275. end
  276. elseif 1 + cosTheta > 1.0E-4 then
  277. local theta = math.acos(-cosTheta)
  278. local invSinTheta = 1 / Sin(theta)
  279. startInterp = Sin((t - 1) * theta) * invSinTheta
  280. finishInterp = Sin(t * theta) * invSinTheta
  281. else
  282. startInterp = t - 1
  283. finishInterp = t
  284. end
  285. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  286. end
  287. function rayCast(Position, Direction, Range, Ignore)
  288. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  289. end
  290. local RbxUtility = LoadLibrary("RbxUtility")
  291. local Create = RbxUtility.Create
  292.  
  293. sine = 1
  294.  
  295. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  296. local NEWPART = IT("Part")
  297. NEWPART.formFactor = FORMFACTOR
  298. NEWPART.Reflectance = REFLECTANCE
  299. NEWPART.Transparency = TRANSPARENCY
  300. NEWPART.CanCollide = false
  301. NEWPART.Locked = true
  302. NEWPART.Anchored = true
  303. if ANCHOR == false then
  304. NEWPART.Anchored = false
  305. end
  306. NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR))
  307. NEWPART.Name = NAME
  308. NEWPART.Size = SIZE
  309. NEWPART.Position = tors.Position
  310. NEWPART.Material = MATERIAL
  311. NEWPART:BreakJoints()
  312. NEWPART.Parent = PARENT
  313. return NEWPART
  314. end
  315.  
  316. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  317. local NEWMESH = IT(MESH)
  318. if MESH == "SpecialMesh" then
  319. NEWMESH.MeshType = MESHTYPE
  320. if MESHID ~= "nil" and MESHID ~= "" then
  321. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  322. end
  323. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  324. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  325. end
  326. end
  327. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  328. NEWMESH.Scale = SCALE
  329. NEWMESH.Parent = PARENT
  330. return NEWMESH
  331. end
  332. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  333. local NEWWELD = IT(TYPE)
  334. NEWWELD.Part0 = PART0
  335. NEWWELD.Part1 = PART1
  336. NEWWELD.C0 = C0
  337. NEWWELD.C1 = C1
  338. NEWWELD.Parent = PARENT
  339. return NEWWELD
  340. end
  341.  
  342. canuse = true
  343. local revolver = Instance.new("Part",char)
  344. revolver.CanCollide = false
  345. revolver.Name = "Revolver"
  346. local revm = Instance.new("FileMesh",revolver)
  347. revm.MeshId = "http://www.roblox.com/asset/?id=623102664"
  348. revm.TextureId = "http://www.roblox.com/asset/?id=623102879"
  349. revm.Scale = Vector3.new(0.01,0.01,0.01)
  350. local revw = Instance.new("Weld",revolver)
  351. revw.Part0 = revolver
  352. revw.Part1 = char["Right Arm"]
  353. revw.C0 = CFrame.new(-1.5,0,0) * angles(Rad(90), Rad(0), Rad(90))
  354.  
  355.  
  356. local SpeedofBullet = 150
  357.  
  358.  
  359. function shoot()
  360. attack = true
  361. for i = 0,20,1 do
  362. swait()
  363. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  364. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  365. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(90), Rad(0)), 0.15)
  366. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(-90), Rad(0)), 0.15)
  367. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(0)), 0.1)
  368. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  369.  
  370. end
  371. for i = 0,20,1 do
  372. swait()
  373. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  374. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(-30), Rad(0)), 0.3)
  375. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(90), Rad(0)), 0.15)
  376. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(-90), Rad(0)), 0.15)
  377. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0)), 0.1)
  378. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  379. end
  380. wait(0.5)
  381. local bullet = Instance.new("Part",workspace)
  382. bullet.CanCollide = false
  383. bullet.Size = Vec3(2,2,2)
  384. bullet.CFrame = revolver.CFrame
  385. bullet.Transparency = 1
  386. local vel = Instance.new("BodyVelocity",bullet)
  387. vel.Velocity = mouse.Hit.lookVector * SpeedofBullet
  388. game:GetService("Debris"):AddItem(bullet,10)
  389. a = Instance.new("Sound", tors) --aaa
  390. a.SoundId = "http://www.roblox.com/asset/?id=470245800"
  391. a.Volume = 10
  392. a.Pitch = 1
  393. a.Looped = false
  394. a.TimePosition = 0
  395. a:Play()
  396. bullet.Touched:connect(function(part)
  397. local human = part.Parent:FindFirstChildOfClass("Humanoid")
  398. if human and human.Parent.Name ~= char.Name then
  399. human.Health = 0
  400. end
  401. end)
  402. attack = false
  403. end
  404.  
  405. mouse.KeyDown:connect(function(key)
  406. if attack == false then
  407. if key == 'q' then
  408. shoot()
  409. end
  410. end
  411. end)
  412.  
  413.  
  414. while true do
  415. swait()
  416. sine = sine + 1
  417. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  418. local velderp = root.Velocity.y
  419. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  420. if 1 < root.Velocity.y and hitfloor == nil then
  421. Anim = "Jump"
  422. if attack == false then
  423. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  424. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  425. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  426. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  427. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  428. end
  429. elseif -1 > root.Velocity.y and hitfloor == nil then
  430. Anim = "Fall"
  431. if attack == false then
  432. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  433. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  434. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  435. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  436. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  437. end
  438. elseif torvel < 1 and hitfloor ~= nil then
  439. Anim = "Idle"
  440. change = 1
  441. if attack == false then
  442. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  443. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  444. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(0)), 0.15)
  445. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(8)), 0.15)
  446. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(30 + 50 * Cos(sine / 31)), Rad(0)), 0.1)
  447. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  448.  
  449. end
  450. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  451. Anim = "Walk"
  452. change = 1
  453. if attack == false then
  454. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  455. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  456. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 50 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  457. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, 0 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 50 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  458. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(0), Rad(0)), 0.1)
  459. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  460.  
  461.  
  462. end
  463. end
  464. end
Add Comment
Please, Sign In to add comment