Advertisement
ILovePotato

Untitled

Nov 6th, 2024
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.42 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. -- Slash effect function for the knife
  92. local function createSlashEffect()
  93. -- Create slash part
  94. local slash = Instance.new("Part")
  95. slash.Size = Vector3.new(5, 0.1, 1)
  96. slash.BrickColor = BrickColor.new("Bright red")
  97. slash.Material = Enum.Material.Neon
  98. slash.Anchored = true
  99. slash.CanCollide = false
  100. slash.CFrame = character.Head.CFrame * CFrame.new(0, 0, -3) * CFrame.Angles(0, math.rad(90), 0)
  101. slash.Parent = workspace
  102.  
  103. -- Play slash sound
  104. local slashSound = Instance.new("Sound")
  105. slashSound.SoundId = "rbxassetid://623904185" -- Slash sound ID
  106. slashSound.Volume = 1
  107. slashSound.Parent = slash
  108. slashSound:Play()
  109.  
  110. -- Wait 1 second and then remove the slash
  111. wait(1)
  112. slash:Destroy()
  113. end
  114.  
  115. -- Connect knife activation to the slash effect
  116. knife.Activated:Connect(createSlashEffect)
  117.  
  118. -- Function to handle knife touch effects on other players
  119. local function knifeTouch(other)
  120. -- Ensure we are touching another player
  121. local touchedPlayer = game:GetService("Players"):GetPlayerFromCharacter(other.Parent)
  122. if touchedPlayer and touchedPlayer ~= player then
  123. -- Play scream sound
  124. local screamSound = Instance.new("Sound")
  125. screamSound.SoundId = "rbxassetid://8983177095" -- Scream sound ID
  126. screamSound.Volume = 1
  127. screamSound.Parent = workspace
  128. screamSound:Play()
  129.  
  130. -- Create red smoke effect
  131. local smoke = Instance.new("Smoke")
  132. smoke.Color = Color3.fromRGB(255, 0, 0) -- Red color
  133. smoke.Size = 10
  134. smoke.RiseVelocity = 5
  135. smoke.Opacity = 0.8
  136. smoke.Parent = other.Parent:FindFirstChild("Torso") or other.Parent:FindFirstChild("HumanoidRootPart")
  137.  
  138. -- Make player disappear
  139. for _, part in pairs(other.Parent:GetChildren()) do
  140. if part:IsA("BasePart") then
  141. part.Transparency = 1
  142. end
  143. end
  144. wait(5) -- Wait for smoke to dissipate
  145. smoke:Destroy()
  146. end
  147. end
  148.  
  149. -- Connect knife handle touch event to the function
  150. knife.Handle.Touched:Connect(knifeTouch)
  151.  
  152. -- Teleport to random player function
  153. local function teleportToRandomPlayer()
  154. local players = game:GetService("Players"):GetPlayers()
  155. if #players > 1 then
  156. local randomPlayer
  157. repeat
  158. randomPlayer = players[math.random(1, #players)]
  159. until randomPlayer ~= player -- Ensure not teleporting to self
  160.  
  161. if randomPlayer and randomPlayer.Character and randomPlayer.Character:FindFirstChild("HumanoidRootPart") then
  162. character:SetPrimaryPartCFrame(randomPlayer.Character.HumanoidRootPart.CFrame)
  163. end
  164. end
  165. end
  166.  
  167. -- Create red button GUI for teleport and laugh
  168. local function createButtons()
  169. local screenGui = Instance.new("ScreenGui")
  170. screenGui.Parent = player:WaitForChild("PlayerGui")
  171.  
  172. -- Teleport Button
  173. local teleportButton = Instance.new("TextButton")
  174. teleportButton.Text = "T"
  175. teleportButton.Size = UDim2.new(0, 50, 0, 50)
  176. teleportButton.Position = UDim2.new(0, 10, 0.5, -25)
  177. teleportButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  178. teleportButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  179. teleportButton.Font = Enum.Font.SourceSansBold
  180. teleportButton.TextScaled = true
  181. teleportButton.Parent = screenGui
  182.  
  183. -- Laugh Button
  184. local laughButton = Instance.new("TextButton")
  185. laughButton.Text = "Laugh"
  186. laughButton.Size = UDim2.new(0, 50, 0, 50)
  187. laughButton.Position = UDim2.new(0, 10, 0.5, 30) -- Position below the T button
  188. laughButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  189. laughButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  190. laughButton.Font = Enum.Font.SourceSansBold
  191. laughButton.TextScaled = true
  192. laughButton.Parent = screenGui
  193.  
  194. -- Connect teleport button click to teleport function
  195. teleportButton.MouseButton1Click:Connect(teleportToRandomPlayer)
  196.  
  197. -- Connect laugh button to play laugh sound
  198. laughButton.MouseButton1Click:Connect(function()
  199. local laughSound = Instance.new("Sound")
  200. laughSound.SoundId = "rbxassetid://6882766712" -- Laugh sound ID
  201. laughSound.Volume = 1
  202. laughSound.Parent = workspace
  203. laughSound:Play()
  204. laughSound.Ended:Connect(function()
  205. laughSound:Destroy()
  206. end)
  207. end)
  208. end
  209. createButtons()
  210.  
  211. -- Create Red Light Effect on Character
  212. local function createRedLight()
  213. local light = Instance.new("PointLight")
  214. light.Color = Color3.fromRGB(255, 0, 0) -- Red color
  215. light.Brightness = 3 -- Adjust brightness for visibility
  216. light.Range = 10 -- Adjust range for how far the light reaches
  217. light.Parent = character:WaitForChild("Torso") -- Attach to the torso or HumanoidRootPart
  218. end
  219. createRedLight()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement