Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Variables
- local player = game:GetService("Players").LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- -- Function to send auto chat message
- local function sendAutoChatMessage()
- local message = "I WILL TAKE REVENGE RIGHT NOW!"
- game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {
- Text = message,
- Color = Color3.fromRGB(255, 0, 0),
- Font = Enum.Font.SourceSansBold,
- TextSize = 18
- })
- end
- sendAutoChatMessage()
- -- Music Setup
- local function playBackgroundMusic()
- local music = Instance.new("Sound")
- music.SoundId = "rbxassetid://9039981149"
- music.Looped = true
- music.Volume = 0.5
- music.Parent = workspace
- music:Play()
- end
- playBackgroundMusic()
- -- Make the character completely black
- local function makeCharacterBlack()
- for _, part in pairs(character:GetChildren()) do
- if part:IsA("BasePart") then
- part.BrickColor = BrickColor.new("Really black")
- part.Material = Enum.Material.SmoothPlastic
- end
- end
- end
- makeCharacterBlack()
- -- Change to night
- local function setNightTime()
- local lighting = game:GetService("Lighting")
- lighting.ClockTime = 0
- lighting.Brightness = 0.1
- lighting.FogColor = Color3.fromRGB(0, 0, 0)
- lighting.OutdoorAmbient = Color3.fromRGB(20, 20, 20)
- end
- setNightTime()
- -- Set player speed to 9
- character:WaitForChild("Humanoid").WalkSpeed = 9
- -- Add text above the player's head
- local function createText()
- local billboard = Instance.new("BillboardGui")
- billboard.Parent = character:WaitForChild("Head")
- billboard.Size = UDim2.new(5, 0, 2, 0)
- billboard.StudsOffset = Vector3.new(0, 3, 0)
- billboard.AlwaysOnTop = true
- local textLabel = Instance.new("TextLabel")
- textLabel.Parent = billboard
- textLabel.Size = UDim2.new(1, 0, 1, 0)
- textLabel.BackgroundTransparency = 1
- textLabel.Text = "NEVERGONNAGIVEUPLO4"
- textLabel.TextColor3 = Color3.fromRGB(139, 0, 0)
- textLabel.TextScaled = true
- textLabel.Font = Enum.Font.Arcade
- end
- createText()
- -- Create Knife Tool
- local function createKnife()
- local knife = Instance.new("Tool")
- knife.Name = "Knife"
- knife.RequiresHandle = true
- knife.CanBeDropped = false
- knife.Parent = player.Backpack
- local handle = Instance.new("Part")
- handle.Name = "Handle"
- handle.Size = Vector3.new(1, 4, 0.2)
- handle.BrickColor = BrickColor.new("Really black")
- handle.Material = Enum.Material.Metal
- handle.Parent = knife
- return knife
- end
- local knife = createKnife()
- -- Teleport to random player function
- local function teleportToRandomPlayer()
- local players = game:GetService("Players"):GetPlayers()
- if #players > 1 then
- local randomPlayer
- repeat
- randomPlayer = players[math.random(1, #players)]
- until randomPlayer ~= player -- Ensure not teleporting to self
- if randomPlayer and randomPlayer.Character and randomPlayer.Character:FindFirstChild("HumanoidRootPart") then
- character:SetPrimaryPartCFrame(randomPlayer.Character.HumanoidRootPart.CFrame)
- end
- end
- end
- -- Create red button GUI for teleport
- local function createTeleportButton()
- local screenGui = Instance.new("ScreenGui")
- screenGui.Parent = player:WaitForChild("PlayerGui")
- local teleportButton = Instance.new("TextButton")
- teleportButton.Text = "T"
- teleportButton.Size = UDim2.new(0, 50, 0, 50)
- teleportButton.Position = UDim2.new(0, 10, 0.5, -25)
- teleportButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- teleportButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- teleportButton.Font = Enum.Font.SourceSansBold
- teleportButton.TextScaled = true
- teleportButton.Parent = screenGui
- -- Connect button click to teleport function
- teleportButton.MouseButton1Click:Connect(teleportToRandomPlayer)
- end
- createTeleportButton()
- -- Slash Effect
- local function createSlashEffect()
- local slash = Instance.new("Part")
- slash.Size = Vector3.new(5, 0.1, 1)
- slash.BrickColor = BrickColor.new("Bright red")
- slash.Material = Enum.Material.Neon
- slash.Anchored = true
- slash.CanCollide = false
- slash.Position = character.Head.Position + character.Head.CFrame.LookVector * 2
- slash.Parent = workspace
- local slashSound = Instance.new("Sound")
- slashSound.SoundId = "rbxassetid://623904185"
- slashSound.Volume = 1
- slashSound.Parent = slash
- slashSound:Play()
- wait(1)
- slash:Destroy()
- end
- knife.Activated:Connect(createSlashEffect)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement