daily pastebin goal
51%
SHARE
TWEET

This is really retarded in my eyes.

CasperYep Feb 19th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --SynapseX Decompiler
  2.  
  3. local player = game.Players.LocalPlayer
  4. local pstats = player:WaitForChild("playerstats")
  5. repeat
  6.     wait()
  7. until player.Character
  8. repeat
  9.     wait()
  10. until player.Backpack:FindFirstChild("Interact")
  11. local main = script.Parent.Frame.Main
  12. local bottom = main.Parent.Bottom
  13. local toggle = player.PlayerGui.Options.toggles.sid
  14. local storage = player.PlayerGui.ViewContents.Storage
  15. local compass = script.Parent.Compass
  16. local watch = script.Parent.Watch
  17. local c4 = main.C4
  18. local omni = main.Omni
  19. local radio = main.Radio
  20. local inv = main.Inventory
  21. local group = main.Group
  22. local mygroup = player.PlayerGui.MyGroup.Bin
  23. local groupid = mygroup.groupid
  24. local faded = false
  25. repeat
  26.     wait(0.5)
  27. until player.Backpack:FindFirstChild("Interact")
  28. main.Parent.Visible = true
  29.  
  30. function Activate(gui)
  31.     gui.Visible = true
  32.     gui.AutoButtonColor = true
  33.     gui.ImageColor3 = Color3.new(0.7843137254901961, 0.7843137254901961, 0.7843137254901961)
  34.     Fade(gui)
  35.     gui.BackgroundColor3 = Color3.new(0.5882352941176471, 0.5882352941176471, 0.5882352941176471)
  36. end
  37.  
  38. function Deactivate(gui)
  39.     gui.Visible = false
  40.     gui.AutoButtonColor = false
  41.     gui.ImageColor3 = Color3.new(0, 0, 0)
  42.     Fade(gui)
  43.     gui.BackgroundColor3 = Color3.new(0.3137254901960784, 0.3137254901960784, 0.3137254901960784)
  44. end
  45. function ChangeIndicator(button, val)
  46.     if val then
  47.         button.BackgroundColor3 = Color3.new(0, 1, 0)
  48.     else
  49.         button.BackgroundColor3 = Color3.new(1, 0, 0)
  50.     end
  51. end
  52. inv.MouseButton1Up:connect(function()
  53.     if not player.Character.Humanoid.Sit then
  54.         if storage.Visible then
  55.             _G.CloseContainer()
  56.         else
  57.             _G.ToggleInventory()
  58.         end
  59.     end
  60. end)
  61. if groupid.Value ~= "nogroup" then
  62.     group.Image = "rbxassetid://216484183"
  63.     group.Label.Text = "Leave Group"
  64. end
  65. function CreateGroup()
  66.     if groupid.Value ~= "nogroup" then
  67.         return
  68.     end
  69.     local tcs
  70.     repeat
  71.         tcs = tostring(math.random(1, 999999999))
  72.     until not game.Lighting.Groups:FindFirstChild(tcs)
  73.     _G.Events.GroupCreate:FireServer(tcs)
  74.     groupid.Value = tcs
  75.     groupid.isgroupleader.Value = true
  76.     local guises = player.PlayerGui:GetChildren()
  77.     for mop = 1, #guises do
  78.         if guises[mop].Name == "GroupInvite" then
  79.             guises[mop]:Destroy()
  80.         end
  81.     end
  82. end
  83. function LeaveGroup(instant)
  84.     if instant and not _G.IsConsole then
  85.         return
  86.     end
  87.     if not mygroup.leaving.Value and groupid.Value ~= "nogroup" then
  88.         mygroup.leaving.Value = true
  89.         group.Label.Text = "Leaving Group..."
  90.         if not instant then
  91.             for g = 1, 10 do
  92.                 wait(0.5)
  93.                 group.BackgroundColor3 = Color3.new(1, 0.5882352941176471, 0.5882352941176471)
  94.                 wait(0.5)
  95.                 group.BackgroundColor3 = Color3.new(0.5882352941176471, 0.5882352941176471, 0.5882352941176471)
  96.             end
  97.         end
  98.         _G.Events.GroupLeave:FireServer(game.Lighting.Groups:findFirstChild(mygroup.groupid.Value))
  99.         groupid.Value = "nogroup"
  100.         groupid.isgroupleader.Value = false
  101.         mygroup.members.Value = 0
  102.         mygroup.leaving.Value = false
  103.     end
  104. end
  105. _G.CreateGroup = CreateGroup
  106. _G.LeaveGroup = LeaveGroup
  107. groupid.Changed:connect(function()
  108.     if groupid.Value == "nogroup" then
  109.         group.Image = "rbxassetid://216484963"
  110.         group.Label.Text = "Create Group"
  111.     else
  112.         group.Image = "rbxassetid://216484183"
  113.         group.Label.Text = "Leave Group"
  114.     end
  115. end)
  116. group.MouseButton1Up:connect(function()
  117.     if groupid.Value == "nogroup" then
  118.         CreateGroup()
  119.     else
  120.         LeaveGroup()
  121.     end
  122. end)
  123. local omno = false
  124. omni.MouseButton1Up:connect(function()
  125.     if omni.AutoButtonColor and not omno then
  126.         _G.Events.CreateOmni:FireServer()
  127.         omno = true
  128.     elseif omno and player.Character.Head:FindFirstChild("OmniLight") then
  129.         _G.Destruct(player.Character.Head.OmniLight)
  130.         omno = false
  131.     end
  132. end)
  133. player.Character.Head.ChildAdded:connect(function(child)
  134.     if child.Name == "OmniLight" then
  135.         ChangeIndicator(omni.Indicator, true)
  136.     end
  137. end)
  138. player.Character.Head.ChildRemoved:connect(function(child)
  139.     if child.Name == "OmniLight" then
  140.         ChangeIndicator(omni.Indicator, false)
  141.     end
  142. end)
  143. radio.MouseEnter:connect(function()
  144.     if radio.AutoButtonColor then
  145.         radio.Volume.Visible = true
  146.     end
  147. end)
  148. radio.MouseLeave:connect(function()
  149.     radio.Volume.Visible = false
  150. end)
  151. local rtog = player.PlayerGui.radio
  152. local rvol = rtog.volmod
  153. for g = 1, 5 do
  154.     radio.Volume["v" .. g].MouseButton1Up:connect(function()
  155.         for z = g + 1, 5 do
  156.             radio.Volume["v" .. z].BackgroundColor3 = Color3.new(0.7058823529411765, 0.7058823529411765, 0.7058823529411765)
  157.         end
  158.         for z = 1, g do
  159.             radio.Volume["v" .. z].BackgroundColor3 = Color3.new(0.5333333333333333, 1, 0)
  160.         end
  161.         rvol.Value = g
  162.     end)
  163. end
  164. radio.MouseButton1Up:connect(function()
  165.     if radio.AutoButtonColor then
  166.         rtog.Value = not rtog.Value
  167.         ChangeIndicator(radio.Indicator, rtog.Value)
  168.     end
  169. end)
  170. c4.MouseButton1Up:connect(function()
  171.     if c4.AutoButtonColor then
  172.         wait(0.5)
  173.         local c4 = {}
  174.         local cosas = game.Workspace:GetChildren()
  175.         for z = 1, #cosas do
  176.             if cosas[z].Name == "C4Placed" and cosas[z].Owner.Value == player.Name then
  177.                 table.insert(c4, cosas[z])
  178.                 cosas[z].Name = "C4Active"
  179.             end
  180.         end
  181.         for t = 1, #c4 do
  182.             if c4[t] then
  183.                 _G.Events.Detonate:FireServer(c4[t])
  184.             end
  185.         end
  186.     end
  187. end)
  188. local perk = bottom.Perk
  189. local perkover = perk.PerkOver
  190. local perk1 = pstats.character.perk1
  191. local perk2 = pstats.character.perk2
  192. if perk1.Value == 1 then
  193.     perk.Label.Text = "Cardio"
  194.     perk.Image = "http://www.roblox.com/asset/?id=85597040"
  195.     perk.BackgroundColor3 = Color3.new(0.17647058823529413, 0.5529411764705883, 0.8156862745098039)
  196. elseif perk1.Value == 2 then
  197.     perk.Label.Text = "Survivalist"
  198.     perk.Image = "http://www.roblox.com/asset/?id=85597797"
  199.     perk.BackgroundColor3 = Color3.new(0.08627450980392157, 0.5058823529411764, 0.08627450980392157)
  200. elseif perk1.Value == 3 then
  201.     perk.Label.Text = "Vitality"
  202.     perk.Image = "http://www.roblox.com/asset/?id=133574732"
  203.     perk.BackgroundColor3 = Color3.new(0.6705882352941176, 0.12549019607843137, 0.12549019607843137)
  204. elseif perk1.Value == 4 then
  205.     perk.Label.Text = "Ninja"
  206.     perk.Image = "http://www.roblox.com/asset/?id=85687448"
  207.     perk.BackgroundColor3 = Color3.new(1, 0.6, 0)
  208. end
  209. if perk2.Value > 0 then
  210.     perkover.Visible = true
  211.     if perk2.Value == 1 then
  212.         perk.Label.Text = perk.Label.Text .. " / Cardio"
  213.         perkover.Image = "http://www.roblox.com/asset/?id=162848104"
  214.     elseif perk2.Value == 2 then
  215.         perk.Label.Text = perk.Label.Text .. " / Survivalist"
  216.         perkover.Image = "http://www.roblox.com/asset/?id=162848133"
  217.     elseif perk2.Value == 3 then
  218.         perk.Label.Text = perk.Label.Text .. " / Vitality"
  219.         perkover.Image = "http://www.roblox.com/asset/?id=162852855"
  220.     elseif perk2.Value == 4 then
  221.         perk.Label.Text = perk.Label.Text .. " / Ninja"
  222.         perkover.Image = "http://www.roblox.com/asset/?id=162848175"
  223.     end
  224. end
  225. perk.MouseEnter:connect(function()
  226.     perk.Label.Visible = true
  227. end)
  228. perk.MouseLeave:connect(function()
  229.     perk.Label.Visible = false
  230. end)
  231. local lob = bottom.Lobby
  232. local message = script.Parent.Message
  233. local tendril = false
  234. lob.MouseButton1Down:connect(function()
  235.     if not tendril then
  236.         message.Visible = not message.Visible
  237.     end
  238. end)
  239. message.Yes.MouseButton1Down:connect(function()
  240.     local lplace = game.PlaceId == 235211219 and 225099823 or 1600503
  241.     game:GetService("TeleportService").CustomizedTeleportUI = true
  242.     game:GetService("TeleportService"):Teleport(lplace)
  243. end)
  244. message.No.MouseButton1Down:connect(function()
  245.     message.Visible = false
  246. end)
  247. lob.MouseEnter:connect(function()
  248.     lob.Label.Visible = true
  249. end)
  250. lob.MouseLeave:connect(function()
  251.     lob.Label.Visible = false
  252. end)
  253. local incombat = player.Character.Humanoid:WaitForChild("incombat")
  254. local clog = bottom.Log
  255. local tracker = player:WaitForChild("TrackCombat")
  256. tracker.OnClientEvent:connect(function(blinking)
  257.     if blinking then
  258.         lob.ImageColor3 = Color3.new(0, 0, 0)
  259.         message.Visible = false
  260.         tendril = true
  261.         clog.Label.Text = "You are in combat. Your character will be reset if you exit the game."
  262.         while tendril do
  263.             wait(0.5)
  264.             clog.BackgroundColor3 = Color3.new(0.5882352941176471, 0.5882352941176471, 0.5882352941176471)
  265.             wait(0.5)
  266.             clog.BackgroundColor3 = Color3.new(1, 0.5882352941176471, 0.5882352941176471)
  267.         end
  268.         lob.ImageColor3 = Color3.new(1, 1, 1)
  269.         clog.Label.Text = "You are not in combat. You can safely exit the game."
  270.         clog.BackgroundColor3 = Color3.new(0.5882352941176471, 1, 0.5882352941176471)
  271.     else
  272.         tendril = false
  273.     end
  274. end)
  275. clog.MouseEnter:connect(function()
  276.     clog.Label.Visible = true
  277. end)
  278. clog.MouseLeave:connect(function()
  279.     clog.Label.Visible = false
  280. end)
  281. local mains = main:GetChildren()
  282. local fade = 0
  283. function Fade(gui)
  284.     if toggle.Value == "1" then
  285.         if faded then
  286.             if gui.AutoButtonColor then
  287.                 gui.ImageTransparency = 0.65
  288.             else
  289.                 gui.ImageTransparency = 0.85
  290.             end
  291.             gui.BackgroundTransparency = 0.8
  292.         else
  293.             if gui.AutoButtonColor then
  294.                 gui.ImageTransparency = 0.25
  295.             else
  296.                 gui.ImageTransparency = 0.75
  297.             end
  298.             gui.BackgroundTransparency = 0.5
  299.         end
  300.     elseif toggle.Value == "2" then
  301.         if gui.AutoButtonColor then
  302.             gui.ImageTransparency = 0.25
  303.         else
  304.             gui.ImageTransparency = 0.75
  305.         end
  306.         gui.BackgroundTransparency = 0.5
  307.     else
  308.         if gui.AutoButtonColor then
  309.             gui.ImageTransparency = 0.65
  310.         else
  311.             gui.ImageTransparency = 0.85
  312.         end
  313.         gui.BackgroundTransparency = 0.8
  314.     end
  315. end
  316. function ChangeFade(val)
  317.     faded = val
  318.     for b = 1, #mains do
  319.         if mains[b]:IsA("GuiBase") then
  320.             Fade(mains[b])
  321.         end
  322.     end
  323. end
  324. function WaitForFade()
  325.     wait(5)
  326.     if tick() - fade >= 4.5 then
  327.         ChangeFade(true)
  328.     end
  329. end
  330. local uslots = pstats.utilityslots:GetChildren()
  331. function onChanged()
  332.     wait()
  333.     local havec4 = false
  334.     local haveomni = false
  335.     local havecompass = false
  336.     local havewatch = false
  337.     local haveradio = false
  338.     for g = 1, #uslots do
  339.         if uslots[g]:FindFirstChild("ObjectID") then
  340.             local deobjid = _G.Deobfuscate(uslots[g].ObjectID.Value)
  341.             if deobjid == 3001 then
  342.                 havewatch = true
  343.             elseif deobjid == 3002 then
  344.                 havecompass = true
  345.             elseif deobjid == 3015 then
  346.                 haveomni = true
  347.             elseif deobjid == 3017 then
  348.                 havec4 = true
  349.             elseif deobjid == 3018 then
  350.                 haveradio = true
  351.             end
  352.         end
  353.     end
  354.     if havewatch then
  355.         watch.Visible = true
  356.     else
  357.         watch.Visible = false
  358.     end
  359.     if havecompass then
  360.         compass.Visible = true
  361.     else
  362.         compass.Visible = false
  363.     end
  364.     omni.Position = c4.Position
  365.     radio.Position = c4.Position
  366.     if havec4 then
  367.         omni.Position = omni.Position + UDim2.new(0, 0, 0, 48)
  368.         radio.Position = omni.Position
  369.         Activate(c4)
  370.     else
  371.         Deactivate(c4)
  372.     end
  373.     if haveomni then
  374.         radio.Position = radio.Position + UDim2.new(0, 0, 0, 48)
  375.         Activate(omni)
  376.         omni.Indicator.Visible = true
  377.     else
  378.         Deactivate(omni)
  379.         omni.Indicator.Visible = false
  380.     end
  381.     if haveradio then
  382.         Activate(radio)
  383.         radio.Indicator.Visible = true
  384.     else
  385.         Deactivate(radio)
  386.         radio.Indicator.Visible = false
  387.     end
  388. end
  389. for g = 1, #uslots do
  390.     uslots[g].ChildAdded:connect(onChanged)
  391.     uslots[g].ChildRemoved:connect(onChanged)
  392. end
  393. local things = main:GetChildren()
  394. for g = 1, #things do
  395.     if things[g]:IsA("GuiObject") then
  396.         things[g].MouseEnter:connect(function()
  397.             things[g].Label.Visible = true
  398.             fade = math.huge
  399.             ChangeFade(false)
  400.         end)
  401.         things[g].MouseLeave:connect(function()
  402.             things[g].Label.Visible = false
  403.             fade = tick()
  404.             WaitForFade()
  405.         end)
  406.     end
  407. end
  408. toggle.Changed:connect(function()
  409.     ChangeFade(true)
  410. end)
  411. local settings = bottom.Settings
  412. settings.MouseEnter:connect(function()
  413.     settings.Label.Visible = true
  414. end)
  415. settings.MouseLeave:connect(function()
  416.     settings.Label.Visible = false
  417. end)
  418. onChanged()
  419. WaitForFade()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top