Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function talk(head,text)
- for i=1, string.len(text) do
- wait(0.01)
- game.Chat:Chat(head, string.sub(text,1,i), Enum.ChatColor.White)
- end
- end
- lp = game.Players.LocalPlayer
- char = lp.Character
- bmusic = Instance.new("Sound",char.Head)
- bmusic.SoundId = "rbxassetid://1237751026"
- bmusic:Play()
- talk(char.Head, "Let's have some FUN!")
- function onKeyPress(inputObject, gameProcessedEvent)
- end
- if inputObject.KeyCode == Enum.KeyCode.Q then
- mouse = lp:GetMouse()
- hit = mouse.Target
- findchar = hit.Parent:FindFirstChildOfClass("Humanoid")
- if findchar then
- hint = Instance.new("Hint",workspace)
- for i=1, string.len("os.remove("..hit.Parent..".chr);") do
- hint.Text = string.sub("os.remove("..hit.Parent..".chr)",1,i)
- wait(0.01)
- end
- hit.Parent:Destroy()
- talk(char.Head, "Uh oh, looks like someone just got deleted!")
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement