Advertisement
ILovePotato

Untitled

Nov 5th, 2024
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.60 KB | None | 0 0
  1. -- Variables
  2. local player = game:GetService("Players").LocalPlayer
  3. local character = player.Character or player.CharacterAdded:Wait()
  4.  
  5. -- Auto Chat Message Function
  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() -- Call function to display the message in chat
  16.  
  17. -- Music Looping Setup
  18. local function playBackgroundMusic()
  19. local music = Instance.new("Sound")
  20. music.SoundId = "rbxassetid://9039981149" -- Music asset ID provided
  21. music.Looped = true
  22. music.Volume = 0.5
  23. music.Parent = workspace
  24. music:Play()
  25. end
  26. playBackgroundMusic() -- Calls the function to play music
  27.  
  28. -- Set the entire character to 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() -- Calls the function to turn the character black
  38.  
  39. -- Change the sky to night
  40. local function setNightTime()
  41. local lighting = game:GetService("Lighting")
  42. lighting.ClockTime = 0 -- Set to midnight
  43. lighting.Brightness = 0.1
  44. lighting.FogColor = Color3.fromRGB(0, 0, 0) -- Dark fog color
  45. lighting.OutdoorAmbient = Color3.fromRGB(20, 20, 20) -- Very low ambient light
  46. end
  47. setNightTime() -- Calls the function to set the game to night
  48.  
  49. -- Set player speed to 9
  50. character:WaitForChild("Humanoid").WalkSpeed = 9
  51.  
  52. -- Create 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" -- Updated text here
  65. textLabel.TextColor3 = Color3.fromRGB(139, 0, 0) -- Dark red color
  66. textLabel.TextScaled = true
  67. textLabel.Font = Enum.Font.Arcade -- Choose a "bloody" style font
  68. end
  69. createText() -- Calls the function to create the text
  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. -- Set up the knife handle
  80. local handle = Instance.new("Part")
  81. handle.Name = "Handle"
  82. handle.Size = Vector3.new(1, 4, 0.2)
  83. handle.BrickColor = BrickColor.new("Really black")
  84. handle.Material = Enum.Material.Metal
  85. handle.Parent = knife
  86.  
  87. return knife
  88. end
  89.  
  90. local knife = createKnife() -- Stores the knife reference to use it later
  91.  
  92. -- Function to create the smoke and scream effects on touched player
  93. local function createBloodEffect(hitCharacter)
  94. -- Red Smoke Effect
  95. local smoke = Instance.new("Smoke")
  96. smoke.Color = Color3.fromRGB(139, 0, 0) -- Dark red smoke color
  97. smoke.Size = 5
  98. smoke.RiseVelocity = 2
  99. smoke.Opacity = 0.5
  100. smoke.Parent = hitCharacter:FindFirstChild("Head")
  101.  
  102. -- Scream Sound Effect
  103. local screamSound = Instance.new("Sound")
  104. screamSound.SoundId = "rbxassetid://8983177095" -- Scream sound asset ID provided
  105. screamSound.Volume = 1
  106. screamSound.Parent = hitCharacter:FindFirstChild("Head")
  107. screamSound:Play()
  108.  
  109. -- Remove the player and effects after 5 seconds
  110. wait(5)
  111. hitCharacter:Destroy()
  112. smoke:Destroy()
  113. screamSound:Destroy()
  114. end
  115.  
  116. -- Knife touch detection
  117. knife.Activated:Connect(function()
  118. knife.Handle.Touched:Connect(function(hit)
  119. local hitPlayer = game.Players:GetPlayerFromCharacter(hit.Parent)
  120. if hitPlayer and hitPlayer ~= player then -- Check if it’s another player
  121. createBloodEffect(hit.Parent)
  122. end
  123. end)
  124. end)
  125.  
  126. -- Create Red Light Effect on Character
  127. local function createRedLight()
  128. local light = Instance.new("PointLight")
  129. light.Color = Color3.fromRGB(255, 0, 0) -- Red color
  130. light.Brightness = 2 -- Brightness of the light
  131. light.Range = 15 -- How far the light reaches
  132. light.Parent = character:WaitForChild("Head") -- Attach to the head
  133. end
  134.  
  135. createRedLight() -- Calls the function to create red light
  136.  
  137. -- Function to create a slash effect
  138. local function createSlashEffect()
  139. local slash = Instance.new("Part")
  140. slash.Size = Vector3.new(5, 0.1, 1) -- Size of the slash
  141. slash.BrickColor = BrickColor.new("Bright red") -- Color of the slash
  142. slash.Material = Enum.Material.Neon -- Neon material for glow effect
  143. slash.Anchored = true
  144. slash.CanCollide = false
  145. slash.Position = character.Head.Position + character.Head.CFrame.LookVector * 2 -- Position in front of the character
  146. slash.Parent = workspace
  147.  
  148. -- Play slash sound
  149. local slashSound = Instance.new("Sound")
  150. slashSound.SoundId = "rbxassetid://623904185" -- Slash sound asset ID provided
  151. slashSound.Volume = 1
  152. slashSound.Parent = slash
  153. slashSound:Play()
  154.  
  155. -- Remove the slash after 1 second
  156. wait(1)
  157. slash:Destroy()
  158. end
  159.  
  160. -- Knife activation event
  161. knife.Activated:Connect(function()
  162. createSlashEffect() -- Call the function to create slash effect
  163. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement