Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local guis = Instance.new("ScreenGui", plr.PlayerGui)
- local frame = Instance.new("Frame", guis)
- local speed = Instance.new("TextButton", frame)
- local jumppower = Instance.new("TextButton", frame)
- local god = Instance.new("TextButton", frame)
- local close = Instance.new("TextButton", frame)
- local open = Instance.new("TextButton", guis)
- local deepclean = Instance.new("TextButton", frame)
- local scriptframe = Instance.new("Frame", frame)
- local swordbutton = Instance.new("TextButton", scriptframe)
- local openframe = Instance.new("TextButton", frame)
- local closeframe = Instance.new("TextButton", scriptframe)
- local anchortorso = Instance.new("TextButton", scriptframe)
- local zenoscript = Instance.new("TextButton", scriptframe)
- local infx = Instance.new("TextButton", scriptframe)
- frame.Position = UDim2.new(0, 238,0, 67)
- frame.Size = UDim2.new(0, 354,0, 329)
- frame.BackgroundColor3 = Color3.new(255,255,255)
- frame.Visible = false
- scriptframe.Visible = false
- speed.Position = UDim2.new(0, 0,0, 0)
- speed.Size = UDim2.new(0, 113,0, 50)
- speed.TextScaled = true
- speed.Text = "Speed"
- speed.BackgroundColor3 = Color3.new(255,255,255)
- speed.AutoButtonColor = true
- jumppower.Position = UDim2.new(0, 240,0, 0)
- jumppower.Size = UDim2.new(0, 113,0, 50)
- jumppower.TextScaled = true
- jumppower.Text = "Jump Power"
- jumppower.BackgroundColor3 = Color3.new(255,255,255)
- jumppower.AutoButtonColor = true
- god.Position = UDim2.new(0, 0,0, 109)
- god.Size = UDim2.new(0, 113,0, 50)
- god.TextScaled = true
- god.Text = "God"
- god.BackgroundColor3 = Color3.new(255,255,255)
- god.AutoButtonColor = true
- close.Position = UDim2.new(0, 78,0, 243)
- close.Size = UDim2.new(0,200,0,31)
- close.BackgroundColor3 = Color3.new(255,255,255)
- close.TextScaled = true
- close.Text = "Close"
- open.Position = UDim2.new(0,0,0,182)
- open.Size = UDim2.new(0,200,0,50)
- open.TextScaled = true
- open.Text = "Open"
- open.BackgroundColor3 = Color3.new(93,93,93)
- deepclean.Position = UDim2.new(0, 240,0, 109)
- deepclean.Size = UDim2.new(0, 113,0, 50)
- deepclean.TextScaled = true
- deepclean.Text = "Deepclean server"
- deepclean.BackgroundColor3 = Color3.new(255,255,255)
- scriptframe.Size = UDim2.new(0, 173,0, 318)
- scriptframe.Position = UDim2.new(0, 357,0, 0)
- openframe.Position = UDim2.new(0, 78,0, 191)
- openframe.Size = UDim2.new(0, 200,0, 42)
- openframe.TextScaled = true
- openframe.Text = "Open script menu"
- openframe.BackgroundColor3 = Color3.new(255,255,255)
- swordbutton.Size = UDim2.new(0, 173,0, 50)
- swordbutton.BackgroundColor3 = Color3.new(255,255,255)
- swordbutton.TextScaled = true
- swordbutton.Text = "Purple Sword"
- closeframe.Size = UDim2.new(0, 173,0, 50)
- closeframe.Position = UDim2.new(0, 0,0, 268)
- closeframe.TextScaled = true
- closeframe.Text = "Close"
- closeframe.BackgroundColor3 = Color3.new(255,255,255)
- anchortorso.Size = UDim2.new(0, 173,0, 50)
- anchortorso.Position = UDim2.new(0, 0,0, 52)
- anchortorso.BackgroundColor3 = Color3.new(255,255,255)
- anchortorso.TextScaled = true
- anchortorso.Text = "Anchor torso"
- zenoscript.Size = UDim2.new(0, 173,0, 50)
- zenoscript.Position = UDim2.new(0, 0,0, 109)
- zenoscript.BackgroundColor3 = Color3.new(255,255,255)
- zenoscript.TextScaled = true
- zenoscript.Text = "Zeno script"
- infx.Size = UDim2.new(0, 173,0, 50)
- infx.Position = UDim2.new(0, 0,0, 159)
- infx.BackgroundColor3 = Color3.new(255,255,255)
- infx.TextScaled = true
- infx.Text = "Admin"
- speed.MouseButton1Click:connect(function()
- print("Granted")
- plr.Character.Humanoid.WalkSpeed = 99
- end)
- jumppower.MouseButton1Click:connect(function()
- print("Granted")
- plr.Character.Humanoid.JumpPower = 100
- end)
- god.MouseButton1Click:connect(function()
- print("Granted")
- plr.Character.Humanoid.MaxHealth = math.huge
- plr.Character.Humanoid.Health = math.huge
- end)
- close.MouseButton1Click:connect(function()
- frame.Visible = false
- end)
- open.MouseButton1Click:connect(function()
- frame.Visible = true
- end)
- deepclean.MouseButton1Click:connect(function()
- for i = 1, 5 do
- workspace:ClearAllChildren()
- end
- end)
- openframe.MouseButton1Click:connect(function()
- scriptframe.Visible = true
- end)
- closeframe.MouseButton1Click:connect(function()
- scriptframe.Visible = false
- end)
- swordbutton.MouseButton1Click:connect(function(Player, Character, Humanoid)
- Player=game:GetService("Players").LocalPlayer
- Character=Player.Character
- PlayerGui=Player.PlayerGui
- Backpack=Player.Backpack
- Torso=Character.Torso
- Head=Character.Head
- Humanoid=Character.Humanoid
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- cam=game.Workspace.CurrentCamera
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- Face = Head.face
- Neck=Torso.Neck
- it=Instance.new
- attacktype=1
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- cloaked=false
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
- RootPart=Character.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- attack = false
- bounce=false
- cooldown=false
- deeznuts=false
- attackdebounce = false
- deb=false
- equipped=true
- hand=false
- MMouse=nil
- combo=0
- mana=0
- trispeed=.2
- attackmode='none'
- local idle=0
- local Anim="Idle"
- local Effects={}
- local gun=false
- local shoot=false
- player=nil
- mana=0
- cam = workspace.CurrentCamera
- ZTarget = nil
- RocketTarget = nil
- local m = Instance.new("Model",Character)
- m.Name = "WeaponModel"
- mouse=Player:GetMouse()
- --save shoulders
- RSH, LSH=nil, nil
- --welds
- RW, LW=Instance.new("Weld"), Instance.new("Weld")
- RW.Name="Right Shoulder" LW.Name="Left Shoulder"
- LH=Torso["Left Hip"]
- RH=Torso["Right Hip"]
- TorsoColor=Torso.BrickColor
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- player=Player
- ch=Character
- RSH=ch.Torso["Right Shoulder"]
- LSH=ch.Torso["Left Shoulder"]
- --
- RSH.Parent=nil
- LSH.Parent=nil
- --
- RW.Name="Right Shoulder"
- RW.Part0=ch.Torso
- RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
- RW.C1=cf(0, 0.5, 0)
- RW.Part1=ch["Right Arm"]
- RW.Parent=ch.Torso
- --
- LW.Name="Left Shoulder"
- LW.Part0=ch.Torso
- LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LW.C1=cf(0, 0.5, 0)
- LW.Part1=ch["Left Arm"]
- LW.Parent=ch.Torso
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Heartbeat:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Heartbeat:wait(0)
- end
- end
- end
- function nooutline(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=BrickColor.new(tostring(brickcolor))
- fp.Name=name
- fp.Size=size
- fp.Position=Character.Torso.Position
- nooutline(fp)
- fp.Material=material
- fp:BreakJoints()
- return fp
- end
- function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
- local fp = it("Part")
- fp.formFactor = formfactor
- fp.Parent = parent
- fp.Reflectance = reflectance
- fp.Transparency = transparency
- fp.CanCollide = false
- fp.Locked=true
- fp.BrickColor = brickcolor
- fp.Name = name
- fp.Size = size
- fp.Position = EffectPart.Position
- NoOutline(fp)
- fp.Material="Neon"
- fp:BreakJoints()
- return fp
- end
- function wweld(parent,part0,part1,c0)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- return weld
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- mesh.MeshId=meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function decal(part,face,texture,transparency,shiny,specular,name)
- local d=it("Decal",part)
- d.Shiny=shiny
- d.Face=face
- d.Specular=specular
- d.Transparency=transparency
- d.Texture=texture
- d.Name=name
- return d
- end
- function weld(parent,part0,part1,c0,c1)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- weld.C1=c1
- return weld
- end
- local function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CFrame.new(at.x, at.y, at.z,
- right.x, top.x, back.x,
- right.y, top.y, back.y,
- right.z, top.z, back.z)
- end
- function Triangle(a, b, c)
- local edg1 = (c-a):Dot((b-a).unit)
- local edg2 = (a-b):Dot((c-b).unit)
- local edg3 = (b-c):Dot((a-c).unit)
- if edg1 <= (b-a).magnitude and edg1 >= 0 then
- a, b, c = a, b, c
- elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
- a, b, c = b, c, a
- elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
- a, b, c = c, a, b
- else
- assert(false, "unreachable")
- end
- local len1 = (c-a):Dot((b-a).unit)
- local len2 = (b-a).magnitude - len1
- local width = (a + (b-a).unit*len1 - c).magnitude
- local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
- local list = {}
- local TrailColor = ("Royal purple")
- if len1 > 0.01 then
- local w1 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w1,5)
- w1.Material = "Neon"
- w1.FormFactor = 'Custom'
- w1.BrickColor = BrickColor.new(TrailColor)
- w1.Transparency = 0
- w1.Reflectance = 0
- w1.Material = "Neon"
- w1.CanCollide = false
- NoOutline(w1)
- local sz = Vector3.new(0.2, width, len1)
- w1.Size = sz
- local sp = Instance.new("SpecialMesh",w1)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
- w1:BreakJoints()
- w1.Anchored = true
- w1.Parent = workspace
- w1.Transparency = 0.7
- table.insert(Effects,{w1,"Disappear",.01})
- w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
- table.insert(list,w1)
- end
- if len2 > 0.01 then
- local w2 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w2,5)
- w2.Material = "Neon"
- w2.FormFactor = 'Custom'
- w2.BrickColor = BrickColor.new(TrailColor)
- w2.Transparency = 0
- w2.Reflectance = 0
- w2.Material = "Neon"
- w2.CanCollide = false
- NoOutline(w2)
- local sz = Vector3.new(0.2, width, len2)
- w2.Size = sz
- local sp = Instance.new("SpecialMesh",w2)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
- w2:BreakJoints()
- w2.Anchored = true
- w2.Parent = workspace
- w2.Transparency = 0.7
- table.insert(Effects,{w2,"Disappear",.01})
- w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
- table.insert(list,w2)
- end
- return unpack(list)
- end
- so = function(id,par,vol,pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound",par or workspace)
- sou.Volume=vol
- sou.Pitch=pit or 1
- sou.SoundId=id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou,6)
- end))
- end
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- local 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)
- local c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game:service("Players").LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- local Damage=math.random(minim,maxim)
- -- h:TakeDamage(Damage)
- local blocked=false
- local 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((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
- else
- h.Health=h.Health-(Damage/2)
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
- end
- if Type=="Knockdown" then
- local 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
- local 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
- local 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,60,0)
- bodyVelocity.P=5000
- bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,1)
- local rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Snare" then
- local 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
- local Targetting = false
- if Targetting==false then
- ZTarget=hit.Parent.Torso
- coroutine.resume(coroutine.create(function(Part)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- swait(5)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- end),ZTarget)
- local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
- local targetgui=Instance.new("BillboardGui")
- targetgui.Parent=ZTarget
- targetgui.Size=UDim2.new(10,100,10,100)
- local 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)
- local 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
- local 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)
- end
- end
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 0))
- local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
- EffectPart.Anchored = true
- local BillboardGui = Instance.new("BillboardGui")
- BillboardGui.Size = UDim2.new(3, 0, 3, 0)
- BillboardGui.Adornee = EffectPart
- local TextLabel = Instance.new("TextLabel")
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.Text = Text
- TextLabel.TextColor3 = Color
- TextLabel.TextScaled = true
- TextLabel.Font = Enum.Font.ArialBold
- TextLabel.Parent = BillboardGui
- BillboardGui.Parent = EffectPart
- game.Debris:AddItem(EffectPart, (Time + 0.1))
- EffectPart.Parent = game:GetService("Workspace")
- Delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","Handle",Vector3.new(0.200000003, 1.61857152, 0.200000003))
- handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.995889783, -0.101109691, 0.0468789339, -5.23798153e-005, 0.99999994, -0.000210702419, -6.36925748e-008, -0.000210702419, -0.99999994, -1, -5.23798008e-005, 7.47295417e-008))
- mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00982296467, -0.128642559, 5.57254982, -1.21753502e-007, -2.87620594e-010, 1, -1, -1.04306673e-006, -1.2175461e-007, 1.04306673e-006, -1, -2.87123214e-010))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100114346, 3.24283266, 2.64644623e-005, -2.98713599e-006, -1.63886575e-008, -1, -1.18017197e-005, -0.99999994, 1.64265153e-008, -0.99999994, 1.18017197e-005, 2.98713007e-006))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00896048546, 3.24313331, -6.2584877e-006, -2.62832918e-006, -1.58840017e-008, -1, -1.16825104e-005, -0.99999994, 1.59122848e-008, -0.99999994, 1.16825104e-005, 2.62831986e-006))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0080575943, -5.57459974, 0.127099097, -7.20826961e-007, -1.18548371e-009, 1, 6.25863322e-007, 1, 1.18891563e-009, -1, 6.25863322e-007, -7.20827984e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00858414173, -5.58866072, 0.142816901, -5.41048905e-007, -8.99582631e-010, 1, -5.96046448e-007, 0.99999994, 9.00953978e-010, -0.99999994, -5.96046448e-007, -5.41057148e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.011053443, -0.142930448, 5.58944941, 2.97432763e-007, 3.64387631e-010, 1, -1, 6.25863322e-007, 2.9743137e-007, -6.25863322e-007, -1, 3.63804986e-010))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(1, 1.20000005, 1))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.57627869e-007, -0.809324801, 1.96695328e-006, 6.20105922e-008, 2.27451835e-010, -1, 1.81795622e-006, 1, 2.27856845e-010, 1, -1.81795622e-006, 6.2011928e-008))
- mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00226664543, 0.69951874, 1.00827909, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487548, -0.00217807293, 3.74913216e-005, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487882, -0.00217807293, 4.00543213e-005, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00595891476, -1.00750566, 1.00747085, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00534570217, -1.00757694, -0.698815584, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000260472298, 0.6988675, -0.698937058, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00927072763, -0.0121991634, 1.19311547, 0.999999881, -2.08614802e-006, 1.9306286e-007, -1.93059051e-007, -1.09411957e-007, 1, -2.08616257e-006, -0.999999881, -1.09408283e-007))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604586363, -0.0121991634, 1.02863288, 0.866026282, 0.499998033, 2.28958157e-007, -1.93872992e-007, -1.22099237e-007, 1, 0.499998033, -0.866026282, -8.79730777e-009))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.03790355, -0.0121991634, 0.588528812, 0.500001669, 0.866024196, 1.74744486e-007, -1.6279435e-007, -1.0777579e-007, 1, 0.866024196, -0.500001669, 8.71042545e-008))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39311564, -0.0121991634, -0.00927072763, 2.08616257e-006, 0.999999881, 7.82298955e-008, -1.51383063e-007, -7.82268899e-008, 1, 0.999999881, -2.08614802e-006, 1.51386175e-007))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02863288, -0.0121997595, -0.604586482, -0.499998093, 0.866026223, -6.44970513e-008, -1.45620604e-007, -9.60127267e-009, 1, 0.866026223, 0.499998093, 1.30918266e-007))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.588528991, -0.0121992826, -1.03790355, -0.866024137, 0.500001729, -9.11133142e-008, -1.16737233e-007, -1.99774206e-008, 1, 0.500001729, 0.866024137, 7.56750538e-008))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00338602066, -0.736121356, -0.540583551, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00803625584, -0.737174749, 0.736498654, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00594449043, 0.540397167, 0.737201214, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00681877136, 0.540436149, -0.541088939, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910848916, -0.00147974491, 0.000465214252, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910846829, -0.00147974491, 0.000467300415, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.98755074e-005, -0.86527884, -0.00526940823, 0.99999994, -3.33786011e-006, -1.61662047e-006, 3.33786011e-006, 0.99999994, -1.75251103e-009, 1.61662604e-006, 1.74897963e-009, 1))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
- Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
- Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107657909, -3.95914412, 0.00325751305, 0.999999821, -0.000211339415, 2.39198562e-006, 0.000211339124, 0.999997795, -6.21902582e-005, -2.38056168e-006, 6.20116552e-005, 0.999992907))
- EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Royal purple","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- EffectPartweld=weld(m,handle,EffectPart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
- mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- EffectPart2weld=weld(m,Character["Left Arm"],EffectPart2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
- DarkRiftF=function(par)
- while lol == true do
- wait()
- local PWN={}
- for _,v in pairs(game.Workspace:children()) do
- if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
- if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
- table.insert(PWN,v.Torso)
- end
- end
- end
- for _,t in pairs(PWN) do
- local targ=par.Position-t.Position
- local Mag=targ.magnitude
- if not t:IsDescendantOf(Character) and t~=nil and Mag<=50 then
- if Mag<=30 then
- t.Parent.Humanoid:TakeDamage(.5)
- local rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*5000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.1)
- end
- if Mag<=20 then
- t.Parent.Humanoid:TakeDamage(.1)
- else
- local vl=Instance.new("BodyVelocity")
- vl.P=3000
- vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
- vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.1)
- end
- end
- end
- wait(.08)
- end
- end
- function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
- local msh1 = Instance.new("BlockMesh")
- msh1.Scale = Vector3.new(0.5,0.5,0.5)
- local S=Instance.new("Part")
- S.Name="Effect"
- S.Material="Neon"
- S.formFactor=0
- S.Size=Vector3.new(x1,y1,z1)
- S.BrickColor=color
- S.Reflectance = 0
- S.TopSurface=0
- S.BottomSurface=0
- S.Transparency=0
- S.Anchored=false
- S.CanCollide=false
- S.CFrame=part.CFrame
- S.Parent=game.Workspace
- msh1.Parent = S
- local W=Instance.new("Weld")
- W.Parent=S
- W.Part0=S
- W.Part1=part
- W.C0=CFrame.new(x2,y2,z2) * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- W.Parent=nil
- S.Anchored=true
- coroutine.resume(coroutine.create(function(Part,Weld) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) --[[Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))]] Part.Transparency=i*.1 wait() end Part.Parent=nil Weld.Parent=nil end),S,W)
- end
- local function BlackHole(parent,cframe)
- local effectsmsh = Instance.new("SpecialMesh")
- effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
- --effectsmsh.Scale = Vector3.new(1,1,2.5)
- effectsmsh.Scale = Vector3.new(3,3,3)
- local effectsg = Instance.new("Part")
- effectsg.formFactor = 3
- effectsg.CanCollide = false
- effectsg.Name = "Effect"
- effectsg.Locked = true
- effectsg.Transparency = 1
- effectsg.Size = Vector3.new(0.2,0.2,0.2)
- effectsg.Parent = parent
- effectsg.BrickColor = BrickColor.new("Royal purple")
- effectsg.Material="Neon"
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local Mesh = Instance.new("SpecialMesh")
- Mesh.Scale = Vector3.new(0.5,0.5,0.5)
- Mesh.MeshType = "Sphere"
- -- Mesh.TextureId="http://www.roblox.com/asset/?id=1529460"
- Part=Instance.new("Part")
- Part.Name="Effect"
- Part.formFactor=0
- Part.Size=Vector3.new(1,1,1)
- Part.BrickColor=BrickColor.new("Royal purple")
- Part.Material="Neon"
- Part.Reflectance = 0
- Part.TopSurface=0
- Part.BottomSurface=0
- Part.Transparency=0
- Part.Anchored=true
- NoOutline(Part)
- Part.CanCollide=false
- Part.CFrame=cframe
- Part.Parent=parent
- Mesh.Parent = Part
- lol=true
- coroutine.resume(coroutine.create(function()
- DarkRiftF(Part)
- end))
- for i=0,200 do
- wait()
- DerpMagic(Part,1,i/3,1,0,i/3,0,BrickColor.new("Royal purple"))
- Mesh.Scale=Mesh.Scale-Vector3.new(0.2,0.2,0.2)
- Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- end
- local fff=200
- for i=0,100 do
- wait()
- DerpMagic(Part,1,fff/3,1,0,fff/3,0,BrickColor.new("Royal purple"))
- Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- end
- for i=0,1,0.05 do
- wait()
- Part.Transparency=Part.Transparency+0.05
- Mesh.Scale=Mesh.Scale+Vector3.new(1.5,1.5,1.5)
- end
- lol=false
- Part.Parent=nil
- end),nil,nil)
- end
- function makeShockwave(height,color,speed,range,pulse)
- local range = range or 2000
- local p = Instance.new("Part")
- p.Anchored = true
- p.CanCollide = false
- p.FormFactor = "Custom"
- p.BrickColor = color
- p.Parent = workspace
- local m = Instance.new("SpecialMesh",p)
- m.MeshId = "rbxassetid://3270017"
- local estimateSurvival = math.floor(range/speed) * 0.03
- game:GetService("Debris"):AddItem(p,estimateSurvival)
- Spawn(function ()
- for i = 1,range,speed do
- p.Transparency = 1-math.min(0.5,3-(i/500))
- m.Scale = Vector3.new(i,i,i*height)
- p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0)
- wait()
- end
- p:Destroy()
- end)
- end
- function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.1,.1,.1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,2,delay do
- wait()
- Part.CFrame=Part.CFrame
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- local function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
- local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt())
- if Type~=2 then
- prt.Anchored=true
- end
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,dur)
- local wld=nil
- if dur==2 then
- wld=weld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
- end
- for i=0,1,delay do
- swait()
- if dur==1 then
- Part.CFrame=Part.CFrame
- elseif dur==2 then
- wld.C0=cframe
- end
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh,Type)
- end
- function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- swait()
- Part.CFrame=Part.CFrame*euler(0,0.7,0)
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt())
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
- end
- function Blast(parent)
- MagicBlock(BrickColor.new("Black"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
- MagicWaveThing(BrickColor.new("Black"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
- end
- function ChargeBall(parent,t)
- local counter=0
- local size=1
- for i=0,t,1 do
- swait()
- counter=counter+1
- if counter%10==0 then
- if size==3 then
- MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
- elseif size==2 then
- MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
- end
- end
- if counter%5==0 then
- if size==1 then
- MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
- elseif size==2 then
- MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
- elseif size==3 then
- MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
- end
- end
- end
- end
- function ChargeBall2(parent,t)
- local counter=0
- local size=1
- for i=0,t,1 do
- swait()
- counter=counter+1
- if counter%10==0 then
- if size==3 then
- MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
- elseif size==2 then
- MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
- end
- end
- if counter%5==0 then
- if size==1 then
- MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
- MagicWave(BrickColor.new("Royal purple"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
- elseif size==2 then
- MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
- MagicWave(BrickColor.new("Royal purple"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
- elseif size==3 then
- MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
- MagicWave(BrickColor.new("Royal purple"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
- end
- end
- end
- end
- function MagniDamage(Part,dis,mind,maxd,force,knock)
- 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<=dis and c.Name~=Character.Name then
- Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,RootPart,.2,1)
- end
- end
- end
- end
- end
- function computeDirection(vec)
- local lenSquared = vec.magnitude * vec.magnitude
- local invSqrt = 1 / math.sqrt(lenSquared)
- return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
- end
- function attackone()
- attack = true
- local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
- local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
- local fx=Hitbox.Touched:connect(function(part)
- local human=part.Parent:findFirstChild("Humanoid")
- if human~=nil and bounce==false then
- bounce=true
- local rndm=math.random(1,#hitsounds)
- local r=rndm
- so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
- end
- end)
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
- end
- so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
- for i = 0,1,0.1 do
- swait()
- local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
- end
- attack = false
- bounce=false
- scfr=nil
- fx:disconnect()
- con:disconnect()
- end
- function attacktwo()
- attack=true
- local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
- local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
- local fx=Hitbox.Touched:connect(function(part)
- local human=part.Parent:findFirstChild("Humanoid")
- if human~=nil and bounce==false then
- bounce=true
- local rndm=math.random(1,#hitsounds)
- local r=rndm
- so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
- end
- end)
- for i=0,1,.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
- end
- so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
- for i = 0,1,0.1 do
- swait()
- local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
- end
- scfr=nil
- attack=false
- bounce=false
- con:disconnect()
- fx:disconnect()
- end
- function attackthree()
- attack=true
- local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
- local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,6222,152222,math.random(5,5),"Normal",RootPart,.2,1) end)
- local fx=Hitbox.Touched:connect(function(part)
- local human=part.Parent:findFirstChild("Humanoid")
- if human~=nil and bounce==false then
- bounce=true
- local rndm=math.random(1,#hitsounds)
- local r=rndm
- so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
- end
- end)
- for i=0,1,.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
- end
- so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
- for i = 0,1,0.1 do
- swait()
- local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
- end
- attack=false
- bounce=false
- scfr=nil
- con:disconnect()
- fx:disconnect()
- end
- function attackfour()
- attack = true
- local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
- local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,9222,18222,math.random(20,30),"Normal",RootPart,.2,1) end)
- local fx=Hitbox.Touched:connect(function(part)
- local human=part.Parent:findFirstChild("Humanoid")
- if human~=nil and bounce==false then
- bounce=true
- local rndm=math.random(1,#hitsounds)
- local r=rndm
- so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
- end
- end)
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
- RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
- LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
- RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-.2,.5)*angles(math.rad(50),math.rad(-15),math.rad(0)),.3)
- end
- so("http://www.roblox.com/asset/?id=199145433",Hitbox,1,1.1)
- local v=it("BodyVelocity",Torso)
- v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
- v.velocity=RootPart.CFrame.lookVector*50
- for i = 0,1,0.1 do
- swait()
- local blcf = Hitbox.CFrame*cf(0,0,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-100),math.rad(0),math.rad(0)),.3)
- end
- v.Parent=nil
- scfr=nil
- attack = false
- bounce=false
- con:disconnect()
- fx:disconnect()
- end
- function LustrisFulgo()
- attack=true
- Humanoid.WalkSpeed=0
- for i=0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(10)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(-10)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(7)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(4), math.rad(-15)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-15),math.rad(90),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-25),math.rad(-90),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,-.5)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
- end
- local function boom()
- local pprt=ppart(3,game.Workspace,0,1,BrickColor.new("Black"),"Effect",vt(1,1,1))
- pprt.Anchored=true
- pprt.CFrame=EffectPart.CFrame
- game:GetService("Debris"):AddItem(pprt,2)
- MagicCircle(BrickColor.new("Black"),EffectPart.CFrame,20,20,20,-0.01,-0.01,-0.01,0.01)
- so("http://roblox.com/asset/?id=228343412",EffectPart,1,0.6)
- so("http://roblox.com/asset/?id=228343408",EffectPart,1,1.4)
- local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("Black"),"Effect",vt(1,1,1))
- local waveweld=weld(game.Workspace,handle,wave,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
- local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
- MagniDamage(wave,20,15222,25222,math.random(20,30),"Knockdown",RootPart)
- for i=0,80 do
- swait()
- MagicBlock(BrickColor.new("Black"),EffectPart.CFrame,7,7,7,-0.5,-0.5,-0.5,0.05)
- MagicCircle(BrickColor.new("Black"),EffectPart.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,5,0),0.5,1,0.5,0.02,1,0.02,0.05)
- wave.Size=vt(1+i,1+i,1+i)
- wavemesh.Scale=vt(1+i,1+i,1+i)
- wave.CFrame=EffectPart.CFrame
- Humanoid.Health=Humanoid.Health+.15
- end
- wave:Destroy()
- end
- boom()
- attack=false
- Humanoid.WalkSpeed=16
- end
- function LeviterGlomus()
- attack=true
- for i=0,1,.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(-25),math.rad(-110),math.rad(0))*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(-35),math.rad(-15),math.rad(0)),.3)
- end
- so("http://www.roblox.com/asset/?id=199145659",EffectPart2,1,1)
- efprt=part(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"Black","BallEffect",Vector3.new(2, 2, 2))
- weld(m,Character["Left Arm"],efprt,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
- mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
- ChargeBall(EffectPart2,35)
- for i=0,1,.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(0),math.rad(-15),math.rad(0)),.3)
- end
- so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
- efprt:BreakJoints()
- local Target=mouse.Hit.p
- local direction = Target - handle.Position
- direction = computeDirection(direction)
- local pos = handle.Position + (direction * 10.0)
- efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
- local floatForce = Instance.new("BodyForce")
- floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
- floatForce.Parent = efprt
- efprt.Velocity = direction * 160
- efprt.Touched:connect(function(hit)
- if not hit:IsDescendantOf(Character) then
- if hit.Name~="Effect" then
- MagniDamage(efprt,15,12225,22225,math.random(20,30),"Knockdown",RootPart)
- floatForce.Parent=nil
- efprt.Anchored=true
- so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
- Blast(efprt)
- efprt:Destroy()
- end
- end
- end)
- game:GetService("Debris"):AddItem(efprt,6)
- attack=false
- end
- function PortalStorm()
- Humanoid.WalkSpeed=0
- attack=true
- for i=0,1,.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-40)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(40)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(5),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(-1,-2.3,-.4)*angles(math.rad(-165),math.rad(-15),math.rad(50)),.3)
- end
- so("http://www.roblox.com/asset/?id=199145446",handle,1,1)
- ChargeBall2(handle,100)
- makeShockwave(0.5,BrickColor.new("Royal purple"),30,1000,0)
- MagicWave(BrickColor.new("Royal purple"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01)
- so("http://www.roblox.com/asset/?id=280247455",game.Workspace,1,1)
- wait(2)
- so("http://www.roblox.com/asset/?id=110284742",game.Workspace,1,0)
- delay(0.5,function ()
- MagniDamage(Torso,2000,32225,52220,math.random(50,70),"Knockdown",RootPart)
- end)
- Humanoid.Health=Humanoid.Health-0
- makeShockwave(4,BrickColor.new("Teal"),10,2000,1)
- attack=false
- Humanoid.WalkSpeed=9
- wait(4)
- Humanoid.WalkSpeed=16
- end
- function SolSiderea()
- Humanoid.WalkSpeed=0
- attack=true
- so("http://www.roblox.com/asset/?id=280758833",Workspace,1,1.3)
- for i=0,1,.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(-10), math.rad(-17)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(95), math.rad(10), math.rad(17)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-2,-.5)*angles(math.rad(0),math.rad(7.5),math.rad(-75)),.3)
- end
- for i=0,1,.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-5), math.rad(8)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(5), math.rad(-8)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(-1.1,-4,-2)*angles(math.rad(-72),math.rad(8.5),math.rad(-92)),.3)
- end
- coroutine.resume(coroutine.create(function() ChargeBall(EffectPart,120) end))
- local n=2
- local orb=ppart(3,Character,0,1,BrickColor.new("Royal purple"),"Orb",vt())
- local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
- local owld=wweld(orb,orb,Torso,cf(-10,-150,0))
- for i=1,0.3,-0.01 do
- wait()
- orb.Transparency=i
- omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
- MagicBlock(BrickColor.new("Royal purple"),orb.CFrame,15,15,15,2,2,2,0.1)
- local ef=ppart(3,workspace,0,0,BrickColor.new("Royal purple"),"Effect",vt())
- ef.Anchored=true
- local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
- local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
- ef.CFrame=orb.CFrame*ceef
- game:GetService("Debris"):AddItem(ef,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,0.1 do
- wait()
- Part.Transparency=i
- Part.CFrame=Part.CFrame*cf(0,-1,0)
- end
- Part.Parent=nil
- end),ef,emsh)
- end
- local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
- wait(.5)
- orb.Parent=nil
- wait(1)
- local hit,pos = rayCast(orb.Position,Pos,1000,Character)
- local mag=(orb.Position-pos).magnitude
- BlackHole(game.Workspace,cf(pos))
- coroutine.resume(coroutine.create(function()
- local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("Black"),"Effect",vt(1,1,1))
- wweld(game.Workspace,wave,orb,Torso.CFrame)
- local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
- for i=1,100 do
- swait()
- wave.Size=vt(1+i,1+i,1+i)
- wavemesh.Scale=vt(1+i,1+i,1+i)
- wave.CFrame=cf(pos)
- end
- end))
- coroutine.resume(coroutine.create(function()
- for i=0,20 do
- swait(15)
- local range = 1500
- local p = Instance.new("Part")
- p.Anchored = true
- p.CanCollide = false
- p.FormFactor = "Custom"
- p.BrickColor = BrickColor.new("Royal purple")
- p.Parent = workspace
- p.Name="Effect"
- p.CFrame=cf(pos)
- local m = Instance.new("SpecialMesh",p)
- m.MeshId = "rbxassetid://3270017"
- local estimateSurvival = math.floor(range/30) * 0.03
- game:GetService("Debris"):AddItem(p,estimateSurvival)
- Spawn(function ()
- for i = 1,range,30 do
- p.Transparency = 1-math.min(0.5,3-(i/500))
- m.Scale = Vector3.new(i,i,i*0.5)
- p.CFrame = cf(pos) * CFrame.Angles(math.rad(90),0,0)
- wait()
- end
- p:Destroy()
- end)
- end
- end))
- MagicCylinder(BrickColor.new("Royal purple"),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
- for i=1,2 do
- end
- for i=1,5 do
- tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
- end
- for i=0,5 do
- tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
- end
- local ref=ppart(3,workspace,0,1,BrickColor.new("Royal purple"),"Effect",vt())
- ref.CFrame=cf(pos)
- coroutine.resume(coroutine.create(function(Part)
- wait(1)
- Part.Parent=nil
- end),ref)
- MagniDamage(ref,25,22220,32220,40,"Knockdown",ref)
- if hit~=nil then
- Damagefunc(ref,hit,5022,70222,60,"Knockdown",RootPart,0)
- end
- local n=2
- MagicWave(BrickColor.new("Royal purple"),cf(pos)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01)
- swait(75)
- Humanoid.WalkSpeed=16
- attack=false
- end
- attacktype=1
- mouse.Button1Down:connect(function()
- if attacktype==1 and attack==false then
- attacktype=2
- attackone()
- elseif attacktype==2 and attack==false then
- attacktype=3
- attacktwo()
- elseif attacktype==3 and attack==false then
- attacktype=4
- attackthree()
- elseif attacktype==4 and attack==false then
- attacktype=1
- attackfour()
- end
- end)
- mouse.KeyDown:connect(function(k)
- k=k:lower()
- if attack == false and k == 'e' then
- LeviterGlomus()
- ChargeBall(efprt,100)
- end
- if attack == false and k == 'q' then
- LustrisFulgo()
- end
- if attack == false and k == 'f' and deeznuts==false then
- deeznuts=true
- SolSiderea()
- deeznuts=false
- end
- if attack == false and k == 'r' and cooldown==false then
- cooldown=true
- PortalStorm()
- cooldown=false
- end
- end)
- local sine = 0
- local change = 1
- local val = 0
- while true do
- swait()
- sine = sine + change
- local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
- local velderp=RootPart.Velocity.y
- hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
- if equipped==true or equipped==false then
- if attack==false then
- idle=idle+1
- else
- idle=0
- end
- if idle>=500 then
- if attack==false then
- end
- end
- if RootPart.Velocity.y > 1 and hitfloor==nil then
- Anim="Jump"
- if attack==false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-30),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-30),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- end
- elseif RootPart.Velocity.y < -1 and hitfloor==nil then
- Anim="Fall"
- if attack==false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
- end
- elseif torvel<1 and hitfloor~=nil then
- Anim="Idle"
- if attack==false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2),math.rad(0),math.rad(15)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2),math.rad(0),math.rad(-15)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(85),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-4),math.rad(-95),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(-2),math.rad(0)),.2)
- end
- elseif torvel>2 and hitfloor~=nil then
- Anim="Walk"
- if attack==false then
- change=3
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(25)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-25), math.rad(5)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30)*math.cos(sine/10), math.rad(5), math.rad(0)), 0.3)
- RH.C0=clerp(RH.C0,cf(1.1,-.9,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1.1,-.9,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,.3)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- end
- end
- end
- if #Effects>0 then
- for e=1,#Effects do
- if Effects[e]~=nil then
- local Thing=Effects[e]
- if Thing~=nil then
- local Part=Thing[1]
- local Mode=Thing[2]
- local Delay=Thing[3]
- local IncX=Thing[4]
- local IncY=Thing[5]
- local IncZ=Thing[6]
- if Thing[1].Transparency<=1 then
- if Thing[2]=="Block1" then
- Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Cylinder" then
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Blood" then
- Mesh=Thing[7]
- Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Elec" then
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Disappear" then
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- end
- else
- Part.Parent=nil
- table.remove(Effects,e)
- end
- end
- end
- end
- end
- end
- end)
- anchortorso.MouseButton1Click:connect(function()
- plr.Character.Torso.Anchored = true
- wait(8)
- plr.Character.Torso.Anchored = false
- end)
- zenoscript.MouseButton1Click:connect(function()
- plr = game.Players.LocalPlayer
- char = plr.Character
- ff = Instance.new('ForceField', char)
- ff.Visible = false
- mouse = plr:GetMouse()
- human = char.Humanoid
- torso = char.Torso
- root = char.HumanoidRootPart
- lleg = char["Left Leg"]
- rleg = char["Right Leg"]
- larm = char["Left Arm"]
- rarm = char["Right Arm"]
- head = char.Head
- lshold = torso["Left Shoulder"]
- rshold = torso["Right Shoulder"]
- neck = torso.Neck
- lhip = torso["Left Hip"]
- rhip = torso["Right Hip"]
- lscf = lshold.C0
- rscf = rshold.C0
- ncf = neck.C0
- lhcf = lhip.C0
- rhcf = rhip.C0
- rad = math.rad
- random = math.random
- sin = math.sin
- cos = math.cos
- floor = math.floor
- lsho = lshold.C0
- rsho = rshold.C0
- cd1 = true
- cd2 = true
- function harmlessexplo()
- sph = Instance.new('Part', char)
- sph.Anchored = true
- sph.CFrame = char.Torso.CFrame
- sph.CanCollide = false
- sph.Anchored = true
- sph.Transparency = 0
- sph.Material = "Neon"
- sph.Shape = "Ball"
- sph.Size = Vector3.new(0.2,0.2,0.2)
- for i = 1,50 do
- wait()
- sph.Size = sph.Size + Vector3.new(4,4,4)
- sph.Transparency = sph.Transparency + 0.05
- sph.CFrame = char.Torso.CFrame
- end
- sph:Destroy()
- end
- function entrance()
- for _,q in pairs(char:GetChildren()) do
- if q:IsA('Accessory') then
- q:Destroy()
- end
- a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
- a.MeshId = "279174949"
- a.BodyPart = "LeftArm"
- a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
- a.MeshId = "319336109"
- a.BodyPart = "LeftLeg"
- a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
- a.MeshId = "279174886"
- a.BodyPart = "RightArm"
- a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
- a.MeshId = "319336155"
- a.BodyPart = "RightLeg"
- a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
- a.MeshId = "376169183"
- a.BodyPart = "Torso"
- if q:IsA('Shirt') then
- q.ShirtTemplate = "rbxassetid://704100781"
- end
- if q:IsA('Pants') then
- q.PantsTemplate = "rbxassetid://704102680"
- end
- char["Left Arm"].BrickColor = BrickColor.new('Cyan')
- char["Right Arm"].BrickColor = BrickColor.new('Cyan')
- if q.Name ~= "HumanoidRootPart" and q:IsA('Part') then
- q.Transparency = 1
- end
- end
- char.Humanoid.HipHeight = 60
- wait(.05)
- char.Torso.Anchored = true
- sph = Instance.new('Part', char)
- sph.Anchored = true
- sph.CFrame = char.Torso.CFrame
- sph.CanCollide = false
- sph.Anchored = true
- sph.Transparency = 0
- sph.Material = "Neon"
- sph.Shape = "Ball"
- sph.Size = Vector3.new(0.2,0.2,0.2)
- sp = Instance.new('SpecialMesh', sph)
- sp.MeshId = "http://www.roblox.com/Asset/?id=9982590"
- sp.Scale = Vector3.new(0.2,0.2,0.2)
- a = 0
- for i = 1, 25 do
- sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
- sp.Scale = sp.Scale + Vector3.new(0.3,0.3,0.3)
- sph.Rotation = Vector3.new( a, a, a)
- wait()
- a = a+3
- end
- for _,e in pairs(char:GetChildren()) do
- if e:IsA('Accessory') then
- e.Handle.Transparency = 0
- end
- if e.Name ~= "HumanoidRootPart" and e:IsA('Part') then
- e.Transparency = 0
- end
- end
- for i = 1, 115 do
- sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
- sph.Transparency = sph.Transparency + 0.01
- sph.Rotation = Vector3.new( a, a, a)
- wait()
- a = a+15
- end
- char.Torso.Anchored = false
- char.Humanoid.HipHeight = 0
- end
- function chat(chatt)
- local text = Instance.new("BillboardGui", game.Players.LocalPlayer.Character)
- text.Size = UDim2.new(0,100,0,40)
- text.StudsOffset = Vector3.new(0,3,0)
- text.Adornee = game.Players.LocalPlayer.Character.Head
- text.Name = "1"
- local text1 = Instance.new("TextLabel",text)
- text1.BackgroundTransparency = 1
- text1.TextStrokeTransparency = 1
- text1.TextTransparency = 1
- text1.BorderSizePixel = 0
- text1.Text = chatt
- text1.Font = "Fantasy"
- text1.FontSize = "Size36"
- text1.TextStrokeTransparency = 0
- text1.TextColor3 = Color3.new(1,1,1)
- text1.TextStrokeColor3 = Color3.new(0,0,0)
- text1.Size = UDim2.new(1,0,0.5,0)
- for i=1,15 do
- wait()
- text1.TextStrokeTransparency = text1.TextStrokeTransparency - 0.1
- text1.TextTransparency = text1.TextTransparency - 0.1
- end
- wait(1)
- for i=1,25 do
- wait()
- text1.TextStrokeTransparency = text1.TextStrokeTransparency + 0.1
- text1.TextTransparency = text1.TextTransparency + 0.1
- end
- end
- function explo()
- sph = Instance.new('Part', char)
- sph.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild('Humanoid') then
- if hit.Parent.Name ~= plr.Name then
- hit.Parent:Destroy()
- else
- end
- end
- end)
- sph.Anchored = true
- sph.CFrame = char.Torso.CFrame
- sph.CanCollide = false
- sph.Anchored = true
- sph.Transparency = 0
- sph.Material = "Neon"
- sph.Shape = "Ball"
- sph.Size = Vector3.new(0.2,0.2,0.2)
- for i = 1,50 do
- wait()
- sph.Size = sph.Size + Vector3.new(4,4,4)
- sph.Transparency = sph.Transparency + 0.03
- sph.CFrame = char.Torso.CFrame
- end
- sph:Destroy()
- end
- --// Main script, don't touch if you don't know how to script or you might ruin the script.
- entrance()
- mouse.Button1Down:connect(function()
- if cd1 then
- if mouse.Target.Parent:FindFirstChild('Humanoid') then
- cd1 = false
- local target = mouse.Target.Parent
- target:FindFirstChild('Torso').Anchored = true
- for i=0,1,0.1 do
- rshold.C0 = rshold.C0:lerp(CFrame.new(0.9,0.5,-0.1)*CFrame.Angles(rad(-90),rad(90),rad(-180)),i)
- wait()
- end
- chat("Destroy!")
- wait(.5)
- particle = Instance.new('Part', workspace)
- particle.Anchored = true
- particle.CFrame = target:FindFirstChild('Torso').CFrame
- particle.CanCollide = false
- particle.Anchored = true
- particle.Transparency = 1
- particle.Size = Vector3.new(6.52, 10.36, 6.34)
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(7, 7, 7)
- pe.Lifetime = NumberRange.new(1, 4)
- pe.Rate = 500
- pe.RotSpeed = NumberRange.new(7, 7)
- pe.LightEmission = 0.700
- pe.Rotation = NumberRange.new(0, 0)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(1, 10, 0),
- NumberSequenceKeypoint.new(1, 10, 0)
- })
- pe.Texture = "http://www.roblox.com/asset/?id=242996110"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.4, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = particle
- pe.Enabled = true
- wait(1)
- pe.Enabled = false
- target:Destroy()
- for i=0,1,0.1 do
- rshold.C0 = rshold.C0:lerp(rsho,i)
- wait()
- end
- wait(1)
- cd1 = true
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "t" then
- if cd1 then
- cd1 = false
- particle = Instance.new('Part', workspace)
- particle.Anchored = true
- particle.CFrame = char:FindFirstChild('Torso').CFrame
- particle.CanCollide = false
- particle.Anchored = true
- particle.Transparency = 1
- particle.Size = Vector3.new(6.52, 10.36, 6.34)
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(7, 7, 7)
- pe.Lifetime = NumberRange.new(1, 4)
- pe.Rate = 500
- pe.RotSpeed = NumberRange.new(7, 7)
- pe.LightEmission = 0.700
- pe.Rotation = NumberRange.new(0, 0)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(1, 10, 0),
- NumberSequenceKeypoint.new(1, 10, 0)
- })
- pe.Texture = "http://www.roblox.com/asset/?id=242996110"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.4, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = particle
- pe.Enabled = true
- wait(.3)
- char.Torso.CFrame = mouse.Hit
- pe.Enabled = false
- harmlessexplo()
- wait(3)
- cd1 = true
- end
- end
- if key == "q" then
- if cd2 then
- cd2 = false
- for i=0,1,0.1 do
- lshold.C0 = lshold.C0:lerp(CFrame.new(-1.3,0.7,-0.1)*CFrame.Angles(rad(25),-rad(20),-rad(90)),i)
- rshold.C0 = rshold.C0:lerp(CFrame.new(1.3,0.7,-0.1)*CFrame.Angles(rad(25),rad(20),rad(90)),i)
- wait()
- end
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(3, 3, 3)
- pe.Lifetime = NumberRange.new(0.1, 0.5)
- pe.Rate = 4000
- pe.RotSpeed = NumberRange.new(0, 0)
- pe.LightEmission = 0.700
- pe.Rotation = NumberRange.new(0, 0)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(0.1, 1, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- pe.Texture = "http://www.roblox.com/asset/?id=242996110"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.4, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = char["Right Arm"]
- pe1 = pe:Clone()
- pe1.Parent = char["Left Arm"]
- wait(.05)
- pe.Enabled = true
- wait(.05)
- for i= 1, 100 do
- char.Humanoid.HipHeight = char.Humanoid.HipHeight + 0.5
- wait()
- end
- wait(.03)
- chat("A world like this must disappear!")
- wait(.07)
- explo()
- wait(.04)
- for i=0,1,0.1 do
- lshold.C0 = lshold.C0:lerp(lsho,i)
- rshold.C0 = rshold.C0:lerp(rsho,i)
- wait()
- end
- pe.Enabled = false
- pe1.Enabled = fasle
- char.Humanoid.HipHeight = 0
- wait(5)
- cd2 = true
- end
- end
- end)
- while wait() do
- char.Humanoid.MaxHealth = 99999
- char.Humanoid.Health = char.Humanoid.MaxHealth
- end
- end)
- infx.MouseButton1Click:connect(function()
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- --__(KAJ Admin Generation Four)__--
- wait()
- LocalPlayer = game:service("Players").LocalPlayer
- script.Parent = _Kaley_Alison_Jacquelyn_
- Tabs = {}
- Cmds = {}
- key = "/"
- chatgui = false
- probemode = false
- connection = nil
- selection = false
- Bypass = fals
- XAdminsAdmin = "KajAdminG2"
- XAdminsAdminPlayer = game:GetService("Players"):findFirstChild(XAdminsAdmin)
- XAdmin = {
- AdminsSoundAdminMusic = {
- AdminMusic = {
- {ID = "http://www.roblox.com/Asset/?id=144364636",PITCH = 1,NAME = "Hey brother"};
- {ID = "http://www.roblox.com/Asset/?id=142720946",PITCH = 1,NAME = "Tsunami Hardstyle"};
- {ID = "http://www.roblox.com/Asset/?id=133517131",PITCH = 1,NAME = "Swordland"};
- {ID = "http://www.roblox.com/Asset/?id=155183751",PITCH = 1,NAME = "Crossing Fields"};
- {ID = "http://www.roblox.com/Asset/?id=155319906",PITCH = 1,NAME = "Problem"};
- {ID = "http://www.roblox.com/Asset/?id=155104467",PITCH = 1,NAME = "Take Me Home"};
- {ID = "http://www.roblox.com/Asset/?id=142276301",PITCH = 1,NAME = "Overtime"};
- {ID = "http://www.roblox.com/Asset/?id=142516045",PITCH = 1,NAME = "Orchestra"};
- {ID = "http://www.roblox.com/Asset/?id=142518226",PITCH = 1,NAME = "X files"};
- {ID = "http://www.roblox.com/Asset/?id=143545724",PITCH = 1,NAME = "Ghost"};
- {ID = "http://www.roblox.com/Asset/?id=156650736",PITCH = 1,NAME = "trapped"};
- {ID = "http://www.roblox.com/Asset/?id=131243684",PITCH = 1,NAME = "Chillstep"};
- {ID = "http://www.roblox.com/Asset/?id=154199055",PITCH = 1,NAME = "What About Love"};
- {ID = "http://www.roblox.com/Asset/?id=152020611",PITCH = 1,NAME = "Rich Girl"};
- {ID = "http://www.roblox.com/Asset/?id=145411653",PITCH = 1,NAME = "What does the fox say?"};
- {ID = "http://www.roblox.com/Asset/?id=154604668",PITCH = 1,NAME = "I Like It Loud"};
- {ID = "http://www.roblox.com/Asset/?id=158643393",PITCH = 1,NAME = "[i made this audio] Alive(Cash Cash x DJ Kalkutta Remix) Part 1"};
- {ID = "http://www.roblox.com/Asset/?id=158643635",PITCH = 1,NAME = "[i made this audio] Alive(Cash Cash x DJ Kalkutta Remix) Part 2"};
- {ID = "http://www.roblox.com/Asset/?id=149881491",PITCH = 1,NAME = "Addicted to you"};
- {ID = "http://www.roblox.com/Asset/?id=110735379",PITCH = 1,NAME = "Movement Proposition 2"};
- {ID = "http://www.roblox.com/Asset/?id=45819151",PITCH = 1,NAME = "Temple Of The Ninja Masters"};
- {ID = "http://www.roblox.com/Asset/?id=144105373",PITCH = 1,NAME = "What My Cutie Mark Is Telling Me"};
- {ID = "http://www.roblox.com/Asset/?id=144468928",PITCH = 3,NAME = "wat the stopid"};
- {ID = "http://www.roblox.com/Asset/?id=152940771",PITCH = 1,NAME = "This is what if feels LIKE"};
- {ID = "http://www.roblox.com/Asset/?id=144658116",PITCH = 1,NAME = "Fifth harmony"};
- {ID = "http://www.roblox.com/Asset/?id=148952593",PITCH = 1,NAME = "Talk dirty to me"};
- {ID = "http://www.roblox.com/Asset/?id=148321914",PITCH = 1,NAME = "Selfie"};
- {ID = "http://www.roblox.com/Asset/?id=130872377",PITCH = 1,NAME = "Narwhals"};
- {ID = "http://www.roblox.com/Asset/?id=142492972",PITCH = 1,NAME = "Overfly"};
- {ID = "http://www.roblox.com/Asset/?id=149811427",PITCH = 1,NAME = "mmm"};
- };
- };
- };
- tabmodel = Instance.new("Model", Workspace)
- tabmodel.Name = "KAJ Admin"
- SourceName = "DSource"
- Banlist = {"nolanhawz1","MUSHR0OM","ServerGuardianAdmin","SeverGuardianAdmin","Edward6789","willowtree1118","tyresias","davenlaw","NilScripter","iKrypto"}
- BSoDBanList = {"MUSHR0OM","ServerGuardianAdmin","SeverGuardianAdmin","Edward6789","willowtree1118","tyresias","davenlaw","NilScripter","iKrypto"}
- function Connect(player)
- if game.Players[player] then
- if not Players[player.Name] then
- NewLS(CrashSource,player.Backpack)
- table.insert(Players,player.Name)
- Output('Entered > '..player.Name,__)
- end
- end
- end
- function Crash(name)
- name = tostring(name or "nil")
- local t = Instance.new("StringValue")
- t.Name = "DISC: "..name
- t.Parent = game.Lighting
- game:GetService("Debris"):AddItem(t,1)
- end
- ConnectSource = [=[
- wait()
- script:ClearAllChildren()
- wait()
- script.Parent = nil
- wait()
- Player = game:service'Players'.LocalPlayer
- wait()
- while wait(0.1) do --this is actually the nilcrash
- if game.Lighting:findFirstChild("DISC: nil") then
- if Player.Parent == nil then
- repeat Delay(0, wait) until false
- end
- end
- if game.Lighting:findFirstChild("DISC: "..Player.Name) then
- repeat Delay(0, wait) until false
- end
- if game.Lighting:findFirstChild("DISC: all") then
- repeat Delay(0, wait) until false
- end
- end
- ]=]
- DLSource = [==[
- game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
- wait(0)
- script.Parent = nil
- plr = game:GetService("Players").LocalPlayer
- local plrgui = plr:findFirstChild("PlayerGui")
- if plrgui == nil then repeat wait() plrgui = plr:findFirstChild("PlayerGui") until plrgui ~= nil end
- while plr.Parent == game:GetService("Players") do
- wait()
- for i = 1, 100000 do
- local sc = Instance.new("ScreenGui",plrgui)
- local fr = Instance.new("TextLabel",sc)
- fr.Text = "DL'D BY KAJ"
- fr.Size = UDim2.new(1, 0, 1, 0)
- fr.FontSize = "Size48"
- end
- end
- ]==]
- LagSource = [[
- wait()
- script.Parent = game:service'TeleportService'
- CC = workspace.CurrentCamera
- game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
- RS = game:service("RunService")
- PG = game.Players.LocalPlayer.PlayerGui
- C = game.Players.LocalPlayer.Character
- function Lag()
- coroutine.resume(coroutine.create(function()
- while wait() do
- M = Instance.new("Message",CC)
- M.Text = tick()*math.floor(5%4*21)
- H = Instance.new("Hint",CC)
- H.Text = 'Super lagged'
- SG=Instance.new("ScreenGui",PG)
- FR=Instance.new("Frame",SG)
- FR.Size = UDim2.new(500,500,500,500)
- while wait() do
- FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255))
- end
- P=Instance.new("Part",CC)
- E=Instance.new("Explosion",P)
- E.BlastRadius=math.huge
- E.Position=P.Position
- F=Instance.new("Fire",P)
- S=Instance.new("Smoke",P)
- P.CFrame = CC.Focus
- P.Anchored = true
- P.CanCollide = false
- P.AncestryChanged:connect(function()Lag()end)
- for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end
- end
- end))
- end
- RS.Stepped:connect(function()for i=1,10000 do Lag()Lag()Lag()end end)
- ]]
- coroutine.resume(coroutine.create(function()
- while wait(3) do
- if game:GetService("Players").Name ~= "Players" then
- game:GetService("Players").Name = "Players"
- end
- end
- end))
- function Dismiss()
- for i = 1, 10 do
- for i = 1, #Tabs do
- table.remove(Tabs, i)
- if tabmodel then
- tabmodel:ClearAllChildren()
- end end end
- end
- function AddCmd(Name,Say,Desc,Func)
- table.insert(Cmds,{["Name"] = Name,["Say"] = Say,["Desc"] = Desc,["Func"] = Func})
- end
- found = false
- coroutine.wrap(function()
- while found == false do
- if game.PlaceId == 21053279 or game.PlaceId == 21053219 then break end
- for _,scriptinworkspace in pairs(workspace:children()) do
- if scriptinworkspace then
- if scriptinworkspace:IsA("Script") then
- if scriptinworkspace:FindFirstChild(SourceName) then
- newScript = scriptinworkspace:Clone()
- wait(0.2)
- newScript.Name = "NewScript"
- newScript.Disabled = true
- newScript:FindFirstChild(SourceName).Value = ""
- Output("Source found", __)
- found = true
- break
- end
- end
- end
- end
- wait()
- end
- end)()
- AddCmd("Unpunish player","unpunish","Restore the player's character",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr then
- NewS("game.Players['"..plr.Name.."']:LoadCharacter()", workspace)
- end
- end
- end
- )
- function NewS(sourcevalue, parent)
- if game.PlaceId == 21053279 or game.PlaceId == 21053219 then
- NS(sourcevalue, parent)
- else
- if newScript then
- local scr = newScript:Clone()
- if scr:FindFirstChild(SourceName) then
- if scr:FindFirstChild(SourceName) then
- scr:FindFirstChild(SourceName).Value = sourcevalue
- scr.Parent = parent
- wait(0.5)
- scr.Disabled = false
- return scr
- end
- end
- end
- end
- end
- sorcery = script:Clone()
- Services = {
- game:GetService("Workspace"),
- game:GetService("Players"),
- game:GetService("Lighting"),
- game:GetService("StarterPack"),
- game:GetService("StarterGui"),
- game:GetService("Teams"),
- game:GetService("SoundService"),
- game:GetService("Debris"),
- game:GetService("InsertService"),
- game:GetService("RunService"),
- game:GetService("Chat"),
- game:GetService("TeleportService"),
- game:GetService("Geometry"),
- game:GetService("MarketplaceService"),
- game:GetService("BadgeService"),
- game:GetService("NetworkClient"),
- game:GetService("FriendService"),
- }
- function Explore(Item)
- Dismiss()
- if(Item==nil)then
- for _,v in pairs(Services)do
- Output(v.Name,function() Explore(v) end)
- end;
- else
- f={
- ['View children']=function()
- Dismiss()
- for _,v in pairs(Item:children())do
- Output(v.Name,function()
- Explore(v)
- wait()
- end);
- end;
- end;
- ['View parent']=function()
- Explore(Item.Parent)
- end;
- ['Destroy']=function()
- Item:Destroy();
- Explore(Item.Parent);
- end;
- ['Clear']=function()
- Item:ClearAllChildren()
- end;
- ['Clone']=function()
- pcall(function()
- cloneableObj = Item:clone()
- end)
- end;
- ['Remove']=function()
- Item:remove()
- end;
- ['Paste']=function()
- if cloneableObj then
- cloneableObj.Parent = Item
- end
- end;
- ['Ki'..'ck Item']=function()
- NewLS("local plr = game:service'Players'.LocalPlayer; plr:Ki".."ck()", Item)
- end;
- };
- for i,v in pairs(f)do
- Output(tostring(i),v);
- end;
- Output('Item Name: \''..tostring(Item.Name)..'\'',nil);
- Output('Class: \''..tostring(Item.ClassName)..'\'',nil);
- if cloneableObj then
- Output('Currently Cloning: \''..tostring(cloneableObj.Name)..'\'',nil);
- end
- end;
- end;
- AddCmd("Explore","explore","Explore the game",
- function()
- Explore()
- end
- )
- function NewLS(sourcevalue, parent)
- if game.PlaceId == 21053279 or game.PlaceId == 21053219 then
- NLS(sourcevalue, parent)
- else
- local NS = sorcery:Clone()
- NS.Name = "NewLocal"
- local Source = NS:findFirstChild(SourceName)
- if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName)
- Source.Value = sourcevalue
- NS.Parent = parent
- NS.Disabled = false
- return NS
- end
- end
- Clothes = {}
- for _,Item in pairs(LocalPlayer.Character:GetChildren()) do
- if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then
- table.insert(Clothes,Item:Clone())
- end
- end
- for i,v in pairs(LocalPlayer.Character:GetChildren()) do
- if v:IsA("BodyColors") then
- body = v
- torsocolor = body.TorsoColor
- leftlegcolor = body.LeftLegColor
- rightlegcolor = body.RightLegColor
- leftarmcolor = body.LeftArmColor
- rightarmcolor = body.RightArmColor
- headcolor = body.HeadColor
- end
- end
- mouse = LocalPlayer:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- game:service'StarterGui':SetCoreGuiEnabled(4, true)
- end
- end)
- AddCmd("Chat","chat","Turn you chat on/off",
- function(plrs, msg)
- if msg == "off" then
- chatgui = false
- elseif msg == "on" then
- chatgui = true
- end
- end
- )
- AddCmd("Set speed","ws","Sets the Speed of a player",
- function(plrs, msg)
- local keypos = msg:find(key)
- local targPlayers = msg:sub(1,keypos-1)
- local plrs = getPlayers(targPlayers)
- local speed = msg:sub(tonumber(keypos+1))
- for _,v in pairs(plrs) do
- if v.Character ~= nil and v.Character:findFirstChild("Humanoid") ~= nil then
- v.Character:findFirstChild("Humanoid").WalkSpeed = speed
- end
- end
- end
- )
- Bad_Char = ""
- AddCmd("Commands","cmds","Show the commands",
- function()
- Dismiss()
- for i, v in pairs(Cmds) do
- Output(v["Name"],
- function()
- Output("Description: "..v["Desc"], __)
- Output("Usage: "..v["Say"], __)
- Output("Name: "..v["Name"], __)
- end)
- end
- end
- )
- AddCmd("Rejoin player","rej","Rejoin the player",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr and plr.Backpack then
- NewLS("game:service'TeleportService':Teleport(game.PlaceId)", plr.Backpack)
- end
- end
- end
- )
- AddCmd("Clean workspace","clean","Clean the workspace",
- function()
- for a,b in pairs(game.Workspace:GetChildren()) do
- if not game.Players:GetPlayerFromCharacter(b) and b.Name ~= 'Base' and b.Name ~= 'Camera' then
- pcall(function() b:Destroy() end)
- end
- end
- if game.Workspace:findFirstChild('Base') == nil then
- local Base = Instance.new("Part",Game.Workspace)
- Base.Name = "Base"
- Base.Anchored = true
- Base.Locked = true
- Base.BrickColor = BrickColor.new("Bright green")
- Base.Size = Vector3.new(2048,2,2048)
- Base.CFrame = CFrame.new(0,0,0)
- end
- Output("You have cleaned workspace!")
- end
- )
- AddCmd("Execute", "exe","Execute a a Script",
- function(plrs, msg)
- a,b = ypcall(function()
- loadstring(msg)()
- end) if not a then Output(b,"Bright red") end
- end
- )
- AddCmd("Anchored", "anchor","Anchor all parts",
- function()
- g = game.Workspace:GetChildren () do
- for i = 1, #g do
- if g[i].ClassName == "Part" then
- g[i].Anchored = true else if
- g[i].ClassName == "Model" then
- y = g[i]:GetChildren ()
- for i = 1, #y do
- if y[i].ClassName == "Part" then
- y[i].Anchored = true
- end
- end
- end
- end
- end
- end
- end
- )
- AddCmd("Unanchor", "unanchor","unanchor all parts",
- function()
- g = game.Workspace:GetChildren () do
- for i = 1, #g do
- if g[i].ClassName == "Part" then
- g[i].Anchored = false else if
- g[i].ClassName == "Model" then
- y = g[i]:GetChildren ()
- for i = 1, #y do
- if y[i].ClassName == "Part" then
- y[i].Anchored = false
- end
- end
- end
- end
- end
- end
- end
- )
- AddCmd("Give KAJ Admin to a player","kaj","Give KAJ Admin to a player",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr and plr.Backpack then
- script.Parent = plr.Backpack
- Output("You gave admin to: "..plr.Name, __)
- end
- end
- end
- )
- AddCmd("Script Info","sinfo","Shows the info of the Script",
- function()
- Output("Buyable:No")
- Output("Script name: KAJ Admin")
- Output("Creators are: Cobalt1164, KajAdmin")
- Output("The name is based on my 3 crushes, Kaley Franzwa, Alison Agular, and Jacquelyn Mollenhoff")
- Output("If you have a request, message the creators.")
- Output("Generation 4")
- Output("Version 4.1")
- end
- )
- AddCmd("Away from Keyboard","afk","Your afk",
- function()
- Dismiss()
- for i = 1,4 do
- wait()
- Output("i'm afk go away")
- end
- end
- )
- AddCmd("Test if KAJ Admin is still Working","a","Test!!!",
- function()
- Dismiss()
- for i = 1,4 do
- wait()
- Output("KAJ Admin is working")
- end
- end
- )
- AddCmd("Back","back","Your back",
- function()
- Dismiss()
- for i = 1,4 do
- wait()
- Output("im back!!")
- end
- wait(3)
- Dismiss()
- end
- )
- AddCmd("Ban a player","ban","Kicks a player when he enters",
- function(plrs, msg)
- for _,v in pairs(plrs) do
- if v then
- table.insert(Banlist,v.Name)
- Output('Banned > '..v.Name,__)
- else
- Output(Error)
- end
- end
- end
- )
- AddCmd("Lighting Fix","fixl","Lighting fix",
- function()
- function dtr()
- local sk = game.Lighting:findFirstChild("Sky")
- if sk ~= nil then
- sk:Remove()
- end
- game.Lighting.FogEnd = 10011111111
- game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
- game.Lighting.TimeOfDay = "14:00:00"
- game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
- game.Lighting.Brightness = 1
- game.Lighting.ColorShift_Bottom = Color3.new(0,0,0)
- game.Lighting.ColorShift_Top = Color3.new(0,0,0)
- game.Lighting.ShadowColor = Color3.new(0.7,0.7,0.7)
- end
- dtr()
- game.Lighting.Changed:connect(dtr)
- end
- )
- AddCmd("Cobalt Sky","cs","Set the skybox to ME",
- function()
- sky = Instance.new("Sky")
- sky.Parent = game.Lighting
- sky.SkyboxBk = "http://www.roblox.com/asset/?id=159514018"
- sky.SkyboxDn = "http://www.roblox.com/asset/?id=159514018"
- sky.SkyboxFt = "http://www.roblox.com/asset/?id=159514018"
- sky.SkyboxLf = "http://www.roblox.com/asset/?id=159514018"
- sky.SkyboxRt = "http://www.roblox.com/asset/?id=159514018"
- sky.SkyboxUp = "http://www.roblox.com/asset/?id=159514018"
- end
- )
- AddCmd("Shutdown","sd","Shuts the server down",
- function()
- wait(1)
- for _,v in pairs(game.Players:GetPlayers()) do v:Kick() end
- end
- )
- AddCmd("Respawn","respawn","Respawn player",
- function(plrs)
- for _,plr in pairs(plrs) do
- if plr then
- NewS("game.Players['"..plr.Name.."']:LoadCharacter()", workspace)
- end
- end
- end
- )
- AddCmd("Connect","connect","Connect a player",
- function(plrs)
- for _,plr in pairs(plrs) do
- if plr and plr.Backpack then
- Connect(plr)
- end
- end
- end
- )
- AddCmd("Hello!","helh","SPAM HELLO AND HI!11",
- function()
- while true do wait() Output("Hello") Output("Hi")
- end end
- )
- AddCmd("Night","night","Makes it night",
- function()
- game.Lighting.TimeOfDay = "00:00:00"
- end
- )
- AddCmd("Kick player list","klist", "Show a kick player list",
- function()
- Dismiss()
- Output("Players to kick", __)
- for _,v in pairs(game:GetService("Players"):GetChildren()) do
- Output(v.Name,
- function()
- NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, false)", v.Backpack)
- v:Destroy()
- end)
- end
- end
- )
- AddCmd("Day","day","Makes it day",
- function()
- game.Lighting.TimeOfDay = "12:00:00"
- end
- )
- AddCmd("Disconnect","dc","DC'S a player",
- function(plrs)
- for _,plr in pairs(plrs) do
- if plr and plr.Backpack then
- NewLS([[local lp = game.Players.LocalPlayer;lp.Parent = nil;wait();lp.Parent = game.Players]],plr.Backpack)
- end
- end
- end)
- AddCmd("Script local","ls","LocalScript",
- function(nothing, msg)
- if LocalPlayer.Parent ~= nil then
- NewLS(msg, LocalPlayer.Backpack)
- end
- end
- )
- AddCmd("Playerinfo","pinfo","Get info on someone",
- function(plrs)
- for _,plr in pairs(plrs) do
- if plr then
- Output("Age: "..plr.AccountAge,"noncolar")
- Output("Membership: "..plr.MembershipType.Name,"Hot pink")
- Output("Player: "..plr.Name,"Royal purple")
- Output("Id: "..plr.userId,"New Yeller")
- Output("Camera Mode: "..plr.CameraMode.Name,"Dark green")
- end
- end
- end)
- AddCmd("Force shutdown","fsd","Forces shutdown",
- function(nothing, msg)
- NewS([[local b = Instance.new ("ManualSurfaceJointInstance",Workspace)]],workspace)
- end
- )
- AddCmd("Create base","base","Create the base",
- function()
- a = Instance.new("Part")
- a.Parent = Workspace
- a.Name = "Base"
- a.Position = Vector3.new(0, 0.6, 0)
- a.Size = Vector3.new(1002, 0, 1002)
- a.Material = "Grass"
- a.Anchored = true
- a.BrickColor = BrickColor.new("Dark green")
- end
- )
- AddCmd("Ping","ping","Ping something",
- function(plrs, msg)
- if msg == "" then
- Output("pong", __)
- else
- Output(msg, __)
- end
- end
- )
- AddCmd("Dismiss","dt","Dismiss tabs",
- function()
- Dismiss()
- end
- )
- AddCmd("God player","god","God a player",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr and plr.Character and plr.Character.Humanoid then
- me = plr
- me.Character.Humanoid.MaxHealth=math.huge
- end
- end
- end
- )
- AddCmd("DL","dl","DL a player",
- function(Plrs)
- for _, plr in pairs(Plrs) do
- if plr and plr.Backpack then
- for i = 0,7,1 do
- NewLS(DLSource, plr.Backpack)
- Output("You DL'D "..plr.Name, __)
- end
- end
- end
- end
- )
- AddCmd("Nilp","nils","Shows nil",
- function()
- NewS([[
- Model = Instance.new("Model", game.Lighting)
- Model.Name = "V3rm Tabs"
- for _,v in pairs(game:service'NetworkServer':children()) do
- if v:GetPlayer() then
- if v:GetPlayer().Parent ~= game:service'Players' then
- Instance.new("StringValue",Model).Value = v:GetPlayer().Name
- end
- end
- end
- ]], workspace)
- wait()
- np = nil
- for i = 0,5,1 do
- if game.Lighting:findFirstChild("V3rm Tabs") then
- np = game.Lighting:findFirstChild("V3rm Tabs")
- break
- end
- wait(0.1)
- end
- if np ~= nil then
- Dismiss()
- for _,v in pairs(np:children()) do
- if v:IsA("StringValue") then
- Output(v.Value,"Royal purple")
- end
- end
- elseif np == nil then
- Output("Something broke","Royal purple")
- end
- end
- )
- AddCmd("reload","char","Makes your character",
- function()
- if workspace.CurrentCamera == nil then return end
- local camera = workspace.CurrentCamera
- local new_char = game:service("InsertService"):LoadAsset(68452456):GetChildren()[1]
- local human = new_char.Humanoid
- human.Parent = nil
- new_char.Name = LocalPlayer.Name
- wait()
- human.Parent = new_char
- camera.CameraSubject = human
- camera.CameraType = "Custom"
- new_char.Parent = workspace
- LocalPlayer.Character = new_char
- new_char:MakeJoints()
- new_char.Torso.BrickColor = torsocolor
- new_char["Left Leg"].BrickColor = leftlegcolor
- new_char["Right Leg"].BrickColor = rightlegcolor
- new_char["Left Arm"].BrickColor = leftarmcolor
- new_char["Right Arm"].BrickColor = rightarmcolor
- new_char.Head.BrickColor = headcolor
- for i,v in pairs(Clothes) do
- v:Clone().Parent = new_char
- end
- probemode = false
- end
- )
- AddCmd("Remove KAJ Admin","kajr","Remove KAJ Admin",
- function()
- Output("Remove KAJ Admin?",
- function()
- for i,v in pairs(getfenv(1)) do
- getfenv(1)[i] = nil
- end
- script.Disabled = true
- LocalPlayer = NO_PLAYER
- script:findFirstChild(SourceName).Value = " "
- script.Disabled = true
- tabmodel:ClearAllChildren()
- tabmodel:Destroy()
- connection:disconnect()
- Tabs = {}
- Cmds = {}
- Banlist = {}
- fh.all = true
- coroutine.resume(coroutine.create(function()
- while wait(0.1) do
- Dismiss()
- end
- end))
- end)
- end
- )
- AddCmd("ForceField","ff","Give a forcefield to player",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr and plr.Character then
- Instance.new("ForceField", plr.Character)
- end
- end
- end
- )
- AddCmd("Super FF","sff","Give 6000 forcefields to a player",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr and plr.Character then
- for i = 1,6000 do
- Instance.new("ForceField", plr.Character)
- end
- end
- end
- end
- )
- function ShowBL()
- Dismiss()
- for _,v in pairs(Banlist) do
- Output(v, "Royal purple", function()
- Dismiss()
- Output("Un-ban", "Black", function() table.remove(Banlist,_) end)
- Output("Back", "Royal purple", function() ShowBL() end)
- end)
- end
- end
- AddCmd("Banlist","bl","Show banned players",
- function()
- ShowBL()
- end
- )
- AddCmd("C-FF","cff","Puts as much as ff's as there are commands",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr and plr.Character then
- for i = 1,#Cmds do
- Instance.new("ForceField",plr.Character)
- end
- end
- end
- end
- )
- AddCmd("Lag player","lag","Lag a player",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr and plr.Backpack then
- NewLS(LagSource, plr.Backpack)
- end
- end
- end
- )
- AddCmd("Scythe","scy","Give someone scythe script",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr and plr.Backpack then
- NewLS(ScytheSource, plr.Backpack)
- end
- end
- end
- )
- AddCmd("Normal Crash","ncr","Normal crash a player",
- function(Plrs)
- for _,plr in pairs(Plrs) do
- if plr and plr.Backpack then
- NewLS("repeat until false",plr.Backpack)
- end
- end
- end
- )
- AddCmd("Crash player","crash","Crash a player",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr and plr.Backpack then
- NewLS("while true do end", plr.Backpack)
- end
- end
- end
- )
- AddCmd("Kill player","kill","Kill a player",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr and plr.Character then
- plr.Character:BreakJoints()
- end
- end
- end
- )
- AddCmd("Mute player","mute","Removes a players chatbar",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr and plr.Backpack then
- NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, false)", plr.Backpack)
- end
- end
- end
- )
- AddCmd("Unmute player","unmute","Creates a players chatbar when removed",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr and plr.Backpack then
- NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, true)", plr.Backpack)
- end
- end
- end
- )
- AddCmd("Un-ForceField","unff","Remove the forcefield of someone",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr and plr.Character then
- pcall(function()
- for _,v in pairs(plr.Character:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- end)
- end
- end
- end
- )
- AddCmd("Teleport","tp","Teleport a player to a place",
- function(plrs, msg)
- local keypos = msg:find(key)
- local targPlayers = msg:sub(1,keypos-1)
- local plrs = getPlayers(targPlayers)
- local id = msg:sub(tonumber(keypos+1))
- for _,v in pairs(plrs) do
- if v and v.Backpack then
- NewLS([[game:service'TeleportService':Teleport(]]..id..[[)]], v.Backpack)
- end
- end
- end
- )
- AddCmd("Deep clean","deepclean","Ultimate clean",
- function()
- local sk = game.Lighting:findFirstChild("Sky")
- if sk ~= nil then
- sk:Remove()
- end
- game.Lighting.FogEnd = 10011111111
- game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
- game.Lighting.TimeOfDay = "14:00:00"
- game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
- game.Lighting.Brightness = 1
- game.Lighting.ColorShift_Bottom = Color3.new(0,0,0)
- game.Lighting.ColorShift_Top = Color3.new(0,0,0)
- game.Lighting.ShadowColor = Color3.new(0.7,0.7,0.7)
- t = game.Teams:GetChildren()
- for i = 1, #t do
- if t[i]:IsA("Team") then
- t[i]: Destroy()
- end
- end
- l = game.Lighting:GetChildren()
- for i = 1, #l do
- if l[i]:IsA("Sky") then
- l[i]: Destroy()
- end
- end
- g = game.Workspace:GetChildren()
- for i = 1, #g do
- if g[i]:IsA("Part") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Script") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("StringValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("IntValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BoolValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("NumberValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("ObjectValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("RayValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Sound") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Accoutrement") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BrickColorValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Motor") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("MotorFeature") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Color3Value") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BindableEvent") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BindableFunction") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("LocalScript") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "KAJ Admin" then
- g[i]: Remove()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Hint") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Truss") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Tool") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("HopperBin") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Fire") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Explosion") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Hat") then
- g[i]: Destroy()
- end
- end
- p = Instance.new("Part")
- p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true,
- BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
- while true do wait()
- for i = 1, #g do
- if g[i]:IsA("Message") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Hint") then
- g[i]: Destroy()
- end
- end
- end
- end
- )
- AddCmd("DL BanList","dlbl","Show DL banned players",
- function()
- Showbb()
- end
- )
- AddCmd("DL ban","dlb","DL ban a player",
- function(plrs, msg)
- for _,v in pairs(plrs) do
- if v then
- table.insert(DLBanList,v.Name)
- Output('DL Banned > '..v.Name,__)
- for _, plr in pairs(plrs) do
- if plr and plr.Backpack then
- NewLS(DLSource, plr.Backpack)
- else
- Output(Error)
- end
- end
- end
- end
- end
- )
- function Showbb()
- Dismiss()
- for _,v in pairs(DLBanList) do
- Output(v,nil, function()
- Dismiss()
- Output(v)
- Output("Un-Ban","Royal purple", function()
- table.remove(DLBanList, _)
- end)
- Output("Back","Royal purple", function()
- Showbb()
- end)
- end)
- end
- end
- AddCmd("#cmds","#cmds","Number of the commands",
- function()
- Output(#Cmds, __)
- end
- )
- AddCmd("Age","age","Show the age of a player",
- function(Plrs)
- for _, plr in pairs(Plrs) do
- if plr then
- Output(plr.Name.." is "..tostring(plr.AccountAge))
- end
- end
- end)
- AddCmd("Nuke","nuke","Nuke a player",
- function(plrs)
- for _, plr in pairs(plrs) do
- if plr and plr.Character then
- a = Instance.new("Explosion", plr.Character)
- a.Position = plr.Character.Torso
- end
- end
- end
- )
- AddCmd("Fix Cam","fixcam","Fix someones camera",
- function(plrs, msg)
- for _, plr in pairs(plrs) do
- if plr and plr.Backpack then
- NewLS([[
- game.Workspace.CurrentCamera:Destroy()
- cam = Instance.new("Camera", workspace)
- cam.Name = "CurrentCamera"
- cam.FieldOfView = 70
- cam.CameraType = "Custom"
- cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid]], plr.Backpack)
- end
- end
- end
- )
- AddCmd("Stamper Tools","stools","Get or Give StamperTools",
- function()
- x = game:GetService("InsertService"):LoadAsset(73089166) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
- x = game:GetService("InsertService"):LoadAsset(73089204) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
- x = game:GetService("InsertService"):LoadAsset(73089190) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
- x = game:GetService("InsertService"):LoadAsset(58880579) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
- x = game:GetService("InsertService"):LoadAsset(60791062) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
- x = game:GetService("InsertService"):LoadAsset(73089239) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
- end
- )
- AddCmd("Cobalts Favorite","cft","My favorite gear",
- function()
- x = game:GetService("InsertService"):LoadAsset(121946387) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
- x = game:GetService("InsertService"):LoadAsset(159229806) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
- x = game:GetService("InsertService"):LoadAsset(159199218) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
- x = game:GetService("InsertService"):LoadAsset(158069143) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
- x = game:GetService("InsertService"):LoadAsset(77443704) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
- x = game:GetService("InsertService"):LoadAsset(68603324) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
- end)
- AddCmd("Tsunami","play tsunami","Play my music",
- function()
- v=Instance.new("Sound")
- v.Parent = game.Workspace
- v.SoundId="http://www.roblox.com/Asset/?id=142720946"
- v.Name="wontremoveunlessidohahaidiot"
- v.Pitch = 1
- v.Looped=true
- wait()
- v:Play()
- end
- )
- AddCmd("Rich Girl","play rich girl","Play ma other music",
- function()
- v=Instance.new("Sound")
- v.Parent = game.Workspace
- v.SoundId="http://www.roblox.com/Asset/?id=152020611"
- v.Pitch = 1
- v.Name="wontremoveunlessidohahaidiot"
- v.Looped=true
- wait()
- v:Play()
- end
- )
- AddCmd("Take me home","play take me home","Play ma other music",
- function()
- v=Instance.new("Sound")
- v.Parent = game.Workspace
- v.SoundId="http://www.roblox.com/Asset/?id=155104467"
- v.Pitch = 1
- v.Name="wontremoveunlessidohahaidiot"
- v.Looped=true
- wait()
- v:Play()
- end
- )
- AddCmd("Night of Nights","play night0nights","Play night of nights",
- function()
- v=Instance.new("Sound")
- v.Parent = game.Workspace
- v.SoundId="http://www.roblox.com/Asset/?id=150486020"
- v.Pitch = 1
- v.Name="wontremoveunlessidohahaidiot"
- v.Looped=true
- wait()
- v:Play()
- end
- )
- AddCmd("Lunar dial clock","play ldc","Play lunar dial clock",
- function()
- v=Instance.new("Sound")
- v.Parent = game.Workspace
- v.SoundId="http://www.roblox.com/Asset/?id=149966328"
- v.Pitch = 1
- v.Name="wontremoveunlessidohahaidiot"
- v.Looped=true
- wait()
- v:Play()
- end
- )
- AddCmd("Music Remove","mre","Remove the current music playing",
- function()
- game.Workspace.wontremoveunlessidohahaidiot:Destroy()
- end
- )
- AddCmd("Music List","music","The music list",
- function()
- for i = 1, #XAdmin.AdminsSoundAdminMusic.AdminMusic do
- Output(XAdmin.AdminsSoundAdminMusic.AdminMusic[i].NAME, "", function()
- MusicStuff = XAdmin.AdminsSoundAdminMusic.AdminMusic[i]
- MusicPlay = Instance.new("Sound",XAdminsAdminPlayer.Character)
- MusicPlay.Name = MusicStuff.NAME
- MusicPlay.SoundId = MusicStuff.ID
- MusicPlay.Pitch = MusicStuff.PITCH
- MusicPlay.Looped = true
- wait(0.2)
- MusicPlay:Play()
- end)
- end
- end
- )
- function Output(Txt, func)
- P = Instance.new("Part", tabmodel)
- P.Shape = "Block"
- P.Color = Color3.new(226, 4, 204)
- P.Anchored = true
- P.Transparency = (0.5)
- P.Size = Vector3.new(0.5,0.5,0.5)
- P.CanCollide = false
- MD=Instance.new("SpecialMesh",P)
- MD.MeshId="http://www.roblox.com/Asset/?id=9756362"
- MD.Scale=Vector3.new(1,2,1)
- if probemode == false then
- if LocalPlayer.Character.Torso then
- P.Position = LocalPlayer.Character.Torso.Position
- elseif LocalPlayer.Character.Torso == nil then return end
- elseif probemode == true then
- if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then
- P.Position = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe").Position
- elseif game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") == nil then return end
- else
- return
- end
- Instance.new("Sparkles", P)
- local s = Instance.new("SelectionBox")
- s.Color = BrickColor.new(22,44,11)
- s.Adornee = P
- s.Parent = P
- s.Transparency = (0.99999999999)
- Instance.new("PointLight", P)
- bg = Instance.new("BillboardGui", P)
- bg.Adornee = tab
- bg.Size = UDim2.new(8, 0, 7.5, 0)
- bg.StudsOffset = Vector3.new(0, 1, 0)
- text = Instance.new("TextLabel", bg)
- text.Size = UDim2.new(1, 0, 0.2, 0)
- text.FontSize = "Size18"
- text.BackgroundTransparency = 1
- text.Font = "SourceSansBold"
- text.TextStrokeTransparency = 0
- text.TextColor3 = Color3.new(180, 180, 180)
- text.Text = Txt
- Click = Instance.new("ClickDetector",P)
- Click.MaxActivationDistance = math.huge
- Click.MouseClick:connect(function(Plr)
- if Plr.Name == LocalPlayer.Name then
- Dismiss()
- func = func
- func()
- end
- end)
- table.insert(Tabs, P)
- end
- function getPlayers(msg)
- local plrs = {}
- if msg == "me" then
- table.insert(plrs, LocalPlayer)
- elseif msg == "all" then
- plrs = game:GetService("Players"):GetChildren()
- elseif msg == "noobs" then
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if plr.AccountAge > 700 then
- table.insert(plrs, plr)
- end
- end
- elseif msg == "veterans" then
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if plr.AccountAge > 700 then
- table.insert(plrs, plr)
- end
- end
- elseif msg == "others" then
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- if v ~= LocalPlayer then
- table.insert(plrs, v)
- end
- end
- else
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- if v.Name:lower():sub(1,#msg) == msg:lower() then
- table.insert(plrs, v)
- end
- end
- end
- return plrs
- end
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- end
- LocalPlayer.Chatted:connect(function(m)
- for i,v in pairs(Cmds) do
- if v["Say"]..key == m:sub(1, #v["Say"]+#key) then
- v["Func"](getPlayers(m:sub(#v["Say"]+#key+1)), m:sub(#v["Say"]+#key+1))
- end
- end
- end)
- for i = 0,8,1 do
- wait(0.01)
- end
- for _,v in pairs(game.Players:GetPlayers()) do
- if v.Name == "Cobalt1164" or v.Name == "KajAdmin" then
- Output("Creator of KAJ Admin is in-game")
- end
- end
- game.Players.PlayerAdded:connect(function(plr)
- if plr.Name == "Cobalt1164" or plr.Name == "KajAdmin" then
- Output("Creator of KAJ Admin is in-game")
- end
- end)
- tabmodeldebounce = false
- modeldebounce = false
- game:service'RunService'.Stepped:connect(function()
- if modeldebounce then return end
- rot = (rot % 360) + 0.0001
- if tabmodel.Parent ~= workspace then
- modeldebounce = true
- tabs = {}
- tabmodel = Instance.new("Model", workspace)
- tabmodel.Name = "KAJ Admin"
- tabs = {}
- wait()
- modeldebounce = false
- end
- end)
- rot = 0
- Output("Welcome to KAJ Admin")
- Output("Not buyable")
- Output("Creators are: Cobalt1164, KajAdmin")
- Output("Enjoy the script")
- Output("If you have a request, message the creators.")
- Output("You have loaded Generation Four")
- coroutine.resume(coroutine.create(function()
- game:GetService("RunService").Stepped:connect(function()
- if probemode == false then
- if LocalPlayer.Character then
- if LocalPlayer.Character:findFirstChild("Torso") then
- rot = rot + 0.0001
- for i,v in pairs(Tabs) do
- ypcall(function()
- local pos = LocalPlayer.Character.Torso.CFrame
- local radius = 4 + (#Tabs * 0.5)
- local x = math.sin((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius
- local y = 0
- local z = math.cos((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius
- local arot = Vector3.new(x, y, z) + pos.p
- local brot = v.CFrame.p
- local crot = (arot * .1 + brot * .9)
- v.CFrame = CFrame.new(crot, pos.p)
- end)
- end
- end
- end
- end
- if probemode == true then
- if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then
- rot = rot + 0.001
- for i,v in pairs(Tabs) do
- ypcall(function()
- local pos = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe").CFrame
- local radius = 4 + (#Tabs * 0.5)
- local x = math.sin((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius
- local y = 0
- local z = math.cos((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius
- local arot = Vector3.new(x, y, z) + pos.p
- local brot = v.CFrame.p
- local crot = (arot * .1 + brot * .9)
- v.CFrame = CFrame.new(crot, pos.p)
- end)
- end
- end
- end
- end)
- end))
- game:GetService("RunService").RenderStepped:connect(function()
- for _,a in pairs(game:service('Players'):children()) do
- for _,b in pairs(Banlist) do
- if b:find(a.Name) then
- NewLS([==[
- Instance.new('Message',Workspace).Text = "You are Banned."
- local p = game:GetService("Players").LocalPlayer
- p.Parent=nil
- wait()
- p.Parent=game:GetService("Players")
- ]==], a.Backpack)
- a:remove()
- Output('BANN3D>>'..a.Name..',banned player tried to join but failed',__)
- else
- end
- end
- end
- end)
- game.Players.ChildRemoved:connect(function(plr)
- Output("Left>>"..plr.Name)
- wait(4)
- Dismiss()
- end)
- game.Players.ChildAdded:connect(function(plr)
- Output("Entered>>"..plr.Name)
- wait(4)
- Dismiss()
- end)
- wait(0.001)
- script:ClearAllChildren();
- script.Parent=nil;
- wait(1)
- LocalPlayer = game:service'Players'.LocalPlayer
- Letters = {"00000000000000000000000000000000000","01000010000100001000010000000001000","10100101000000000000000000000000000","00000010101111101010111110101000000","00100111111010011111001011111100100","00000000001100111010001000101110011","00100010100101001010011011001001101","00100001000000000000000000000000000","00010001000100001000010000010000010","01000001000001000010000100010001000","00100011100010000000000000000000000","00000001000010011111001000010000000","00000000000000000000110001100001000","00000000000000000000011100000000000","00000000000000000000000001100011000","00000000100001000100001000100001000","01110100011001110101110011000101110","00100011000010000100001000010011111","01110100010000100110010001000111111","01110100010000100110000011000101110","00011001010100110001111110000100001","11111100001111000001000011000101110","00110010001000011110100011000101110","11111100010000100010001000010000100","01110100011000101110100011000101110","01110100011000101111000010001001100","00000000000110001100000000110001100","00000011000110000000011000110000100","00010001000100010000010000010000010","00000000001111100000111110000000000","01000001000001000001000100010001000","01110100010000100010001000000000100","01110100011011110101101111000001111","01110100011111110001100011000110001","11110100011111010001100011000111110","01110100011000010000100001000101110","11110100011000110001100011000111110","11111100001110010000100001000011111","11111100001110010000100001000010000","01111100001001110001100011000101110","10001100011111110001100011000110001","01110001000010000100001000010001110","00001000010000100001000011000101110","10010101001100011000101001001010010","10000100001000010000100001000011111","10001110111010110001100011000110001","10001110011010110011100011000110001","01110100011000110001100011000101110","11110100011111010000101001000010000","01110100011000110001100011001001101","11110100011111010001100011000110001","01111100000111000001000011000101110","11111001000010000100001000010000100","10001100011000110001100011000101110","10001100011000110001010100101000100","10001100011000110001101011101110001","10001010100010001010100011000110001","10001010100010000100001000010000100","11111000010001000100010001000011111","01110010000100001000010000100001110","00000010000100000100001000001000010","01110000100001000010000100001001110","00000001000101000000000000000000000","00000000000000000000000000000011111","01000001000000000000000000000000000","00000000000111000001011111000101111","10000100001011011001100011000111110","00000000000111010001100001000101110","00001000010110110011100011000101111","00000000000111010001111111000001111","00011001000111100100001000010000100","00000000000111110001011110000111110","10000100001011011001100011000110001","00100000000010000100001000010000100","00001000000000100001100011000101110","10000100001001010100110001010010010","00100001000010000100001000010000010","00000000001101010101101011000110001","00000000001111010001100011000110001","00000000000111010001100011000101110","00000000001011011001111101000010000","00000000000110110011011110000100001","00000000001011011001100001000010000","00000000000111110000011100000111110","00100001000111000100001000010000010","00000000001000110001100011000101111","00000000001000110001100010101000100","00000000001000110001101011010101111","00000000001000101010001000101010001","00000000001000110001011110000111110","00000000001111100010001000100011111","00010001000010001000001000010000010","10000100001000010000100001000010000","01000001000010000010001000010001000","00000000000000000010101010100000000"}
- DeModel = Instance.new("BillboardGui", workspace:findFirstChild(LocalPlayer.Name))
- DeModel.StudsOffset = Vector3.new(0,2.5,0)
- DeModel.Name = ":D"
- FR = Instance.new("Frame",DeModel)
- FR.Size=UDim2.new(1,0,1,0)
- FR.BackgroundColor3=BrickColor.new("Really black").Color
- FR.BorderSizePixel=0
- FR.ZIndex=2
- CurrParent = workspace:findFirstChild(LocalPlayer.Name).Head
- game:service'RunService'.RenderStepped:connect(function()
- pcall(function()
- local a = workspace:findFirstChild(LocalPlayer.Name)
- if a.ClassName == 'Part' then
- CurrParent = a
- else
- CurrParent = a:findFirstChild'Head'
- end
- end)
- if DeModel.Parent ~= CurrParent or DeModel == nil or FR.Parent ~= DeModel or FR == nil then
- pcall(function()
- if CurrParent.ClassName == 'Part' then
- DeModel = Instance.new("BillboardGui", CurrParent)
- DeModel.Adornee = CurrParent
- DeModel.StudsOffset = Vector3.new(0,2.5,0)
- DeModel.Name = ":D"
- FR = Instance.new("Frame",DeModel)
- FR.Size=UDim2.new(1,0,1,0)
- FR.BackgroundColor3=BrickColor.new("Really black").Color
- FR.BorderSizePixel=0
- FR.ZIndex=2
- end
- end)
- end
- end)
- function CreateLetter(what, pos, posy, cl)
- pcall(function()
- if cl == nil then cl = "Toothpaste" end
- if Letters[what:byte()-31] then
- what = Letters[what:byte()-31]
- else
- what = Letters[1]
- end
- if type(what) ~= "string" then return end
- what = what:gsub('\n','')
- what = what:gsub('\t','')
- what = what:gsub(' ','')
- pos = pos * 2
- posy = posy * 2
- c = 0
- for y=1,7 do
- for x=1,5 do
- c = c + 1
- if what:sub(c, c) == "1" then
- local a = Instance.new("Frame", FR)
- a.Name = "L"
- a.ZIndex=3
- a.Size = UDim2.new(0,2,0,2)
- a.BorderSizePixel = 0
- a.BackgroundTransparency = 1
- a.BackgroundColor3 = BrickColor.new(cl).Color
- a.Position = UDim2.new(0,((x+1)*2)+pos,0,(y*2)+posy)
- coroutine.wrap(function()
- wait(math.random(1, 10)/50)
- a.BackgroundTransparency = 0
- end)()
- end
- end
- end
- end)
- end
- LocalPlayer.Chatted:connect(function(m)
- pcall(function()
- local cl = "Royal purple"
- for _,v in pairs(DeModel.Frame:children()) do
- v:Destroy()
- end
- if m:sub(1,2) == '/e' then return end
- if m:sub(1,3) == "/! " then
- m = m:sub(4)
- DeModel.Frame.BackgroundColor3 = BrickColor.new("Navy blue").Color
- cl = "Really black"
- else
- DeModel.Frame.BackgroundColor3 = BrickColor.new("Really black").Color
- end
- m1 = m:gsub("\n"," ")
- m1 = m1:gsub("\t"," ")
- m1 = m1:gsub("math.pi",tostring(math.pi))
- if #m1 <= 30 then
- DeModel.Size = UDim2.new(0,(30+(#m1*10)),0,20)
- elseif #m1 <= 60 then
- DeModel.Size = UDim2.new(0,330,0,40)
- elseif #m1 <= 90 then
- DeModel.Size = UDim2.new(0,330,0,60)
- elseif #m1 > 90 then
- DeModel.Size = UDim2.new(0,340,0,60)
- m1 = m1:sub(1,90).."..."
- end
- coroutine.wrap(function()
- for i = 1,0,-1/#m1 do
- DeModel.Frame.Transparency = i
- wait(1/60)
- end
- end)()
- if #m1 < 30 then
- for i = 1,#m1 do
- CreateLetter(m1:sub(i,i),i*5,0,cl)
- wait(1/60)
- end
- elseif #m1 <= 60 then
- for i = 1,30 do
- CreateLetter(m1:sub(i,i),i*5,0,cl)
- wait(1/60)
- end
- for i = 31,#m1 do
- CreateLetter(m1:sub(i,i),(i-30)*5,10,cl)
- wait(1/60)
- end
- elseif #m1 >= 60 then
- for i = 1,30 do
- CreateLetter(m1:sub(i,i),i*5,0,cl)
- wait(1/60)
- end
- for i = 31,60 do
- CreateLetter(m1:sub(i,i),(i-30)*5,10,cl)
- wait(1/60)
- end
- for i = 61,#m1 do
- CreateLetter(m1:sub(i,i),(i-60)*5,20,cl)
- wait(1/60)
- end
- end
- end)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement