Advertisement
ZV0K

Kals Lock 🛡️

Aug 11th, 2023
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.63 KB | None | 0 0
  1. --subscribe to: https://www.youtube.com/channel/UCUjDWAv4BH_kPnewATewgfQ
  2. --press "Q" to toggle
  3.  
  4. Settings = {
  5. Kalslock = {
  6. Enabled = true,
  7. Key = "q",
  8. showdot = true,
  9. airshots = true,
  10. notifaction = true,
  11. pingprediction = false,
  12. FOV = math.huge,
  13. RESOVLER = true,
  14. Tracer = true,
  15. TracerColor = Color3.new(0, 255, 238),
  16. TracerTransparency = 0.75,
  17. TracerThickness = 5,
  18. Circles = false,
  19. CircleFOV = 500,
  20. CircleColor = Color3.new(255, 255, 255),
  21. CircleThickness = 2,
  22. CircleFilled = true,
  23. CircleTransparency = 0.10,
  24. CircleTransparencyOutline = 0,
  25. OutlineColor = Color3.new(255, 255, 255),
  26. Texts = false,
  27. TextColor = Color3.new(255, 255, 255),
  28. TextSize = 35,
  29. TextInput = "made by kal",
  30. Hitbox = true,
  31. NoBulletDelay = true,
  32. Autoclicker = true,
  33. AutoclickerTime = 0.01,
  34. AutoclickerKey = "v",
  35. AnimationPack = true
  36.  
  37. }
  38. }
  39.  
  40. --[[
  41. Parts - / HumanoidRootPart / LowerTorso / UpperTorso / Head
  42. ]]
  43.  
  44. local SelectedPart = "HumanoidRootPart"
  45. local Prediction = true
  46. local PredictionValue = 0.132
  47.  
  48.  
  49.  
  50. local AnchorCount = 0
  51. local MaxAnchor = 50
  52.  
  53. local CC = game:GetService"Workspace".CurrentCamera
  54. local Plr;
  55. local enabled = false
  56. local accomidationfactor = 0.132
  57. local mouse = game.Players.LocalPlayer:GetMouse()
  58.  
  59. local Inset = game:GetService("GuiService"):GetGuiInset().Y
  60. local Line = Drawing.new("Line")
  61. local Text = Drawing.new("Text")
  62. local Circle = Drawing.new("Circle")
  63. local Circle1 = Drawing.new("Circle")
  64.  
  65.  
  66. _G.Types = {
  67. Ball = Enum.PartType.Ball,
  68. Block = Enum.PartType.Block,
  69. Cylinder = Enum.PartType.Cylinder
  70. }
  71.  
  72. local placemarker = Instance.new("Part", game.Workspace)
  73. placemarker.Shape = _G.Types.Ball
  74. placemarker.Material = "ForceField"
  75. placemarker.Color = Color3.new(0, 1, 1)
  76.  
  77. function makemarker(Parent, Adornee, Color, Size, Size2)
  78. local e = Instance.new("BillboardGui", Parent)
  79. e.Name = "PP"
  80. e.Adornee = Adornee
  81. e.Size = UDim2.new(Size, Size2, Size, Size2)
  82. e.AlwaysOnTop = Settings.Kalslock.showdot
  83. local a = Instance.new("Frame", e)
  84. if Settings.Kalslock.showdot == true then
  85. a.Size = UDim2.new(1, 0, 1, 0)
  86. else
  87. a.Size = UDim2.new(0, 0, 0, 0)
  88. end
  89. if Settings.Kalslock.showdot == true then
  90. a.Transparency = 0
  91. a.BackgroundTransparency = 0
  92. else
  93. a.Transparency = 1
  94. a.BackgroundTransparency = 1
  95. end
  96. a.BackgroundColor3 = Color
  97. local g = Instance.new("UICorner", a)
  98. if Settings.Kalslock.showdot == false then
  99. g.CornerRadius = UDim.new(0, 0)
  100. else
  101. g.CornerRadius = UDim.new(1, 1)
  102. end
  103. return(e)
  104. end
  105.  
  106.  
  107. local data = game.Players:GetPlayers()
  108. function noob(player)
  109. local character
  110. repeat wait() until player.Character
  111. local handler = makemarker(guimain, player.Character:WaitForChild(SelectedPart), Color3.fromRGB(0, 255, 229), 0.3, 3)
  112. handler.Name = player.Name
  113. player.CharacterAdded:connect(function(Char) handler.Adornee = Char:WaitForChild(SelectedPart) end)
  114.  
  115.  
  116. spawn(function()
  117. while wait() do
  118. if player.Character then
  119. end
  120. end
  121. end)
  122. end
  123.  
  124. for i = 1, #data do
  125. if data[i] ~= game.Players.LocalPlayer then
  126. noob(data[i])
  127. end
  128. end
  129.  
  130. game.Players.PlayerAdded:connect(function(Player)
  131. noob(Player)
  132. end)
  133.  
  134. spawn(function()
  135. placemarker.Anchored = true
  136. placemarker.CanCollide = false
  137. if Settings.Kalslock.showdot == true then
  138. placemarker.Size = Vector3.new(11, 11, 11)
  139. else
  140. placemarker.Size = Vector3.new(0, 0, 0)
  141. end
  142. if Settings.Kalslock.Hitbox == true then
  143. placemarker.Transparency = 0.30
  144. else
  145. placemarker.Transparency = 1
  146. end
  147. if Settings.Kalslock.showdot then
  148. makemarker(placemarker, placemarker, Color3.fromRGB(0, 255, 238), 0.80, 0)
  149. end
  150. end)
  151.  
  152. game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(k)
  153. if k == Settings.Kalslock.Key and Settings.Kalslock.Enabled then
  154. if enabled == true then
  155. enabled = false
  156. if Settings.Kalslock.notifaction == true then
  157. Plr = getClosestPlayerToCursor()
  158. game.StarterGui:SetCore("SendNotification", {
  159. Title = " Kal >3";
  160. Text = " Unlocked",
  161. Icon = "http://www.roblox.com/asset/?id=5314810647",
  162. Duration = 3
  163. })
  164. end
  165. else
  166. Plr = getClosestPlayerToCursor()
  167. enabled = true
  168. if Settings.Kalslock.notifaction == true then
  169.  
  170. game.StarterGui:SetCore("SendNotification", {
  171. Title = " Kal >3";
  172. Text = " Target: "..tostring(Plr.Character.Humanoid.DisplayName),
  173. Icon = "http://www.roblox.com/asset/?id=8709610734",
  174. Duration = 3
  175. })
  176.  
  177. end
  178. end
  179. end
  180. end)
  181.  
  182.  
  183.  
  184. function getClosestPlayerToCursor()
  185. local closestPlayer
  186. local shortestDistance = Settings.Kalslock.FOV
  187.  
  188. for i, v in pairs(game.Players:GetPlayers()) do
  189. if v ~= game.Players.LocalPlayer and v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and v.Character:FindFirstChild("HumanoidRootPart") then
  190. local pos = CC:WorldToViewportPoint(v.Character.PrimaryPart.Position)
  191. local magnitude = (Vector2.new(pos.X, pos.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude
  192. if magnitude < shortestDistance then
  193. closestPlayer = v
  194. shortestDistance = magnitude
  195. end
  196. end
  197. end
  198. return closestPlayer
  199. end
  200.  
  201. local pingvalue = nil;
  202. local split = nil;
  203. local ping = nil;
  204.  
  205. game:GetService"RunService".Stepped:connect(function()
  206. if enabled and Plr.Character ~= nil and Plr.Character:FindFirstChild("HumanoidRootPart") then
  207. placemarker.CFrame = CFrame.new(Plr.Character.HumanoidRootPart.Position)
  208. local Vector1 = CC:WorldToViewportPoint(Plr.Character.HumanoidRootPart.Position)
  209. Line.Color = Settings.Kalslock.TracerColor
  210. Line.Transparency = Settings.Kalslock.TracerTransparency
  211. Line.Thickness = Settings.Kalslock.TracerThickness
  212. Line.From = Vector2.new(mouse.X, mouse.Y + Inset)
  213. Line.To = Vector2.new(Vector1.X, Vector1.Y)
  214. Line.Visible = Settings.Kalslock.Tracer
  215. Text.Position = Vector2.new(mouse.X, mouse.Y + Inset)
  216. Text.Visible = Settings.Kalslock.Texts
  217. Text.Center = true
  218. Text.Outline = true
  219. Text.Font = 1
  220. Text.Size = Settings.Kalslock.TextSize
  221. Text.Color = Settings.Kalslock.TextColor
  222. Text.Text = Settings.Kalslock.TextInput
  223. Circle.Position = Vector2.new(mouse.X, mouse.Y + Inset)
  224. Circle.Visible = Settings.Kalslock.Circles
  225. Circle.Thickness = 1.5
  226. Circle.Thickness = Settings.Kalslock.CircleThickness
  227. Circle.Radius = Settings.Kalslock.CircleFOV
  228. Circle.Color = Settings.Kalslock.CircleColor
  229. Circle.Filled = Settings.Kalslock.CircleFilled
  230. Circle.Transparency = Settings.Kalslock.CircleTransparency
  231. Circle1.Visible = true
  232. Circle1.Radius = Settings.Kalslock.CircleTransparencyOutline
  233. Circle1.Position = Vector2.new(mouse.X, mouse.Y + Inset)
  234. Circle1.Thickness = 5
  235. Circle1.Color = Settings.Kalslock.OutlineColor
  236.  
  237. else
  238. Circle.Visible = false
  239. Line.Visible = false
  240. Text.Visible = false
  241. Circle1.Visible = false
  242. placemarker.CFrame = CFrame.new(0, 9999, 0)
  243. end
  244. if Settings.Kalslock.pingprediction == true then
  245. pingvalue = game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValueString()
  246. split = string.split(pingvalue,'(')
  247. ping = tonumber(split[1])
  248. if ping < 130 then
  249. PredictionValue = 0.151
  250. elseif ping < 125 then
  251. PredictionValue = 0.149
  252. elseif ping < 110 then
  253. PredictionValue = 0.146
  254. elseif ping < 105 then
  255. PredictionValue = 0.138
  256. elseif ping < 90 then
  257. PredictionValue = 0.136
  258. elseif ping < 80 then
  259. PredictionValue = 0.134
  260. elseif ping < 70 then
  261. PredictionValue = 0.131
  262. elseif ping < 60 then
  263. PredictionValue = 0.1229
  264. elseif ping < 50 then
  265. PredictionValue = 0.1225
  266. elseif ping < 40 then
  267. PredictionValue = 0.1256
  268. end
  269. end
  270. end)
  271.  
  272. local mt = getrawmetatable(game)
  273. local old = mt.__namecall
  274. setreadonly(mt, false)
  275. mt.__namecall = newcclosure(function(...)
  276. local args = {...}
  277. if enabled and getnamecallmethod() == "FireServer" and args[2] == "UpdateMousePos" and Settings.Kalslock.Enabled and Plr.Character ~= nil then
  278.  
  279. -- args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*accomidationfactor)
  280. --[[
  281. if Settings.Kalslock.airshots == true then
  282. if game.Workspace.Players[Plr.Name].Humanoid:GetState() == Enum.HumanoidStateType.Freefall then -- Plr.Character:WaitForChild("Humanoid"):GetState() == Enum.HumanoidStateType.Freefall
  283.  
  284. --// Airshot
  285. args[3] = Plr.Character.LeftFoot.Position+(Plr.Character.LeftFoot.Velocity*PredictionValue)
  286.  
  287. else
  288. args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*PredictionValue)
  289.  
  290. end
  291. else
  292. args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*PredictionValue)
  293. end
  294. ]]
  295. if Prediction == true then
  296.  
  297. args[3] = Plr.Character[SelectedPart].Position+(Plr.Character[SelectedPart].Velocity*PredictionValue)
  298.  
  299. else
  300.  
  301. args[3] = Plr.Character[SelectedPart].Position
  302.  
  303. end
  304.  
  305. return old(unpack(args))
  306. end
  307. return old(...)
  308. end)
  309.  
  310. game:GetService("RunService").RenderStepped:Connect(function()
  311. if Settings.Kalslock.RESOVLER == true and Plr.Character ~= nil and enabled and Settings.Kalslock.Enabled then
  312. if Settings.Kalslock.airshots == true and enabled and Plr.Character ~= nil then
  313.  
  314. if game.Workspace.Players[Plr.Name].Humanoid:GetState() == Enum.HumanoidStateType.Freefall then -- Plr.Character:WaitForChild("Humanoid"):GetState() == Enum.HumanoidStateType.Freefall
  315.  
  316.  
  317.  
  318. if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then
  319. AnchorCount = AnchorCount + 1
  320. if AnchorCount >= MaxAnchor then
  321. Prediction = false
  322. wait(2)
  323. AnchorCount = 0;
  324. end
  325. else
  326. Prediction = true
  327. AnchorCount = 0;
  328. end
  329.  
  330. SelectedPart = "LeftFoot"
  331.  
  332. else
  333.  
  334.  
  335. if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then
  336. AnchorCount = AnchorCount + 1
  337. if AnchorCount >= MaxAnchor then
  338. Prediction = false
  339. wait(2)
  340. AnchorCount = 0;
  341. end
  342.  
  343. else
  344. Prediction = true
  345. AnchorCount = 0;
  346. end
  347.  
  348. SelectedPart = "HumanoidRootPart"
  349.  
  350. end
  351. else
  352.  
  353.  
  354.  
  355. if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then
  356. AnchorCount = AnchorCount + 1
  357. if AnchorCount >= MaxAnchor then
  358. Prediction = false
  359. wait(2)
  360. AnchorCount = 0;
  361. end
  362. else
  363. Prediction = true
  364. AnchorCount = 0;
  365. end
  366. SelectedPart = "HumanoidRootPart"
  367. end
  368. else
  369. SelectedPart = "HumanoidRootPart"
  370. end
  371. end)
  372.  
  373. if Settings.Kalslock.NoBulletDelay == true then
  374. local FuckDelay = game:GetService("CorePackages").Packages
  375. FuckDelay:Destroy()
  376. end
  377.  
  378. if Settings.Kalslock.Autoclicker == true then
  379. local time = Settings.Kalslock.AutoclickerTime --decrease if too slow increase if too fast
  380.  
  381. click = false
  382. m = game.Players.LocalPlayer:GetMouse()
  383. m.KeyDown:connect(function(key)
  384. if key == Settings.Kalslock.AutoclickerKey then
  385. if click == true then click = false
  386. elseif
  387. click == false then click = true
  388.  
  389. while click == true do
  390. wait(time)
  391. mouse1click()
  392. end
  393. end
  394. end
  395. end)
  396. end
  397.  
  398. if Settings.Kalslock.AnimationPack == true then
  399. -- Animation Pack --
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414. for _, v in next, game:GetService("CoreGui"):GetChildren() do
  415. if (v.Name:match("Animation")) then
  416. v:Destroy()
  417. end
  418. end
  419.  
  420. local Folder = Instance.new('Folder', game:GetService("Workspace"))
  421. Folder.Name = ("Animation")
  422.  
  423. local LeanAnimation = Instance.new("Animation", Folder)
  424. LeanAnimation.Name = "LeanAnimation"
  425. LeanAnimation.AnimationId = "rbxassetid://3152375249"
  426.  
  427. local LayAnimation = Instance.new("Animation", Folder)
  428. LayAnimation.Name = "LayAnimation"
  429. LayAnimation.AnimationId = "rbxassetid://3152378852"
  430.  
  431. local Dance1Animation = Instance.new("Animation", Folder)
  432. Dance1Animation.Name = "Dance1Animation"
  433. Dance1Animation.AnimationId = "rbxassetid://3189773368"
  434.  
  435. local Dance2Animation = Instance.new("Animation", Folder)
  436. Dance2Animation.Name = "Dance2Animation"
  437. Dance2Animation.AnimationId = "rbxassetid://3189776546"
  438.  
  439. local GreetAnimation = Instance.new("Animation", Folder)
  440. GreetAnimation.Name = "GreetAnimation"
  441. GreetAnimation.AnimationId = "rbxassetid://3189777795"
  442.  
  443. local ChestPumpAnimation = Instance.new("Animation", Folder)
  444. ChestPumpAnimation.Name = "ChestPumpAnimation"
  445. ChestPumpAnimation.AnimationId = "rbxassetid://3189779152"
  446.  
  447. local PrayingAnimation = Instance.new("Animation", Folder)
  448. PrayingAnimation.Name = "PrayingAnimation"
  449. PrayingAnimation.AnimationId = "rbxassetid://3487719500"
  450.  
  451. if game.PlaceId == 2788229376 then
  452. function AnimationPack(Character)
  453. Character:WaitForChild'HumanoidRootPart'
  454. local Animation = Instance.new("ScreenGui")
  455. local AnimationPack = Instance.new("TextButton")
  456. local CloseButton = Instance.new("TextButton")
  457. local ScrollingFrame = Instance.new("ScrollingFrame")
  458. local ChestPumpButton = Instance.new("TextButton")
  459. local Dance1Button = Instance.new("TextButton")
  460. local Dance2Button = Instance.new("TextButton")
  461. local LayButton = Instance.new("TextButton")
  462. local GreetButton = Instance.new("TextButton")
  463. local LeanButton = Instance.new("TextButton")
  464. local PrayingButton = Instance.new("TextButton")
  465.  
  466. Animation.Name = "Animation"
  467. Animation.Parent = game.CoreGui
  468. Animation.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  469.  
  470. AnimationPack.Name = "AnimationPack"
  471. AnimationPack.Parent = Animation
  472. AnimationPack.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  473. AnimationPack.BorderSizePixel = 0
  474. AnimationPack.Position = UDim2.new(0, 0, 0.5, 0)
  475. AnimationPack.Size = UDim2.new(0, 100, 0, 20)
  476. AnimationPack.Visible = false
  477. AnimationPack.Font = Enum.Font.SourceSansBold
  478. AnimationPack.Text = "Animations"
  479. AnimationPack.TextColor3 = Color3.fromRGB(0, 0, 0)
  480. AnimationPack.TextSize = 18.000
  481.  
  482. CloseButton.Name = "CloseButton"
  483. CloseButton.Parent = AnimationPack
  484. CloseButton.BackgroundColor3 = Color3.fromRGB(255, 112, 112)
  485. CloseButton.Position = UDim2.new(0, 0, 0, 97)
  486. CloseButton.Size = UDim2.new(0, 120, 0, 25)
  487. CloseButton.Visible = false
  488. CloseButton.Font = Enum.Font.SourceSansBold
  489. CloseButton.Text = "CLOSE"
  490. CloseButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  491. CloseButton.TextSize = 30.000
  492.  
  493. ScrollingFrame.Parent = AnimationPack
  494. ScrollingFrame.Active = true
  495. ScrollingFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  496. ScrollingFrame.BackgroundColor3 = Color3.fromRGB(102, 102, 102)
  497. ScrollingFrame.Position = UDim2.new(0, 60, 0, 0)
  498. ScrollingFrame.Size = UDim2.new(0, 120, 0, 195)
  499. ScrollingFrame.Visible = false
  500. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 1, 200)
  501.  
  502. ChestPumpButton.Name = "ChestPumpButton"
  503. ChestPumpButton.Parent = ScrollingFrame
  504. ChestPumpButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  505. ChestPumpButton.Position = UDim2.new(0, 0, 0.727272749, 0)
  506. ChestPumpButton.Size = UDim2.new(1, 0, 0, 30)
  507. ChestPumpButton.Font = Enum.Font.GothamBlack
  508. ChestPumpButton.Text = "Chest Pump"
  509. ChestPumpButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  510. ChestPumpButton.TextSize = 12.000
  511. ChestPumpButton.TextWrapped = true
  512.  
  513. Dance1Button.Name = "Dance1Button"
  514. Dance1Button.Parent = ScrollingFrame
  515. Dance1Button.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  516. Dance1Button.Position = UDim2.new(0, 0, 0.290909111, 0)
  517. Dance1Button.Size = UDim2.new(1, 0, 0, 30)
  518. Dance1Button.Font = Enum.Font.GothamBlack
  519. Dance1Button.Text = "Dance1"
  520. Dance1Button.TextColor3 = Color3.fromRGB(0, 0, 0)
  521. Dance1Button.TextSize = 12.000
  522. Dance1Button.TextWrapped = true
  523.  
  524. Dance2Button.Name = "Dance2Button"
  525. Dance2Button.Parent = ScrollingFrame
  526. Dance2Button.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  527. Dance2Button.Position = UDim2.new(0, 0, 0.436363667, 0)
  528. Dance2Button.Size = UDim2.new(1, 0, 0, 30)
  529. Dance2Button.Font = Enum.Font.GothamBlack
  530. Dance2Button.Text = "Dance2"
  531. Dance2Button.TextColor3 = Color3.fromRGB(0, 0, 0)
  532. Dance2Button.TextSize = 12.000
  533. Dance2Button.TextWrapped = true
  534.  
  535. LayButton.Name = "LayButton"
  536. LayButton.Parent = ScrollingFrame
  537. LayButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  538. LayButton.Position = UDim2.new(0, 0, 0.145454556, 0)
  539. LayButton.Size = UDim2.new(1, 0, 0, 30)
  540. LayButton.Font = Enum.Font.GothamBlack
  541. LayButton.Text = "Lay"
  542. LayButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  543. LayButton.TextSize = 12.000
  544. LayButton.TextWrapped = true
  545.  
  546. GreetButton.Name = "GreetButton"
  547. GreetButton.Parent = ScrollingFrame
  548. GreetButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  549. GreetButton.Position = UDim2.new(0, 0, 0.581818223, 0)
  550. GreetButton.Size = UDim2.new(1, 0, 0, 30)
  551. GreetButton.Font = Enum.Font.GothamBlack
  552. GreetButton.Text = "Greet"
  553. GreetButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  554. GreetButton.TextSize = 12.000
  555. GreetButton.TextWrapped = true
  556.  
  557. LeanButton.Name = "LeanButton"
  558. LeanButton.Parent = ScrollingFrame
  559. LeanButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  560. LeanButton.Size = UDim2.new(1, 0, 0, 30)
  561. LeanButton.Font = Enum.Font.GothamBlack
  562. LeanButton.Text = "Lean"
  563. LeanButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  564. LeanButton.TextSize = 12.000
  565. LeanButton.TextWrapped = true
  566.  
  567. PrayingButton.Name = "PrayingButton"
  568. PrayingButton.Parent = ScrollingFrame
  569. PrayingButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  570. PrayingButton.Position = UDim2.new(5.96046448e-08, 0, 0.872727275, 0)
  571. PrayingButton.Size = UDim2.new(1, 0, 0, 30)
  572. PrayingButton.Font = Enum.Font.GothamBlack
  573. PrayingButton.Text = "Praying"
  574. PrayingButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  575. PrayingButton.TextSize = 12.000
  576. PrayingButton.TextWrapped = true
  577.  
  578. wait(1)
  579.  
  580. local AnimationPack = game:GetService("CoreGui").Animation.AnimationPack
  581. local ScrollingFrame = AnimationPack.ScrollingFrame
  582. local CloseButton = AnimationPack.CloseButton
  583.  
  584. AnimationPack.Visible = true
  585.  
  586. local Lean = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(LeanAnimation)
  587.  
  588. local Lay = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(LayAnimation)
  589.  
  590. local Dance1 = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(Dance1Animation)
  591.  
  592. local Dance2 = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(Dance2Animation)
  593.  
  594. local Greet = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(GreetAnimation)
  595.  
  596. local ChestPump = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(ChestPumpAnimation)
  597.  
  598. local Praying = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(PrayingAnimation)
  599.  
  600. function Stop()
  601. Lay:Stop()
  602. Lean:Stop()
  603. Dance1:Stop()
  604. Dance2:Stop()
  605. Greet:Stop()
  606. ChestPump:Stop()
  607. Praying:Stop()
  608. end
  609.  
  610. local LeanTextButton = ScrollingFrame.LeanButton
  611. local LayTextButton = ScrollingFrame.LayButton
  612. local Dance1TextButton = ScrollingFrame.Dance1Button
  613. local Dance2TextButton = ScrollingFrame.Dance2Button
  614. local GreetTextButton = ScrollingFrame.GreetButton
  615. local ChestPumpTextButton = ScrollingFrame.ChestPumpButton
  616. local PrayingTextButton = ScrollingFrame.PrayingButton
  617.  
  618. AnimationPack.MouseButton1Click:Connect(function()
  619. if ScrollingFrame.Visible == false then
  620. ScrollingFrame.Visible = true
  621. CloseButton.Visible = true
  622. end
  623. end)
  624. CloseButton.MouseButton1Click:Connect(function()
  625. if ScrollingFrame.Visible == true then
  626. ScrollingFrame.Visible = false
  627. CloseButton.Visible = false
  628. end
  629. end)
  630. LeanTextButton.MouseButton1Click:Connect(function()
  631. Stop()
  632. Lean:Play()
  633. end)
  634. LayTextButton.MouseButton1Click:Connect(function()
  635. Stop()
  636. Lay:Play()
  637. end)
  638. Dance1TextButton.MouseButton1Click:Connect(function()
  639. Stop()
  640. Dance1:Play()
  641. end)
  642. Dance2TextButton.MouseButton1Click:Connect(function()
  643. Stop()
  644. Dance2:Play()
  645. end)
  646. GreetTextButton.MouseButton1Click:Connect(function()
  647. Stop()
  648. Greet:Play()
  649. end)
  650. ChestPumpTextButton.MouseButton1Click:Connect(function()
  651. Stop()
  652. ChestPump:Play()
  653. end)
  654. PrayingTextButton.MouseButton1Click:Connect(function()
  655. Stop()
  656. Praying:Play()
  657. end)
  658.  
  659. game:GetService("Players").LocalPlayer.Character.Humanoid.Running:Connect(function()
  660. Stop()
  661. end)
  662. game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function()
  663. game.CoreGui.Animation:Destroy()
  664. end)
  665. end
  666. AnimationPack(game.Players.LocalPlayer.Character)
  667. game.Players.LocalPlayer.CharacterAdded:Connect(AnimationPack)
  668. end
  669. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement