Advertisement
ILovePotato

Untitled

Nov 6th, 2024
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.61 KB | None | 0 0
  1. -- Variables
  2. local player = game:GetService("Players").LocalPlayer
  3. local character = player.Character or player.CharacterAdded:Wait()
  4.  
  5. -- Function to send auto chat message
  6. local function sendAutoChatMessage()
  7. local message = "I WILL TAKE REVENGE RIGHT NOW!"
  8. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {
  9. Text = message,
  10. Color = Color3.fromRGB(255, 0, 0),
  11. Font = Enum.Font.SourceSansBold,
  12. TextSize = 18
  13. })
  14. end
  15. sendAutoChatMessage()
  16.  
  17. -- Music Setup
  18. local function playBackgroundMusic()
  19. local music = Instance.new("Sound")
  20. music.SoundId = "rbxassetid://9039981149"
  21. music.Looped = true
  22. music.Volume = 0.5
  23. music.Parent = workspace
  24. music:Play()
  25. end
  26. playBackgroundMusic()
  27.  
  28. -- Make the character completely black
  29. local function makeCharacterBlack()
  30. for _, part in pairs(character:GetChildren()) do
  31. if part:IsA("BasePart") then
  32. part.BrickColor = BrickColor.new("Really black")
  33. part.Material = Enum.Material.SmoothPlastic
  34. end
  35. end
  36. end
  37. makeCharacterBlack()
  38.  
  39. -- Change to night
  40. local function setNightTime()
  41. local lighting = game:GetService("Lighting")
  42. lighting.ClockTime = 0
  43. lighting.Brightness = 0.1
  44. lighting.FogColor = Color3.fromRGB(0, 0, 0)
  45. lighting.OutdoorAmbient = Color3.fromRGB(20, 20, 20)
  46. end
  47. setNightTime()
  48.  
  49. -- Set player speed to 9
  50. character:WaitForChild("Humanoid").WalkSpeed = 9
  51.  
  52. -- Add text above the player's head
  53. local function createText()
  54. local billboard = Instance.new("BillboardGui")
  55. billboard.Parent = character:WaitForChild("Head")
  56. billboard.Size = UDim2.new(5, 0, 2, 0)
  57. billboard.StudsOffset = Vector3.new(0, 3, 0)
  58. billboard.AlwaysOnTop = true
  59.  
  60. local textLabel = Instance.new("TextLabel")
  61. textLabel.Parent = billboard
  62. textLabel.Size = UDim2.new(1, 0, 1, 0)
  63. textLabel.BackgroundTransparency = 1
  64. textLabel.Text = "NEVERGONNAGIVEUPLO4"
  65. textLabel.TextColor3 = Color3.fromRGB(139, 0, 0)
  66. textLabel.TextScaled = true
  67. textLabel.Font = Enum.Font.Arcade
  68. end
  69. createText()
  70.  
  71. -- Create Knife Tool
  72. local function createKnife()
  73. local knife = Instance.new("Tool")
  74. knife.Name = "Knife"
  75. knife.RequiresHandle = true
  76. knife.CanBeDropped = false
  77. knife.Parent = player.Backpack
  78.  
  79. local handle = Instance.new("Part")
  80. handle.Name = "Handle"
  81. handle.Size = Vector3.new(1, 4, 0.2)
  82. handle.BrickColor = BrickColor.new("Really black")
  83. handle.Material = Enum.Material.Metal
  84. handle.Parent = knife
  85.  
  86. return knife
  87. end
  88.  
  89. local knife = createKnife()
  90.  
  91. -- Teleport to random player function
  92. local function teleportToRandomPlayer()
  93. local players = game:GetService("Players"):GetPlayers()
  94. if #players > 1 then
  95. local randomPlayer
  96. repeat
  97. randomPlayer = players[math.random(1, #players)]
  98. until randomPlayer ~= player -- Ensure not teleporting to self
  99.  
  100. if randomPlayer and randomPlayer.Character and randomPlayer.Character:FindFirstChild("HumanoidRootPart") then
  101. character:SetPrimaryPartCFrame(randomPlayer.Character.HumanoidRootPart.CFrame)
  102. end
  103. end
  104. end
  105.  
  106. -- Create red button GUI for teleport
  107. local function createTeleportButton()
  108. local screenGui = Instance.new("ScreenGui")
  109. screenGui.Parent = player:WaitForChild("PlayerGui")
  110.  
  111. local teleportButton = Instance.new("TextButton")
  112. teleportButton.Text = "T"
  113. teleportButton.Size = UDim2.new(0, 50, 0, 50)
  114. teleportButton.Position = UDim2.new(0, 10, 0.5, -25)
  115. teleportButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  116. teleportButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  117. teleportButton.Font = Enum.Font.SourceSansBold
  118. teleportButton.TextScaled = true
  119. teleportButton.Parent = screenGui
  120.  
  121. -- Connect button click to teleport function
  122. teleportButton.MouseButton1Click:Connect(teleportToRandomPlayer)
  123. end
  124. createTeleportButton()
  125.  
  126. -- Slash Effect
  127. local function createSlashEffect()
  128. local slash = Instance.new("Part")
  129. slash.Size = Vector3.new(5, 0.1, 1)
  130. slash.BrickColor = BrickColor.new("Bright red")
  131. slash.Material = Enum.Material.Neon
  132. slash.Anchored = true
  133. slash.CanCollide = false
  134. slash.Position = character.Head.Position + character.Head.CFrame.LookVector * 2
  135. slash.Parent = workspace
  136.  
  137. local slashSound = Instance.new("Sound")
  138. slashSound.SoundId = "rbxassetid://623904185"
  139. slashSound.Volume = 1
  140. slashSound.Parent = slash
  141. slashSound:Play()
  142.  
  143. wait(1)
  144. slash:Destroy()
  145. end
  146.  
  147. knife.Activated:Connect(createSlashEffect)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement