Advertisement
x_zstd

Roblox Silly Simulaotr GUI

Aug 12th, 2023
404
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 15.32 KB | Source Code | 1 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4.    Name = "Silly Hub",
  5.    LoadingTitle = "Automatic",
  6.    LoadingSubtitle = "by Vickiovik12",
  7.    ConfigurationSaving = {
  8.       Enabled = false,
  9.       FolderName = nil, -- Create a custom folder for your hub/game
  10.       FileName = "SillyHub"
  11.    },
  12.    Discord = {
  13.       Enabled = false,
  14.       Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
  15.       RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  16.    },
  17.    KeySystem = false, -- Set this to true to use our key system
  18.    KeySettings = {
  19.       Title = "Untitled",
  20.       Subtitle = "Key System",
  21.       Note = "No method of obtaining the key is provided",
  22.       FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
  23.       SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  24.       GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  25.       Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
  26.    }
  27. })
  28.  
  29. local MainTab = Window:CreateTab("Common", nil) -- Title, Image
  30.  
  31. local MainSection = MainTab:CreateSection("Load")
  32.  
  33. local Button = MainTab:CreateButton({
  34.    Name = "IY",
  35.    Callback = function()
  36.    loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
  37.    end,
  38. })
  39.  
  40. local Button = MainTab:CreateButton({
  41.    Name = "AimBot",
  42.    Callback = function()
  43.    loadstring(game:HttpGet("https://pastebin.com/raw/1Gp9c57U"))()
  44.    end,
  45. })
  46.  
  47. local Section = MainTab:CreateSection("Basic")
  48.  
  49. local Button = MainTab:CreateButton({
  50.    Name = "Auto Jump",
  51.    Callback = function()
  52.    while true do wait()
  53. game.Players.LocalPlayer.Character.Humanoid.Jump = true
  54. end
  55.    end,
  56. })
  57. local InfStaminaact
  58.  
  59. local Toggle = MainTab:CreateToggle({
  60.    Name = "Infinite Stamina",
  61.    CurrentValue = false,
  62.    Flag = "Toggle1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  63.    Callback = function(Value)
  64.    InfStaminaact = Value
  65.    end,
  66. })
  67.  
  68. local Slider = MainTab:CreateSlider({
  69.    Name = "Speed (InfStamina)",
  70.    Range = {0, 100},
  71.    Increment = 1,
  72.    Suffix = "Speed",
  73.    CurrentValue = 29,
  74.    Flag = "Slider1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  75.    Callback = function(Value)
  76.        if InfStaminaact == true then
  77.    game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Value -- The function that takes place when the slider changes
  78.   end
  79.    -- The variable (Value) is a number which correlates to the value the slider is currently at
  80.    end,
  81. })
  82.  
  83. local Button = MainTab:CreateButton({
  84.    Name = "H to teleport",
  85.    Callback = function()
  86.    
  87.    plr = game.Players.LocalPlayer
  88.  
  89. hum = plr.Character.HumanoidRootPart
  90.  
  91. mouse = plr:GetMouse()
  92.  
  93.  
  94.  
  95. mouse.KeyDown:connect(function(key)
  96.  
  97. if key == "h" then
  98.  
  99. if mouse.Target then
  100.  
  101. hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  102.  
  103. end
  104.  
  105. end
  106. end)
  107.    end,
  108. })
  109.  
  110. local Tab1 = Window:CreateTab("Combat", nil) -- Title, Image
  111.  
  112. local Section = Tab1:CreateSection("Fight")
  113.  
  114. local Toggle = Tab1:CreateToggle({
  115.    Name = "Auto Punch",
  116.    CurrentValue = false,
  117.    Flag = "Toggle2", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  118.    Callback = function(Value)
  119.            while true do wait()
  120.             if Value == true then
  121.            local args = {
  122.     [1] = "f"
  123. }
  124.  
  125. game:GetService("Players").LocalPlayer.Character.OYS.ButtonPressed:FireServer(unpack(args))
  126.              end
  127.             end
  128.    end,
  129. })
  130. local Toggle = Tab1:CreateToggle({
  131.    Name = "Auto Kick",
  132.    CurrentValue = false,
  133.    Flag = "Toggle3", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  134.    Callback = function(Value)
  135.        while true do wait()
  136.             if Value == true then
  137.                local args = {
  138.     [1] = "g"
  139. }
  140.  
  141. game:GetService("Players").LocalPlayer.Character.OYS.ButtonPressed:FireServer(unpack(args))
  142.  
  143.             end
  144.        end
  145.    end,
  146. })
  147.  
  148. local Toggle = Tab1:CreateToggle({
  149.    Name = "Auto Dash",
  150.    CurrentValue = false,
  151.    Flag = "Toggle4", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  152.    Callback = function(Value)
  153.        while true do wait()
  154.            if Value == true then
  155.                local args = {
  156.     [1] = "dash"
  157. }
  158.  
  159. game:GetService("Players").LocalPlayer.Character.OYS.ButtonPressed:FireServer(unpack(args))
  160.            end
  161.         end
  162.    end,
  163. })
  164.  
  165. local Tab2 = Window:CreateTab("Fun", nil) -- Title, Image
  166.  
  167. local Section = Tab2:CreateSection("Pro")
  168.  
  169. local Button = Tab2:CreateButton({
  170.    Name = "Spectate",
  171.    Callback = function()
  172.    local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  173.  
  174. local Window = Rayfield:CreateWindow({
  175.    Name = "Silly Hub",
  176.    LoadingTitle = "Automatic",
  177.    LoadingSubtitle = "by Vickiovik12",
  178.    ConfigurationSaving = {
  179.       Enabled = false,
  180.       FolderName = nil, -- Create a custom folder for your hub/game
  181.       FileName = "SillyHub"
  182.    },
  183.    Discord = {
  184.       Enabled = false,
  185.       Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
  186.       RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  187.    },
  188.    KeySystem = false, -- Set this to true to use our key system
  189.    KeySettings = {
  190.       Title = "Untitled",
  191.       Subtitle = "Key System",
  192.       Note = "No method of obtaining the key is provided",
  193.       FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
  194.       SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  195.       GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  196.       Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
  197.    }
  198. })
  199.  
  200. local MainTab = Window:CreateTab("Common", nil) -- Title, Image
  201.  
  202. local MainSection = MainTab:CreateSection("Load")
  203.  
  204. local Button = MainTab:CreateButton({
  205.    Name = "IY",
  206.    Callback = function()
  207.    loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
  208.    end,
  209. })
  210.  
  211. local Button = MainTab:CreateButton({
  212.    Name = "AimBot",
  213.    Callback = function()
  214.    loadstring(game:HttpGet("https://pastebin.com/raw/1Gp9c57U"))()
  215.    end,
  216. })
  217.  
  218. local Section = MainTab:CreateSection("Basic")
  219.  
  220. local Button = MainTab:CreateButton({
  221.    Name = "Auto Jump",
  222.    Callback = function()
  223.    while true do wait()
  224. game.Players.LocalPlayer.Character.Humanoid.Jump = true
  225. end
  226.    end,
  227. })
  228. local InfStaminaact
  229.  
  230. local Toggle = MainTab:CreateToggle({
  231.    Name = "Infinite Stamina",
  232.    CurrentValue = false,
  233.    Flag = "Toggle1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  234.    Callback = function(Value)
  235.    InfStaminaact = Value
  236.    end,
  237. })
  238.  
  239. local Slider = MainTab:CreateSlider({
  240.    Name = "Speed (InfStamina)",
  241.    Range = {0, 100},
  242.    Increment = 1,
  243.    Suffix = "Speed",
  244.    CurrentValue = 29,
  245.    Flag = "Slider1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  246.    Callback = function(Value)
  247.        if InfStaminaact == true then
  248.    game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Value -- The function that takes place when the slider changes
  249.   end
  250.    -- The variable (Value) is a number which correlates to the value the slider is currently at
  251.    end,
  252. })
  253.  
  254. local Button = MainTab:CreateButton({
  255.    Name = "H to teleport",
  256.    Callback = function()
  257.    
  258.    plr = game.Players.LocalPlayer
  259.  
  260. hum = plr.Character.HumanoidRootPart
  261.  
  262. mouse = plr:GetMouse()
  263.  
  264.  
  265.  
  266. mouse.KeyDown:connect(function(key)
  267.  
  268. if key == "h" then
  269.  
  270. if mouse.Target then
  271.  
  272. hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  273.  
  274. end
  275.  
  276. end
  277. end)
  278.    end,
  279. })
  280.  
  281. local Tab1 = Window:CreateTab("Combat", nil) -- Title, Image
  282.  
  283. local Section = Tab1:CreateSection("Fight")
  284.  
  285. local Toggle = Tab1:CreateToggle({
  286.    Name = "Auto Punch",
  287.    CurrentValue = false,
  288.    Flag = "Toggle2", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  289.    Callback = function(Value)
  290.            while true do wait()
  291.             if Value == true then
  292.            local args = {
  293.     [1] = "f"
  294. }
  295.  
  296. game:GetService("Players").LocalPlayer.Character.OYS.ButtonPressed:FireServer(unpack(args))
  297.              end
  298.             end
  299.    end,
  300. })
  301. local Toggle = Tab1:CreateToggle({
  302.    Name = "Auto Kick",
  303.    CurrentValue = false,
  304.    Flag = "Toggle3", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  305.    Callback = function(Value)
  306.        while true do wait()
  307.             if Value == true then
  308.                local args = {
  309.     [1] = "g"
  310. }
  311.  
  312. game:GetService("Players").LocalPlayer.Character.OYS.ButtonPressed:FireServer(unpack(args))
  313.  
  314.             end
  315.        end
  316.    end,
  317. })
  318.  
  319. local Toggle = Tab1:CreateToggle({
  320.    Name = "Auto Dash",
  321.    CurrentValue = false,
  322.    Flag = "Toggle4", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  323.    Callback = function(Value)
  324.        while true do wait()
  325.            if Value == true then
  326.                local args = {
  327.     [1] = "dash"
  328. }
  329.  
  330. game:GetService("Players").LocalPlayer.Character.OYS.ButtonPressed:FireServer(unpack(args))
  331.            end
  332.         end
  333.    end,
  334. })
  335.  
  336. local Tab2 = Window:CreateTab("Fun", nil) -- Title, Image
  337.  
  338. local Section = Tab2:CreateSection("Troll")
  339.  
  340. local Button = Tab2:CreateButton({
  341.    Name = "Spectate (Beta)",
  342.    Callback = function()
  343.    local runDummyScript = function(f,scri)
  344. local oldenv = getfenv(f)
  345. local newenv = setmetatable({}, {
  346. __index = function(_, k)
  347. if k:lower() == 'script' then
  348. return scri
  349. else
  350. return oldenv[k]
  351. end
  352. end
  353. })
  354. setfenv(f, newenv)
  355. ypcall(function() f() end)
  356. end
  357. cors = {}
  358. mas = Instance.new("Model",game:GetService("Lighting"))
  359. mas.Name = "CompiledModel"
  360. o1 = Instance.new("ScreenGui")
  361. o2 = Instance.new("Frame")
  362. o3 = Instance.new("TextButton")
  363. o4 = Instance.new("TextButton")
  364. o5 = Instance.new("TextLabel")
  365. o6 = Instance.new("ImageButton")
  366. o7 = Instance.new("LocalScript")
  367. o1.Name = "SpectateGui"
  368. o1.Parent = mas
  369. o2.Name = "Bar"
  370. o2.Parent = o1
  371. o2.Position = UDim2.new(-1,-100,0.87999999523163,-50)
  372. o2.Size = UDim2.new(0,200,0,50)
  373. o2.Position = UDim2.new(-1,-100,0.87999999523163,-50)
  374. o2.BackgroundColor3 = Color3.new(0, 0, 0)
  375. o2.BackgroundTransparency = 0.20000000298023
  376. o2.BorderSizePixel = 5
  377. o3.Name = "Previous"
  378. o3.Parent = o2
  379. o3.Size = UDim2.new(0.25,0,1,0)
  380. o3.Text = "<"
  381. o3.BackgroundColor3 = Color3.new(0.52549, 0.52549, 0.52549)
  382. o3.BorderColor3 = Color3.new(0.509804, 0.796079, 1)
  383. o3.BorderSizePixel = 0
  384. o3.Font = Enum.Font.SourceSans
  385. o3.FontSize = Enum.FontSize.Size48
  386. o3.TextColor3 = Color3.new(1, 1, 1)
  387. o4.Name = "Next"
  388. o4.Parent = o2
  389. o4.Position = UDim2.new(1,0,0,0)
  390. o4.Size = UDim2.new(-0.25,0,1,0)
  391. o4.Text = ">"
  392. o4.Position = UDim2.new(1,0,0,0)
  393. o4.BackgroundColor3 = Color3.new(0.52549, 0.52549, 0.52549)
  394. o4.BorderColor3 = Color3.new(0.509804, 0.796079, 1)
  395. o4.BorderSizePixel = 0
  396. o4.Font = Enum.Font.SourceSans
  397. o4.FontSize = Enum.FontSize.Size48
  398. o4.TextColor3 = Color3.new(1, 1, 1)
  399. o5.Name = "Title"
  400. o5.Parent = o2
  401. o5.Position = UDim2.new(0.27500000596046,0,0,0)
  402. o5.Size = UDim2.new(0.44999998807907,0,1,0)
  403. o5.Text = ""
  404. o5.Position = UDim2.new(0.27500000596046,0,0,0)
  405. o5.BackgroundColor3 = Color3.new(1, 1, 1)
  406. o5.BackgroundTransparency = 1
  407. o5.Font = Enum.Font.SourceSans
  408. o5.FontSize = Enum.FontSize.Size14
  409. o5.TextColor3 = Color3.new(1, 1, 1)
  410. o5.TextScaled = true
  411. o5.TextWrapped = true
  412. o6.Name = "Button"
  413. o6.Parent = o1
  414. o6.Position = UDim2.new(0,0,0.5,-25)
  415. o6.Size = UDim2.new(0,50,0,50)
  416. o6.Position = UDim2.new(0,0,0.5,-25)
  417. o6.BackgroundColor3 = Color3.new(1, 1, 1)
  418. o6.BackgroundTransparency = 0.30000001192093
  419. o6.BorderSizePixel = 5
  420. o6.Image = "http://www.roblox.com/asset/?id=176106970"
  421. o7.Parent = o1
  422. table.insert(cors,coroutine.create(function()
  423. wait()
  424. runDummyScript(function()
  425. -- By super10099
  426.  
  427. cam = game.Workspace.CurrentCamera
  428.  
  429. local bar = script.Parent.Bar
  430. local title = bar.Title
  431. local prev = bar.Previous
  432. local nex = bar.Next
  433. local button = script.Parent.Button
  434.  
  435. function get()
  436.     for _,v in pairs(game.Players:GetPlayers())do
  437.         if v.Name == title.Text then
  438.             return(_)
  439.         end
  440.     end
  441. end
  442.  
  443.  
  444. local debounce = false
  445. button.MouseButton1Click:connect(function()
  446.     if debounce == false then debounce = true
  447.         bar:TweenPosition(UDim2.new(.5,-100,0.88,-50),"In","Linear",1,true)
  448.         pcall(function()
  449.                 title.Text = game.Players:GetPlayerFromCharacter(cam.CameraSubject.Parent).Name
  450.         end)
  451.     elseif debounce == true then debounce = false
  452.         pcall(function() cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid end)
  453.             bar:TweenPosition(UDim2.new(-1,-100,0.88,-50),"In","Linear",1,true)
  454.         end
  455. end)
  456.  
  457. prev.MouseButton1Click:connect(function()
  458.     wait(.1)
  459.     local players = game.Players:GetPlayers()
  460.     local num = get()
  461.     if not pcall(function()
  462.         cam.CameraSubject = players[num-1].Character.Humanoid
  463.         end) then
  464.         cam.CameraSubject = players[#players].Character.Humanoid
  465.     end
  466. pcall(function()
  467.                 title.Text = game.Players:GetPlayerFromCharacter(cam.CameraSubject.Parent).Name
  468.         end)
  469. end)
  470.  
  471. nex.MouseButton1Click:connect(function()
  472.     wait(.1)
  473.     local players = game.Players:GetPlayers()
  474.     local num = get()
  475.     if not pcall(function()
  476.         cam.CameraSubject = players[num+1].Character.Humanoid
  477.         end) then
  478.         cam.CameraSubject = players[1].Character.Humanoid
  479.     end
  480. pcall(function()
  481.                 title.Text = game.Players:GetPlayerFromCharacter(cam.CameraSubject.Parent).Name
  482.         end)
  483. end)
  484.  
  485.  
  486. end,o7)
  487. end))
  488. mas.Parent = workspace
  489. mas:MakeJoints()
  490. local mas1 = mas:GetChildren()
  491. for i=1,#mas1 do
  492.     mas1[i].Parent = game:GetService("Players").LocalPlayer.PlayerGui
  493.     ypcall(function() mas1[i]:MakeJoints() end)
  494. end
  495. mas:Destroy()
  496. for i=1,#cors do
  497. coroutine.resume(cors[i])
  498. end
  499.  
  500.    end,
  501. })
  502.    end,
  503. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement