I'll help you create a cursed convenience store game! Here's a complete system with easy-to-use scripts.
Setup Instructions
- Create a ScreenGui in StarterGui named "ShoppingListGui"
- Create a folder in ServerScriptService named "EventScripts"
- Create a folder in Workspace named "ShoppingItems"
- Put your item models in the ShoppingItems folder
Script 1: Shopping List GUI
Put this in a LocalScript inside the ShoppingListGui:
-- Shopping List GUI Script
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
-- Create GUI elements
local screenGui = script.Parent
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 300, 0, 400)
frame.Position = UDim2.new(0, 10, 0.5, -200)
frame.BackgroundColor3 = Color3.fromRGB(255, 248, 220)
frame.BorderSizePixel = 3
frame.BorderColor3 = Color3.fromRGB(139, 69, 19)
frame.Parent = screenGui
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 50)
title.Text = "SHOPPING LIST"
title.TextScaled = true
title.Font = Enum.Font.Creepster
title.TextColor3 = Color3.fromRGB(139, 0, 0)
title.BackgroundColor3 = Color3.fromRGB(255, 248, 220)
title.Parent = frame
local scrollFrame = Instance.new("ScrollingFrame")
scrollFrame.Size = UDim2.new(1, -10, 1, -60)
scrollFrame.Position = UDim2.new(0, 5, 0, 55)
scrollFrame.BackgroundTransparency = 1
scrollFrame.ScrollBarThickness = 6
scrollFrame.Parent = frame
-- Shopping list items (CUSTOMIZE THESE!)
local shoppingItems = {
"Milk",
"Bread",
"Eggs",
"Cereal",
"Banana"
}
-- Create checkboxes for each item
local checkboxes = {}
for i, itemName in ipairs(shoppingItems) do
local itemFrame = Instance.new("Frame")
itemFrame.Size = UDim2.new(1, -10, 0, 40)
itemFrame.Position = UDim2.new(0, 5, 0, (i-1) * 45)
itemFrame.BackgroundTransparency = 1
itemFrame.Parent = scrollFrame
local checkbox = Instance.new("TextButton")
checkbox.Size = UDim2.new(0, 30, 0, 30)
checkbox.Position = UDim2.new(0, 0, 0.5, -15)
checkbox.Text = ""
checkbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
checkbox.BorderSizePixel = 2
checkbox.BorderColor3 = Color3.fromRGB(0, 0, 0)
checkbox.Parent = itemFrame
local itemLabel = Instance.new("TextLabel")
itemLabel.Size = UDim2.new(1, -40, 1, 0)
itemLabel.Position = UDim2.new(0, 40, 0, 0)
itemLabel.Text = itemName
itemLabel.TextXAlignment = Enum.TextXAlignment.Left
itemLabel.TextScaled = true
itemLabel.Font = Enum.Font.Antique
itemLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
itemLabel.BackgroundTransparency = 1
itemLabel.Parent = itemFrame
checkboxes[itemName] = checkbox
end
-- Update canvas size
scrollFrame.CanvasSize = UDim2.new(0, 0, 0, #shoppingItems * 45)
-- Listen for item collection
game.ReplicatedStorage:WaitForChild("ItemCollected").OnClientEvent:Connect(function(itemName)
if checkboxes[itemName] then
checkboxes[itemName].Text = "✓"
checkboxes[itemName].TextScaled = true
checkboxes[itemName].Font = Enum.Font.SourceSansBold
checkboxes[itemName].TextColor3 = Color3.fromRGB(0, 255, 0)
end
end)
Script 2: Item Pickup System
Put this in a Script in ServerScriptService:
-- Item Pickup System
local ReplicatedStorage = game:GetService("ReplicatedStorage")
-- Create RemoteEvent for item collection
local itemCollectedEvent = Instance.new("RemoteEvent")
itemCollectedEvent.Name = "ItemCollected"
itemCollectedEvent.Parent = ReplicatedStorage
-- Create RemoteEvent for triggering events
local triggerEventRemote = Instance.new("RemoteEvent")
triggerEventRemote.Name = "TriggerCursedEvent"
triggerEventRemote.Parent = ReplicatedStorage
-- Item collection tracking
local collectedItems = {}
-- Function to make items collectible
local function setupItem(item)
-- Add a clickable part if the model doesn't have one
local clickPart = item:FindFirstChild("ClickPart") or item:FindFirstChildWhichIsA("BasePart")
if not clickPart then
clickPart = Instance.new("Part")
clickPart.Name = "ClickPart"
clickPart.Size = Vector3.new(4, 4, 4)
clickPart.Transparency = 1
clickPart.CanCollide = false
clickPart.CFrame = item:GetPivot()
clickPart.Parent = item
end
-- Create ClickDetector
local clickDetector = Instance.new("ClickDetector")
clickDetector.MaxActivationDistance = 10
clickDetector.Parent = clickPart
-- Create hover effect
local selectionBox = Instance.new("SelectionBox")
selectionBox.Adornee = item
selectionBox.Color3 = Color3.fromRGB(255, 255, 0)
selectionBox.LineThickness = 0.1
selectionBox.Transparency = 0.5
selectionBox.Visible = false
selectionBox.Parent = item
-- Hover effects
clickDetector.MouseHoverEnter:Connect(function()
selectionBox.Visible = true
end)
clickDetector.MouseHoverLeave:Connect(function()
selectionBox.Visible = false
end)
-- Click to collect
clickDetector.MouseClick:Connect(function(player)
-- Send to player's GUI
itemCollectedEvent:FireClient(player, item.Name)
-- Track collection
if not collectedItems[player] then
collectedItems[player] = {}
end
table.insert(collectedItems[player], item.Name)
-- Trigger random event (30% chance)
if math.random() < 0.3 then
wait(0.5)
local eventNumber = math.random(1, 5)
triggerEventRemote:FireAllClients(eventNumber)
end
-- Remove item
item:Destroy()
end)
end
-- Setup all items in the ShoppingItems folder
local itemsFolder = workspace:WaitForChild("ShoppingItems")
for _, item in pairs(itemsFolder:GetChildren()) do
setupItem(item)
end
-- Setup new items that get added
itemsFolder.ChildAdded:Connect(setupItem)
Script 3: Cursed Events Handler
Put this in a LocalScript in StarterPlayerScripts:
-- Cursed Events Handler
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Lighting = game:GetService("Lighting")
local TweenService = game:GetService("TweenService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local triggerEvent = ReplicatedStorage:WaitForChild("TriggerCursedEvent")
-- Event 1: Lights Flicker
local function flickerLights()
local originalBrightness = Lighting.Brightness
local originalAmbient = Lighting.Ambient
for i = 1, 10 do
Lighting.Brightness = 0
Lighting.Ambient = Color3.fromRGB(50, 0, 0)
wait(0.1)
Lighting.Brightness = originalBrightness
Lighting.Ambient = originalAmbient
wait(0.1)
end
end
-- Event 2: Reverse Controls
local function reverseControls()
local message = Instance.new("Message")
message.Text = "YOUR CONTROLS FEEL... WRONG"
message.Parent = player.PlayerGui
humanoid.WalkSpeed = -16
wait(5)
humanoid.WalkSpeed = 16
message:Destroy()
end
-- Event 3: Creepy Whisper
local function creepyWhisper()
local sound = Instance.new("Sound")
sound.SoundId = "rbxasset://sounds/halloween/ghost_whisper.ogg"
sound.Volume = 0.5
sound.Parent = workspace.CurrentCamera
sound:Play()
local message = Instance.new("Message")
message.Text = "Did you hear that...?"
message.Parent = player.PlayerGui
wait(3)
message:Destroy()
sound:Destroy()
end
-- Event 4: Items Fall From Shelves
local function itemsFall()
local message = Instance.new("Message")
message.Text = "The store feels... unstable"
message.Parent = player.PlayerGui
-- Make random parts in workspace fall
for i = 1, 10 do
local parts = workspace:GetDescendants()
local randomPart = parts[math.random(#parts)]
if randomPart:IsA("BasePart") and randomPart.Parent ~= character then
randomPart.Anchored = false
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.new(math.random(-20, 20), 50, math.random(-20, 20))
bodyVelocity.MaxForce = Vector3.new(4000, 4000, 4000)
bodyVelocity.Parent = randomPart
game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
end
end
wait(2)
message:Destroy()
end
-- Event 5: Screen Goes Red
local function screenRed()
local redScreen = Instance.new("Frame")
redScreen.Size = UDim2.new(1, 0, 1, 0)
redScreen.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
redScreen.BackgroundTransparency = 1
redScreen.Parent = player.PlayerGui:WaitForChild("ShoppingListGui")
local tween = TweenService:Create(redScreen,
TweenInfo.new(0.5, Enum.EasingStyle.Quad),
{BackgroundTransparency = 0.5}
)
tween:Play()
wait(2)
local fadeOut = TweenService:Create(redScreen,
TweenInfo.new(1, Enum.EasingStyle.Quad),
{BackgroundTransparency = 1}
)
fadeOut:Play()
fadeOut.Completed:Connect(function()
redScreen:Destroy()
end)
end
-- Event handler
triggerEvent.OnClientEvent:Connect(function(eventNumber)
if eventNumber == 1 then
flickerLights()
elseif eventNumber == 2 then
reverseControls()
elseif eventNumber == 3 then
creepyWhisper()
elseif eventNumber == 4 then
itemsFall()
elseif eventNumber == 5 then
screenRed()
end
end)
How to Set Up Your Game:
-
Create the folders:
- In Workspace, create a folder named "ShoppingItems"
- In ServerScriptService, create a folder named "EventScripts"
-
Add your items:
- Put your item models (Milk, Bread, etc.) in the ShoppingItems folder
- Name them exactly as they appear in the shopping list
-
Customize the shopping list:
- In Script 1, find the
shoppingItems table
- Change the item names to match your models
-
Add more cursed events:
- Copy the event function pattern in Script 3
- Increase the random number range in Script 2
- Add new event conditions in the event handler
The game will automatically make items clickable, update the shopping list when collected, and randomly trigger creepy events!