This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local DatastoreService = game:GetService("DataStoreService") | |
local SlimeStore = DatastoreService:GetOrderedDataStore("SlimeStore") | |
local ResetTime = 60 | |
while wait(1) do | |
ResetTime = ResetTime - 1 | |
if ResetTime == 0 then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ocal player = game.Players.LocalPlayer | |
local playerGUI = player:WaitForChild('PlayerGui') | |
local Mouse = player:GetMouse() | |
local RS = game:GetService("RunService") | |
local Debris = game:GetService("Debris") | |
local Handle = script.Parent.Handle | |
local Ammo = player.BowAmmo | |
local MaxAmmo = 20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local DataStoreService = game:GetService("DataStoreService") | |
local TwitterCodes = { Code1 = {"Cash", 2000} } | |
game.ReplicatedStorage.RedeemCode.OnServerInvoke = function(Player, Code) | |
local TwitterCodeStore = DataStoreService:GetDataStore("TwitterCodesStore2" .. Code) | |
local PlayerRedeemedCode = TwitterCodeStore:GetAsync(Player.UserId) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
game.Players.PlayerAdded:connect(function(newPlayer) | |
if newPlayer:GetRankInGroup(4131628) == 1 then | |
newPlayer.Team = game.Teams["Hotel Guest"] | |
newPlayer.TeamColor = game.Teams["Hotel Guest"].TeamColor | |
elseif newPlayer:GetRankInGroup(4131628) == 2 then | |
newPlayer.Team = game.Teams["Noted Guest"] | |
newPlayer.TeamColor = game.Teams["Noted Guest"].TeamColor | |
elseif newPlayer:GetRankInGroup(4131628) == 3 then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local DataStoreService = game:GetService("DataStoreService") | |
local dataStore = DataStoreService:GetDataStore("SlimeStore") | |
local function saveData(player) | |
local SavedData = { | |
player.leaderstats.Slimes.Value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local plr = game.Players.LocalPlayer | |
local mouse = plr:GetMouse() | |
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack,false) | |
repeat wait() until plr.Character | |
local cam = game.Workspace.CurrentCamera | |
local zoom = 150 | |
cam.FieldOfView = 10 | |
cam.CameraType = Enum.CameraType.Scriptable | |
local rs = game:GetService("RunService") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
game.ReplicatedStorage.JoinArena.OnServerInvoke = function(plr) | |
if plr:FindFirstChild("Arena") == nil then | |
Instance.new("BoolValue",plr).Name = "Arena" | |
plr.ChildRemoved:Connect(function(child) | |
if child.Name == "Arena" then | |
local amount = 0 | |
local theWinner | |
for _,player in pairs(game.Players:GetPlayers()) do | |
if player:FindFirstChild("Arena") then | |
amount = amount + 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ProximityPromptService = game:GetService("ProximityPromptService") | |
local function onPromptTriggered(promptObject, player) | |
end | |
local function onPromptHoldBegan(promptObject, player) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local plr = game.Players.LocalPlayer | |
local cam = workspace.CurrentCamera | |
local TS = game:GetService("TweenService") | |
local arenaInstructions = {"Welcome to the Wide Arena!", "Your chickens will battle against everybody else's Chicken!", "The winner will win a prize of 500 Coins!", "May the best Chicken win!"} | |
local impossible = false | |
local function cameraShake() | |
for i = 1, 20 do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local myData = game:GetService("DataStoreService"):GetDataStore("CodezStore") | |
game.Players.PlayerAdded:Connect(function(plr) | |
local StagesOwned = Instance.new("Folder", plr) | |
StagesOwned.Name = "StagesOwned" | |
pcall(function() | |
local data = myData:GetAsync(plr.UserId) | |
for _, v in pairs(data) do | |
local newStage = Instance.new("BoolValue", plr.StagesOwned) | |
newStage.Name = v |
OlderNewer