Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- char = plr.Character
- skin = BrickColor.new("Pastel brown")
- wait(0.5)
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Shirt" or v.ClassName == "Pants" then
- v:Destroy()
- end
- end
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- part = nil
- bp = nil
- particles = nil
- function clerp(a,b,c,d)
- for i = 0,d,.01 do
- a.CFrame = CFrame.new(b:lerp(c,i))
- wait()
- end
- end
- function slerp(a2,b2,c2,d2)
- for i2 = 0,d2,.01 do
- a2.CFrame = CFrame.new(b2:lerp(c2,i2))
- wait()
- end
- end
- mouse.KeyDown:connect(function(key)
- if key == "e" and plr.Character.Parent == workspace then
- plr.Character.Parent = workspace.Camera
- plr.Character.Archivable = true
- Instance.new("ForceField",plr.Character).Visible = false
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
- t.Transparency = 1
- if t.Name == "Head" and t:FindFirstChild("face") then
- t.face.Transparency = 1
- end
- elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
- t.Handle.Transparency = 1
- end
- end
- elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then
- plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),plr.Character.Torso.CFrame.p)
- elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then
- if plr.Character.Torso.Anchored == true then
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") then
- t.Anchored = false
- end
- end
- else
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") then
- t.Anchored = true
- end
- end
- end
- elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then
- local clone = part:Clone()
- clone.Parent = workspace
- clone.Anchored = false
- clone:ClearAllChildren()
- clone.CanCollide = true
- bp.Parent = clone
- particles.Parent = clone
- if part.Parent:FindFirstChildOfClass("Humanoid") then
- part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
- end
- part:Destroy()
- part = clone
- elseif key == "t" and plr.Character.Parent == workspace.Camera and part == nil then
- plr.Character.Parent = workspace
- plr.Character.Archivable = false
- plr.Character:FindFirstChildOfClass("ForceField"):Remove()
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
- t.Transparency = 0
- if t.Name == "Head" and t:FindFirstChild("face") then
- t.face.Transparency = 0
- end
- elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
- t.Handle.Transparency = 0
- end
- end
- end
- end)
- mouse.Button1Down:connect(function()
- if plr.Character.Parent == workspace.Camera then
- if mouse ~= nil then
- if mouse.Target ~= nil then
- part = mouse.Target
- bp = Instance.new("BodyPosition",part)
- bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bp.Position = part.Position
- particles = Instance.new("ParticleEmitter",part)
- particles.Color = ColorSequence.new(Color3.new(0,0,0))
- particles.Size = NumberSequence.new(1)
- particles.Texture = "rbxassetid://292289455"
- particles.VelocitySpread = 360
- particles.Speed = NumberRange.new(0)
- particles.RotSpeed = NumberRange.new(0)
- particles.Rotation = NumberRange.new(0)
- particles.Rate = 250
- particles.Lifetime = NumberRange.new(.2,.4)
- particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)})
- dwn = true
- end
- end
- while dwn == true do
- wait()
- bp.Position = mouse.hit.p
- if part then
- if part.Parent:FindFirstChildOfClass("Humanoid") then
- part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
- end
- end
- end
- end
- end)
- mouse.Button1Up:connect(function()
- dwn = false
- if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
- if bp then bp:Destroy() end
- if particles then particles:Destroy() end
- end)
- local shirt = Instance.new("Shirt",char)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=115893651"
- local pants = Instance.new("Pants",char)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=115893704"
- local bdy = char["Body Colors"]
- bdy.HeadColor = skin
- bdy.LeftArmColor = skin
- bdy.LeftLegColor = skin
- bdy.RightArmColor = skin
- bdy.RightLegColor = skin
- bdy.TorsoColor = skin
- wait(1)
- local gunshot = Instance.new("Sound",char.Torso)
- gunshot.Name = "BANG"
- gunshot.SoundId = "rbxassetid://213603013"
- gunshot.Volume = 2
- gunshot:Play()
- char.Humanoid.WalkSpeed = 0
- char.Humanoid.JumpPower = 0
- char.Torso["Right Shoulder"].C1 = CFrame.new(0,0,0)
- char.Torso["Left Shoulder"].C1 = CFrame.new(0,0,0)
- char.Torso["Left Hip"].C1 = CFrame.new(0,0,0)
- char.Torso["Right Hip"].C1 = CFrame.new(0,0,0)
- char.HumanoidRootPart.RootJoint.C1 = CFrame.new(0,0,0)
- rlegweld = char.Torso["Right Hip"]
- llegweld = char.Torso["Left Hip"]
- rhandweld = char.Torso["Right Shoulder"]
- lhandweld = char.Torso["Left Shoulder"]
- humanoidrootpart = char.HumanoidRootPart.RootJoint
- for i = 0,1 , 0.03 do
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.975958347, -2.06729031, 0, 0.905177712, -0.425033659, 8.83524214e-27, 0.425034732, 0.905179977, 4.223007e-27, -1.05518035e-26, 3.02922588e-28, 1.0000025),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.901434898, -1.97289896, 0, 0.896831989, 0.442371875, -3.88750654e-27, -0.442372978, 0.896834254, 5.09510506e-27, 4.69530011e-27, -3.35739201e-27, 1.0000025),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.98829222, 0.555973053, 0, -0.0983736441, -0.995149612, 6.86624532e-27, 0.995152056, -0.0983738229, 1.33999472e-26, -1.25618211e-26, 9.13816473e-27, 1.0000025),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.80910063, 0.148392916, 0, 0.586558223, 0.80990839, -5.84135723e-26, -0.809910417, 0.586559713, -6.21380681e-26, -1.6509281e-26, 8.28998148e-26, 1.0000025),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -2.71110725, -1.9999876, 1, -1.89579053e-26, -7.87598728e-27, 7.01770661e-27, 6.76514401e-06, 1.0000025, -1.93673287e-26, -1.00000238, 6.85455143e-06),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- wait(2)
- char.Torso.Neck.C1 = CFrame.new(0,0,0)
- local scream = Instance.new("Sound",char)
- scream.SoundId = "rbxassetid://566988981"
- scream.Volume = 4
- scream:Play()
- char.Head.face.Texture = "http://www.roblox.com/asset/?id=176777497"
- for i = 0,1 ,0.03 do
- char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(1.1920929e-07, 1.01759481, 0.499690324, 1, 2.27373675e-13, -3.63797881e-12, 7.27595761e-12, 0.0351885781, -0.999380767, 7.81597009e-14, 0.999380767, 0.0351885781),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.43054783, 2.02057076, -4.70876694e-06, -0.998074114, -0.0620345771, -4.98416557e-06, 0.0620345846, -0.998074114, 2.182147e-06, -5.10993777e-06, 1.86875695e-06, 1.00000012),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- wait(2)
- for i = 0,1 ,0.03 do
- char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.98829222, 0.555973053, 0, -0.0983736441, -0.995149612, 6.86624532e-27, 0.995152056, -0.0983738229, 1.33999472e-26, -1.25618211e-26, 9.13816473e-27, 1.0000025),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- wait(4)
- renders = game:GetService("RunService").RenderStepped
- for i = 0,1 , 0.03 do
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
- char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
- renders:wait()
- end
- local nametag = Instance.new("BillboardGui",char)
- nametag.StudsOffset = Vector3.new(0,2,0)
- nametag.Adornee = char.Head
- nametag.Size = UDim2.new(0,200,0,50)
- local text = Instance.new("TextLabel",nametag)
- text.Size = UDim2.new(0,200,0,50)
- text.BackgroundTransparency = 1
- text.Text = "The Thing"
- text.TextColor3 = Color3.new(180/255,0,0)
- text.TextStrokeColor3 = Color3.new(0,0,0)
- text.Font = Enum.Font.Fantasy
- text.TextScaled = true
- text.TextStrokeTransparency = 0
- coroutine.wrap(function()
- while wait() do
- wait(3)
- text.Text = "The Thing"
- wait()
- text.Text = "The Thing";
- wait(2)
- local str = ""
- for i = 1, math.random(3,25) do
- str = str..string.char(math.random(65,122))
- end
- text.Text = str
- wait()
- str = ""
- for i = 1, math.random(12,25) do
- str = str..string.char(math.random(48,122))
- end
- wait()
- text.Text = str
- wait()
- text.Text = "The Thing";
- wait(1)
- text.Text = "The Thing"
- wait()
- text.Text = "The Thing"
- wait()
- text.Text = "The Thing";
- wait(2)
- text.Text = "The Thing";
- wait()
- text.Text = "The Thing";
- wait()
- for i = 1, math.random(12,25) do
- str = str..string.char(math.random(48,57))
- end
- text.Text = str
- wait()
- text.Text = "The Thing";
- wait(2)
- end
- end)()
- char.Humanoid.WalkSpeed = 16
- char.Humanoid.JumpPower = 50
- local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
- local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
- local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
- lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
- game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
- local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
- llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
- llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
- local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
- game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
- local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
- rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
- local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
- local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
- humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
- local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
- local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- headweld.Part0 = game.Players.LocalPlayer.Character.Torso
- headweld.Part1 = game.Players.LocalPlayer.Character.Head
- headweld.C0 = CFrame.new(0, 1.5, 0, 0.805139124, -0.593086064, 0, 0.593086064, 0.805139124, 0, 0, 0, 1)
- model = Instance.new("Model",char)
- char.Humanoid.Name = "nil"
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Accessory" then
- v:Remove()
- end
- end
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = 1
- end
- end
- local music = Instance.new("Sound",char)
- music.SoundId = "rbxassetid://1387203988"
- music.Volume = 8
- music.Looped = true
- music:Play()
- local hitbox = Instance.new("Part",char.Torso)
- hitbox.Size = char.Torso.Size
- hitbox.Transparency = 1
- hitbox.CanCollide = false
- local hweld = Instance.new("Weld",hitbox)
- hweld.Part0 = hitbox
- hweld.Part1 = char.Torso
- hweld.C0 = CFrame.new(0, 0, 1.02879095, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- local slap = Instance.new("Sound",char)
- slap.SoundId = "rbxassetid://261566877"
- slap.Name = "damage"
- slap.Volume = 4
- hitbox.Touched:connect(function(part)
- local hum = part.Parent:FindFirstChildOfClass("Humanoid")
- if hum then
- slap:Play()
- hum.Sit = true
- hum.JumpPower = 0
- wait(3)
- for i,v in pairs(hum.Parent:GetChildren()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- local cp = Instance.new("BodyPosition",v)
- cp.Position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- v.BrickColor = BrickColor.new("Really black")
- game:GetService("Debris"):AddItem(hum.Parent,2)
- end
- end
- hum.Health = 0
- hum.Name = "w h y ?"
- end
- end)
- char.Parent = game.Workspace.CurrentCamera
- model.Parent = game.Workspace
- model.Name = "GhostTrail"
- char.Head.face:Remove()
- while true do
- wait(0.01)
- if model.Parent == nil then
- model.Parent = game.Workspace
- end
- local hum = char:FindFirstChildOfClass("Humanoid")
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- local cp = v:Clone()
- cp.Parent = model
- cp.Anchored = true
- cp.CanCollide = false
- cp.BrickColor = BrickColor.new("Really black")
- cp.Material = Enum.Material.SmoothPlastic
- cp.Transparency = 0.8
- if cp.Name == "HumanoidRootPart" then
- cp:Remove()
- end
- for i,v in pairs(cp:GetChildren()) do
- if v.ClassName == "Motor6D" or v.ClassName == "Weld" then
- v:Remove()
- end
- end
- game:GetService("Debris"):AddItem(cp,0.2)
- end
- end
- end
- ------------------
- --Suck Suck Suck--
- ------------------
- --[[
- JarLore V 5.2
- LocalScript based admin
- Made by jarredbcv
- Originally made to rek oxcool1's sb
- but, I just get banned anywho.. :(
- ~ChangeLogs~
- ;Added anti remove
- ;Added mode 1,2,3,4,5,6
- ;Added Gui for admin control
- ;Added notifications
- ]]--
- version = 5.2
- wait(.1)
- script.Parent=nil
- local lp = game.Players.LocalPlayer
- local pt = {}
- local pt2 = {}
- local pt3 = {}
- local rad = math.rad
- local pi = math.pi
- local cf = CFrame.new
- local ca = CFrame.Angles
- local mr = math.random
- local count = 0
- local bcount = 0
- local mode = "origin"
- local bc = BrickColor.new
- local slct = 0
- local speed = 1
- local guit = {}
- local send = cf()
- local as = 4
- local events = {}
- local fragdeb = false
- local ignore = {}
- local armloop = false
- local grab = nil
- local gdist = -5
- local tim = 0
- local c2timer = 0
- local banned = {}
- local cmds = {}
- local clogs = {}
- local bet = "!"
- --[["The best ever!"]]--
- local lerp = function(a,b,c)
- return a+(b-a)*c
- end
- local clerp = function(c1,c2,t)
- return c1:lerp(c2,t)
- end
- local ClrLerp = function(Mesh,Clr2,Step)
- Clr1 = Mesh.VertexColor
- Mesh.VertexColor = Vector3.new(lerp(Clr1.X,Clr2.X,Step),lerp(Clr1.Y,Clr2.Y,Step),lerp(Clr1.Z,Clr2.Z,Step))
- end
- local GetDiscoColor = function(hue)
- local section = hue % 1 * 3
- local secondary = 0.5 * math.pi * (section % 1)
- if section < 1 then
- return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
- elseif section < 2 then
- return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
- else
- return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
- end
- end
- local new = function(Object, Parent, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- return Object
- end
- local intable = function(tab, obj)
- for _, v in ipairs(tab) do
- if v == obj then
- return _
- end
- end
- return 0
- end
- local so = function(id,par,lo,pi,tm)
- Spawn(function()
- local s = new("Sound",par,{Looped=lo;Pitch=pi;SoundId = "http://roblox.com/asset/?id="..id})
- wait() -- tnx anti
- s:play()
- s.Volume=.8
- game.Debris:AddItem(s,tm)
- end)
- return s
- end
- local Lightning = function(Start,End,Times,Offset,Color,Thickness)
- local magz = (Start - End).magnitude
- local curpos = Start
- local trz = {-Offset,Offset}
- for i=1,Times do
- local li = new("Part",workspace,{Size=Vector3.new(Thickness,Thickness,magz/Times);BrickColor=bc('Really black');CanCollide=false;Anchored=true})
- local m = new("SpecialMesh",li,{MeshId='rbxassetid://9856898';Scale=Vector3.new(Thickness*2,Thickness*2,magz/Times*2);TextureId='http://www.roblox.com/asset/?id=55687933';VertexColor = Color})
- local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
- local trolpos = cf(curpos,End)*cf(0,0,magz/Times).p+ofz
- if Times == i then
- local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2)
- li.CFrame = cf(curpos,End)*cf(0,0,-magz2/2)
- else
- li.CFrame = cf(curpos,trolpos)*cf(0,0,magz/Times/2)
- end
- curpos = li.CFrame*cf(0,0,magz/Times/2).p
- game.Debris:AddItem(li,.3)
- Spawn(function()
- for i=1,10 do
- game:service"RunService".RenderStepped:wait()
- li.Transparency = li.Transparency+.1
- end
- li:Destroy()
- end)
- end
- end
- local explosion = function(col1,col2,cfr,sz,rng)
- local a = new("Part",workspace,{Size=Vector3.new(1,1,1);CanCollide=false;Anchored=true})
- local a2 = new("Part",workspace,{Size=Vector3.new(1,1,1);CanCollide=false;Anchored=true})
- local a3 = new("Part",workspace,{Size=Vector3.new(1,1,1);CanCollide=false;Anchored=true})
- v1,v2,v3=sz.x,sz.y,sz.z
- local m = new("SpecialMesh",a,{MeshId='rbxassetid://1185246';Scale=Vector3.new(v1,v2,v3);TextureId='http://www.roblox.com/asset/?id=55687933';VertexColor = col1})
- local m2 = new("SpecialMesh",a2,{MeshId='rbxassetid://9856898';Scale=Vector3.new(v1/3*2,v2/3*2,v3/3*2);TextureId='http://www.roblox.com/asset/?id=55687933';VertexColor = col2})
- local m3 = new("SpecialMesh",a3,{MeshId='rbxassetid://9856898';Scale=Vector3.new(v1/3*2,v2/3*2,v3/3*2);TextureId='http://www.roblox.com/asset/?id=55687933';VertexColor = col2})
- a.CFrame=cfr
- a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
- a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
- for i,v in pairs(workspace:children()) do
- if v:IsA("Model") and v:findFirstChild("Humanoid") then
- if v:findFirstChild("Head") and v:findFirstChild("Torso") then
- if (v:findFirstChild("Torso").Position - a.Position).magnitude < rng and v.Name ~= lp.Character.Name then
- v:BreakJoints()
- end
- end
- end
- end
- game.Debris:AddItem(a,.6)
- game.Debris:AddItem(a2,.6)
- game.Debris:AddItem(a3,.6)
- Spawn(function()
- while true do
- game:service"RunService".RenderStepped:wait()
- if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
- m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
- m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
- m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
- a2.CFrame=a2.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))
- a3.CFrame=a3.CFrame*CFrame.Angles(-math.rad(2),-math.rad(2),-math.rad(2))
- a.Transparency=a.Transparency+0.05
- a2.Transparency=a2.Transparency+0.05
- a3.Transparency=a3.Transparency+0.05
- end
- end)
- end
- local frag = function(hit)
- local t = {}
- local A = {-1, 1}
- if hit.Name ~= "Base" and hit.Name ~= "adpart" and hit.Parent ~= lp.Character and hit.Parent.Parent ~= lp.Character and fragdeb ~= true then
- so("201858024",ch.Torso,false,math.random(7,11)/10,4)
- fragdeb = true
- hit:BreakJoints()
- local X, Y, Z = 0, 0, 0
- for x = 1, 2 do
- if hit.Size.X > 1 then
- X = hit.Size.X/2
- end
- for y = 1, 2 do
- if hit.Size.Y > 1 then
- Y = hit.Size.Y/2
- end
- for z = 1, 2 do
- if hit.Size.Z > 1 then
- Z = hit.Size.Z/2
- end
- local obj = Vector3.new(X*A[x],Y*A[y],Z*A[z])
- if intable(t, obj) == 0 and (X ~= 0 or Y ~= 0) and (X ~= 0 or Z ~= 0) and (Y ~= 0 or Z ~= 0) then
- table.insert(t, obj)
- end
- end
- end
- end
- if #t > 0 then
- local h = hit:clone()
- local par = hit.Parent
- hit:Destroy()
- hit = h:clone()
- for _, v in ipairs(t) do
- local n = hit:clone()
- --n.FormFactor = "Custom"
- n.Size = hit.Size/2
- local x,y,z = hit.CFrame:toEulerAnglesXYZ()
- n.CFrame = CFrame.new(v/2)*CFrame.Angles(x,y,z) +hit.Position
- n.Rotation = hit.Rotation
- n.Velocity = Vector3.new(0,0,0)
- n.RotVelocity = Vector3.new(0,0,0)
- n.Parent = par
- if n.Size.X <= 1 or n.Size.Z <= 1 then n.Anchored = false;n:BreakJoints();n.Velocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) spawn(function() for i=1,10 do wait() n.Transparency=n.Transparency+.1 end n:Destroy() end) end
- n:BreakJoints()
- end
- end
- end
- wait()
- fragdeb = false
- end
- local notif = function(txt)
- for i,v in pairs(guit) do
- v.Position = v.Position - UDim2.new(0,0,0.03,0)
- end
- local notif = new("TextLabel",notificationbin,{TextWrapped = true;TextStrokeTransparency = 0;BorderSizePixel = 2;TextScaled = true;BackgroundColor3 = Color3.new(0, 0, 0);BackgroundTransparency = 0.5;Size = UDim2.new(0.2, 0, 0.02, 0);TextColor3 = Color3.new(1, 1, 1);BorderColor3 = Color3.new(1, 1, 1);Text = "{Notification}:"..txt;Position = UDim2.new(0.395, 0, 0.942, 0);TextXAlignment = Enum.TextXAlignment.Left})
- so("205318910",lp.PlayerGui,false,1)
- table.insert(guit,notif)
- spawn(function() wait(5)
- for i=1,20 do wait()
- notif.BackgroundTransparency = notif.BackgroundTransparency +.05
- notif.TextTransparency = notif.TextTransparency +.05
- notif.TextStrokeTransparency = notif.TextStrokeTransparency +.05
- end
- notif:Destroy()
- table.remove(guit,1)
- end)
- end
- local function getPlayer(name)
- local nameTable = {}
- name=name:lower()
- if name == "me" then
- nameTable[#nameTable+1]=admin
- elseif name == "others" then
- for i,v in pairs(gPlayers:GetChildren()) do
- if v:IsA'Player'then
- if v.Name~=admin then
- nameTable[#nameTable+1]=v.Name
- end
- end
- end
- elseif name == "all" then
- for i,v in pairs(gPlayers:GetChildren()) do
- if v:IsA'Player'then
- nameTable[#nameTable+1]=v.Name
- end
- end
- else
- for i,v in pairs(gPlayers:GetChildren()) do
- local lname = v.Name:lower()
- local i,j = lname:find(name)
- if i == 1 then
- return {v.Name}
- end
- end
- end
- return nameTable
- end
- local makeg = function()
- local jlgui = new("ScreenGui",lp.PlayerGui,{Name="JL_gui"})
- local frame = new("Frame",jlgui,{Size = UDim2.new(0.2, 0, 0.025, 0);BorderColor3 = Color3.new(1, 1, 1);Position = UDim2.new(0.395, 0, 0.97, 0);BorderSizePixel = 2;BackgroundTransparency = 0.5;BackgroundColor3 = Color3.new(0, 0, 0)})
- local textlabel = new("TextLabel",frame,{TextStrokeTransparency = 0;BorderSizePixel = 0;BackgroundColor3 = Color3.new(0, 0, 0);BackgroundTransparency = 0.9;Size = UDim2.new(0.2, 0, 1, 0);TextColor3 = Color3.new(1, 1, 1);Text = "Execute >";TextXAlignment = Enum.TextXAlignment.Right})
- textbox = new("TextBox",frame,{TextStrokeTransparency = 0;BackgroundColor3 = Color3.new(0, 0, 0);Position = UDim2.new(0.201, 0, 0, 0);Size = UDim2.new(0.785, 0, 1, 0);BackgroundTransparency = 0.9;Text = "Press [R-CTRL] to focus";TextColor3 = Color3.new(1, 1, 1);TextXAlignment = Enum.TextXAlignment.Left})
- local frame_2 = new("Frame",frame,{Size = UDim2.new(0.2, 0, 1, 0);BorderColor3 = Color3.new(1, 1, 1);Position = UDim2.new(1.02, 0, 0, 0);BorderSizePixel = 2;BackgroundTransparency = 0.5;BackgroundColor3 = Color3.new(0, 0, 0)})
- textlabel_2 = new("TextLabel",frame_2,{TextStrokeTransparency = 0;BorderSizePixel = 0;BackgroundColor3 = Color3.new(0, 0, 0);BackgroundTransparency = 0.9;Size = UDim2.new(1, 0, 1, 0);TextColor3 = Color3.new(1, 1, 1);BorderColor3 = Color3.new(0, 0, 0);Text = "FPS:n/a"})
- local frame_3 = new("Frame",frame,{Size = UDim2.new(0.2, 0, 1, 0);BorderColor3 = Color3.new(1, 1, 1);Position = UDim2.new(-.222, 0, 0, 0);BorderSizePixel = 2;BackgroundTransparency = 0.5;BackgroundColor3 = Color3.new(0, 0, 0)})
- local textlabel_3 = new("TextLabel",frame_3,{TextStrokeTransparency = 0;BorderSizePixel = 0;BackgroundColor3 = Color3.new(0, 0, 0);BackgroundTransparency = 0.9;Size = UDim2.new(1, 0, 1, 0);TextColor3 = Color3.new(1, 1, 1);BorderColor3 = Color3.new(0, 0, 0);Text = "JarLore V"..version})
- notificationbin = Instance.new("Folder", jlgui,{Name="Notification_bin"})
- listbin = Instance.new("Folder", jlgui,{Name="List_bin"})
- textbox.FocusLost:connect(function()
- local msg = textbox.Text
- local usedACommand=false
- for i,v in pairs(cmds) do
- if msg:lower():match(bet..v.Usage:lower()..'% ?') and usedACommand==false then
- usedACommand=true
- local Run, Error = ypcall(function()
- spawn(function()
- v.Function(lp.Name,msg:lower():match(bet..v.Usage:lower()..'%>?(.+)')or'')
- end)
- end)
- if Error then
- notif(Error)
- end
- end
- end
- textbox.Text = "Press [R-CTRL] to focus"
- end)
- end
- local makelist = function(na,list)
- local pos = -7
- local frame = new("Frame", listbin,{Size = UDim2.new(0.15, 0, 0.25, 0);BorderColor3 = Color3.new(1, 1, 1);Position = UDim2.new(0.65, 0, 0.745, 0);BorderSizePixel = 2;BackgroundTransparency = 0.5;BackgroundColor3 = Color3.new(0, 0, 0)})
- local textlabel = new("TextBox", frame,{TextStrokeTransparency = 0;BorderSizePixel = 2;BackgroundColor3 = Color3.new(0, 0, 0);Position = UDim2.new(0.01, 0, 0.005, 0);Size = UDim2.new(0.8, 0, 0.1, 0);BackgroundTransparency = 0.9;BorderColor3 = Color3.new(1, 1, 1);TextColor3 = Color3.new(1, 1, 1);Text=na})
- local scrollingframe = new("ScrollingFrame", frame,{Size = UDim2.new(1, 0, 0.87, 0);CanvasSize=UDim2.new(0,0,0,0);MidImage = "rbxassetid://65372937";BorderColor3 = Color3.new(1, 1, 1);ScrollBarThickness = 7;TopImage = "rbxassetid://65372937";Position = UDim2.new(0, 0, 0.125, 0);BottomImage = "rbxassetid://65372937";BackgroundTransparency = 0.9;BackgroundColor3 = Color3.new(0, 0, 0)})
- local textbutton = new("TextButton", frame,{TextStrokeTransparency = 0;BorderSizePixel = 2;BackgroundColor3 = Color3.new(0, 0, 0);BackgroundTransparency = 0.9;Size = UDim2.new(0.16, 0, 0.1, 0);Position = UDim2.new(0.83, 0, 0.005, 0);BorderColor3 = Color3.new(1, 1, 1);Text = "X";TextColor3 = Color3.new(1, 1, 1)})
- for i,v in pairs(list) do
- local textlabel2 = new("TextLabel", scrollingframe,{TextStrokeTransparency = 0;BorderSizePixel = 0;BackgroundColor3 = Color3.new(0, 0, 0);BackgroundTransparency = 0.9;Size = UDim2.new(1, 0, 0, 20);TextColor3 = Color3.new(1, 1, 1);TextXAlignment = Enum.TextXAlignment.Left;Text=v})
- textlabel2.Position = UDim2.new(0,0,0,pos+7)
- pos = pos + 25
- scrollingframe.CanvasSize = UDim2.new(0,0,0,pos+15)
- end
- textbutton.MouseButton1Click:connect(function()
- frame:Destroy()
- end)
- end
- local efx = function(part)
- if not part then return end
- local Num = 0
- local efxs = {}
- for i = 1,6 do
- local p = new("Part",workspace,{Size=Vector3.new(1,1,1);CanCollide=false;Anchored=true;CFrame=part.CFrame})
- local msh = new("SpecialMesh",p,{Scale=Vector3.new(1.55,.5,.5);MeshId='rbxassetid://9756362';TextureId='rbxassetid://25701026';VertexColor=GetDiscoColor(i/10)})
- table.insert(efxs,p)
- local p=new("Part",workspace,{Size=Vector3.new(1,1,1);CanCollide=false;Anchored=true;CFrame=part.CFrame})
- msh=new("SpecialMesh",p,{Scale=Vector3.new(1.2,.5,.5);MeshId='rbxassetid://9756362';TextureId='rbxassetid://25701026';VertexColor=GetDiscoColor(i/10+1.2)})
- table.insert(efxs,p)
- end
- for i=1,50 do wait()
- Num=Num+.1
- for i,v in pairs(efxs)do
- if(i<7)then
- v.CFrame = clerp(v.CFrame,cf(part.CFrame.p)*cf(0,-math.sin(Num)*3,0)*ca(0,1.55+Num+math.rad(360/6)*i,0)*cf(3,0,0),.1)
- else
- v.CFrame = clerp(v.CFrame,cf(part.CFrame.p)*cf(0,math.sin(Num)*3,0)*ca(0,-Num+math.rad(360/6)*i,0)*cf(3,0,0),.1)
- end
- end
- end
- for i=1,10 do wait()
- for i,v in pairs(efxs)do
- ClrLerp(v.Mesh,Vector3.new(0,0,0),.3)
- v.Mesh.Scale=v.Mesh.Scale+Vector3.new(-.15,0,0)
- end
- end
- for i,v in pairs(efxs)do
- v:Destroy()
- end
- efxs={}
- end
- local GetPlrs = function(Msg)
- local R = {}
- if Msg:lower() == "all" then
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- table.insert(R, v)
- end
- else
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Name:lower():sub(1 ,#Msg)==Msg:lower() then
- table.insert(R, v)
- end
- end
- end
- return R
- end
- local AddCmd = function(Name, Usage, Description, Function)
- cmds[Name] = {Name = Name, Usage = Usage, Description = Description, Function = Function}
- end
- local fixcol = function()
- for i=1,#pt do pt[i].BrickColor = bc("Really black") end
- end
- local np = function(sz,col)
- local new = new("Part",workspace,{Size=Vector3.new(0,sz,0);BrickColor=BrickColor.new(col);CanCollide=false;Anchored=true;Locked=true;Name="adpart"})
- return new
- end
- local pointa = function(var)
- if var == true then
- if armloop == false then
- armloop=true
- end
- else
- armloop=false
- ch['Right Arm'].Anchored = false
- armw.Parent = ch.Torso
- end
- end
- local fixspeed = function(spd)
- repeat wait() speed = speed + .025 until speed >= spd
- end
- local make = function()
- for i=1,6 do
- local a = np(1.2,"Really black")
- table.insert(pt,a)
- local a1 = np(1.4,"Black")
- table.insert(pt2,a1)
- local a2 = np(1.4,"Black")
- table.insert(pt2,a2)
- table.insert(pt3,a)
- table.insert(pt3,a1)
- table.insert(pt3,a2)
- end
- end
- --cmds--
- AddCmd('Kill','kill','Kills <player>',function(Spkr,Msg)
- for _,player in next,GetPlrs(Msg)do
- spawn(function()
- notif(player.Name.." was killed.")
- efx(player.Character.Torso)
- player.Character:BreakJoints()
- end)
- end
- end)
- AddCmd('Kick','kick','Kicks <player>',function(Spkr,Msg)
- for _,player in next,GetPlrs(Msg)do
- spawn(function()
- notif(player.Name.." was kicked.")
- efx(player.Character.Torso)
- player:Destroy()
- end)
- end
- end)
- AddCmd('Teleport','tp', 'teleport <player1> to <player2>',function(args)
- local players1=getPlayer(args[1])
- local players2=getPlayer(args[2])
- if not players2[1] then return end
- for i,v in pairs(players1) do
- if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
- _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
- end
- end
- end)
- AddCmd('God','god','Gods <player>',function(Spkr,Msg)
- for _,player in next,GetPlrs(Msg)do
- spawn(function()
- notif(player.Name.." was godded.")
- efx(player.Character.Torso)
- player.Character.Humanoid.MaxHealth=1e1000
- end)
- end
- end)
- AddCmd('UnGod','ungod','UnGods <player>',function(Spkr,Msg)
- for _,player in next,GetPlrs(Msg)do
- spawn(function()
- notif(player.Name.." was ungodded.")
- efx(player.Character.Torso)
- player.Character.Humanoid.MaxHealth=100
- end)
- end
- end)
- AddCmd('ForceField','ff','ForceFields <player>',function(Spkr,Msg)
- for _,player in next,GetPlrs(Msg)do
- spawn(function()
- notif(player.Name.." was given a forcefield.")
- efx(player.Character.Torso)
- Instance.new("ForceField",player.Character).Name="j_ff"
- end)
- end
- end)
- AddCmd('ForceField','unff','UnForceFields <player>',function(Spkr,Msg)
- for _,player in next,GetPlrs(Msg)do
- spawn(function()
- notif(player.Name.."'s forcefield was removed.")
- efx(player.Character.Torso)
- player.Character:findFirstChild("j_ff"):Destroy()
- end)
- end
- end)
- AddCmd('Song','sng','Plays <song>',function(Spkr,Msg)
- notif(Msg.." was played.")
- spawn(function()
- if not game:service"Workspace":FindFirstChild("jbcv_sound") then
- local jbcv_sond=Instance.new("Sound",game:service"Workspace")
- jbcv_sond.Name="jbcv_sound"
- jbcv_sond.Looped=true
- jbcv_sond.Volume=1
- end
- local sond=game:service"Workspace":FindFirstChild("jbcv_sound")
- sond.Volume=0
- sond.Pitch=0
- sond:Stop()
- wait()
- sond.SoundId="rbxassetid://"..Msg
- sond.Volume=1
- sond.Pitch=1
- sond:Play()
- end)
- end)
- AddCmd('Stop','stop','Stops <song>',function(Spkr,Msg)
- notif("Song was stopped.")
- local sond=game:service"Workspace":FindFirstChild("jbcv_sound")
- sond.Volume=0
- sond.Pitch=0
- sond:Stop()
- end)
- AddCmd('ShowLogs','clogs','Shows the chat logs for the server',function(Spkr,Msg)
- notif("Showing chatlogs.")
- makelist("ChatLogs",clogs)
- end)
- AddCmd('Commands','cmds','Shows a list of admin commands.',function(Spkr,Msg)
- notif("Showing commands.")
- local cmdtab = {}
- for i,v in pairs(cmds) do
- table.insert(cmdtab," "..v.Name.." Usage:"..v.Usage)
- end
- makelist("Commands",cmdtab)
- end)
- lp:GetMouse().Button1Down:connect(function()
- fixcol()
- if mode == "select" then
- so('233091183',ch.Torso,false,.8)
- if slct == 1 then
- pointa(false)
- mode = "origin"
- speed = .1
- fixspeed(1)
- return
- elseif slct == 2 then
- pointa(false)
- mode = "ghost"
- speed = .1
- fixspeed(1)
- return
- elseif slct == 3 then
- pointa(false)
- mode = "float"
- speed = .1
- fixspeed(1)
- return
- elseif slct == 4 then
- mode = "kenisis"
- speed = .1
- fixspeed(1)
- return
- elseif slct == 5 then
- pointa(false)
- mode = "saw"
- speed = .1
- fixspeed(1)
- return
- elseif slct == 6 then
- pointa(false)
- mode = "lightning"
- speed = .1
- fixspeed(1)
- return
- end
- elseif mode == "ghost" then
- so('200633455',ch.Torso,false,1)
- mode = "light"
- speed = .1
- fixspeed(1)
- elseif mode == "lightning" then
- so('228343249',ch.Torso,false,.9)
- color=GetDiscoColor(tick()*.5)
- Lightning(guide.CFrame.p,lp:GetMouse().hit.p,math.random(5,10),math.random(-2.5,2.5),color,1.5)
- explosion(color,GetDiscoColor(tick()*.3),CFrame.new(lp:GetMouse().hit.p),Vector3.new(30,30,30),20)
- elseif mode == "kenisis" then
- if lp:GetMouse().Target~=nil and grab == nil then
- if lp:GetMouse().Target.ClassName=="Part" and lp:GetMouse().Target.Name~="Base" then
- gdist = -(ch:findFirstChild("Right Arm").Position - lp:GetMouse().Target.CFrame.p).magnitude
- grab=lp:GetMouse().Target
- local dis = (ch:findFirstChild("Head").Position - workspace.CurrentCamera.CoordinateFrame.p).magnitude
- lp.CameraMaxZoomDistance = dis
- lp.CameraMinZoomDistance = dis
- end
- end
- elseif mode == "float" then
- so('233856106',ch.Torso,false,.9)
- mode = "fly"
- bg=Instance.new("BodyGyro",ch.Torso)
- bv=Instance.new("BodyVelocity",ch.Torso)
- bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
- bv.maxForce = Vector3.new(99e3,99e3,99e3)
- if(ch.Humanoid.Sit ~= true)then ch.Humanoid.PlatformStand = true end
- speed = .1
- fixspeed(1)
- elseif mode == "origin" then
- tim = game:service'RunService'.Stepped:wait()
- if (tim - c2timer < .2) then
- c2timer = tim
- speed = .15
- send = lp:GetMouse().Hit.p
- mode = "tele"
- wait(.2)
- so('161006033',ch.Torso,false,.9)
- ch.Torso.CFrame = cf(send)*cf(0,3,0)*ca(0,ch.Torso.Rotation.Y,0)
- speed = .05
- mode="origin"
- fixspeed(1)
- else
- wait(.15)
- end
- c2timer = tim
- end
- end)
- lp:GetMouse().Button2Down:connect(function()
- if mode == "kenisis" and grab then
- tim = game:service'RunService'.Stepped:wait()
- if (tim - c2timer < .2) then
- so('235097661',ch.Torso,false,1)
- local shot = grab
- grab=nil
- shot.Velocity=(lp:GetMouse().Hit.p-ch["Right Arm"].Position).unit*375
- else
- wait(.15)
- end
- c2timer = tim
- end
- end)
- lp:GetMouse().Button1Up:connect(function()
- if mode == "fly" then
- mode = "float"
- so('233856106',ch.Torso,false,.8)
- bg:Destroy()
- bv:Destroy()
- ch.Humanoid.PlatformStand = false
- ch.Torso.CFrame = cf(ch.Torso.CFrame.X,ch.Torso.CFrame.Y,ch.Torso.CFrame.Z)*ca(0,ch.Torso.Rotation.Y,0)
- speed = .1
- fixspeed(1)
- elseif mode == "light" then
- so('200633455',ch.Torso,false,.9)
- mode = "ghost"
- speed = .1
- fixspeed(1)
- elseif mode == "kenisis" then
- grab = nil
- lp.CameraMaxZoomDistance = 400
- lp.CameraMinZoomDistance = 0.5
- end
- end)
- lp:GetMouse().KeyDown:connect(function(k)
- k = k:lower()
- if k == "e" and mode ~= "select" and mode ~= "fly" and mode ~= "light" then
- so('233091183',ch.Torso,false,.9)
- pointa(true)
- mode = "select"
- slct = 1
- speed = .1
- fixspeed(1)
- elseif string.byte(k) == 49 then
- textbox:CaptureFocus()
- end
- end)
- lp:GetMouse().WheelForward:connect(function()
- if mode =="kenisis" then
- gdist = gdist - 10
- end
- end)
- lp:GetMouse().WheelBackward:connect(function()
- if mode =="kenisis" then
- if gdist < -5 then
- gdist = gdist + 10
- end
- end
- end)
- guide = new("Part",workspace,{Size=Vector3.new(2,0,2);BrickColor=BrickColor.new("");CanCollide=false;Anchored=true;Locked=true;Transparency=1})
- pl = new("PointLight",guide,{Color=BrickColor.new("Really black").Color;Range=0})
- light = new("Fire",guide,{Size=3;Heat=0;Enabled=false})
- BP=new("BodyPosition",nil,{maxForce=Vector3.new(9990000, 9990000, 9990000);position=Vector3.new(0,0,0)})
- make()
- local curplrs = game.Players:GetPlayers()
- for i,v in pairs(curplrs) do
- v.Chatted:connect(function(m)
- table.insert(clogs,"["..v.Name.."]: "..m)
- end)
- end
- game:service"Players".ChildAdded:connect(function(p)
- if p.ClassName == "Player" then
- notif(p.Name.." has joined the server.")
- p.Chatted:connect(function(m)
- table.insert(clogs,"["..p.Name.."]: "..m)
- end)
- end
- end)
- game:service"Players".ChildRemoved:connect(function(p)
- if p.ClassName == "Player" then
- notif(p.Name.." has left the server.")
- end
- end)
- game:service("RunService").Stepped:connect(function()
- ch = lp.Character
- bcount = 0
- for i=1,#pt do
- bcount = bcount + 2
- if mode == "origin" then
- count = count + .0025
- if i <= 3 then
- pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*ca(0,count+rad(360/3)*i,0)*cf(2,-3,0)*ca(-pi/2,0,0),speed)
- else
- pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*ca(0,-count-rad(360/3)*i,0)*cf(2.3,-3,0)*ca(pi/2,pi,0),speed)
- end
- elseif mode == "tele" then
- pt[i].CFrame = clerp(pt[i].CFrame,cf(send)*ca(0,0,pi/2)*ca(-count-rad(360/6)*i,0,0)*cf(0,3,0)*ca(pi/2,-pi/2,0),speed)
- elseif mode == "select" then
- guide.CanCollide=false
- ch.Humanoid.MaxHealth = 100
- ch.Humanoid.WalkSpeed=16
- pt[i].CFrame = clerp(pt[i].CFrame,ch.Torso.CFrame*ca(0,rad(-15)+rad(360/12)*i,0)*cf(5,0,0)*ca(pi/2,pi,0),speed)
- if lp:GetMouse().Target == pt[i] then
- if i == 1 then
- pt[i].BrickColor = bc("")
- slct = i
- elseif i == 2 then
- pt[i].BrickColor = bc("Really black")
- slct = i
- elseif i == 3 then
- pt[i].BrickColor = bc("Really black")
- slct = i
- elseif i == 4 then
- pt[i].BrickColor = bc("Really black")
- slct = i
- elseif i == 5 then
- pt[i].BrickColor = bc("Really black")
- slct = i
- elseif i == 6 then
- pt[i].BrickColor = bc("Really black")
- slct = i
- end
- else
- pt[i].BrickColor = bc("Really black")
- end
- elseif mode == "float" then
- guide.CanCollide=true
- count = count + .02
- local goto = ch.Torso.CFrame*CFrame.new(0,-3,0)
- if Vector3.new(0, ch.Torso.Velocity.y, 0).magnitude > 5 then
- guide.CFrame=CFrame.new(goto.X,goto.Y,goto.Z)
- else
- guide.CFrame=CFrame.new(goto.X,guide.CFrame.Y,goto.Z)
- end
- if i <= 3 then
- pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*ca(0,count+rad(360/3)*i,0)*cf(4,-3,0)*ca(pi/2,pi-rad(30),0),speed)
- else
- pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*ca(0,-count-rad(360/3)*i,0)*cf(4.3,-3,0)*ca(pi/2,pi+rad(30),0),speed)
- end
- elseif mode == "kenisis" then
- count = count + .02
- if grab ~= nil then
- light.Enabled=true
- BP.Parent=grab
- a= ch["Right Arm"].CFrame*CFrame.new(0,gdist,0)*CFrame.Angles(math.rad(90),0,-math.rad(180))
- BP.position=a.p
- else
- BP.Parent=nil
- light.Enabled=false
- end
- light.Color = bc("Really black").Color
- guide.CFrame=ch['Right Arm'].CFrame*cf(0,-1.5,0)
- local goto = ch.Torso.CFrame*CFrame.new(0,-3,0)
- if i <= 3 then
- pt[i].CFrame = clerp(pt[i].CFrame,ch['Right Arm'].CFrame*ca(0,count+rad(360/3)*i,0)*cf(.5,-1,0)*ca(pi/2,pi-rad(130),0),speed)
- else
- pt[i].CFrame = clerp(pt[i].CFrame,ch['Right Arm'].CFrame*ca(0,-count-rad(360/3)*i,0)*cf(.7,-1,0)*ca(pi/2,pi-rad(130),0),speed)
- end
- elseif mode == "ghost" then
- local ff = new("ForceField",ch)
- ch.Humanoid.MaxHealth = 100000
- ch.Humanoid.Health = 100000
- game.Debris:AddItem(ff,.001)
- light.Enabled=false
- ch.Humanoid.WalkSpeed=35
- pl.Range=0
- count = count + .005
- if i <= 3 then
- pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*cf(0,-math.sin(count)*3,0)*ca(0,1.55+count+math.rad(360/3)*i,0)*cf(3,0,0)*ca(0,pi,0),speed)
- else
- pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*cf(0,math.sin(count)*3,0)*ca(0,-count+math.rad(360/3)*i,0)*cf(3,0,0)*ca(0,pi,0),speed)
- end
- ypcall(function()
- ch.Torso.CanCollide = false
- ch.Head.CanCollide = false
- end)
- elseif mode == "light" then
- ch.Humanoid.MaxHealth = 100
- ch.Humanoid.WalkSpeed=16
- guide.CFrame = CFrame.new(ch.Torso.CFrame.p)*CFrame.new(0,7,0)
- light.Enabled=true
- light.Color = bc("Really black").Color
- pl.Range=60
- count = count + .005
- if i <= 3 then
- pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*cf(0,7,0)*ca(count,count,count+math.rad(360/3)*i)*cf(1.5,0,0),speed)
- else
- pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*cf(0,7,0)*ca(count+1.1,count,count+math.rad(360/3)*i)*cf(2.25,0,0)*ca(0,0,0),speed)
- end
- ypcall(function()
- ch.Torso.CanCollide = false
- ch.Head.CanCollide = false
- end)
- elseif mode == "fly" then
- guide.CanCollide=false
- Direction = CFrame.new(ch.Torso.Position,lp:GetMouse().Hit.p)
- bg.cframe = Direction*CFrame.Angles(-1.55,0,0)
- bv.velocity = lp:GetMouse().Hit.lookVector*50
- count = count + .01
- if i <= 3 then
- pt[i].CFrame = clerp(pt[i].CFrame,ch.Torso.CFrame*ca(0,count+rad(360/3)*i,0)*cf(2,-3,0)*ca(pi/2,rad(30),0),speed)
- else
- pt[i].CFrame = clerp(pt[i].CFrame,ch.Torso.CFrame*ca(0,-count-rad(360/3)*i,0)*cf(2,3,0)*ca(pi/2,-rad(30),0),speed)
- end
- elseif mode == "saw" then
- count = count + .015
- local part = pt[i]
- part.CFrame = clerp(pt[i].CFrame,ch.Torso.CFrame*ca(-count-rad(360/6)*i,0,0)*cf(0,3,0)*ca(pi/2,-pi/2,0),speed)
- local shootpos = pt[i].CFrame*cf(-2,0,0)
- local startpos = pt[i].CFrame*cf(-1.2,0,0)
- local ray = Ray.new(startpos.p,(shootpos.p - startpos.p).unit*2)
- local hit,position = game.Workspace:FindPartOnRayWithIgnoreList(ray,ignore)
- if hit then
- frag(hit)
- end
- elseif mode == "lightning" then
- count = count + .015
- guide.CFrame = cf(ch.Torso.CFrame.p)*CFrame.new(0,7,0)
- guide.CFrame = CFrame.new(guide.CFrame.p,lp:GetMouse().Hit.p)
- if i <= 3 then
- pt[i].CFrame = clerp(pt[i].CFrame,guide.CFrame*ca(-pi/2,count+rad(360/3)*i,0)*cf(1.7,0,0)*ca(pi/2,0,0),speed)
- else
- pt[i].CFrame = clerp(pt[i].CFrame,guide.CFrame*ca(-pi/2,-count-rad(360/3)*i,0)*cf(2,0,0)*ca(pi/2,-rad(30),0),speed)
- end
- end
- ignore = {}
- if bcount < 13 then
- pt2[bcount-1].CFrame = pt[i].CFrame *cf(-0.8,-0.5,0)*ca(0,0,rad(60))
- pt2[bcount].CFrame = pt[i].CFrame *cf(-0.8,0.5,0)*ca(0,0,-rad(60))
- end
- table.insert(ignore,pt2[bcount-1])
- table.insert(ignore,pt2[bcount])
- end
- if armloop then
- if ch.Torso:findFirstChild("Right Shoulder") then
- armw = ch.Torso:findFirstChild("Right Shoulder")
- armw.Parent = nil
- end
- ch['Right Arm'].Anchored = true
- local p0 = ch.Torso.CFrame
- p0 = p0 + ((p0 * ca(pi/-2,0,0)).lookVector * -0.5) + (p0 * ca(0,pi/-2,0)).lookVector
- local p1 = p0 + ((p0.p-lp:GetMouse().Hit.p).unit * -2)
- ch['Right Arm'].CFrame = cf((p0.p + p1.p)/2,p0.p) * ca(-math.pi/2,0,0)
- end
- for i,v in pairs(pt3) do
- if v.Parent ~= workspace then
- for i=1,#pt3 do game.Debris:AddItem(pt3[i],.1) end
- pt3 = {}
- pt2 = {}
- pt = {}
- make()
- end
- end
- if not lp.PlayerGui:findFirstChild("JL_gui") then
- makeg()
- end
- if guide.Parent ~= workspace then
- guide = new("Part",workspace,{Size=Vector3.new(2,0,2);BrickColor=BrickColor.new("");CanCollide=false;Anchored=true;Locked=true;Transparency=1})
- pl = new("PointLight",guide,{Color=BrickColor.new("Really black").Color;Range=0})
- light = new("Fire",guide,{Size=3;Heat=0;Enabled=false})
- end
- if textlabel_2 then
- textlabel_2.Text = "FPS: "..math.floor(1/wait()*2)
- end
- end)
- efx(lp.Character.Torso)
- wait(.1)
- notif("JarLore Version"..version.." has successfully loaded.")
- wait(2)
- notif("You may start by pressing [L-CTRL] to focus.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement