TheYoutuber_Pro

12gdehe

Jan 9th, 2022 (edited)
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local ovcstuff = Instance.new("Folder")
  2. ovcstuff.Parent = game.Lighting
  3. ovcstuff.Name = "OVCstuff"
  4. mas = owner.Character
  5. Model0 = Instance.new("Model")
  6. Part1 = Instance.new("Part")
  7. Weld2 = Instance.new("Weld")
  8. Weld3 = Instance.new("Weld")
  9. Part4 = Instance.new("Part")
  10. SurfaceGui5 = Instance.new("SurfaceGui")
  11. Frame6 = Instance.new("Frame")
  12. Frame7 = Instance.new("Frame")
  13. Frame8 = Instance.new("Frame")
  14. Frame9 = Instance.new("Frame")
  15. UIListLayout10 = Instance.new("UIListLayout")
  16. TextBox11 = Instance.new("TextBox")
  17. TextBox12 = Instance.new("TextBox")
  18. TextBox13 = Instance.new("TextBox")
  19. TextBox14 = Instance.new("TextBox")
  20. TextBox15 = Instance.new("TextBox")
  21. TextBox16 = Instance.new("TextBox")
  22. TextBox17 = Instance.new("TextBox")
  23. Part18 = Instance.new("Part")
  24. SurfaceGui19 = Instance.new("SurfaceGui")
  25. Frame20 = Instance.new("Frame")
  26. Frame21 = Instance.new("Frame")
  27. Frame22 = Instance.new("Frame")
  28. Frame23 = Instance.new("Frame")
  29. UIListLayout24 = Instance.new("UIListLayout")
  30. TextBox25 = Instance.new("TextBox")
  31. Model0.Name = "console"
  32. Model0.Parent = mas
  33. Part1.Name = "weld"
  34. Part1.Parent = Model0
  35. Part1.CFrame = CFrame.new(-68.0230484, 13.3527136, -96.8230286, -2.98023224e-08, 1.78813934e-07, 0.999999404, -2.98023224e-08, 0.999999642, 1.78813934e-07, -0.999999046, 2.98023224e-08, 0)
  36. Part1.Orientation = Vector3.new(0, 90, 0)
  37. Part1.Position = Vector3.new(-68.023048400879, 13.3527135849, -96.823028564453)
  38. Part1.Rotation = Vector3.new(-90, 89.940002441406, -99.459999084473)
  39. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  40. Part1.Size = Vector3.new(0.73943400382996, 0.74750572443008, 0.33829751610756)
  41. Part1.BottomSurface = Enum.SurfaceType.Smooth
  42. Part1.BrickColor = BrickColor.new("Really black")
  43. Part1.Material = Enum.Material.Glass
  44. Part1.TopSurface = Enum.SurfaceType.Smooth
  45. Part1.brickColor = BrickColor.new("Really black")
  46. Weld2.Name = "OVC"
  47. Weld2.Parent = Part1
  48. Weld2.C0 = CFrame.new(5.52646637, 2.4894371, -5.65901184, -0.939691961, -0.144543856, 0.309975296, -3.05789811e-08, 0.906307518, 0.422618032, -0.342019975, 0.397131234, -0.851650298)
  49. Weld2.Part0 = Part1
  50. Weld2.Part1 = Part4
  51. Weld2.part1 = Part4
  52. Weld3.Name = "OVC"
  53. Weld3.Parent = Part1
  54. Weld3.C0 = CFrame.new(-6.07067871, 2.48943424, -5.65901184, -0.939691782, 0.144543797, -0.309975207, 6.49674803e-08, 0.906307518, 0.422618002, 0.342019945, 0.397131205, -0.851650178)
  55. Weld3.Part0 = Part1
  56. Weld3.Part1 = Part18
  57. Weld3.part1 = Part18
  58. Part4.Name = "OVC"
  59. Part4.Parent = Model0
  60. Part4.CFrame = CFrame.new(-73.6820526, 15.8421488, -102.349487, -0.342019737, 0.397131175, -0.851649702, -6.37319033e-08, 0.90630728, 0.422617733, 0.939691067, 0.144543752, -0.309974998)
  61. Part4.Orientation = Vector3.new(-25, -110, 0)
  62. Part4.Position = Vector3.new(-73.682052612305, 15.842148780823, -102.34948730469)
  63. Part4.Rotation = Vector3.new(-126.26000213623, -58.389999389648, -130.74000549316)
  64. Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  65. Part4.Transparency = 0.60000002384186
  66. Part4.Size = Vector3.new(9.9164505004883, 5.0470147132874, 0.048761993646622)
  67. Part4.BottomSurface = Enum.SurfaceType.Smooth
  68. Part4.BrickColor = BrickColor.new("Really black")
  69. Part4.Material = Enum.Material.Glass
  70. Part4.TopSurface = Enum.SurfaceType.Smooth
  71. Part4.brickColor = BrickColor.new("Really black")
  72. SurfaceGui5.Parent = Part4
  73. SurfaceGui5.LightInfluence = 1
  74. SurfaceGui5.ClipsDescendants = true
  75. SurfaceGui5.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  76. Frame6.Name = "main1"
  77. Frame6.Parent = SurfaceGui5
  78. Frame6.Size = UDim2.new(1, 0, 1, 0)
  79. Frame6.BackgroundColor = BrickColor.new("Institutional white")
  80. Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
  81. Frame6.BackgroundTransparency = 1
  82. Frame6.BorderSizePixel = 0
  83. Frame7.Name = "side1"
  84. Frame7.Parent = Frame6
  85. Frame7.Size = UDim2.new(0.0399999991, 0, 1, 0)
  86. Frame7.BackgroundColor = BrickColor.new("Dark grey metallic")
  87. Frame7.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  88. Frame7.BorderSizePixel = 0
  89. Frame8.Parent = Frame7
  90. Frame8.Position = UDim2.new(0, 20, 0, 0)
  91. Frame8.Size = UDim2.new(0.400000006, 0, 1, 0)
  92. Frame8.BackgroundColor = BrickColor.new("Dirt brown")
  93. Frame8.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  94. Frame8.BorderSizePixel = 0
  95. Frame9.Name = "stuff"
  96. Frame9.Parent = Frame6
  97. Frame9.Position = UDim2.new(0, 30, 0, 0)
  98. Frame9.Size = UDim2.new(1, 0, 1, 0)
  99. Frame9.BackgroundColor = BrickColor.new("Institutional white")
  100. Frame9.BackgroundColor3 = Color3.new(1, 1, 1)
  101. Frame9.BackgroundTransparency = 1
  102. Frame9.BorderSizePixel = 0
  103. UIListLayout10.Parent = Frame9
  104. UIListLayout10.SortOrder = Enum.SortOrder.LayoutOrder
  105. UIListLayout10.Padding = UDim.new(0, 5)
  106. TextBox11.Parent = Frame9
  107. TextBox11.Position = UDim2.new(0, 40, 0, 0)
  108. TextBox11.Size = UDim2.new(1, 0, 0.0700000003, 0)
  109. TextBox11.BackgroundColor = BrickColor.new("Institutional white")
  110. TextBox11.BackgroundColor3 = Color3.new(1, 1, 1)
  111. TextBox11.BackgroundTransparency = 1
  112. TextBox11.BorderSizePixel = 0
  113. TextBox11.Font = Enum.Font.SourceSansSemibold
  114. TextBox11.FontSize = Enum.FontSize.Size14
  115. TextBox11.Text = "FPS Of Server, Client."
  116. TextBox11.TextColor = BrickColor.new("White")
  117. TextBox11.TextColor3 = Color3.new(0.941177, 0.941177, 0.941177)
  118. TextBox11.TextScaled = true
  119. TextBox11.TextSize = 14
  120. TextBox11.TextWrap = true
  121. TextBox11.TextWrapped = true
  122. TextBox11.RichText = true
  123. TextBox11.TextXAlignment = Enum.TextXAlignment.Left
  124. TextBox12.Parent = Frame9
  125. TextBox12.Position = UDim2.new(0, 40, 0, 0)
  126. TextBox12.Size = UDim2.new(1, 0, 0.0799999982, 0)
  127. TextBox12.BackgroundColor = BrickColor.new("Sand violet metallic")
  128. TextBox12.BackgroundColor3 = Color3.new(0.584314, 0.584314, 0.584314)
  129. TextBox12.BackgroundTransparency = 1
  130. TextBox12.BorderSizePixel = 0
  131. TextBox12.Font = Enum.Font.SourceSansSemibold
  132. TextBox12.FontSize = Enum.FontSize.Size14
  133. TextBox12.Text = 'getPlayers<font color="rgb(149, 149, 149)">(</font><font color="rgb(149, 255, 174)">"Int"</font><font color="rgb(149, 149, 149)">)</font>'
  134. TextBox12.TextColor = BrickColor.new("Medium blue")
  135. TextBox12.TextColor3 = Color3.new(0.298039, 0.568627, 1)
  136. TextBox12.TextScaled = true
  137. TextBox12.TextSize = 14
  138. TextBox12.TextWrap = true
  139. TextBox12.TextWrapped = true
  140. TextBox12.RichText = true
  141. TextBox12.TextXAlignment = Enum.TextXAlignment.Left
  142. TextBox13.Parent = Frame9
  143. TextBox13.Position = UDim2.new(0, 40, 0, 0)
  144. TextBox13.Size = UDim2.new(1, 0, 0.0799999982, 0)
  145. TextBox13.BackgroundColor = BrickColor.new("Institutional white")
  146. TextBox13.BackgroundColor3 = Color3.new(1, 1, 1)
  147. TextBox13.BackgroundTransparency = 1
  148. TextBox13.BorderSizePixel = 0
  149. TextBox13.Font = Enum.Font.SourceSansSemibold
  150. TextBox13.FontSize = Enum.FontSize.Size14
  151. TextBox13.Text = '> [GetPlayers]: <font color="rgb(149, 255, 174)">PlrsInt</font>'
  152. TextBox13.TextColor = BrickColor.new("Oyster")
  153. TextBox13.TextColor3 = Color3.new(0.72549, 0.72549, 0.72549)
  154. TextBox13.TextScaled = true
  155. TextBox13.TextSize = 14
  156. TextBox13.TextWrap = true
  157. TextBox13.TextWrapped = true
  158. TextBox13.RichText = true
  159. TextBox13.TextXAlignment = Enum.TextXAlignment.Left
  160. TextBox14.Parent = Frame9
  161. TextBox14.Position = UDim2.new(0, 40, 0, 0)
  162. TextBox14.Size = UDim2.new(1, 0, 0.0799999982, 0)
  163. TextBox14.BackgroundColor = BrickColor.new("Sand violet metallic")
  164. TextBox14.BackgroundColor3 = Color3.new(0.584314, 0.584314, 0.584314)
  165. TextBox14.BackgroundTransparency = 1
  166. TextBox14.BorderSizePixel = 0
  167. TextBox14.Font = Enum.Font.SourceSansSemibold
  168. TextBox14.FontSize = Enum.FontSize.Size14
  169. TextBox14.Text = 'getFPS<font color="rgb(149, 149, 149)">(</font><font color="rgb(149, 255, 174)">"Server"</font><font color="rgb(149, 149, 149)">)</font>'
  170. TextBox14.TextColor = BrickColor.new("Medium blue")
  171. TextBox14.TextColor3 = Color3.new(0.298039, 0.568627, 1)
  172. TextBox14.TextScaled = true
  173. TextBox14.TextSize = 14
  174. TextBox14.TextWrap = true
  175. TextBox14.TextWrapped = true
  176. TextBox14.RichText = true
  177. TextBox14.TextXAlignment = Enum.TextXAlignment.Left
  178. TextBox15.Parent = Frame9
  179. TextBox15.Position = UDim2.new(0, 40, 0, 0)
  180. TextBox15.Size = UDim2.new(1, 0, 0.0799999982, 0)
  181. TextBox15.BackgroundColor = BrickColor.new("Institutional white")
  182. TextBox15.BackgroundColor3 = Color3.new(1, 1, 1)
  183. TextBox15.BackgroundTransparency = 1
  184. TextBox15.BorderSizePixel = 0
  185. TextBox15.Font = Enum.Font.SourceSansSemibold
  186. TextBox15.FontSize = Enum.FontSize.Size14
  187. TextBox15.Text = '> [GetFPS]: <font color="rgb(149, 255, 174)">SFPS</font>'
  188. TextBox15.TextColor = BrickColor.new("Oyster")
  189. TextBox15.TextColor3 = Color3.new(0.72549, 0.72549, 0.72549)
  190. TextBox15.TextScaled = true
  191. TextBox15.TextSize = 14
  192. TextBox15.TextWrap = true
  193. TextBox15.TextWrapped = true
  194. TextBox15.RichText = true
  195. TextBox15.TextXAlignment = Enum.TextXAlignment.Left
  196. TextBox16.Parent = Frame9
  197. TextBox16.Position = UDim2.new(0, 40, 0, 0)
  198. TextBox16.Size = UDim2.new(1, 0, 0.0799999982, 0)
  199. TextBox16.BackgroundColor = BrickColor.new("Sand violet metallic")
  200. TextBox16.BackgroundColor3 = Color3.new(0.584314, 0.584314, 0.584314)
  201. TextBox16.BackgroundTransparency = 1
  202. TextBox16.BorderSizePixel = 0
  203. TextBox16.Font = Enum.Font.SourceSansSemibold
  204. TextBox16.FontSize = Enum.FontSize.Size14
  205. TextBox16.Text = 'getFPS<font color="rgb(149, 149, 149)">(</font><font color="rgb(149, 255, 174)">"Client"</font><font color="rgb(149, 149, 149)">)</font>'
  206. TextBox16.TextColor = BrickColor.new("Medium blue")
  207. TextBox16.TextColor3 = Color3.new(0.298039, 0.568627, 1)
  208. TextBox16.TextScaled = true
  209. TextBox16.TextSize = 14
  210. TextBox16.TextWrap = true
  211. TextBox16.TextWrapped = true
  212. TextBox16.RichText = true
  213. TextBox16.TextXAlignment = Enum.TextXAlignment.Left
  214. TextBox17.Parent = Frame9
  215. TextBox17.Position = UDim2.new(0, 40, 0, 0)
  216. TextBox17.Size = UDim2.new(1, 0, 0.0799999982, 0)
  217. TextBox17.BackgroundColor = BrickColor.new("Institutional white")
  218. TextBox17.BackgroundColor3 = Color3.new(1, 1, 1)
  219. TextBox17.BackgroundTransparency = 1
  220. TextBox17.BorderSizePixel = 0
  221. TextBox17.Font = Enum.Font.SourceSansSemibold
  222. TextBox17.FontSize = Enum.FontSize.Size14
  223. TextBox17.Text = '> [GetFPS]: <font color="rgb(149, 255, 174)">CFPS</font>'
  224. TextBox17.TextColor = BrickColor.new("Oyster")
  225. TextBox17.TextColor3 = Color3.new(0.72549, 0.72549, 0.72549)
  226. TextBox17.TextScaled = true
  227. TextBox17.TextSize = 14
  228. TextBox17.TextWrap = true
  229. TextBox17.TextWrapped = true
  230. TextBox17.RichText = true
  231. TextBox17.TextXAlignment = Enum.TextXAlignment.Left
  232. Part18.Name = "OVC2"
  233. Part18.Parent = Model0
  234. Part18.CFrame = CFrame.new(-73.6820526, 15.8421459, -90.7523575, 0.342020124, 0.397131264, -0.851650715, 0, 0.906307757, 0.42261827, 0.939692616, -0.144543946, 0.309975505)
  235. Part18.Orientation = Vector3.new(-25, -70, 0)
  236. Part18.Position = Vector3.new(-73.682052612305, 15.8421459198, -90.75235748291)
  237. Part18.Rotation = Vector3.new(-53.740001678467, -58.389999389648, -49.259998321533)
  238. Part18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  239. Part18.Transparency = 0.60000002384186
  240. Part18.Size = Vector3.new(9.9164505004883, 5.0470147132874, 0.048761993646622)
  241. Part18.BottomSurface = Enum.SurfaceType.Smooth
  242. Part18.BrickColor = BrickColor.new("Really black")
  243. Part18.Material = Enum.Material.Glass
  244. Part18.TopSurface = Enum.SurfaceType.Smooth
  245. Part18.brickColor = BrickColor.new("Really black")
  246. SurfaceGui19.Name = "SurfaceGui2"
  247. SurfaceGui19.Parent = Part18
  248. SurfaceGui19.LightInfluence = 1
  249. SurfaceGui19.ClipsDescendants = true
  250. SurfaceGui19.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  251. Frame20.Name = "main"
  252. Frame20.Parent = SurfaceGui19
  253. Frame20.Size = UDim2.new(1, 0, 1, 0)
  254. Frame20.BackgroundColor = BrickColor.new("Institutional white")
  255. Frame20.BackgroundColor3 = Color3.new(1, 1, 1)
  256. Frame20.BackgroundTransparency = 1
  257. Frame20.BorderSizePixel = 0
  258. Frame21.Name = "side"
  259. Frame21.Parent = Frame20
  260. Frame21.Size = UDim2.new(0.0399999991, 0, 1, 0)
  261. Frame21.BackgroundColor = BrickColor.new("Dark grey metallic")
  262. Frame21.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  263. Frame21.BorderSizePixel = 0
  264. Frame22.Parent = Frame21
  265. Frame22.Position = UDim2.new(0, 20, 0, 0)
  266. Frame22.Size = UDim2.new(0.400000006, 0, 1, 0)
  267. Frame22.BackgroundColor = BrickColor.new("Dirt brown")
  268. Frame22.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  269. Frame22.BorderSizePixel = 0
  270. Frame23.Name = "noti"
  271. Frame23.Parent = Frame20
  272. Frame23.Position = UDim2.new(0, 34, 0, 0)
  273. Frame23.Size = UDim2.new(1, 0, 0.970000029, 0)
  274. Frame23.BackgroundColor = BrickColor.new("Institutional white")
  275. Frame23.BackgroundColor3 = Color3.new(1, 1, 1)
  276. Frame23.BackgroundTransparency = 1
  277. Frame23.BorderSizePixel = 0
  278. UIListLayout24.Parent = Frame23
  279. UIListLayout24.SortOrder = Enum.SortOrder.LayoutOrder
  280. UIListLayout24.VerticalAlignment = Enum.VerticalAlignment.Bottom
  281. UIListLayout24.Padding = UDim.new(0, 5)
  282. TextBox25.Name = "playeradded"
  283. TextBox25.Parent = ovcstuff
  284. TextBox25.Position = UDim2.new(0, 40, 0, 0)
  285. TextBox25.Size = UDim2.new(1, 0, 0.0700000003, 0)
  286. TextBox25.BackgroundColor = BrickColor.new("Institutional white")
  287. TextBox25.BackgroundColor3 = Color3.new(1, 1, 1)
  288. TextBox25.BackgroundTransparency = 1
  289. TextBox25.BorderSizePixel = 0
  290. TextBox25.Font = Enum.Font.SourceSansSemibold
  291. TextBox25.FontSize = Enum.FontSize.Size14
  292. TextBox25.Text = "> Player added:"
  293. TextBox25.TextColor = BrickColor.new("White")
  294. TextBox25.TextColor3 = Color3.new(0.941177, 0.941177, 0.941177)
  295. TextBox25.TextScaled = true
  296. TextBox25.TextSize = 14
  297. TextBox25.TextWrap = true
  298. TextBox25.TextWrapped = true
  299. TextBox25.TextXAlignment = Enum.TextXAlignment.Left
  300.  
  301. for i,v in pairs(Model0:GetChildren()) do
  302. v.Massless = true
  303. v.Locked = true
  304. v.CanCollide = false
  305. end
  306.  
  307. Part1.CFrame = owner.Character.HumanoidRootPart.CFrame
  308. local weld = Instance.new("Weld")
  309. weld.Parent = Part1
  310. weld.Part0 = weld.Parent
  311. weld.Part1 = owner.Character.HumanoidRootPart
  312. weld.C0 = owner.Character.HumanoidRootPart.CFrame:ToObjectSpace(Part1.CFrame)
  313.  
  314.  
  315. local fpsval = Instance.new("IntValue", owner.Character)
  316. fpsval.Name = "CurrentFPS"
  317.  
  318. game:GetService("RunService").Heartbeat:Connect(function()
  319. fpsval.Value = 2/wait()
  320.  
  321. TextBox15.Text = '> [GetFPS]: <font color="rgb(149, 255, 174)">'..fpsval.Value..'</font>'
  322. end)
  323.  
  324. local fpsval2 = Instance.new("IntValue", owner.Character)
  325. fpsval2.Name = "CurrentClientFPS"
  326.  
  327. game:GetService("RunService").Heartbeat:Connect(function()
  328. fpsval2.Value = workspace:GetRealPhysicsFPS()
  329.  
  330. TextBox17.Text = '> [GetFPS]: <font color="rgb(149, 255, 174)">'..fpsval2.Value..'</font>'
  331. end)
  332.  
  333. local players = game:GetService('Players')
  334. local amount = #players:GetPlayers()
  335. TextBox13.Text = '> [GetPlayers]: <font color="rgb(149, 255, 174)">'..amount..'</font>'
  336.  
  337. game.Players.PlayerAdded:Connect(function()
  338. local players = game:GetService('Players')
  339. local amount = #players:GetPlayers()
  340. TextBox13.Text = '> [GetPlayers]: <font color="rgb(149, 255, 174)">'..amount..'</font>'
  341. end)
  342.  
  343. workspace.DescendantAdded:Connect(function(descendant)
  344. if descendant:IsA("Sound") then
  345. local newlabel = TextBox25:Clone()
  346. newlabel.Parent = Frame23
  347. if descendant.SoundId == nil then
  348. newlabel.Text = "> Song added: ( ID: 0, NAME: "..descendant.Name.." )"
  349. else
  350. newlabel.Text = "> Song added: ( ID: "..descendant.SoundId..", NAME: "..descendant.Name.." )"
  351. end
  352. end
  353.  
  354. if descendant:IsA("Script") then
  355. pcall(function()
  356. if not descendant.Parent:IsA("Model") and descendant.Parent:IsA("Tool") then
  357. local newlabel = TextBox25:Clone()
  358. newlabel.Parent = Frame23
  359. newlabel.Text = "> Script added: ( NAME: "..descendant.Name.." )"
  360. end
  361. end)
  362. end
  363. end)
  364.  
  365. game.Players.PlayerAdded:Connect(function(plr)
  366. local newlabel = TextBox25:Clone()
  367. newlabel.Parent = Frame23
  368. newlabel.Text = "> Player added: "..plr.Name..". Say hi!"
  369. end)
  370.  
  371. while true do
  372. weld.C0 = weld.C0 * CFrame.new(0,math.cos(tick())/38,0)
  373. Weld2.C0 = Weld2.C0 * CFrame.Angles(math.cos(tick())/370,math.cos(tick())/370,0)
  374. Weld3.C0 = Weld3.C0 * CFrame.Angles(math.cos(tick())/-370,math.cos(tick())/-370,0)
  375. wait()
  376. end
  377. wait()
  378. local plr = game.Players.LocalPlayer
  379. local char = plr.Character
  380. local m = plr:GetMouse()
  381. local Run = game:GetService("RunService")
  382. local Debris = game:GetService("Debris")
  383. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  384. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  385. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  386. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  387. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  388. local R3 = {N=Region3.new}
  389. local De = S.Debris
  390. local WS = workspace
  391. local Lght = S.Lighting
  392. local RepS = S.ReplicatedStorage
  393. local IN = Instance.new
  394. local Plrs = S.Players
  395. local Power = 0
  396. local Music = Instance.new("Sound", char.Head)
  397. Music.Looped = true
  398.  
  399. local Emit = IN("ParticleEmitter").Emit;
  400.  
  401. local Frame_Speed = 60;
  402. local WalkSpeed = 16
  403.  
  404.  
  405. --// Initializing \\--
  406. local Plr = game.Players.LocalPlayer
  407. local Char = Plr.Character
  408. local m = Plr:GetMouse()
  409. local Hum = Char:FindFirstChildOfClass'Humanoid'
  410. local RArm = Char["Right Arm"]
  411. local LArm = Char["Left Arm"]
  412. local RLeg = Char["Right Leg"]
  413. local LLeg = Char["Left Leg"]
  414. local Root = Char:FindFirstChild'HumanoidRootPart'
  415. local Torso = Char.Torso
  416. local Head = Char:WaitForChild("Head")
  417. local NeutralAnims = true
  418. local Attack = false
  419. local Debounces = {Debounces={}}
  420. local Hit = {}
  421. local Sine = 0
  422. Change = 1
  423.  
  424. Char.Animate:Destroy()
  425.  
  426.  
  427. --// CHARACTER \\--
  428.  
  429. local HeadPhone1 = Instance.new("Part", char)
  430. HeadPhone1.Size = Vector3.new(0.75, 0.812, 0.375)
  431. HeadPhone1.CFrame = char.Head.CFrame * CFrame.new(0, 0.344, 0)
  432. HeadPhone1.Anchored = true
  433. HeadPhone1.CanCollide = false
  434. HeadPhone1.BrickColor = BrickColor.new("Lime green")
  435. HeadPhone1.Material = "SmoothPlastic"
  436. local Weld = Instance.new("WeldConstraint", char)
  437. Weld.Part0 = HeadPhone1
  438. Weld.Part1 = char.Head
  439. HeadPhone1.Anchored = false
  440.  
  441. local HeadPhone2 = Instance.new("WedgePart", char)
  442. HeadPhone2.Size = Vector3.new(0.375, 0.249, 0.25)
  443. HeadPhone2.BrickColor = BrickColor.new("Lime green")
  444. HeadPhone2.CFrame = char.Head.CFrame * CFrame.new(-0.500, 0.625, 0) * CFrame.Angles(0, math.rad(90), 0)
  445. HeadPhone2.Anchored = true
  446. HeadPhone2.CanCollide = false
  447. HeadPhone2.Material = "SmoothPlastic"
  448. local Weld = Instance.new("WeldConstraint", char)
  449. Weld.Part0 = HeadPhone2
  450. Weld.Part1 = char.Head
  451. HeadPhone2.Anchored = false
  452.  
  453. local HeadPhone3 = Instance.new("WedgePart", char)
  454. HeadPhone3.BrickColor = BrickColor.new("Lime green")
  455. HeadPhone3.Size = Vector3.new(0.375, 0.249, 0.25)
  456. HeadPhone3.CFrame = char.Head.CFrame * CFrame.new(0.500, 0.625, 0) * CFrame.Angles(0, math.rad(-90), 0)
  457. HeadPhone3.Anchored = true
  458. HeadPhone3.CanCollide = false
  459. HeadPhone3.Material = "SmoothPlastic"
  460. local Weld = Instance.new("WeldConstraint", char)
  461. Weld.Part0 = HeadPhone3
  462. Weld.Part1 = char.Head
  463. HeadPhone3.Anchored = false
  464.  
  465. local HeadPhone4 = Instance.new("Part", char)
  466. HeadPhone4.BrickColor = BrickColor.new("Lime green")
  467. HeadPhone4.Size = Vector3.new(1.25, 0.562, 0.375)
  468. HeadPhone4.CFrame = char.Head.CFrame * CFrame.new(0, 0.219, 0) * CFrame.Angles(0, 0, 0)
  469. HeadPhone4.Anchored = true
  470. HeadPhone4.CanCollide = false
  471. HeadPhone4.Material = "SmoothPlastic"
  472. local Weld = Instance.new("WeldConstraint", char)
  473. Weld.Part0 = HeadPhone4
  474. Weld.Part1 = char.Head
  475. HeadPhone4.Anchored = false
  476.  
  477. local HeadPhone5 = Instance.new("Part", char)
  478. HeadPhone5.BrickColor = BrickColor.new("Lime green")
  479. HeadPhone5.Size = Vector3.new(1.406, 0.75, 0.625)
  480. HeadPhone5.Shape = "Cylinder"
  481. HeadPhone5.CFrame = char.Head.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  482. HeadPhone5.Anchored = true
  483. HeadPhone5.CanCollide = false
  484. HeadPhone5.Material = "SmoothPlastic"
  485. local Weld = Instance.new("WeldConstraint", char)
  486. Weld.Part0 = HeadPhone5
  487. Weld.Part1 = char.Head
  488. HeadPhone5.Anchored = false
  489.  
  490.  
  491. local HeadPhone6 = Instance.new("Part", char)
  492. HeadPhone6.BrickColor = BrickColor.new("Institutional white")
  493. HeadPhone6.Size = Vector3.new(1.562, 0.5, 0.417)
  494. HeadPhone6.Shape = "Cylinder"
  495. HeadPhone6.CFrame = char.Head.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  496. HeadPhone6.Anchored = true
  497. HeadPhone6.CanCollide = false
  498. HeadPhone6.Material = "SmoothPlastic"
  499. local Weld = Instance.new("WeldConstraint", char)
  500. Weld.Part0 = HeadPhone6
  501. Weld.Part1 = char.Head
  502. HeadPhone6.Anchored = false
  503.  
  504.  
  505. local RSpeaker1 = Instance.new("Part", char)
  506. RSpeaker1.BrickColor = BrickColor.new("Smoky grey")
  507. RSpeaker1.Size = Vector3.new(0.875, 0.875, 0.727)
  508. RSpeaker1.CFrame = char["Right Arm"].CFrame * CFrame.new(0, 1.438, 0) * CFrame.Angles(0, 0, 0)
  509. RSpeaker1.Anchored = true
  510. RSpeaker1.CanCollide = false
  511. RSpeaker1.Material = "SmoothPlastic"
  512. local Weld = Instance.new("WeldConstraint", char)
  513. Weld.Part0 = RSpeaker1
  514. Weld.Part1 = char["Right Arm"]
  515. RSpeaker1.Anchored = false
  516.  
  517.  
  518. local RSpeaker2 = Instance.new("Part", char)
  519. RSpeaker2.BrickColor = BrickColor.new("Smoky grey")
  520. RSpeaker2.Size = Vector3.new(0.75, 0.875, 0.623)
  521. RSpeaker2.CFrame = char["Right Arm"].CFrame * CFrame.new(0, 2.188, 0) * CFrame.Angles(0, 0, 0)
  522. RSpeaker2.Anchored = true
  523. RSpeaker2.CanCollide = false
  524. RSpeaker2.Material = "SmoothPlastic"
  525. local Weld = Instance.new("WeldConstraint", char)
  526. Weld.Part0 = RSpeaker2
  527. Weld.Part1 = char["Right Arm"]
  528. RSpeaker2.Anchored = false
  529.  
  530. local RSpeaker3 = Instance.new("Part", char)
  531. RSpeaker3.BrickColor = BrickColor.new("Lime green")
  532. RSpeaker3.Shape = "Cylinder"
  533. RSpeaker3.Size = Vector3.new(0.062, 0.716, 0.716)
  534. RSpeaker3.CFrame = char["Right Arm"].CFrame * CFrame.new(0, 1.438, -0.410) * CFrame.Angles(0, math.rad(90), 0)
  535. RSpeaker3.Anchored = true
  536. RSpeaker3.CanCollide = false
  537. RSpeaker3.Material = "SmoothPlastic"
  538. local Weld = Instance.new("WeldConstraint", char)
  539. Weld.Part0 = RSpeaker3
  540. Weld.Part1 = char["Right Arm"]
  541. RSpeaker3.Anchored = false
  542.  
  543. local RSpeaker4 = Instance.new("Part", char)
  544. RSpeaker4.BrickColor = BrickColor.new("Institutional white")
  545. RSpeaker4.Shape = "Cylinder"
  546. RSpeaker4.Size = Vector3.new(0.08, 0.716, 0.341)
  547. RSpeaker4.CFrame = char["Right Arm"].CFrame * CFrame.new(0, 1.438, -0.418) * CFrame.Angles(0, math.rad(90), 0)
  548. RSpeaker4.Anchored = true
  549. RSpeaker4.CanCollide = false
  550. RSpeaker4.Material = "SmoothPlastic"
  551. local Weld = Instance.new("WeldConstraint", char)
  552. Weld.Part0 = RSpeaker4
  553. Weld.Part1 = char["Right Arm"]
  554. RSpeaker4.Anchored = false
  555.  
  556. local RSpeaker5 = Instance.new("Part", char)
  557. RSpeaker5.BrickColor = BrickColor.new("Lime green")
  558. RSpeaker5.Shape = "Cylinder"
  559. RSpeaker5.Size = Vector3.new(0.062, 0.614, 0.489)
  560. RSpeaker5.CFrame = char["Right Arm"].CFrame * CFrame.new(0, 2.25, -0.363) * CFrame.Angles(0, math.rad(90), 0)
  561. RSpeaker5.Anchored = true
  562. RSpeaker5.CanCollide = false
  563. RSpeaker5.Material = "SmoothPlastic"
  564. local Weld = Instance.new("WeldConstraint", char)
  565. Weld.Part0 = RSpeaker5
  566. Weld.Part1 = char["Right Arm"]
  567. RSpeaker5.Anchored = false
  568.  
  569. local RSpeaker6 = Instance.new("Part", char)
  570. RSpeaker6.BrickColor = BrickColor.new("Institutional white")
  571. RSpeaker6.Shape = "Cylinder"
  572. RSpeaker6.Size = Vector3.new(0.068, 0.614, 0.239)
  573. RSpeaker6.CFrame = char["Right Arm"].CFrame * CFrame.new(0, 2.25, -0.366) * CFrame.Angles(0, math.rad(90), 0)
  574. RSpeaker6.Anchored = true
  575. RSpeaker6.CanCollide = false
  576. RSpeaker6.Material = "SmoothPlastic"
  577. local Weld = Instance.new("WeldConstraint", char)
  578. Weld.Part0 = RSpeaker6
  579. Weld.Part1 = char["Right Arm"]
  580. RSpeaker6.Anchored = false
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593. local LSpeaker1 = Instance.new("Part", char)
  594. LSpeaker1.BrickColor = BrickColor.new("Smoky grey")
  595. LSpeaker1.Size = Vector3.new(0.875, 0.875, 0.727)
  596. LSpeaker1.CFrame = char["Left Arm"].CFrame * CFrame.new(0, 1.438, 0) * CFrame.Angles(0, 0, 0)
  597. LSpeaker1.Anchored = true
  598. LSpeaker1.CanCollide = false
  599. LSpeaker1.Material = "SmoothPlastic"
  600. local Weld = Instance.new("WeldConstraint", char)
  601. Weld.Part0 = LSpeaker1
  602. Weld.Part1 = char["Left Arm"]
  603. LSpeaker1.Anchored = false
  604.  
  605.  
  606. local LSpeaker2 = Instance.new("Part", char)
  607. LSpeaker2.BrickColor = BrickColor.new("Smoky grey")
  608. LSpeaker2.Size = Vector3.new(0.75, 0.875, 0.623)
  609. LSpeaker2.CFrame = char["Left Arm"].CFrame * CFrame.new(0, 2.188, 0) * CFrame.Angles(0, 0, 0)
  610. LSpeaker2.Anchored = true
  611. LSpeaker2.CanCollide = false
  612. LSpeaker2.Material = "SmoothPlastic"
  613. local Weld = Instance.new("WeldConstraint", char)
  614. Weld.Part0 = LSpeaker2
  615. Weld.Part1 = char["Left Arm"]
  616. LSpeaker2.Anchored = false
  617.  
  618. local LSpeaker3 = Instance.new("Part", char)
  619. LSpeaker3.BrickColor = BrickColor.new("Lime green")
  620. LSpeaker3.Shape = "Cylinder"
  621. LSpeaker3.Size = Vector3.new(0.062, 0.716, 0.716)
  622. LSpeaker3.CFrame = char["Left Arm"].CFrame * CFrame.new(0, 1.438, -0.410) * CFrame.Angles(0, math.rad(90), 0)
  623. LSpeaker3.Anchored = true
  624. LSpeaker3.CanCollide = false
  625. LSpeaker3.Material = "SmoothPlastic"
  626. local Weld = Instance.new("WeldConstraint", char)
  627. Weld.Part0 = LSpeaker3
  628. Weld.Part1 = char["Left Arm"]
  629. LSpeaker3.Anchored = false
  630.  
  631. local LSpeaker4 = Instance.new("Part", char)
  632. LSpeaker4.BrickColor = BrickColor.new("Institutional white")
  633. LSpeaker4.Shape = "Cylinder"
  634. LSpeaker4.Size = Vector3.new(0.08, 0.716, 0.341)
  635. LSpeaker4.CFrame = char["Left Arm"].CFrame * CFrame.new(0, 1.438, -0.418) * CFrame.Angles(0, math.rad(90), 0)
  636. LSpeaker4.Anchored = true
  637. LSpeaker4.CanCollide = false
  638. LSpeaker4.Material = "SmoothPlastic"
  639. local Weld = Instance.new("WeldConstraint", char)
  640. Weld.Part0 = LSpeaker4
  641. Weld.Part1 = char["Left Arm"]
  642. LSpeaker4.Anchored = false
  643.  
  644. local LSpeaker5 = Instance.new("Part", char)
  645. LSpeaker5.BrickColor = BrickColor.new("Lime green")
  646. LSpeaker5.Shape = "Cylinder"
  647. LSpeaker5.Size = Vector3.new(0.062, 0.614, 0.489)
  648. LSpeaker5.CFrame = char["Left Arm"].CFrame * CFrame.new(0, 2.25, -0.363) * CFrame.Angles(0, math.rad(90), 0)
  649. LSpeaker5.Anchored = true
  650. LSpeaker5.CanCollide = false
  651. LSpeaker5.Material = "SmoothPlastic"
  652. local Weld = Instance.new("WeldConstraint", char)
  653. Weld.Part0 = LSpeaker5
  654. Weld.Part1 = char["Left Arm"]
  655. LSpeaker5.Anchored = false
  656.  
  657. local LSpeaker6 = Instance.new("Part", char)
  658. LSpeaker6.BrickColor = BrickColor.new("Institutional white")
  659. LSpeaker6.Shape = "Cylinder"
  660. LSpeaker6.Size = Vector3.new(0.068, 0.614, 0.239)
  661. LSpeaker6.CFrame = char["Left Arm"].CFrame * CFrame.new(0, 2.25, -0.366) * CFrame.Angles(0, math.rad(90), 0)
  662. LSpeaker6.Anchored = true
  663. LSpeaker6.CanCollide = false
  664. LSpeaker6.Material = "SmoothPlastic"
  665. local Weld = Instance.new("WeldConstraint", char)
  666. Weld.Part0 = LSpeaker6
  667. Weld.Part1 = char["Left Arm"]
  668. LSpeaker6.Anchored = false
  669.  
  670.  
  671. plr.Chatted:Connect(function(msg)
  672. if string.sub(msg,1,3) == "id;" then
  673. Music.SoundId = "rbxassetid://"..string.sub(msg,4)
  674. Music:Play()
  675. end
  676. end)
  677.  
  678. plr.Chatted:Connect(function(msg)
  679. if string.sub(msg,1,7) == "volume;" then
  680. Music.Volume = string.sub(msg,8)
  681. end
  682. end)
  683.  
  684.  
  685.  
  686. m.KeyDown:Connect(function(k)
  687. k:lower()
  688. if k == "f" then
  689. local SoundEX = Instance.new("Part", workspace)
  690. SoundEX.Shape = "Ball"
  691. SoundEX.Anchored = false
  692. SoundEX.BrickColor = BrickColor.new("Lime green")
  693. SoundEX.CFrame = RSpeaker1.CFrame
  694. SoundEX.Transparency = 0
  695. local SoundEX2 = Instance.new("Part", workspace)
  696. SoundEX2.Shape = "Ball"
  697. SoundEX2.Anchored = false
  698. SoundEX2.CanCollide = false
  699. SoundEX.CanCollide = false
  700. SoundEX2.BrickColor = BrickColor.new("Lime green")
  701. SoundEX2.CFrame = LSpeaker1.CFrame
  702. SoundEX2.Material = Enum.Material.ForceField
  703. SoundEX.Material = Enum.Material.ForceField
  704. SoundEX2.Transparency = 0
  705. Debris:AddItem(SoundEX, 0.5)
  706. Debris:AddItem(SoundEX2, 0.5)
  707. SoundEX.Size = Vector3.new(1, 1, 1)
  708. SoundEX2.Size = Vector3.new(1, 1, 1)
  709. wait()
  710. SoundEX.Velocity = Vector3.new(0, 0, 0)
  711. SoundEX2.Velocity = Vector3.new(0, 0, 0)
  712. SoundEX2.Transparency = 0.1
  713. SoundEX.Transparency = 0.1
  714. SoundEX.Size = SoundEX.Size * 1.35
  715. SoundEX2.Size = SoundEX2.Size * 1.35
  716. wait()
  717. SoundEX.Velocity = Vector3.new(0, 0, 0)
  718. SoundEX2.Velocity = Vector3.new(0, 0, 0)
  719. SoundEX.Size = SoundEX.Size * 1.35
  720. SoundEX2.Size = SoundEX2.Size * 1.35
  721. SoundEX2.Transparency = 0.2
  722. SoundEX.Transparency = 0.2
  723. wait()
  724. SoundEX.Velocity = Vector3.new(0, 0, 0)
  725. SoundEX2.Velocity = Vector3.new(0, 0, 0)
  726. SoundEX.Size = SoundEX.Size * 1.35
  727. SoundEX2.Size = SoundEX2.Size * 1.35
  728. SoundEX2.Transparency = 0.3
  729. SoundEX.Transparency = 0.3
  730. wait()
  731. SoundEX.Velocity = Vector3.new(0, 0, 0)
  732. SoundEX2.Velocity = Vector3.new(0, 0, 0)
  733. SoundEX.Size = SoundEX.Size * 1.35
  734. SoundEX2.Size = SoundEX2.Size * 1.35
  735. SoundEX2.Transparency = 0.4
  736. SoundEX.Transparency = 0.4
  737. wait()
  738. SoundEX.Velocity = Vector3.new(0, 0, 0)
  739. SoundEX2.Velocity = Vector3.new(0, 0, 0)
  740. SoundEX.Size = SoundEX.Size * 1.35
  741. SoundEX2.Size = SoundEX2.Size * 1.35
  742. SoundEX2.Transparency = 0.5
  743. SoundEX.Transparency = 0.5
  744. wait()
  745. SoundEX.Velocity = Vector3.new(0, 0, 0)
  746. SoundEX2.Velocity = Vector3.new(0, 0, 0)
  747. SoundEX.Size = SoundEX.Size * 1.35
  748. SoundEX2.Size = SoundEX2.Size * 1.35
  749. SoundEX2.Transparency = 0.6
  750. SoundEX.Transparency = 0.6
  751. wait()
  752. SoundEX.Velocity = Vector3.new(0, 0, 0)
  753. SoundEX2.Velocity = Vector3.new(0, 0, 0)
  754. SoundEX.Size = SoundEX.Size * 1.35
  755. SoundEX2.Size = SoundEX2.Size * 1.35
  756. SoundEX2.Transparency = 0.7
  757. SoundEX.Transparency = 0.7
  758. wait()
  759. SoundEX.Velocity = Vector3.new(0, 0, 0)
  760. SoundEX2.Velocity = Vector3.new(0, 0, 0)
  761. SoundEX.Size = SoundEX.Size * 1.35
  762. SoundEX2.Size = SoundEX2.Size * 1.35
  763. SoundEX2.Transparency = 0.8
  764. SoundEX.Transparency = 0.8
  765. wait()
  766. SoundEX.Velocity = Vector3.new(0, 0, 0)
  767. SoundEX2.Velocity = Vector3.new(0, 0, 0)
  768. SoundEX.Size = SoundEX.Size * 1.35
  769. SoundEX2.Size = SoundEX2.Size * 1.35
  770. SoundEX2.Transparency = 0.9
  771. SoundEX.Transparency = 0.9
  772. wait()
  773. SoundEX.Velocity = Vector3.new(0, 0, 0)
  774. SoundEX2.Velocity = Vector3.new(0, 0, 0)
  775. SoundEX.Size = SoundEX.Size * 1.35
  776. SoundEX2.Size = SoundEX2.Size * 1.35
  777. SoundEX2.Transparency = 1
  778. SoundEX.Transparency = 1
  779. dam = false
  780. SoundEX.Touched:Connect(function(s)
  781. if s.Parent:FindFirstChildOfClass("Humanoid") and s.Parent.Name ~= char.Name then
  782. if dam == false then
  783. local hit = Instance.new("Sound", s)
  784. hit.SoundId = "rbxassetid://406913243"
  785. hit:Play()
  786. s.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(10)
  787. dam = true
  788. end
  789. end
  790. end)
  791. SoundEX2.Touched:Connect(function(s)
  792. if s.Parent:FindFirstChildOfClass("Humanoid") and s.Parent.Name ~= char.Name then
  793. if dam == false then
  794. local hit = Instance.new("Sound", s)
  795. hit.SoundId = "rbxassetid://406913243"
  796. hit:Play()
  797. s.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(10)
  798. dam = true
  799. end
  800. end
  801. end)
  802. end
  803. end)
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811. --// Instance Creation Functions \\--
  812.  
  813.  
  814. function Part(parent,color,material,size,cframe,anchored,cancollide)
  815. local part = IN("Part")
  816. part.Parent = parent or Char
  817. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  818. part.Material = material or Enum.Material.SmoothPlastic
  819. part.TopSurface,part.BottomSurface=10,10
  820. part.Size = size or V3.N(1,1,1)
  821. part.CFrame = cframe or CF.N(0,0,0)
  822. part.CanCollide = cancollide or false
  823. part.Anchored = anchored or false
  824. return part
  825. end
  826.  
  827. function Weld(part0,part1,c0,c1)
  828. local weld = IN("Weld")
  829. weld.Parent = part0
  830. weld.Part0 = part0
  831. weld.Part1 = part1
  832. weld.C0 = c0 or CF.N()
  833. weld.C1 = c1 or CF.N()
  834. return weld
  835. end
  836.  
  837. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  838. local part = IN("SpecialMesh")
  839. part.MeshId = meshid or ""
  840. part.TextureId = textid or ""
  841. part.Scale = scale or V3.N(1,1,1)
  842. part.Offset = offset or V3.N(0,0,0)
  843. part.MeshType = meshtype or Enum.MeshType.Sphere
  844. part.Parent = parent
  845. return part
  846. end
  847.  
  848. NewInstance = function(instance,parent,properties)
  849. local inst = Instance.new(instance)
  850. inst.Parent = parent
  851. if(properties)then
  852. for i,v in next, properties do
  853. pcall(function() inst[i] = v end)
  854. end
  855. end
  856. return inst;
  857. end
  858.  
  859. function Clone(instance,parent,properties)
  860. local inst = instance:Clone()
  861. inst.Parent = parent
  862. if(properties)then
  863. for i,v in next, properties do
  864. pcall(function() inst[i] = v end)
  865. end
  866. end
  867. return inst;
  868. end
  869.  
  870.  
  871.  
  872.  
  873. --// Customization \\--
  874.  
  875. local DamageColor = BrickColor.new'White'
  876.  
  877. --// Stop animations \\--
  878. for _,v in next, Hum:GetPlayingAnimationTracks() do
  879. v:Stop();
  880. end
  881.  
  882. pcall(game.Destroy,Char:FindFirstChild'Animate')
  883. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  884.  
  885. --// Joints \\--
  886.  
  887. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5,0.5,0),C1 = CF.N(0,.5,0)})
  888. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5,0.5,0),C1 = CF.N(0,.5,0)})
  889. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5,0)})
  890. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5,-1,0),C1 = CF.N(0,1,0)})
  891. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5,-1,0),C1 = CF.N(0,1,0)})
  892. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  893.  
  894. local LSC0 = LS.C0
  895. local RSC0 = RS.C0
  896. local NKC0 = NK.C0
  897. local LHC0 = LH.C0
  898. local RHC0 = RH.C0
  899. local RJC0 = RJ.C0
  900.  
  901. --// Artificial HB \\--
  902.  
  903. local ArtificialHB = IN("BindableEvent", script)
  904. ArtificialHB.Name = "Heartbeat"
  905.  
  906. script:WaitForChild("Heartbeat")
  907.  
  908. local tf = 0
  909. local allowframeloss = false
  910. local tossremainder = false
  911. local lastframe = tick()
  912. local frame = 1/Frame_Speed
  913. ArtificialHB:Fire()
  914.  
  915. game:GetService("RunService").Heartbeat:connect(function(s, p)
  916. tf = tf + s
  917. if tf >= frame then
  918. if allowframeloss then
  919. script.Heartbeat:Fire()
  920. lastframe = tick()
  921. else
  922. for i = 1, math.floor(tf / frame) do
  923. ArtificialHB:Fire()
  924. end
  925. lastframe = tick()
  926. end
  927. if tossremainder then
  928. tf = 0
  929. else
  930. tf = tf - frame * math.floor(tf / frame)
  931. end
  932. end
  933. end)
  934.  
  935. function swait(num)
  936. if num == 0 or num == nil then
  937. ArtificialHB.Event:wait()
  938. else
  939. for i = 0, num do
  940. ArtificialHB.Event:wait()
  941. end
  942. end
  943. end
  944.  
  945.  
  946.  
  947. mesuk = "Put id of the music here"
  948.  
  949.  
  950. while true do
  951. swait()
  952.  
  953. Sine = Sine + Change
  954.  
  955. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4)), Char)
  956.  
  957. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  958. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and (Hum.WalkSpeed > 24 and "Run" or "Walk") or hitfloor and "Idle")
  959. if(not Effects or not Effects.Parent)then
  960. Effects = IN("Model",Char)
  961. Effects.Name = "Effects"
  962. end
  963. if(State == 'Walk')then
  964. local wsVal = 20 / (Hum.WalkSpeed/16)
  965. local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  966. Change = 3
  967. RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.5*M.C(Sine/wsVal)/2,0+.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2.5,0,0),Alpha)
  968. LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.5*M.C(Sine/wsVal)/2,0-.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0),Alpha)
  969. else
  970. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  971. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  972. end
  973.  
  974. Hum.WalkSpeed = WalkSpeed
  975.  
  976. if(NeutralAnims)then
  977. if(State == 'Idle')then
  978. local Alpha = .1
  979. Change = .75
  980. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0*M.C(Sine/12),.2*M.C(Sine/6),0)*CF.A(M.R(0*M.C(Sine/12)),0,0),Alpha)
  981. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(0*M.C(Sine/12)),0,0),Alpha)
  982. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0)*CF.A(M.R(0.01),0,M.R(-10*M.C(Sine/12))),Alpha)
  983. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0)*CF.A(M.R(0.01),0,M.R(10*M.C(Sine/12))),Alpha)
  984. LH.C0 = LH.C0:lerp(LHC0*CF.N(0*M.C(Sine/12),0*M.C(Sine/6),0)*CF.A(M.R(0*M.C(Sine/12)),M.R(7),0),Alpha)
  985. RH.C0 = RH.C0:lerp(RHC0*CF.N(0*M.C(Sine/12),0*M.C(Sine/6),0)*CF.A(M.R(0*M.C(Sine/12)),M.R(-7),0),Alpha)
  986. -- idle
  987. elseif(State == 'Run')then
  988. local wsVal = 20 / (Hum.WalkSpeed/16)
  989. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  990. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  991. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  992. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha)
  993. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5)),Alpha)
  994. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  995. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  996. elseif(State == 'Walk')then
  997. local wsVal = 20 / (Hum.WalkSpeed/16)
  998. local Alpha = math.min(.3 * (Hum.WalkSpeed/16),1)
  999. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-5-2.5*M.C(Sine/(wsVal/2))),M.R(0*M.C(Sine/wsVal)),0),Alpha)
  1000. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1001. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.22*M.C(Sine/wsVal))*CF.A(M.R(37*M.C(Sine/wsVal)),0,M.R(-5)),Alpha)
  1002.  
  1003. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.22*M.C(Sine/wsVal))*CF.A(M.R(-37*M.C(Sine/wsVal)),0,M.R(5)),Alpha)
  1004.  
  1005. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1006. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1007. elseif(State == 'Jump')then
  1008. local Alpha = .1
  1009. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1010. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1011. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(-5)),Alpha)
  1012. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1013. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1014. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1015. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1016. elseif(State == 'Fall')then
  1017. local Alpha = .1
  1018. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1019. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-5)+idk),Alpha)
  1020. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(5)-idk),Alpha)
  1021. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1022. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1023. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1024. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1025. elseif(State == 'Paralyzed')then
  1026. -- paralyzed
  1027. elseif(State == 'Sit')then
  1028. -- sit
  1029. end
  1030. end
  1031. end
Add Comment
Please, Sign In to add comment