Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- -- by Theamazingnater
- plr = game.Players.LocalPlayer
- chara = plr.Character
- mouse = plr:GetMouse()
- Create = Instance.new
- Huge = math.huge
- local music = Create("Sound",chara.HumanoidRootPart)
- music.SoundId = "rbxassetid://318502757"
- music.Volume = 1
- music.Looped = true
- music:Play()
- local shadowhead = Create("Part",chara.Head)
- shadowhead.BrickColor = BrickColor.new("Really black")
- shadowhead.Size = Vector3.new(1.2, 0.6, 1)
- shadowhead.CanCollide = false
- local shadowheadmesh = Create("SpecialMesh",shadowhead)
- shadowheadmesh.MeshType = "Head"
- shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26)
- local weld2 = Create("Weld",shadowhead)
- weld2.Part0 = shadowhead
- weld2.Part1 = chara.Head
- weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- -- Chat
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Stepped:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Stepped:wait(0)
- end
- end
- end
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if chara:FindFirstChild("TalkingBillBoard")~= nil then
- chara:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",chara)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = chara.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Fantasy"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(.6,0,0)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- local tecks3 = Instance.new("TextLabel",naeeym2)
- tecks3.BackgroundTransparency = 1
- tecks3.BorderSizePixel = 0
- tecks3.Text = ""
- tecks3.Font = "Fantasy"
- tecks3.TextSize = 30
- tecks3.TextStrokeTransparency = 0
- tecks3.TextColor3 = Color3.new(0,0,0)
- tecks3.TextStrokeColor3 = Color3.new(1,1,1)
- tecks3.Size = UDim2.new(1,0,0.5,0)
- for i = 1,string.len(text),1 do
- tecks2.Text = string.sub(text,1,i)
- tecks3.Text = string.sub(text,1,i)
- wait(0.01)
- end
- wait(2)
- for i = 1, 50 do
- swait()
- tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks2.Rotation = tecks2.Rotation - .8
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks2.TextTransparency = tecks2.TextTransparency + .04
- tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks3.Rotation = tecks2.Rotation + .8
- tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks3.TextTransparency = tecks2.TextTransparency + .04
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- plr.Chatted:connect(onChatted)
- chatfunc("Come to me... =)")
- local sound = Create("Sound",chara.Torso)
- sound.SoundId = "rbxassetid://357417055"
- sound.Volume = 4
- local hit = Create("Sound",chara.Torso)
- hit.SoundId = "rbxassetid://623904185"
- hit.Volume = 4
- CV="Really red"
- local txt = Instance.new("BillboardGui", chara)
- txt.Adornee = chara.Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 11, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Arcade"
- text.TextStrokeColor3 = Color3.new(255,0,0)
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=chara
- v.FormFactor="Symmetric"
- v.Anchored=true
- v.CanCollide=false
- v.BottomSurface="Smooth"
- v.TopSurface="Smooth"
- v.Size=Vector3.new(10,5,3)
- v.Transparency=1
- v.CFrame=chara.Torso.CFrame
- v.BrickColor=BrickColor.new(CV)
- v.Transparency=1
- text.TextColor3 = Color3.new(0,0,0)
- v.Shape="Block"
- text.Text = plr.Name .. " Level: ???"
- v:Destroy()
- local knife = Create("Part",chara["Right Arm"])
- knife.Name = "knifu"
- knife.CanCollide = false
- local knifemesh = Create("FileMesh",knife)
- knifemesh.MeshId = "http://www.roblox.com/asset/?id=121944778"
- knifemesh.TextureId = "http://www.roblox.com/asset/?id=121944805"
- local knifeweld = Create("Weld",knife)
- knifeweld.Part0 = knife
- knifeweld.Part1 = chara["Right Arm"]
- knifeweld.C0 = CFrame.new(0, -0.800003052, 0.999999046, 1, 0, 0, 0, 0, -1, 0, 0.999999523, 0)
- local hitbox = Create("Part",knife)
- hitbox.Size = Vector3.new(0.2, 1.89, 0.57)
- hitbox.Transparency = 1
- hitbox.CanCollide = false
- hitbox.Name = "TrailPart"
- local hitboxwe = Create("Weld",hitbox)
- hitboxwe.Part0 = hitbox
- hitboxwe.Part1 = knife
- hitboxwe.C0 = CFrame.new(0.00499999523, -0.529999495, -0.0149999857, 1, 0, 0, 0, 1, 0, 0, 0, 0.99999809)
- local TrailAtt = Create("Attachment",hitbox)
- TrailAtt.Position = Vector3.new(0.02, 0.79, -0.285)
- local TrailAtt2 = Create("Attachment",hitbox)
- TrailAtt2.Position = Vector3.new(0.01, -0.54, -0.285)
- local trail = Create("Trail",hitbox)
- trail.Enabled = false
- trail.Color = ColorSequence.new(Color3.new(.6,0,0))
- trail.Attachment0 = TrailAtt
- trail.Attachment1 = TrailAtt2
- trail.Lifetime = 0.1
- local sound = Create("Sound",chara.Torso)
- sound.SoundId = "rbxassetid://357417055"
- sound.Volume = 4
- local hit = Create("Sound",chara.Torso)
- hit.SoundId = "rbxassetid://623904185"
- hit.Volume = 4
- -- Animations
- anim = Create("Animation",chara)
- anim.AnimationId = "rbxassetid://186934658"
- anim.Name = "Slash"
- ranim = chara.Humanoid:LoadAnimation(anim)
- function Slash()
- sound:Play()
- ranim:Play()
- local hitbox = Create("Part",knife)
- hitbox.Name = "HurtBox"
- hitbox.Transparency = 1
- hitbox.CanCollide = false
- hitbox.Size = Vector3.new(0.4, 1.02, 0.53)
- local weld = Create("Weld",hitbox)
- weld.Part0 = hitbox
- weld.Part1 = knife
- weld.C0 = CFrame.new(0, -0.970016479, 0.0149999857, 1, 0, 0, 0, 1, 0, 0, 0, 0.999997616)
- trail.Enabled = true
- function Hit(brick)
- local human = brick.Parent:FindFirstChildOfClass("Humanoid")
- if human then
- for i,v in pairs(human.Parent:GetChildren()) do
- if v.ClassName == "ShirtGraphic" then
- v:Destroy()
- end
- end
- hit:Play()
- human:Destroy()
- end
- end
- hitbox.Touched:connect(Hit)
- wait(0.6)
- trail.Enabled = false
- hitbox:Destroy()
- end
- mouse.Button1Down:connect(Slash)
- function Sprint(key)
- if key == "e" then
- chara.Humanoid.WalkSpeed = 40
- chara["Right Leg"].Transparency = 0.1
- chara["Right Arm"].Transparency = 0.1
- chara["Left Leg"].Transparency = 0.1
- chara["Left Arm"].Transparency = 0.1
- chara.Head.Transparency = 0.1
- chara.Torso.Transparency = 0.1
- wait(0.01)
- chara["Right Leg"].Transparency = 0.2
- chara["Right Arm"].Transparency = 0.2
- chara["Left Leg"].Transparency = 0.2
- chara["Left Arm"].Transparency = 0.2
- chara.Head.Transparency = 0.2
- chara.Torso.Transparency = 0.2
- wait(0.01)
- chara["Right Leg"].Transparency = 0.3
- chara["Right Arm"].Transparency = 0.3
- chara["Left Leg"].Transparency = 0.3
- chara["Left Arm"].Transparency = 0.3
- chara.Head.Transparency = 0.3
- chara.Torso.Transparency = 0.3
- wait(0.01)
- chara["Right Leg"].Transparency = 0.4
- chara["Right Arm"].Transparency = 0.4
- chara["Left Leg"].Transparency = 0.4
- chara["Left Arm"].Transparency = 0.4
- chara.Head.Transparency = 0.4
- chara.Torso.Transparency = 0.4
- wait(0.01)
- chara["Right Leg"].Transparency = 0.5
- chara["Right Arm"].Transparency = 0.5
- chara["Left Leg"].Transparency = 0.5
- chara["Left Arm"].Transparency = 0.5
- chara.Head.Transparency = 0.5
- chara.Torso.Transparency = 0.5
- wait(0.01)
- chara["Right Leg"].Transparency = 0.6
- chara["Right Arm"].Transparency = 0.6
- chara["Left Leg"].Transparency = 0.6
- chara["Left Arm"].Transparency = 0.6
- chara.Head.Transparency = 0.6
- chara.Torso.Transparency = 0.6
- wait(0.01)
- chara["Right Leg"].Transparency = 0.7
- chara["Right Arm"].Transparency = 0.7
- chara["Left Leg"].Transparency = 0.7
- chara["Left Arm"].Transparency = 0.7
- chara.Head.Transparency = 0.7
- chara.Torso.Transparency = 0.7
- wait(0.01)
- chara["Right Leg"].Transparency = 0.8
- chara["Right Arm"].Transparency = 0.8
- chara["Left Leg"].Transparency = 0.8
- chara["Left Arm"].Transparency = 0.8
- chara.Head.Transparency = 0.8
- chara.Torso.Transparency = 0.8
- wait(0.01)
- chara["Right Leg"].Transparency = 0.9
- chara["Right Arm"].Transparency = 0.9
- chara["Left Leg"].Transparency = 0.9
- chara["Left Arm"].Transparency = 0.9
- chara.Head.Transparency = 0.9
- chara.Torso.Transparency = 0.9
- wait(0.01)
- chara["Right Leg"].Transparency = 1
- chara["Right Arm"].Transparency = 1
- chara["Left Leg"].Transparency = 1
- chara["Left Arm"].Transparency = 1
- chara.Head.Transparency = 1
- chara.Torso.Transparency = 1
- end
- end
- function StopSprinting(key)
- if key == "r" then
- chara.Humanoid.WalkSpeed = 16
- chara["Right Leg"].Transparency = 1
- chara["Right Arm"].Transparency = 1
- chara["Left Leg"].Transparency = 1
- chara["Left Arm"].Transparency = 1
- chara.Head.Transparency = 1
- chara.Torso.Transparency = 1
- wait(0.01)
- chara["Right Leg"].Transparency = 0.9
- chara["Right Arm"].Transparency = 0.9
- chara["Left Leg"].Transparency = 0.9
- chara["Left Arm"].Transparency = 0.9
- chara.Head.Transparency = 0.9
- chara.Torso.Transparency = 0.9
- wait(0.01)
- chara["Right Leg"].Transparency = 0.8
- chara["Right Arm"].Transparency = 0.8
- chara["Left Leg"].Transparency = 0.8
- chara["Left Arm"].Transparency = 0.8
- chara.Head.Transparency = 0.8
- chara.Torso.Transparency = 0.8
- wait(0.01)
- chara["Right Leg"].Transparency = 0.7
- chara["Right Arm"].Transparency = 0.7
- chara["Left Leg"].Transparency = 0.7
- chara["Left Arm"].Transparency = 0.7
- chara.Head.Transparency = 0.7
- chara.Torso.Transparency = 0.7
- wait(0.01)
- chara["Right Leg"].Transparency = 0.6
- chara["Right Arm"].Transparency = 0.6
- chara["Left Leg"].Transparency = 0.6
- chara["Left Arm"].Transparency = 0.6
- chara.Head.Transparency = 0.6
- chara.Torso.Transparency = 0.6
- wait(0.01)
- chara["Right Leg"].Transparency = 0.5
- chara["Right Arm"].Transparency = 0.5
- chara["Left Leg"].Transparency = 0.5
- chara["Left Arm"].Transparency = 0.5
- chara.Head.Transparency = 0.5
- chara.Torso.Transparency = 0.5
- wait(0.01)
- chara["Right Leg"].Transparency = 0.4
- chara["Right Arm"].Transparency = 0.4
- chara["Left Leg"].Transparency = 0.4
- chara["Left Arm"].Transparency = 0.4
- chara.Head.Transparency = 0.4
- chara.Torso.Transparency = 0.4
- wait(0.01)
- chara["Right Leg"].Transparency = 0.3
- chara["Right Arm"].Transparency = 0.3
- chara["Left Leg"].Transparency = 0.3
- chara["Left Arm"].Transparency = 0.3
- chara.Head.Transparency = 0.3
- chara.Torso.Transparency = 0.3
- wait(0.01)
- chara["Right Leg"].Transparency = 0.2
- chara["Right Arm"].Transparency = 0.2
- chara["Left Leg"].Transparency = 0.2
- chara["Left Arm"].Transparency = 0.2
- chara.Head.Transparency = 0.2
- chara.Torso.Transparency = 0.2
- wait(0.01)
- chara["Right Leg"].Transparency = 0.1
- chara["Right Arm"].Transparency = 0.1
- chara["Left Leg"].Transparency = 0.1
- chara["Left Arm"].Transparency = 0.1
- chara.Head.Transparency = 0.1
- chara.Torso.Transparency = 0.1
- wait(0.01)
- chara["Right Leg"].Transparency = 0
- chara["Right Arm"].Transparency = 0
- chara["Left Leg"].Transparency = 0
- chara["Left Arm"].Transparency = 0
- chara.Head.Transparency = 0
- chara.Torso.Transparency = 0
- end
- end
- mouse.KeyDown:connect(Sprint)
- mouse.KeyDown:connect(StopSprinting)
Add Comment
Please, Sign In to add comment