Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if Character:FindFirstChild("TalkingBillBoard")~= nil then
- Character:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Fantasy"
- tecks2.FontSize = "Size24"
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = BrickColor.new("Really red").Color
- tecks2.TextStrokeColor3 = BrickColor.new("Maroon").Color
- tecks2.Size = UDim2.new(1,0,0.5,0)
- local shk = coroutine.wrap(function()
- while tecks2 ~= nil do
- wait(.05)
- tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
- end
- end)
- shk()
- for i = 1,string.len(text),1 do
- tecks2.Text = string.sub(text,1,i)
- wait(0.01)
- end
- wait(1)
- for i = 1, 5 do
- wait(.01)
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.Rotation = tecks2.Rotation + 2
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- ---Player.Chatted:connect(onChatted)
- function chatfunc2(text)
- local chat = coroutine.wrap(function()
- if Character:FindFirstChild("TalkingBillBoard")~= nil then
- Character:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Fantasy"
- tecks2.FontSize = "Size24"
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = BrickColor.new("Really red").Color
- tecks2.TextStrokeColor3 = BrickColor.new("Maroon").Color
- tecks2.Size = UDim2.new(1,0,0.5,0)
- local shk = coroutine.wrap(function()
- while tecks2 ~= nil do
- wait(.05)
- tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
- end
- end)
- shk()
- for i = 1,string.len(text),1 do
- tecks2.Text = string.sub(text,1,i)
- wait(0.01)
- end
- wait(1)
- for i = 1, 5 do
- wait(.01)
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.Rotation = tecks2.Rotation + 2
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- local plr = game.Players.LocalPlayer
- local Player = plr.Character
- local hum = Player.Humanoid
- local rarm = Player["Right Arm"]
- local larm = Player["Left Arm"]
- local rleg = Player["Right Leg"]
- local lleg = Player["Left Leg"]
- local root = Player.HumanoidRootPart
- local tors = Player.Torso
- local head = Player.Head
- local RunS = game:GetService("RunService")
- local mouse = plr:GetMouse()
- local RenderS = RunS.RenderStepped
- local t = tick()
- local laughing = false
- local defAnim = true
- animator = hum:WaitForChild("Animator")
- if animator then
- animator:Remove()
- end
- function createSound(soundid, volume, looped, parent, pitch, debris, lifetime)
- local sound = Instance.new("Sound", parent)
- sound.SoundId = "rbxassetid://" .. soundid .. ""
- sound.Volume = volume
- sound.Pitch = pitch
- sound.Looped = looped
- if debris then
- game:GetService("Debris"):AddItem(sound, lifetime)
- end
- return sound
- end
- hum.MaxHealth = 666
- hum.WalkSpeed = 16
- hum.JumpPower = 50
- coroutine.resume(coroutine.create(function()
- wait()
- hum.Health = 666
- end))
- local song = createSound(1043259261, 1, true, tors, 1, false, 0)
- song:Play()
- local laughTaunt = createSound(139455448, 1, false, head, 1.15, false, 0)
- local nameTag = Instance.new("BillboardGui", head)
- nameTag.Adornee = head
- nameTag.Name = "NameTag"
- nameTag.Size = UDim2.new(2, 0, 1, 0)
- nameTag.StudsOffset = Vector3.new(-4, 4, 0)
- local tex = Instance.new("TextLabel", nameTag)
- tex.Size = UDim2.new(5, 0, 2.5, 0)
- tex.TextSize = 24
- tex.TextScaled = true
- tex.Text = "Insane Psychopath"
- tex.Font = 15
- tex.TextColor3 = BrickColor.new("Maroon").Color
- tex.BackgroundTransparency = 1
- tex.BorderSizePixel = 0
- tex.TextStrokeTransparency = 0
- tex.TextStrokeColor3 = Color3.new(0, 0, 0)
- function createJoint(wp0, wp1, wc0x, wc0y, wc0z, wc1x, wc1y, wc1z, name)
- local joint = Instance.new("Motor6D", wp0)
- joint.Part0 = wp0
- joint.Part1 = wp1
- joint.C0 = CFrame.new(wc0x, wc0y, wc0z)
- joint.C1 = CFrame.new(wc1x, wc1y, wc1z)
- joint.Name = name
- return joint
- end
- local RS = createJoint(tors, rarm, 1.5, 0.5, 0, 0, 0.5, 0, "Right Shoulder")
- local TS = createJoint(root, tors, 0, 0, 0, 0, 0, 0, "RootJoint")
- local LS = createJoint(tors, larm, -1.5, 0.5, 0, 0, 0.5, 0, "Left Shoulder")
- local RH = createJoint(tors, rleg, 0.5, -1, 0, 0, 1, 0, "Right Hip")
- local LH = createJoint(tors, lleg, -0.5, -1, 0, 0, 1, 0, "Left Hip")
- local NK = createJoint(tors, head, 0, 1, 0, 0, -0.5, 0, "Neck")
- local rsc0 = RS.C0
- local lsc0 = LS.C0
- local tsc0 = TS.C0
- local rhc0 = RH.C0
- local lhc0 = LH.C0
- local nkc0 = NK.C0
- RenderS:connect(function()
- t = t + 0.5
- if defAnim then
- if not hum.Sit then
- if root.Velocity.y > 1 then
- action = "Jump"
- elseif root.Velocity.y < -1 then
- action = "Fall"
- elseif math.abs(root.Velocity.x) > 2 or 2 < math.abs(root.Velocity.z) and hum:GetState() ~= Enum.HumanoidStateType.Freefall then
- action = "Walk"
- elseif math.abs(root.Velocity.x) < 2 or 2 > math.abs(root.Velocity.z) then
- action = "Idle"
- end
- else
- action = "Sit"
- end
- end
- if action == "Idle" then
- speed = 0.1
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-20), 0, 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -0.2 + math.sin(t / 10) / 10, 0.2), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, 0.05 + -math.cos(t / 10) / 10, 0) * CFrame.Angles(0, 0, math.rad(10)) * CFrame.Angles(0, math.rad(25), 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, 0.05 + -math.cos(t / 10) / 10, 0) * CFrame.Angles(0, 0, math.rad(-10)) * CFrame.Angles(0, math.rad(-25), 0), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, 0.1 + -math.sin(t / 10) / 10, 0) * CFrame.Angles(math.rad(-10), math.rad(-45), 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, 0.1 + -math.sin(t / 10) / 10, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-5)), speed)
- elseif action == "Sit" then
- speed = 0.5
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-20), 0, 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -0.2 + math.sin(t / 10) / 10, 0.2), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, 0.05 + -math.cos(t / 10) / 10, 0) * CFrame.Angles(0, 0, math.rad(10)) * CFrame.Angles(0, math.rad(25), 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, 0.05 + -math.cos(t / 10) / 10, 0) * CFrame.Angles(0, 0, math.rad(-10)) * CFrame.Angles(0, math.rad(-25), 0), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, 0.1 + -math.sin(t / 10) / 10, 0) * CFrame.Angles(math.rad(90), 0, math.rad(10)), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, 0.1 + -math.sin(t / 10) / 10, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-10)), speed)
- elseif action == "Laugh1" then
- speed = 0.2
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-20), 0, 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -0.3 + math.sin(t / 1.5) / 10, -0.2) * CFrame.Angles(math.rad(-10), 0, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, 0.05 + -math.cos(t / 1.5) / 10, 0) * CFrame.Angles(0, 0, math.rad(10)) * CFrame.Angles(0, math.rad(25), 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, 0.05 + -math.cos(t / 1.5) / 10, 0) * CFrame.Angles(0, 0, math.rad(-10)) * CFrame.Angles(0, math.rad(-25), 0), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, 0.1 + -math.sin(t / 1.5) / 10, 0) * CFrame.Angles(math.rad(-10), math.rad(-45), 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, 0.1 + -math.sin(t / 1.5) / 10, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-5)), speed)
- elseif action == "PrepareLaugh2" then
- speed = 0.5
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-40), math.rad(-15), 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -0.5, -0.5) * CFrame.Angles(math.rad(-45), 0, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(-0.5, 0, -0.5) * CFrame.Angles(math.rad(45), math.rad(90), 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0.5, 0, -0.5) * CFrame.Angles(math.rad(45), math.rad(-90), 0), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(35), math.rad(-40), 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, 0, -0.3) * CFrame.Angles(math.rad(35), 0, 0), speed)
- elseif action == "Laugh2" then
- speed = 0.5
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(45) + -math.sin(t / 1.5) / 10, 0, 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -0.7 + math.sin(t / 1.5) / 10, 0.5) * CFrame.Angles(math.rad(45), 0, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(-45), 0, 0) * CFrame.new(0, 0.05 + -math.cos(t / 1.5) / 10, 0) * CFrame.Angles(math.rad(45), 0, 0) * CFrame.Angles(math.rad(-45), 0, math.rad(45)), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(-45), 0, 0) * CFrame.new(0, 0.05 + -math.cos(t / 1.5) / 10, 0) * CFrame.Angles(math.rad(45), 0, 0) * CFrame.Angles(math.rad(-45), 0, math.rad(-45)), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(-45), 0, 0) * CFrame.new(0, 0.1 + -math.sin(t / 1.5) / 10, 0) * CFrame.Angles(math.rad(45), 0, 0) * CFrame.Angles(math.rad(-70), 0, math.rad(10)), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(-45), 0, 0) * CFrame.new(0, 0.1 + -math.sin(t / 1.5) / 10, 0) * CFrame.Angles(math.rad(45), 0, 0) * CFrame.Angles(math.rad(-70), 0, math.rad(-10)), speed)
- elseif action == "Jump" then
- speed = 0.1
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-10), 0, 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -0.2 + math.sin(t / 10) / 10, 0) * CFrame.Angles(math.rad(-10), 0, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, 0.05 + -math.cos(t / 10) / 10, 0) * CFrame.Angles(0, 0, math.rad(10)) * CFrame.Angles(0, math.rad(25), 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, 0.05 + -math.cos(t / 10) / 10, 0) * CFrame.Angles(0, 0, math.rad(-10)) * CFrame.Angles(0, math.rad(-25), 0), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(25), 0, 0) * CFrame.Angles(0, math.rad(-45), 0) * CFrame.new(-0.25, 0, -0.5) * CFrame.Angles(math.rad(-35), 0, 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(25), 0, 0) * CFrame.new(0, 0, -1) * CFrame.Angles(math.rad(-40), 0, 0), speed)
- elseif action == "Fall" then
- speed = 0.1
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-20), 0, 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -0.2 + math.sin(t / 10) / 10, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, 0.05 + -math.cos(t / 10) / 10, 0) * CFrame.Angles(0, 0, math.rad(30)) * CFrame.Angles(0, math.rad(25), 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, 0.05 + -math.cos(t / 10) / 10, 0) * CFrame.Angles(0, 0, math.rad(-30)) * CFrame.Angles(0, math.rad(-25), 0), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(40), 0, 0) * CFrame.Angles(0, math.rad(-50), 0) * CFrame.new(-0.3, 0, -0.8) * CFrame.Angles(math.rad(-50), 0, 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(40), 0, 0) * CFrame.new(0, 0, -1.5) * CFrame.Angles(math.rad(-60), 0, 0), speed)
- elseif action == "Walk" then
- speed = 0.1
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-20), -math.sin(t / 6) / 10, 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(math.rad(-5), math.sin(t / 6) / 10, 0) * CFrame.new(0, -0.2 + math.sin(t / 3) / 10, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, 0.05 + -math.cos(t / 6) / 10, 0) * CFrame.Angles(0, 0, math.rad(30)) * CFrame.Angles(0, math.rad(25), 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, 0.05 + -math.cos(t / 6) / 10, 0) * CFrame.Angles(0, 0, math.rad(-30)) * CFrame.Angles(0, math.rad(-25), 0), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, 0.2 + math.sin(t / 6) / 4, -0.1 + math.cos(t / 6) / 4) * CFrame.Angles(-math.sin(t / 6) / 1.5, 0, 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, 0.2 + -math.sin(t / 6) / 4, -0.1 + -math.cos(t / 6) / 4) * CFrame.Angles(math.sin(t / 6) / 1.5, 0, 0), speed)
- end
- nameTag.StudsOffset = Vector3.new(-4, 4, 0) + Vector3.new(math.random(-10, 10) / 100, math.random(-10, 10) / 100, 0)
- end)
- coroutine.resume(coroutine.create(function()
- while wait() do
- tex.TextColor3 = BrickColor.new("Maroon").Color
- wait(math.random(1, 10) / 10)
- tex.TextColor3 = Color3.new(0.1, 0, 0)
- end
- end))
- mouse.KeyDown:connect(function(k)
- if k == "t" then
- if laughing then
- return
- end
- laughing = true
- defAnim = false
- laughTaunt:Play()
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- action = "Laugh1"
- wait(5)
- action = "PrepareLaugh2"
- wait(0.25)
- action = "Laugh2"
- wait(4)
- defAnim = true
- hum.WalkSpeed = 16
- hum.JumpPower = 50
- wait(0.25)
- laughing = false
- end
- end)
- paly = game.Players.LocalPlayer
- char = paly.Character
- torso = char.Torso
- neck = char.Torso.Neck
- hum = char.Humanoid
- Player = game:GetService("Players").LocalPlayer
- local mouse = Player:GetMouse()
- Character = Player.Character
- tors = Character.Torso
- lleg = Character["Left Leg"]
- root = Character.HumanoidRootPart
- hed = Character.Head
- rleg = Character["Right Leg"]
- rarm = Character["Right Arm"]
- larm = Character["Left Arm"]
- local Effects = {}
- attack = false
- vt = Vector3.new
- bc = BrickColor.new
- br = BrickColor.random
- it = Instance.new
- cf = CFrame.new
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- matr = math.random
- local basiccooldown = math.huge
- local ultcooldown = math.huge
- local secondcooldown = math.huge
- local thirdcooldown = math.huge
- gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
- local gui = it(GuiType)
- gui.Parent = parent
- gui.Text = text
- gui.BackgroundTransparency = backtrans
- gui.BackgroundColor3 = backcol
- gui.SizeConstraint = "RelativeXY"
- gui.TextXAlignment = "Center"
- gui.TextYAlignment = "Center"
- gui.Position = pos
- gui.Size = size
- gui.Font = "SourceSans"
- gui.FontSize = "Size14"
- gui.TextWrapped = false
- gui.TextStrokeTransparency = 0
- gui.TextColor = BrickColor.new("White")
- return gui
- end
- local boll = Instance.new("Part",game.Lighting)
- boll.Transparency = 0.5
- boll.Material = "Neon"
- boll.BrickColor = bc("Bright red")
- boll.Anchored = true
- boll.Size = vt(1,1,1)
- boll.Shape = "Ball"
- boll.CanCollide = false
- local shur = Instance.new("Part",game.Lighting)
- shur.Transparency = 0
- shur.Material = "Neon"
- shur.BrickColor = bc("Bright red")
- shur.Anchored = true
- shur.Size = vt(5,0.2,5)
- shur.CanCollide = false
- local Meshshur = Instance.new("CylinderMesh",shur)
- Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h=v
- end
- end
- if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
- h=hit.Parent.Parent:FindFirstChild("Humanoid")
- end
- if hit.Parent.className=="Hat" then
- hit=hit.Parent.Parent:findFirstChild("Head")
- end
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- -- hs(hit,1.2)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game:service("Players").LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- Damage=math.random(minim,maxim)
- -- h:TakeDamage(Damage)
- blocked=false
- block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print(block.className)
- if block.className=="NumberValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock==nil then
- block.Value=block.Value-1
- end
- end
- end
- if block.className=="IntValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock~=nil then
- block.Value=block.Value-1
- end
- end
- end
- end
- if blocked==false then
- -- h:TakeDamage(Damage)
- h.Health=h.Health-Damage
- showDamage(hit.Parent,Damage,.5,TorsoColor)
- else
- h.Health=h.Health-(Damage/2)
- showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
- end
- if Type=="Knockdown" then
- hum=hit.Parent.Humanoid
- hum.PlatformStand=true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand=false
- end),hum)
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=angle*knockback
- bodvol.P=5000
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.5)
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Normal" then
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.5)
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,10,0)
- bodyVelocity.P=1000
- bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,1)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Snare" then
- bp=Instance.new("BodyPosition")
- bp.P=2000
- bp.D=100
- bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- bp.position=hit.Parent.Torso.Position
- bp.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(bp,1)
- elseif Type=="Target" then
- if Targetting==false then
- ZTarget=hit.Parent.Torso
- coroutine.resume(coroutine.create(function(Part)
- swait(5)
- end),ZTarget)
- TargHum=ZTarget.Parent:findFirstChild("Humanoid")
- targetgui=Instance.new("BillboardGui")
- targetgui.Parent=ZTarget
- targetgui.Size=UDim2.new(10,100,10,100)
- targ=Instance.new("ImageLabel")
- targ.Parent=targetgui
- targ.BackgroundTransparency=1
- targ.Image="rbxassetid://4834067"
- targ.Size=UDim2.new(1,0,1,0)
- cam.CameraType="Scriptable"
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- Targetting=true
- RocketTarget=ZTarget
- for i=1,Property do
- --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
- if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
- swait()
- end
- --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
- end
- Targetting=false
- RocketTarget=nil
- targetgui.Parent=nil
- cam.CameraType="Custom"
- end
- end
- debounce=Instance.new("BoolValue")
- debounce.Name="DebounceHit"
- debounce.Parent=hit.Parent
- debounce.Value=true
- game:GetService("Debris"):AddItem(debounce,Delay)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- CRIT=false
- hitDeb=true
- AttackPos=6
- end
- end
- showDamage=function(Char,Dealt,du,Color)
- m=Instance.new("Model")
- m.Name=tostring(Dealt)
- h=Instance.new("Humanoid")
- h.Health=0
- h.MaxHealth=0
- h.Parent=m
- c=Instance.new("Part")
- c.Transparency=0
- c.Material = "Neon"
- c.BrickColor=bc("Crimson")
- c.Name="Head"
- c.TopSurface=0
- c.BottomSurface=0
- local tick = Instance.new("Sound",c)
- tick.SoundId = "rbxassetid://12221976"
- tick.Volume = 5
- tick.Pitch = 4
- tick:Play()
- c.formFactor="Plate"
- c.Size=Vector3.new(1,.4,1)
- ms=Instance.new("CylinderMesh")
- ms.Scale=Vector3.new(.8,.8,.8)
- if CRIT==true then
- ms.Scale=Vector3.new(1,1.25,1)
- end
- ms.Parent=c
- c.Reflectance=0
- Instance.new("BodyGyro").Parent=c
- c.Parent=m
- if Char:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
- elseif Char.Parent:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
- end
- f=Instance.new("BodyPosition")
- f.P=2000
- f.D=100
- f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- f.position=c.Position+Vector3.new(0,3,0)
- f.Parent=c
- game:GetService("Debris"):AddItem(m,.5+du)
- c.CanCollide=false
- m.Parent=workspace
- c.CanCollide=false
- p:Destroy()
- end
- function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= magni and c.Name ~= Player.Name then
- Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
- end
- end
- end
- end
- end
- function Explode(rad,par)
- local expart = Instance.new("Part",script.Parent)
- local expart2 = Instance.new("Part",script.Parent)
- local partMesh = Instance.new("SpecialMesh",expart)
- partMesh.MeshType = "Sphere"
- local partMesh2 = Instance.new("SpecialMesh",expart2)
- partMesh2.MeshType = "Sphere"
- local expld = Instance.new("Explosion", script.Parent)
- local plode = Instance.new("Sound",expart)
- plode.SoundId = "rbxassetid://165970126"
- plode.Volume = 1
- plode.Pitch = 1
- plode.Looped = false
- plode:Play()
- expld.BlastRadius = rad
- expld.Position = par.Position
- partMesh.Scale = vt(rad,rad,rad)
- expart.Size = vt(1,1,1)*1.5
- expart.Transparency = 0
- expart.Anchored = true
- expart.Material = "Neon"
- expart.BrickColor = bc("White")
- expart.CFrame = par.CFrame
- partMesh2.Scale = vt(rad,rad,rad)
- expart2.Size = vt(1.15,1.15,1.15)*1.5
- expart2.Transparency = 0.5
- expart2.Anchored = true
- expart2.Material = "Neon"
- expart2.BrickColor = bc("Crimson")
- expart2.CFrame = par.CFrame
- local value = 1*rad/6.5
- par:Destroy()
- for i = 0, 100 do
- partMesh.Scale = partMesh.Scale + vt(value,value,value)
- expart.CFrame = expart.CFrame
- partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
- expart2.CFrame = expart.CFrame
- value = value - 0.035*rad/6.5
- if value < 1 then
- value = 0.25
- expart.Transparency = expart.Transparency + 0.025
- expart2.Transparency = expart2.Transparency + 0.025
- end
- wait()
- end
- plode.Parent = nil
- expart.Parent = nil
- expart2.Parent = nil
- expld.Parent = nil
- end
- function ExplodeMass(rad,par)
- local expart = Instance.new("Part",script.Parent)
- local expart2 = Instance.new("Part",script.Parent)
- local partMesh = Instance.new("SpecialMesh",expart)
- partMesh.MeshType = "Sphere"
- local partMesh2 = Instance.new("SpecialMesh",expart2)
- partMesh2.MeshType = "Sphere"
- local expld = Instance.new("Explosion", script.Parent)
- local plode = Instance.new("Sound",workspace)
- plode.SoundId = "rbxassetid://579687077"
- plode.Volume = 1
- plode.Pitch = 0.85
- plode.Looped = false
- plode:Play()
- local plodez = Instance.new("Sound",workspace)
- plodez.SoundId = "rbxassetid://288641686"
- plodez.Volume = 1
- plodez.Pitch = 0.75
- plodez.Looped = false
- plodez:Play()
- local plodeza = Instance.new("Sound",workspace)
- plodeza.SoundId = "rbxassetid://197161452"
- plodeza.Volume = 0.85
- plodeza.Pitch = 0.65
- plodeza.Looped = false
- plodeza:Play()
- local plodezar = Instance.new("Sound",workspace)
- plodezar.SoundId = "rbxassetid://197161452"
- plodezar.Volume = 0.85
- plodezar.Pitch = 0.25
- plodezar.Looped = false
- plodezar:Play()
- local s3 = Instance.new("Sound",workspace)
- s3.SoundId = "rbxassetid://268931189"
- s3.Pitch = 1
- s3.Volume = 1
- s3.Looped = false
- s3:Play()
- expld.BlastRadius = rad
- expld.Position = par.Position
- partMesh.Scale = vt(rad,rad,rad)
- expart.Size = vt(1,1,1)*1.5
- expart.Transparency = 0
- expart.Anchored = true
- expart.Material = "Neon"
- expart.BrickColor = bc("White")
- expart.CFrame = par.CFrame
- partMesh2.Scale = vt(rad,rad,rad)
- expart2.Size = vt(1.15,1.15,1.15)*1.5
- expart2.Transparency = 0.5
- expart2.Anchored = true
- expart2.Material = "Neon"
- expart2.BrickColor = bc("Crimson")
- expart2.CFrame = par.CFrame
- local value = 1*rad/10
- par:Destroy()
- for i = 0, 300 do
- partMesh.Scale = partMesh.Scale + vt(value,value,value)
- expart.CFrame = expart.CFrame
- partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
- expart2.CFrame = expart.CFrame
- value = value - 0.0175*rad/10
- if value <= 0 then
- expart.Transparency = expart.Transparency + 0.0125
- expart2.Transparency = expart2.Transparency + 0.0125
- value = 0.25
- end
- wait()
- end
- plode.Parent = nil
- expart.Parent = nil
- expart2.Parent = nil
- expld.Parent = nil
- end
- local basgui = it("GuiMain")
- basgui.Parent = Player.PlayerGui
- basgui.Name = "CooldownsGUI"
- local basframe = it("Frame")
- basframe.Parent = basgui
- basframe.BackgroundColor3 = Color3.new(255, 255, 255)
- basframe.BackgroundTransparency = 1
- basframe.BorderColor3 = Color3.new(17, 17, 17)
- basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
- basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
- local healthgui = gui("TextLabel", basframe, "Health: " ..basiccooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, -0.5, 0))
- local basicgui = gui("TextLabel", basframe, "Basic: " ..basiccooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0.25, 0))
- local basic2gui = gui("TextLabel", basframe, "FirstMove: " ..secondcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1.25, 0))
- local basic3gui = gui("TextLabel", basframe, "SecondMove: " ..thirdcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(1.15, 0, 0.25, 0))
- local basic4gui = gui("TextLabel", basframe, "Ultimate: " ..ultcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(1.15, 0, 1.25, 0))
- basicgui.ZIndex = 2
- healthgui.TextSize = 24
- healthgui.ZIndex = 2
- basicgui.TextSize = 24
- basic4gui.ZIndex = 2
- basic4gui.TextSize = 24
- basic3gui.ZIndex = 2
- basic3gui.TextSize = 24
- basic2gui.ZIndex = 2
- basic2gui.TextSize = 24
- function Blaze()
- if ultcooldown >= 30 then
- local sloc = Instance.new("Part",workspace)
- local msh = Instance.new("SpecialMesh",sloc)
- msh.MeshType = "Sphere"
- sloc.Size = vt(1,1,1)
- sloc.Transparency = 1
- sloc.BrickColor = bc("Crimson")
- sloc.Position = hed.Position + vt(0,5,0)
- sloc.CanCollide = false
- sloc.Shape = "Ball"
- sloc.Anchored = true
- sloc.Material = "Neon"
- local s = Instance.new("Sound",workspace)
- s.SoundId = "rbxassetid://342793847"
- s.Pitch = 1
- s.Volume = 1
- s.Looped = false
- s:Play()
- local s2 = Instance.new("Sound",workspace)
- s2.SoundId = "rbxassetid://137463716"
- s2.Pitch = 0.25
- s2.Volume = 1
- s2.Looped = false
- s2:Play()
- local val = 0.65*5
- for i = 0 , 75 do
- sloc.Transparency = sloc.Transparency - 0.035
- msh.Scale = msh.Scale + vt(val,val,val)
- sloc.Position = sloc.Position + vt(0,val,0)
- val = val - 0.0075*5
- wait()
- end
- msh.Scale = msh.Scale - vt(1,1,1)
- sloc.Transparency = sloc.Transparency + 0.015
- local spart = Instance.new("Part",workspace)
- local msh2 = Instance.new("SpecialMesh",spart)
- msh2.MeshType = "Sphere"
- spart.Size = vt(2,2,2)
- spart.Shape = "Ball"
- spart.BrickColor = bc("Crimson")
- spart.Material = "Neon"
- spart.Transparency = 0
- spart.Anchored = false
- msh2.Scale = msh.Scale/2
- spart.Rotation = hed.Rotation
- spart.CanCollide = false
- spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0))
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector * 125
- bv.Parent = spart
- local tick = Instance.new("Sound",workspace)
- tick.SoundId = "rbxassetid://203691467"
- tick.Volume = 2
- tick.Pitch = 0.75
- tick:Play()
- sloc:Destroy()
- wait(0.00001)
- pewdiepie=spart.Touched:connect(function(hit)
- ExplodeMass(100,spart)
- end)
- sloc:Destroy()
- end
- if ultcooldown < 1 then
- for i = 0, 29 do
- ultcooldown = ultcooldown + 1
- wait(1)
- end
- end
- end
- chatfunc("A WORLD LIKE THIS SHOULD BURN IN HELL!!!")
- function LocateSpot()
- if basiccooldown >= 5 then
- local spart = Instance.new("Part",workspace)
- local msh = Instance.new("SpecialMesh",spart)
- msh.MeshType = "Sphere"
- local sparta = Instance.new("Part",workspace)
- local msher = Instance.new("SpecialMesh",sparta)
- msher.MeshType = "Sphere"
- msher.Scale = vt(5,10000,5)
- local sa1 = Instance.new("Sound",spart)
- sa1.SoundId = "rbxassetid://200633529"
- sa1.Pitch = 0.475
- sa1.Volume = 1.95
- sa1.Looped = false
- local sa2 = Instance.new("Sound",sparta)
- sa2.SoundId = "rbxassetid://169380479"
- sa2.Pitch = 1
- sa2.Volume = 2.25
- sa2.Looped = false
- sa2:Play()
- spart.Size = vt(1,1,1)
- spart.BrickColor = BrickColor.new("Crimson")
- spart.Material = "Neon"
- spart.Transparency = 1
- spart.Anchored = true
- spart.CanCollide = false
- spart.CFrame = mouse.Hit
- sparta.Size = vt(1,1,1)
- sparta.BrickColor = BrickColor.new("Crimson")
- sparta.Material = "Neon"
- sparta.Transparency = 0
- sparta.Anchored = true
- sparta.CanCollide = false
- sparta.CFrame = mouse.Hit
- sparta.Rotation = vt(0,0,0)
- local value2 = 2.5
- for i = 0, 24 do
- value2 = value2 - 0.065
- sparta.Transparency = sparta.Transparency + 0.075
- msher.Scale = msher.Scale + vt(value2,0,value2)
- wait()
- end
- local value = 2.5
- sa1:Play()
- for i = 0, 24 do
- spart.Transparency = spart.Transparency - 0.015
- value = value - 0.065
- msh.Scale = msh.Scale + vt(value,value,value)
- wait()
- end
- wait(0.1)
- spart.Anchored = true
- Explode(20,spart)
- spart:Destroy()
- sparta:Destroy()
- end
- end
- chatfunc("This Beam will Burn you to dust")
- function TeleportSpot()
- if basiccooldown >= 5 then
- local sparta = Instance.new("Part",workspace)
- local msher = Instance.new("SpecialMesh",sparta)
- msher.MeshType = "Sphere"
- msher.Scale = vt(5,10000,5)
- local sa2 = Instance.new("Sound",sparta)
- sa2.SoundId = "rbxassetid://169380479"
- sa2.Pitch = 1
- sa2.Volume = 2.25
- sa2.Looped = false
- sa2:Play()
- local sa3 = Instance.new("Sound",sparta)
- sa3.SoundId = "rbxassetid://541710285"
- sa3.Pitch = 1
- sa3.Volume = 2.25
- sa3.Looped = false
- sparta.Size = vt(1,1,1)
- sparta.BrickColor = BrickColor.new("Crimson")
- sparta.Material = "Neon"
- sparta.Transparency = 0
- sparta.Anchored = true
- sparta.CanCollide = false
- sparta.CFrame = mouse.Hit
- sparta.Rotation = vt(0,0,0)
- local value2 = 2.5
- for i = 0, 24 do
- value2 = value2 - 0.065
- sparta.Transparency = sparta.Transparency + 0.075
- msher.Scale = msher.Scale + vt(value2,0,value2)
- wait()
- end
- for i = 0, 24 do
- value2 = value2 + 0.065
- sparta.Transparency = sparta.Transparency - 0.075
- msher.Scale = msher.Scale - vt(value2,0,value2)
- wait()
- end
- wait(0.1)
- sa3:Play()
- tors.CFrame = sparta.CFrame
- for i = 0, 49 do
- value2 = value2 + 0.1
- sparta.Transparency = sparta.Transparency + 0.085
- msher.Scale = msher.Scale - vt(value2,0,value2)
- wait()
- end
- sparta:Destroy()
- end
- end
- chatfunc("Teleporting....")
- function ExplosiveLightBall()
- if basiccooldown >= 5 then
- local spart = Instance.new("Part",workspace)
- local msh = Instance.new("SpecialMesh",spart)
- msh.MeshType = "Sphere"
- local spart2 = Instance.new("Part",workspace)
- local msh2 = Instance.new("SpecialMesh",spart2)
- msh2.MeshType = "Sphere"
- msh2.Scale = vt(25,25,25)
- local sa = Instance.new("Sound",hed)
- sa.SoundId = "rbxassetid://203691467"
- sa.Pitch = 1
- sa.Volume = 1
- sa.Looped = false
- local sa1 = Instance.new("Sound",hed)
- sa1.SoundId = "rbxassetid://200633529"
- sa1.Pitch = 0.65
- sa1.Volume = 1
- sa1.Looped = false
- sa1:Play()
- spart.Size = vt(1,1,1)
- spart.BrickColor = BrickColor.new("Crimson")
- spart.Material = "Neon"
- spart.Transparency = 1
- spart.Anchored = true
- spart.CanCollide = false
- spart.Position = hed.Position + vt(0,15,0)
- spart2.Size = vt(1,1,1)
- spart2.BrickColor = BrickColor.new("White")
- spart2.Material = "Neon"
- spart2.Transparency = 0
- spart2.Anchored = true
- spart2.CanCollide = false
- spart2.Position = spart.Position
- local value = 1
- for i = 0, 24 do
- spart2.Transparency = spart2.Transparency + 0.05
- spart.Transparency = spart.Transparency - 0.05
- value = value - 0.05
- msh.Scale = msh.Scale + vt(value,value,value)
- msh2.Scale = msh2.Scale - vt(value,value,value)
- wait()
- end
- sa:Play()
- spart.Anchored = false
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector *125
- bv.Parent = spart
- wait(0.1)
- spart2.Transparency = 0
- pewdiepie=spart.Touched:connect(function(hit) Explode(12.5,spart) end)
- for i = 0, 24 do
- spart2.Transparency = spart2.Transparency + 0.05
- value = value + 0.05
- msh2.Scale = msh2.Scale + vt(value,value,value)
- wait()
- end
- spart2:Destroy()
- end
- end
- chatfunc("DESTORY!!!")
- function ExplosiveLightBalls()
- if basiccooldown >= 5 then
- for i = 0, 9 do
- local spart = Instance.new("Part",workspace)
- local msh = Instance.new("SpecialMesh",spart)
- msh.MeshType = "Sphere"
- local sa = Instance.new("Sound",hed)
- sa.SoundId = "rbxassetid://203691467"
- sa.Pitch = 5.5
- sa.Volume = 1
- sa.Looped = false
- spart.Size = vt(1,1,1)
- spart.BrickColor = BrickColor.new("Crimson")
- spart.Material = "Neon"
- spart.Transparency = 0
- spart.Anchored = true
- spart.CanCollide = false
- spart.Position = hed.Position + vt(0,1,0)
- local value = 1
- sa:Play()
- spart.Anchored = false
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector *75
- bv.Parent = spart
- wait(0.1)
- pewdiepie=spart.Touched:connect(function(hit) Explode(10,spart) end)
- end
- end
- end
- chatfunc("Your too weak")
- mouse.KeyDown:connect(function(k)
- k = k:lower()
- if k == "z" then
- ExplosiveLightBall()
- end
- if k == "x" then
- LocateSpot()
- end
- if k == "c" then
- ExplosiveLightBalls()
- end
- if k == "v" then
- TeleportSpot()
- end
- if k == "b" then
- Blaze()
- end
- end)
- while wait() do
- healthgui.Text = "[Z]\nBurst of Light"
- basicgui.Text = "[X]\nLight Strike"
- basic2gui.Text = "[C]\nSpread of Light"
- basic3gui.Text = "[V]\nBlink"
- basic4gui.Text = "[B]\nFinal Destination"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement