Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Chara script
- -- by Theamazingnater
- -- why THE HELL DID I MAKE THIS
- plr = game.Players.LocalPlayer
- repeat wait() until plr.Character
- char = plr.Character
- local music = Instance.new("Sound",char)
- music.SoundId = "rbxassetid://2571866856"
- music.TimePosition = 3
- music.Volume = 4
- music:Play()
- music.Looped = true
- skin_Color = BrickColor.new("Pastel brown")
- local Weapon = Instance.new("Model",char)
- Weapon.Name = "Knife"
- local Part0 = Instance.new("Part",Weapon)
- Part0.Name = "Handle"
- Part0.Size = Vector3.new(0.37, 0.57, 0.88)
- Part0.BrickColor = BrickColor.new("Really black")
- Part0.CanCollide = false
- Part0.Material = Enum.Material.SmoothPlastic
- local Part1 = Instance.new("Part",Weapon)
- Part1.Name = "TopKnife"
- Part1.BrickColor = BrickColor.new("Really red")
- Part1.Material = Enum.Material.Neon
- Part1.CanCollide = false
- Part1.Size = Vector3.new(0.37, 0.57, 2.07)
- local Particle = Instance.new("ParticleEmitter",Part1)
- Particle.Lifetime = NumberRange.new(0.3)
- Particle.Color = ColorSequence.new(BrickColor.new("Really red").Color)
- Particle.LockedToPart = true
- Particle.Speed = NumberRange.new(0)
- Particle.Rate = math.huge
- local Part2 = Instance.new("WedgePart",Weapon)
- Part2.Size = Vector3.new(0.36, 0.6, 1.14)
- Part2.Material = Enum.Material.Neon
- Part2.BrickColor = BrickColor.new("Really red")
- Part2.CanCollide = false
- Part2.Name = "WedgeForTopKnife"
- local weld = Instance.new("Weld",Part0)
- weld.Part0 = Part0
- weld.Part1 = Part1
- weld.C0 = CFrame.new(0, 0, 1.4406805, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- local wweld = Instance.new("Weld",Part1)
- wweld.Part0 = Part1
- wweld.Part1 = Part2
- wweld.C0 = CFrame.new(0.00241553783, -0.0223271549, 1.57767344, 1, 0, 0, 0, -0.999996781, -0.0025379993, 0, 0.0025379993, -0.999996781)
- local wwweld = Instance.new("Weld",char["Right Arm"])
- wwweld.Part0 = char["Right Arm"]
- wwweld.Part1 = Part0
- wwweld.C0 = CFrame.new(0.0283082724, -1.16673839, -0.0630893707, -0.998895764, 0, -0.0469819903, 0, 0.999999881, 0, 0.0469819903, 0, -0.998895764)
- local Part3 = Instance.new("Part",Weapon)
- Part3.CanCollide = false
- Part3.Size = Vector3.new(0.53, 0.8, 3.25)
- Part3.Transparency = 1
- Part3.Name = "Hitbox"
- local trailattach0 = Instance.new("Attachment",Part3)
- trailattach0.Position = Vector3.new(0, -0.311, -0.208)
- trailattach0.Orientation = Vector3.new(0, 0, -96.727)
- local trailattach1 = Instance.new("Attachment",Part3)
- trailattach1.Position = Vector3.new(0.111, -0.352, 1.462)
- trailattach1.Orientation = Vector3.new(0, 0, -90.415)
- local trail = Instance.new("Trail",Part3)
- trail.Name = "WeaponTrail"
- trail.Color = ColorSequence.new(BrickColor.new("Really red").Color)
- trail.Lifetime = 0.5
- trail.Attachment0 = trailattach0
- trail.Attachment1 = trailattach1
- local wwwweld = Instance.new("Weld",Part0)
- wwwweld.Part0 = Part0
- wwwweld.Part1 = Part3
- wwwweld.C0 = CFrame.new(-0.00386536121, -0.0567215681, 2.06630421, -0.998895764, 0, 0.0469819903, 0, 0.999999762, 0, -0.0469819903, 0, -0.998895764)
- plr:ClearCharacterAppearance()
- local shirt = Instance.new("Shirt",char)
- shirt.ShirtTemplate = "rbxassetid://344089667"
- local pants = Instance.new("Pants",char)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=344084364"
- local Hair = Instance.new("Part",char)
- Hair.CanCollide = false
- local Hairm = Instance.new("FileMesh",Hair)
- Hairm.MeshId = "http://www.roblox.com/asset/?id=250264520"
- Hairm.TextureId = "http://www.roblox.com/asset/?id=75975464"
- local Hairw = Instance.new("Weld",Hair)
- Hairw.Part0 = Hair
- Hairw.Part1 = char.Head
- Hairw.C0 = CFrame.new(0, -0.200000286, 0, 1, -2.96657507e-08, -8.07689048e-07, 2.96659675e-08, 1, 2.69079379e-07, 8.07689048e-07, -2.69079379e-07, 1)
- CanUse = false
- issprinting = false
- function Sprint(Key)
- if Key == "e" then
- char.Humanoid.WalkSpeed = 60
- trail.Enabled = false
- music:Pause()
- issprinting = true
- Particle.Transparency = NumberSequence.new(1)
- for i = 1,10 do
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = v.Transparency + 1
- end
- end
- Part0.Transparency = Part0.Transparency + 1
- Part1.Transparency = Part1.Transparency + 1
- Part2.Transparency = Part2.Transparency + 1
- Part3.Transparency = Part3.Transparency + 1
- wait()
- end
- end
- end
- function StopSprinting(Key)
- if Key == "e" then
- char.Humanoid.WalkSpeed = 16
- trail.Enabled = true
- music:Resume()
- Particle.Transparency = NumberSequence.new(0)
- issprinting = false
- for i = 1,10 do
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = v.Transparency - 1
- end
- end
- Part0.Transparency = Part0.Transparency - 1
- Part1.Transparency = Part1.Transparency - 1
- Part2.Transparency = Part2.Transparency - 1
- Part3.Transparency = Part3.Transparency - 1
- wait()
- end
- end
- end
- local naeeym2 = Instance.new("BillboardGui",char)
- naeeym2.AlwaysOnTop = true
- naeeym2.Size = UDim2.new(5,35,2,35)
- naeeym2.StudsOffset = Vector3.new(0,2,0)
- naeeym2.Adornee = hed
- naeeym2.Name = "Name"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.TextScaled = true
- tecks2.BorderSizePixel = 0
- tecks2.Text = "Chara"
- tecks2.Font = "Garamond"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = BrickColor.new('Really red').Color
- tecks2.TextStrokeColor3 = BrickColor.new('Really red').Color
- tecks2.Size = UDim2.new(1,0,0.5,0)
- tecks2.Parent = naeeym2
- textfag = tecks2
- tecks2.Text = "Chara"
- 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
- coroutine.resume(coroutine.create(function()
- while textfag ~= nil do
- swait()
- textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
- textfag.Rotation = math.random(-3,3)
- end
- end))
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(Sprint)
- mouse.KeyUp:connect(StopSprinting)
- canattack = false
- local anim = Instance.new("Animation",char.Humanoid)
- anim.AnimationId = "rbxassetid://186934658"
- local ranim = char.Humanoid:LoadAnimation(anim)
- local hit = Instance.new("Sound",char)
- hit.SoundId = "rbxassetid://1825260752"
- hit.Volume = 4
- Part3.Touched:connect(function(part)
- local human = part.Parent:FindFirstChildOfClass("Humanoid")
- if human and human.Parent.Name ~= char.Name and canattack then
- human.Health = 0
- hit:Play()
- end
- end)
- local sound = Instance.new("Sound",char)
- sound.SoundId = "rbxassetid://2571866856"
- sound.Volume = 4
- function ATTACK()
- ranim:Play()
- sound:Play()
- canattack = true
- wait(.6)
- canattack = false
- end
- mouse.Button1Down:connect(ATTACK)
- while true do
- wait()
- if music.Parent == nil then
- music.Parent = char
- end
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.BrickColor = skin_Color
- end
- end
- canglitch = math.random(1,15)
- if canglitch == 1 and issprinting then
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- elseif canglitch == 2 and not issprinting then
- char.Head.face.Texture = "rbxassetid://435233416"
- namemath = math.random(1,5)
- if namemath == 1 then
- tecks2.Text = "HAHAHA"
- end
- if namemath == 2 then
- tecks2.Text = "COME TO ME"
- end
- if namemath == 3 then
- tecks2.Text = "REEEEE"
- end
- if namemath == 4 then
- tecks2.Text = "DIE"
- end
- if namemath == 5 then
- tecks2.Text = "Ç̶̡̨̛̣̭͙̤̣̺̘̦̭̔͂̆̾̈́̈́͌͝h̴͇̀̔̈́̌ǎ̸̡͕͕̦̳͎͚͙̮͉͚̭̋͝r̷̨̧͈̠̗̬̫͙̬͚̠͚̟̅̒͂͂͒̐̀̽̈́̂̀͊͜͠å̵̡͍̭̻͚͙̐͛̾̎͛̈͗͋̒̎͘͝"
- end
- music:Pause()
- wait()
- music:Resume()
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- end
- if canglitch == 3 and issprinting then
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- end
- if canglitch == 4 and issprinting then
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- end
- if canglitch == 5 and issprinting then
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- end
- if canglitch == 6 and issprinting then
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- end
- if canglitch == 7 and issprinting then
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- end
- if canglitch == 8 and issprinting then
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- end
- if canglitch == 9 and issprinting then
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- end
- if canglitch == 10 and issprinting then
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- end
- if canglitch == 11 and issprinting then
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- end
- if canglitch == 12 and issprinting then
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- end
- if canglitch == 13 and issprinting then
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- end
- if canglitch == 14 and issprinting then
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- end
- if canglitch == 15 and issprinting then
- char.Head.face.Texture = "rbxassetid://422627909"
- tecks2.Text = "Chara"
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement