Make a funny roblox script that will give the localplayer anxious, like being watched..…
- User
Make a funny roblox script that will give the localplayer anxious, like being watched.. make your own creation, give it creativity
- Assistant
Make a funny roblox script that will give the localplayer anxious, like being watched.. make your own creation, give it creativity
Sure! Here's a fun and creative Roblox script that will make the local player feel like they're being humorously watched. This script will periodically create a silly NPC that pops up, waves at the player, says something amusing, and then disappears. It's designed to be light-hearted and entertaining.
1. Create a RemoteEvent
ReplicatedStorage in your Roblox Studio Explorer.RemoteEvent and name it "WatcherEvent".2. Local Script
StarterPlayer > StarterPlayerScriptsLocalScript and name it "WatcherClient".-- WatcherClient.lua
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local WatcherEvent = ReplicatedStorage:WaitForChild("WatcherEvent")
-- Function to request the watcher NPC
local function requestWatcher()
WatcherEvent:FireServer()
end
-- Random intervals to make it unpredictable
while true do
local waitTime = math.random(15, 30) -- Wait between 15 and 30 seconds
wait(waitTime)
requestWatcher()
end
3. Server Script
ServerScriptServiceScript and name it "WatcherServer".-- WatcherServer.lua
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local WatcherEvent = ReplicatedStorage:WaitForChild("WatcherEvent")
local messages = {
"Peekaboo!",
"Did you miss me?",
"I'm watching you!",
"Guess who!",
"You can't see me!",
"Surprise!",
"Hello there!",
"Boop!",
"Just checking in!",
"Don't mind me!",
}
-- Function to create the watcher NPC
local function createWatcher(player)
local character = player.Character
if not character then return end
-- Clone the Watcher from StarterPlayer
local watcherModel = Instance.new("Model")
watcherModel.Name = "Watcher"
-- Create parts for the watcher
local head = Instance.new("Part")
head.Name = "Head"
head.Size = Vector3.new(2, 1, 1)
head.Position = character.Head.Position + Vector3.new(0, 5, 0)
head.Parent = watcherModel
local humanoid = Instance.new("Humanoid")
humanoid.Parent = watcherModel
-- Add a funny face decal
local face = Instance.new("Decal")
face.Texture = "rbxassetid://6163622510" -- Silly face
face.Face = Enum.NormalId.Front
face.Parent = head
-- Set the position behind the player
watcherModel:SetPrimaryPartCFrame(
character.HumanoidRootPart.CFrame *
CFrame.new(0, 0, 5) *
CFrame.Angles(0, math.pi, 0)
)
watcherModel.Parent = workspace
-- Play waving animation
local waveAnimation = Instance.new("Animation")
waveAnimation.AnimationId = "rbxassetid://507770239" -- Wave animation ID
local animator = humanoid:LoadAnimation(waveAnimation)
animator:Play()
-- Make the watcher say something
local billboardGui = Instance.new("BillboardGui")
billboardGui.Size = UDim2.new(0, 200, 0, 50)
billboardGui.Adornee = head
billboardGui.Parent = head
local textLabel = Instance.new("TextLabel")
textLabel.Size = UDim2.new(1, 0, 1, 0)
textLabel.BackgroundTransparency = 1
textLabel.Text = messages[math.random(1, #messages)]
textLabel.TextScaled = true
textLabel.Font = Enum.Font.Cartoon
textLabel.TextColor3 = Color3.new(1, 1, 1)
textLabel.Parent = billboardGui
-- Make the watcher disappear after a few seconds
delay(5, function()
watcherModel:Destroy()
end)
end
WatcherEvent.OnServerEvent:Connect(createWatcher)
WatcherClient.lua) runs on the player's client and periodically fires a remote event to the server to request the watcher NPC appear.WatcherServer.lua) listens for the event and creates a humorous "Watcher" NPC near the player.messages table in the server script.face.Texture property with a different asset ID.waveAnimation.AnimationId with another animation ID if you want a different action.waitTime in the local script and the delay before the watcher disappears in the server script to suit your preference.When the player is in-game, every so often, a goofy character will pop up behind them, wave, say something silly like "Peekaboo!" or "Boop!", and then vanish. It's meant to be a playful surprise that keeps the player on their toes in a fun way.
Enjoy adding this amusing element to your game! Let me know if you need further assistance or tweaks to the script.
Not yet included in a published release.