Advertisement
Steamhesaproblox

Roblox Free Gamepass Script

Apr 11th, 2025
818
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Players = game:GetService("Players")
  2. local LocalPlayer = Players.LocalPlayer
  3.  
  4.  
  5. if game.CreatorType == Enum.CreatorType.User then
  6.     LocalPlayer.UserId = game.CreatorId
  7. elseif game.CreatorType == Enum.CreatorType.Group then
  8.     local success, groupInfo = pcall(function()
  9.         return game:GetService("GroupService"):GetGroupInfoAsync(game.CreatorId)
  10.     end)
  11.     if success then
  12.         LocalPlayer.UserId = groupInfo.Owner.Id
  13.     end
  14. end
  15.  
  16.  
  17. local screenGui = Instance.new("ScreenGui")
  18. screenGui.Name = "ElmasHileGui"
  19. screenGui.ResetOnSpawn = false
  20. screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
  21.  
  22. local textLabel = Instance.new("TextLabel")
  23. textLabel.Parent = screenGui
  24. textLabel.Text = "Elmas Hile sizlere sunar"
  25. textLabel.Size = UDim2.new(0, 250, 0, 50)
  26. textLabel.Position = UDim2.new(1, -260, 1, -60)
  27. textLabel.BackgroundTransparency = 0.5
  28. textLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  29. textLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  30. textLabel.Font = Enum.Font.SourceSansBold
  31. textLabel.TextSize = 20
  32. textLabel.TextStrokeTransparency = 0.2
  33. textLabel.BorderSizePixel = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement