Advertisement
Hellotop2

Untitled

Dec 31st, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. --SynapseX Decompiler
  2.  
  3. local z57113 = game:GetService("RunService")
  4. local b1cdc0d95147 = game:GetService("ReplicatedStorage")
  5. local Nebf4bf199 = require(b1cdc0d95147.Module.AlexWM)
  6. local R16e60 = game:GetService("CollectionService")
  7. local I038b94f89 = game:GetService("Players")
  8. local z3fb2e7cda = I038b94f89.LocalPlayer
  9. local T929b02e8aef = {}
  10. local function s6b3c8a(Mf7c413104cd)
  11. table.insert(T929b02e8aef, {Part = Mf7c413104cd})
  12. return true
  13. end
  14. local function Jba90b53b0(Jf03fe2590f)
  15. for lcfb59d5 = #T929b02e8aef, 1, -1 do
  16. local i616ee6043c = T929b02e8aef[lcfb59d5]
  17. if i616ee6043c.Part == Jf03fe2590f then
  18. table.remove(T929b02e8aef, lcfb59d5)
  19. return true
  20. end
  21. end
  22. return false
  23. end
  24. local function Xe0ac4b7b084(W47a22496)
  25. local z68981, T3306b1 = W47a22496.ProductGui, W47a22496.MainWindowGroup
  26. local Jb254bf = W47a22496.Event
  27. local yc41c3b = z68981.Codes
  28. local function se839b18()
  29. yc41c3b.Visible = true
  30. end
  31. local function A3294a()
  32. yc41c3b.Visible = false
  33. end
  34. local K10368c4 = Nebf4bf199.MakeWindow()
  35. K10368c4.OpenFun = se839b18
  36. K10368c4.CloseFun = A3294a
  37. Nebf4bf199.WindowGroupAdd(T3306b1, K10368c4)
  38. yc41c3b.Close.MouseButton1Down:Connect(function()
  39. Nebf4bf199.WindowClose(K10368c4)
  40. end)
  41. local function Te267b14f14()
  42. local Y218960 = yc41c3b.Code.Text
  43. if #Y218960 <= 0 or #Y218960 >= 30 then
  44. return false
  45. end
  46. yc41c3b.Code.Text = ""
  47. Jb254bf:FireServer("c" .. "14xtrgc", Y218960)
  48. Nebf4bf199.WindowClose(K10368c4)
  49. end
  50. yc41c3b.Redeem.MouseButton1Down:Connect(Te267b14f14)
  51. yc41c3b.Code.FocusLost:Connect(function(lc130662c59)
  52. if lc130662c59 then
  53. Te267b14f14()
  54. end
  55. end)
  56. local nfe7e2 = false
  57. local P6df468 = tick()
  58. local function m2788d2()
  59. local be69a3f = tick()
  60. local Oaf3238f0 = 0.1
  61. if Oaf3238f0 < be69a3f - P6df468 then
  62. P6df468 = be69a3f
  63. local V21e6a = z3fb2e7cda.Character
  64. if V21e6a then
  65. local X09b268 = V21e6a:FindFirstChild("HumanoidRootPart")
  66. if X09b268 then
  67. for Sd2d65474a1, J425d3ced in next, T929b02e8aef, nil do
  68. local f52c352 = J425d3ced.Part
  69. local V7e5510ad5 = f52c352.Position - X09b268.Position
  70. local Heb24b3a7 = V7e5510ad5.Magnitude
  71. local d66aeb7f13f = V7e5510ad5.Unit:Dot(-f52c352.CFrame.LookVector)
  72. if d66aeb7f13f > math.cos(math.pi * 0.2) and Heb24b3a7 < 4 then
  73. if not nfe7e2 then
  74. nfe7e2 = J425d3ced
  75. Nebf4bf199.WindowOpen(K10368c4)
  76. end
  77. elseif nfe7e2 == J425d3ced then
  78. nfe7e2 = false
  79. end
  80. end
  81. end
  82. end
  83. end
  84. end
  85. z57113.Heartbeat:Connect(m2788d2)
  86. for M0ec1a59, Pb4dbd3449b in next, R16e60:GetTagged("ATM") do
  87. s6b3c8a(Pb4dbd3449b)
  88. end
  89. R16e60:GetInstanceAddedSignal("ATM"):Connect(s6b3c8a)
  90. R16e60:GetInstanceRemovedSignal("ATM"):Connect(Jba90b53b0)
  91. end
  92. return {Init = Xe0ac4b7b084}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement