Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Create KocmocPremium button
- local kocmocPremium = Instance.new("TextButton")
- kocmocPremium.Name = "KocmocPremium"
- kocmocPremium.Text = "KocmocPremium"
- kocmocPremium.AnchorPoint = Vector2.new(1, 0.5)
- kocmocPremium.Position = UDim2.new(1, -10, 0.5, -30)
- kocmocPremium.Size = UDim2.new(0, 150, 0, 50)
- kocmocPremium.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- kocmocPremium.BorderSizePixel = 0
- kocmocPremium.Font = Enum.Font.SourceSans
- kocmocPremium.TextColor3 = Color3.fromRGB(0, 0, 0)
- kocmocPremium.TextScaled = true
- kocmocPremium.ZIndex = 2
- kocmocPremium.Parent = game.Players.LocalPlayer.PlayerGui
- -- Create HistyHub button
- local histyHub = Instance.new("TextButton")
- histyHub.Name = "HistyHub"
- histyHub.Text = "HistyHub"
- histyHub.AnchorPoint = Vector2.new(1, 0.5)
- histyHub.Position = UDim2.new(1, -10, 0.5, 20)
- histyHub.Size = UDim2.new(0, 150, 0, 50)
- histyHub.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- histyHub.BorderSizePixel = 0
- histyHub.Font = Enum.Font.SourceSans
- histyHub.TextColor3 = Color3.fromRGB(0, 0, 0)
- histyHub.TextScaled = true
- histyHub.ZIndex = 2
- histyHub.Parent = game.Players.LocalPlayer.PlayerGui
- -- Detect touch input and adjust button position and size
- local function onTouch(input, gameProcessedEvent)
- if input.UserInputType == Enum.UserInputType.Touch then
- -- Adjust KocmocPremium button
- kocmocPremium.Size = UDim2.new(0, 200, 0, 60)
- kocmocPremium.Position = UDim2.new(1, -10, 0.5, -50)
- -- Adjust HistyHub button
- histyHub.Size = UDim2.new(0, 200, 0, 60)
- histyHub.Position = UDim2.new(1, -10, 0.5, 30)
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onTouch)
- -- When KocmocPremium is clicked, execute the loadstring
- kocmocPremium.MouseButton1Click:connect(function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Boxking776/kocmoc/main/kocmoc-remastered.lua"))()
- end)
- -- When HistyHub is clicked, execute the loadstring
- histyHub.MouseButton1Click:connect(function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Historia00012/HISTORIAHUB/main/BSS%20FREE"))()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement