Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ What this is;
- It's a gui that all you have to do is put new button names/functions into the table and it'll automatically create and place buttons for you.
- ]]--
- --THIS IS NOT DONE, I'M JUST RELEASING EVERYTHING I MAKE HERE--
- --I'm starting to do join.me's of every script I make, so people can see how I do stuff and maybe learn off it--
- --Made by Scapter i take no credit!--
- --Create The Gui--
- local Main = Instance.new("ScreenGui", game.CoreGui) --Parent to CoreGui when done.
- Main.Name = "Scap_Guiv2"
- local Frame1 = Instance.new("ScrollingFrame", Main)
- Frame1.Size = UDim2.new(0,500,0,500)
- Frame1.BackgroundTransparency = 0.3
- Frame1.Position = UDim2.new(-0.43,-500,0.5,-250)
- Frame1.BackgroundColor3 = Color3.new(0/255,223/255,0/255)
- Frame1.BorderColor3 = Color3.new(255/255,255/255,255/255)
- Frame1.BorderSizePixel = 2
- Frame1.ScrollBarThickness = 8
- Frame1.CanvasSize = UDim2.new(0,0,3,0)
- Frame1.ZIndex = 2
- local Label = Instance.new("TextLabel", Frame1)
- Label.Name = "1"
- Label.Size = UDim2.new(1,0,0,35)
- Label.BackgroundTransparency = 1
- Label.Text = "Functions/Scripts"
- Label.Font = "SourceSansBold"
- Label.FontSize = "Size24"
- Label.TextColor3 = Color3.new(255/255,255/255,255/255)
- Label.ZIndex = 2
- local WaterMark = Instance.new("ImageLabel", Main)
- WaterMark.Image = "http://www.roblox.com/asset/?id=399174577"
- WaterMark.Size = UDim2.new(0,300,0,100)
- WaterMark.Position = Frame1.Position-UDim2.new(-0.43,0,0,0)
- WaterMark.BackgroundTransparency = 1
- WaterMark.ZIndex = 2
- local PlayerList = Instance.new("ScrollingFrame", Main)
- PlayerList.Size = UDim2.new(0,350,0,500)
- PlayerList.Position = UDim2.new(-0.8,-500,0.5,-250)
- PlayerList.BackgroundColor3 = Color3.new(0/255,223/255,0/255)
- PlayerList.BorderColor3 = Color3.new(255/255,255/255,255/255)
- PlayerList.BorderSizePixel = 2
- PlayerList.ScrollBarThickness = 8
- PlayerList.BackgroundTransparency = 0.3
- PlayerList.CanvasSize = UDim2.new(0,0,3,0)
- PlayerList.ZIndex = 2
- local Player = Instance.new("TextLabel", PlayerList)
- Player.Name = "1"
- Player.Size = UDim2.new(1,0,0,35)
- Player.BackgroundTransparency = 1
- Player.Text = "PlayerList"
- Player.Font = "SourceSansBold"
- Player.FontSize = "Size24"
- Player.TextColor3 = Color3.new(255/255,255/255,255/255)
- Player.ZIndex = 2
- local Open = false
- local Open_Close = Instance.new("ImageButton", Main)
- Open_Close.BackgroundTransparency = 1
- Open_Close.Image = "http://www.roblox.com/asset/?id=396985510"
- Open_Close.Rotation = -45
- Open_Close.Size = UDim2.new(0,50,0,50)
- Open_Close.Position = UDim2.new(0,0,0.6,0)
- Open_Close.ZIndex = 2
- function CreateLeafs()
- game["Run Service"].RenderStepped:connect(function()
- wait(0.03)
- if Open then
- local p = Instance.new("ImageLabel", Main)
- p.BackgroundTransparency = 1
- p.Name = "Leaf"
- p.Image = "http://www.roblox.com/asset/?id=396985510"
- p.Position = UDim2.new(0,math.random(0,3000),0,0)
- local size = math.random(20,80)
- p.Size = UDim2.new(0,size,0,size)
- for _,v in pairs(Main:GetChildren()) do
- if v.Name == "Leaf" then
- if v.Position.Y.Offset > 900 then
- v:Destroy()
- end
- v.Rotation = v.Rotation + 0.5
- v.Position = v.Position+UDim2.new(0,0,0,2)
- end
- end
- end
- end)
- end
- function DestroyLeafs()
- for _,v in pairs(Main:GetChildren()) do
- if v.Name == "Leaf" then
- v:Destroy()
- end
- end
- end
- --End Gui Creation
- --Tables--
- local Banned = {}
- local PlayerTabs = {
- Sound = function() local function check(parent)
- for i,v in pairs(parent:GetChildren())do
- if v:IsA("Sound")then
- v.Volume = 0
- v:Destroy()
- end
- check(v)
- end
- end
- check(game.Workspace)
- local Sound = Instance.new("Sound", game.Workspace)
- Sound.Name = "Musickek"
- Sound.Volume = 10
- Sound.Looped = true
- Sound.SoundId = "http://www.roblox.com/asset/?id="..Frame1.SoundBox.Text
- Sound:Play() end,
- Follow = function() local RobloxReplicatedStorage = game:GetService('RobloxReplicatedStorage') local RemoteEvent_NewFollower = RobloxReplicatedStorage:WaitForChild('NewFollower') RemoteEvent_NewFollower:FireServer(game.Players[Frame1.FollowBox.Text], true) end,
- UnFollow = function() local RobloxReplicatedStorage = game:GetService('RobloxReplicatedStorage') local RemoteEvent_NewFollower = RobloxReplicatedStorage:WaitForChild('NewFollower') RemoteEvent_NewFollower:FireServer(game.Players[Frame1.UnFollowBox.Text], false) end,
- Friend = function() game.Players.LocalPlayer:RequestFriendship(game.Players[Frame1.FriendBox.Text]) end,
- UnFriend = function() game.Players.LocalPlayer:RevokeFriendship(game.Players[Frame1.FriendBox.Text]) end,
- Report = function() game.Players:ReportAbuse(game.Players[Frame1.ReportBox.Text], "Exploiting", "Cuz y not") end,
- Ban = function() table.insert(Banned, Frame1.BanBox.Text) game.Players[Frame1.BanBox.Text]:Destroy() end,
- UnBan = function() table.remove(Banned, Frame1.UnBanBox.Text) end,
- God = function() game.Players[Frame1.GodBox.Text].Character.Humanoid.MaxHealth = math.huge end,
- UnGod = function() game.Players[Frame1.UnGodBox.Text].Character.Humanoid.MaxHealth = 100 end,
- ForceField = function() Instance.new("ForceField", game.Players[Frame1.ForceFieldBox.Text].Character) end,
- UnForceField = function() if game.Players[Frame1.UnForceFieldBox.Text].Character:FindFirstChild("ForceField") then game.Players[Frame1.UnForceFieldBox.Text].Character.ForceField:Destroy() end end,
- }
- local Scripts = {
- ["Clear Terrain"] = function() game.Workspace.Terrain:Clear() end,
- ["Kick Others"] = function() for _,v in pairs(game.Players:GetChildren()) do if v.Name ~= game.Players.LocalPlayer.Name then v:Destroy() end end end,
- Shutdown = function() for _,v in pairs(game.Players:GetChildren()) do v:Destroy() end end,
- ["Grim Reaper"] = function() Bp = game.Players.LocalPlayer.Backpack
- jun = Bp.Parent
- local o = 0
- BlastRing = Instance.new("Part")
- BlastRing.Parent = game.Lighting
- BlastRing.Name = "BlastRing"
- BlastRing.formFactor = "Symmetric"
- BlastRing.Size = Vector3.new(0, 0, 0)
- BlastRing.CanCollide = false
- BlastRing.TopSurface = "Smooth"
- BlastRing.BottomSurface = "Smooth"
- BlastRing.BrickColor = BrickColor.new("Really red")
- BlastRing.Reflectance = 0
- BlastRing.Anchored = true
- Mesh2 = Instance.new("SpecialMesh")
- Mesh2.Parent = BlastRing
- Mesh2.MeshType = "FileMesh"
- Mesh2.MeshId = "http://www.roblox.com/Asset/?id=9982590"
- Mesh2.Scale = Vector3.new(1, 1, 1)
- ExsplosionRing = Instance.new("Part")
- ExsplosionRing.Parent = game.Lighting
- ExsplosionRing.Name = "Explosion Ring"
- ExsplosionRing.formFactor = "Symmetric"
- ExsplosionRing.Size = Vector3.new(0, 0, 0)
- ExsplosionRing.CanCollide = false
- ExsplosionRing.TopSurface = "Smooth"
- ExsplosionRing.BottomSurface = "Smooth"
- ExsplosionRing.BrickColor = BrickColor.new("Black")
- ExsplosionRing.Transparency = 0.3
- ExsplosionRing.Reflectance = 0
- ExsplosionRing.Anchored = true
- Mesh3 = Instance.new("SpecialMesh")
- Mesh3.Parent = ExsplosionRing
- Mesh3.MeshType = "FileMesh"
- Mesh3.MeshId = "http://www.roblox.com/Asset/?id=20329976"
- Mesh3.Scale = Vector3.new(1, 1, 1)
- Mesh3.Offset = Vector3.new(0,-2,0)
- jun.Character.Humanoid.WalkSpeed = 0
- blastring2 = BlastRing:clone()
- blastring2.Parent = jun.Character
- blastring2.Position = jun.Character.Torso.Position
- blastring2.BrickColor = BrickColor.new("Really red")
- blastring2.Transparency = 0.5
- blastring2.Reflectance = 0
- mk = Instance.new("Sound",blastring2)
- mk.Volume = 1
- mk.SoundId = "http://www.roblox.com/Asset?ID=211422742"
- mk:Play()
- c = Instance.new("Sound",blastring2)
- c.Volume = 1
- c.SoundId = "http://www.roblox.com/Asset?ID=244578827"
- c:Play()
- for i = 1, 50 do
- wait(0.03)
- blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
- blastring2.Transparency = blastring2.Transparency + 0.01
- end
- blastring3 = ExsplosionRing:clone()
- blastring3.Parent = jun.Character
- blastring3.Position = jun.Character.Torso.Position
- blastring3.BrickColor = BrickColor.new("Black")
- blastring3.Transparency = 0.3
- blastring3.Reflectance = 0
- p = Instance.new("Sound",blastring3)
- p.Volume = 1
- p.SoundId = "http://www.roblox.com/Asset?ID=180120107"
- for i = 1, 50 do
- wait(0.03)
- blastring3.Mesh.Scale = blastring3.Mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
- blastring3.Transparency = blastring3.Transparency + 0.01
- end
- c:Stop()
- wait(.5)
- mk:Stop()
- p:Play()
- blastring2:remove()
- blastring3:Destroy()
- game.Players.LocalPlayer.Character.Torso.BrickColor = BrickColor.new("Dark stone grey")
- game.Players.LocalPlayer.Character['Right Arm'].BrickColor = BrickColor.new("Dark stone grey")
- game.Players.LocalPlayer.Character['Left Arm'].BrickColor = BrickColor.new("Dark stone grey")
- game.Players.LocalPlayer.Character['Right Leg'].BrickColor = BrickColor.new("Dark stone grey")
- game.Players.LocalPlayer.Character['Left Leg'].BrickColor = BrickColor.new("Dark stone grey")
- game.Players.LocalPlayer.Character.Head.BrickColor = BrickColor.new("Dark stone grey")
- game.Players.LocalPlayer.Character["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
- game.Players.LocalPlayer.Character["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
- game.Players.LocalPlayer.Character["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
- game.Players.LocalPlayer.Character["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
- game.Players.LocalPlayer.Character["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
- game.Players.LocalPlayer.Character["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v.ClassName == "Hat" then
- v:Destroy()
- end
- end
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v.ClassName == "Shirt" then
- v:Destroy()
- end
- end
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v.ClassName == "Pants" then
- v:Destroy()
- end
- end
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v.ClassName == "ShirtGraphic" then
- v:Destroy()
- end
- end
- st = Instance.new("Shirt",game.Players.LocalPlayer.Character)
- st.ShirtTemplate = "http://www.roblox.com/asset/?id=146541677"
- pt = Instance.new("Pants",game.Players.LocalPlayer.Character)
- pt.PantsTemplate = "http://www.roblox.com/asset/?id=146542180"
- sg = Instance.new("ShirtGraphic",game.Players.LocalPlayer.Character)
- sg.Graphic = "http://www.roblox.com/asset/?id=273262785"
- game:GetObjects("rbxassetid://16469427")[1].Parent=game.Players.LocalPlayer.Character
- wait(.5)
- game:GetObjects("rbxassetid://133553855")[1].Parent=game.Players.LocalPlayer.Character
- wait(.5)
- game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 21e8
- wait(.5)
- game.Players.LocalPlayer.Character.Humanoid.Health = 21e8
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
- bill = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
- bill.Size = UDim2.new(4, 0, 4.5, 0)
- bill.AlwaysOnTop = true
- label = Instance.new("TextLabel", bill)
- label.Size = UDim2.new(2, 0, 1, 0)
- label.Position = UDim2.new(-0.5, 0, -0.5, 0)
- label.BackgroundTransparency = 1
- label.FontSize = "Size14"
- label.TextColor3 = Color3.new(170, 0, 0)
- label.TextStrokeColor3 = Color3.new(0 ,0 ,0)
- label.TextStrokeTransparency = 0
- label.Text = "Grim Reaper"
- Stick = Instance.new("Tool", Bp)
- Stick.Name = "Scythe"
- Stick.GripPos = Vector3.new(0,0.1,0.7)
- Stick.GripForward = Vector3.new(0.1,-1,0)
- Stick.GripRight = Vector3.new(-0.5,0.01,0)
- Stick.GripUp = Vector3.new(0,0,1)
- Stick.CanBeDropped = false
- Handle = Instance.new("Part", Stick)
- Handle.Name = "Handle"
- Handle.Size = Vector3.new(1, 1.2, 5)
- sm = Instance.new("SpecialMesh",Handle)
- sm.MeshId = "http://www.roblox.com/asset/?id=28140935"
- sm.TextureId = "http://www.roblox.com/asset/?id=27739981"
- a = Instance.new("Animation")
- a.Parent = game.Workspace
- a.Name = "Slash"
- a.AnimationId = "http://www.roblox.com/Asset?ID=28090109"
- v = Instance.new("StringValue")
- v.Parent = game.Players.LocalPlayer.Backpack.Scythe
- v.Name = "name"
- v.Value = "Slash"
- anime = Bp.Scythe.name.Value
- s = Instance.new("Sound",Stick)
- s.Volume = 1
- s.SoundId = "http://www.roblox.com/Asset?ID=220834000"
- q = Instance.new("Sound",Stick)
- q.Volume = 1
- q.SoundId = "http://www.roblox.com/Asset?ID=264486467"
- f = Instance.new("Sound",Stick)
- f.Volume = 1
- f.SoundId = "http://www.roblox.com/Asset?ID=178038408"
- z = Instance.new("Sound",Stick)
- z.Volume = 1
- z.SoundId = "http://www.roblox.com/Asset?ID=174048316"
- t = Instance.new("Sound",Stick)
- t.Volume = 1
- t.SoundId = "http://www.roblox.com/Asset?ID=151710120"
- gg = Instance.new("Sound",Stick)
- gg.Volume = 1
- gg.SoundId = "http://www.roblox.com/Asset?ID=142392721"
- l = Instance.new("Sound",Stick)
- l.Volume = 1
- l.SoundId = "http://www.roblox.com/Asset?ID=158012252"
- k = Instance.new("Sound",Stick)
- k.Volume = 1
- k.SoundId = "http://www.roblox.com/Asset?ID=148348789"
- j = Instance.new("Sound",Stick)
- j.Volume = 1
- j.SoundId = "http://www.roblox.com/Asset?ID=148348855"
- u = Instance.new("Sound",Stick)
- u.Volume = 1
- u.SoundId = "http://www.roblox.com/Asset?ID=151710118"
- i = Instance.new("Sound",Stick)
- i.Volume = 1
- i.SoundId = "http://www.roblox.com/Asset?ID=271787865"
- qq = Instance.new("Sound",Stick)
- qq.Volume = 1
- qq.SoundId = "http://www.roblox.com/Asset?ID=131076695"
- function onChatted(msg)
- if msg == "death" then
- for i,v in pairs(game.Players:GetChildren()) do
- v.Character.Humanoid.Health = v.Character.Humanoid.Health-1000
- end
- end
- end
- game.Players.LocalPlayer.Chatted:connect(onChatted)
- Bp.Scythe.Equipped:connect(function(m)
- f:Play()
- wait(4.5)
- z:Play()
- m.Button1Down:connect(function()
- hum = game.Players.LocalPlayer.Character.Humanoid
- anim_feet = hum:LoadAnimation(game.Workspace.Slash)
- current = anim_feet
- current:Play()
- s:Play()
- wait(.5)
- s:Play()
- wait(.5)
- s:Play()
- end)
- end)
- Bp.Scythe.Unequipped:connect(function(m)
- f:Stop()
- z:Stop()
- o = 0
- end)
- mouse = game.Players.LocalPlayer:GetMouse()
- function onKeyed(key)
- if key == "f" then
- left = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]
- for i = 1, 15 do
- left.C0 = left.C0 *CFrame.Angles(0,0,-0.1)
- wait(0.025)
- end
- de = Instance.new("Part", game.Players.LocalPlayer.Character["Left Arm"])
- de.Transparency = 1
- de.CanCollide = false
- de.CFrame = game.Players.LocalPlayer.Character["Left Arm"].CFrame*CFrame.new(0,-2,0)
- fe = Instance.new("Fire", de)
- fe.Color = Color3.new(0,0,0)
- fe.Heat = 5
- fe.SecondaryColor = Color3.new(90,90,90)
- fe.Size = 3
- be = Instance.new("BodyVelocity", de)
- be.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- be.velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*20
- for i = 1, 15 do
- left.C0 = left.C0 *CFrame.Angles(0,0,0.1)
- wait(0.025)
- end
- function onTouched(hit)
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- if (humanoid ~=nil) then
- hit.Parent.Humanoid.Health = 0
- de:Destroy()
- end
- end
- de.Touched:connect(onTouched)
- wait(15)
- de:Destroy()
- end
- end
- mouse.KeyDown:connect(onKeyed)
- mouse = game.Players.LocalPlayer:GetMouse()
- function onKeyed(key)
- if key == "g" then
- game.Players.LocalPlayer.Character["Right Arm"].Anchored = true
- game.Players.LocalPlayer.Character["Left Arm"].Anchored = true
- game.Players.LocalPlayer.Character["Right Leg"].Anchored = true
- game.Players.LocalPlayer.Character["Left Leg"].Anchored = true
- game.Players.LocalPlayer.Character.Torso.Anchored = true
- game.Players.LocalPlayer.Character.Head.Anchored = true
- for i = 1, 60 do
- Handle.CFrame = Handle.CFrame * CFrame.fromEulerAnglesXYZ(0,0.5,0)
- Handle.CFrame = Handle.CFrame * CFrame.new(0,-1.5,0)
- wait(0.02)
- end
- for i = 1, 60 do
- Handle.CFrame = Handle.CFrame * CFrame.fromEulerAnglesXYZ(0,-0.5,0)
- Handle.CFrame = Handle.CFrame * CFrame.new(0,1.5,0)
- wait(0.02)
- end
- wait(.5)
- game.Players.LocalPlayer.Character["Right Arm"].Anchored = false
- game.Players.LocalPlayer.Character["Left Arm"].Anchored = false
- game.Players.LocalPlayer.Character["Right Leg"].Anchored = false
- game.Players.LocalPlayer.Character["Left Leg"].Anchored = false
- game.Players.LocalPlayer.Character.Torso.Anchored = false
- game.Players.LocalPlayer.Character.Head.Anchored = false
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
- end
- end
- mouse.KeyDown:connect(onKeyed)
- local color1 = Color3.new(86, 86, 86)
- local color2 = Color3.new(255, 255, 255)
- local sequence = ColorSequence.new(color1,color2)
- function onTouch(part)
- local humanoid = part.Parent:findFirstChild("Humanoid")
- if (humanoid ~=nil) then
- if part.Parent.Name == game.Players.LocalPlayer.Name then
- print("Can't Kill Owner")
- else
- q:Play()
- z:Stop()
- pe = Instance.new("ParticleEmitter",part.Parent.Torso)
- pe.Texture = "http://www.roblox.com/asset/?id=251300537"
- pe.Acceleration = Vector3.new(0,-10,0)
- pe.Rate = 20
- pe.Color = sequence
- humanoid.Health = 0
- local g = part.Parent.Torso:findFirstChild("Ghost")
- if g then
- print('Ghost Already Exists')
- else
- o = o+1
- if o == 5 then
- l:Play()
- end
- if o == 1 then
- gg:Play()
- end
- if o == 3 then
- t:Play()
- end
- if o == 10 then
- k:Play()
- end
- if o == 15 then
- j:Play()
- end
- if o == 2 then
- u:Play()
- end
- if o == 8 then
- i:Play()
- end
- if o == 13 then
- qq:Play()
- end
- pe = Instance.new("Part",part.Parent.Torso)
- pe.Position = part.Parent.Torso.Position
- pe.Name = "Ghost"
- pe.CanCollide = false
- sp = Instance.new("SpecialMesh",pe)
- sp.MeshId = "http://www.roblox.com/asset/?id=64445076"
- sp.TextureId = "http://www.roblox.com/asset/?id=64445059"
- bv = Instance.new("BodyVelocity",pe)
- bv.velocity = Vector3.new(0,4,0)
- wait(1)
- pe:Destroy()
- end
- end
- end
- end
- Bp.Scythe.Handle.Touched:connect(onTouch)
- local mouse = game.Players.LocalPlayer:GetMouse()
- lp = game.Players.LocalPlayer
- lpc = game.Players.LocalPlayer.Character
- local shock = Instance.new("Sound", lpc["Left Arm"])
- shock.Volume = 1
- shock.SoundId = "http://www.roblox.com/asset/?id=184211520"
- fire = false
- fired = 0
- mouse.Button2Down:connect(function(click)
- orb = Instance.new("Part", lpc)
- orb.Name = "orb"
- orb.Shape = "Ball"
- orb.Size = Vector3.new(1.47, 1.47, 1.47)
- orb.BrickColor = BrickColor.new("Really black")
- orb.Transparency = 0.3
- local w = Instance.new("Weld", orb)
- w.Part0 = orb
- w.Part1 = lpc["Left Arm"]
- w.C0 = CFrame.new(0,1,0)
- fire = true
- while fire do
- fired = fired+1
- if fired == 30 then
- fired = 0
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v.Name == "strike" then
- v:Destroy()
- end
- end
- end
- wait(0)
- local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 300)
- local part, position = workspace:FindPartOnRay(ray, lp.Character, false, true)
- local strike = Instance.new("Part", workspace)
- strike.BrickColor = BrickColor.new("Really black")
- strike.FormFactor = "Custom"
- strike.Transparency = 0.25
- strike.Name = "strike"
- strike.BottomSurface = "Smooth"
- strike.TopSurface = "Smooth"
- strike.Anchored = true
- strike.Locked = true
- strike.CanCollide = false
- local distance = (orb.CFrame.p - position).magnitude
- strike.Size = Vector3.new(0.3, 0.3, distance)
- strike.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
- shock:Stop()
- shock:Play()
- game:GetService("Debris"):AddItem(strike, 0.1)
- if part then
- local humanoid = part.Parent:FindFirstChild("Humanoid")
- if not humanoid then
- humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
- end
- if humanoid then
- humanoid:TakeDamage(2)
- end
- end
- end
- end)
- mouse.Button2Up:connect(function(click)
- orb:Destroy()
- fire = false
- end) end,
- Cyborg = function() BlasterKey = "f"
- EyeLaserKey = "q"
- local lp = game.Players.LocalPlayer
- local lpc = lp.Character
- firable = false
- blast = false
- wait(0.05)
- lpc["Body Colors"].HeadColor = BrickColor.new("Institutional white")
- lpc["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
- lpc["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
- lpc["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
- lpc["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
- lpc["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
- for _,a in pairs(lpc:GetChildren()) do
- if lpc.Torso:FindFirstChild("roblox") then
- lpc.Torso.roblox:Destroy()
- end
- if a:IsA("Hat") or a:IsA("Shirt") or a:IsA("Pants") or a:IsA("ShirtGraphic")then
- a:Destroy()
- end
- end
- local shades = Instance.new("Part", lpc.Head)
- shades.Size = Vector3.new(0.8,0.2,0.2)
- shades.CanCollide = false
- shades.BrickColor = BrickColor.new("Bright green")
- shades.Position = lpc.Head.Position
- local sw = Instance.new("Weld", shades)
- sw.Part0 = shades
- sw.Part1 = lpc.Head
- sw.C0 = CFrame.new(0,-0.2,0.5)
- local outline = Instance.new("Part", lpc.Torso)
- outline.Size = Vector3.new(2.1,2.1,0.2)
- outline.CanCollide = false
- outline.BrickColor = BrickColor.new("Bright green")
- outline.Position = lpc.Torso.Position
- local olw = Instance.new("Weld", outline)
- olw.Part0 = outline
- olw.Part1 = lpc.Torso
- local shadeso = Instance.new("Part", lpc.Head)
- shadeso.Size = Vector3.new(0.85,0.25,0.25)
- shadeso.CanCollide = false
- shadeso.BrickColor = BrickColor.new("Really black")
- shadeso.Position = lpc.Head.Position
- local swo = Instance.new("Weld", shadeso)
- swo.Part0 = shadeso
- swo.Part1 = lpc.Head
- swo.C0 = CFrame.new(0,-0.2,0.45)
- local orb = Instance.new("Part", lpc.Torso)
- orb.Size = Vector3.new(0.5,0.5,0.5)
- orb.CanCollide = false
- orb.Shape = "Ball"
- orb.TopSurface = "Smooth"
- orb.BottomSurface = "Smooth"
- orb.BrickColor = BrickColor.new("Bright green")
- orb.Position = lpc.Torso.Position
- local swo = Instance.new("Weld", orb)
- swo.Part0 = orb
- swo.Part1 = lpc.Torso
- swo.C0 = CFrame.new(0,0,0.45)
- local shard1 = Instance.new("Part", lpc.Torso)
- shard1.Size = Vector3.new(0.2,0.45,0.2)
- shard1.CanCollide = false
- shard1.BrickColor = BrickColor.new("Bright green")
- shard1.Position = lpc.Torso.Position
- local s1 = Instance.new("Weld", shard1)
- s1.Part0 = shard1
- s1.Part1 = lpc.Torso
- s1.C0 = CFrame.new(0,-0.6,0.45)
- local shard2 = Instance.new("Part", lpc.Torso)
- shard2.Size = Vector3.new(0.2,0.45,0.2)
- shard2.CanCollide = false
- shard2.BrickColor = BrickColor.new("Bright green")
- shard2.Position = lpc.Torso.Position
- local s2 = Instance.new("Weld", shard2)
- s2.Part0 = shard2
- s2.Part1 = lpc.Torso
- s2.C0 = CFrame.new(0,0.6,0.45)
- local shard3 = Instance.new("Part", lpc.Torso)
- shard3.Size = Vector3.new(0.45,0.2,0.2)
- shard3.CanCollide = false
- shard3.BrickColor = BrickColor.new("Bright green")
- shard3.Position = lpc.Torso.Position
- local s3 = Instance.new("Weld", shard3)
- s3.Part0 = shard3
- s3.Part1 = lpc.Torso
- s3.C0 = CFrame.new(0.6,0,0.45)
- local shard4 = Instance.new("Part", lpc.Torso)
- shard4.Size = Vector3.new(0.45,0.2,0.2)
- shard4.CanCollide = false
- shard4.BrickColor = BrickColor.new("Bright green")
- shard4.Position = lpc.Torso.Position
- local s4 = Instance.new("Weld", shard4)
- s4.Part0 = shard4
- s4.Part1 = lpc.Torso
- s4.C0 = CFrame.new(-0.6,0,0.45)
- wait(0.05)
- local torb = Instance.new("Part", lpc.Torso)
- torb.Size = Vector3.new(0.5,0.5,0.5)
- torb.CanCollide = false
- torb.Shape = "Ball"
- torb.TopSurface = "Smooth"
- torb.BottomSurface = "Smooth"
- torb.BrickColor = BrickColor.new("Bright green")
- torb.Position = lpc.Torso.Position
- local swo = Instance.new("Weld", orb)
- swo.Part0 = torb
- swo.Part1 = lpc.Torso
- swo.C0 = CFrame.new(0,0,-0.45)
- local tshard1 = Instance.new("Part", lpc.Torso)
- tshard1.Size = Vector3.new(0.2,0.45,0.2)
- tshard1.CanCollide = false
- tshard1.BrickColor = BrickColor.new("Bright green")
- tshard1.Position = lpc.Torso.Position
- local ts1 = Instance.new("Weld", shard1)
- ts1.Part0 = tshard1
- ts1.Part1 = lpc.Torso
- ts1.C0 = CFrame.new(0,-0.6,-0.45)
- local tshard2 = Instance.new("Part", lpc.Torso)
- tshard2.Size = Vector3.new(0.2,0.45,0.2)
- tshard2.CanCollide = false
- tshard2.BrickColor = BrickColor.new("Bright green")
- tshard2.Position = lpc.Torso.Position
- local ts2 = Instance.new("Weld", shard2)
- ts2.Part0 = tshard2
- ts2.Part1 = lpc.Torso
- ts2.C0 = CFrame.new(0,0.6,-0.45)
- local tshard3 = Instance.new("Part", lpc.Torso)
- tshard3.Size = Vector3.new(0.45,0.2,0.2)
- tshard3.CanCollide = false
- tshard3.BrickColor = BrickColor.new("Bright green")
- tshard3.Position = lpc.Torso.Position
- local ts3 = Instance.new("Weld", tshard3)
- ts3.Part0 = tshard3
- ts3.Part1 = lpc.Torso
- ts3.C0 = CFrame.new(0.6,0,-0.45)
- local tshard4 = Instance.new("Part", lpc.Torso)
- tshard4.Size = Vector3.new(0.45,0.2,0.2)
- tshard4.CanCollide = false
- tshard4.BrickColor = BrickColor.new("Bright green")
- tshard4.Position = lpc.Torso.Position
- local ts4 = Instance.new("Weld", tshard4)
- ts4.Part0 = tshard4
- ts4.Part1 = lpc.Torso
- ts4.C0 = CFrame.new(-0.6,0,-0.45)
- local la1 = Instance.new("Part", lpc["Left Arm"])
- la1.CanCollide = false
- la1.BrickColor = BrickColor.new("Bright green")
- la1.Size = Vector3.new(1.1,2.1,0)
- la1.Position = lpc["Left Arm"].Position
- local la1w = Instance.new("Weld", lpc["Left Arm"])
- la1w.Part0 = la1
- la1w.Part1 = lpc["Left Arm"]
- local la2 = Instance.new("Part", lpc["Left Arm"])
- la2.CanCollide = false
- la2.BrickColor = BrickColor.new("Bright green")
- la2.Size = Vector3.new(0,2.1,1.1)
- la2.Position = lpc["Left Arm"].Position
- local la2w = Instance.new("Weld", lpc["Left Arm"])
- la2w.Part0 = la2
- la2w.Part1 = lpc["Left Arm"]
- local lao = Instance.new("Part", lpc["Left Arm"])
- lao.CanCollide = false
- lao.Shape = "Ball"
- lao.BrickColor = BrickColor.new("Bright green")
- lao.Size = Vector3.new(0.5,0.5,0.5)
- lao.TopSurface = "Smooth"
- lao.BottomSurface = "Smooth"
- la2.Position = lpc["Left Arm"].Position
- local laow = Instance.new("Weld", lpc["Left Arm"])
- laow.Part0 = lao
- laow.Part1 = lpc["Left Arm"]
- laow.C0 = CFrame.new(0,-1,0)
- local ra1 = Instance.new("Part", lpc["Right Arm"])
- ra1.CanCollide = false
- ra1.BrickColor = BrickColor.new("Bright green")
- ra1.Size = Vector3.new(1.1,2.1,0)
- ra1.Position = lpc["Right Arm"].Position
- local ra1w = Instance.new("Weld", lpc["Right Arm"])
- ra1w.Part0 = ra1
- ra1w.Part1 = lpc["Right Arm"]
- local ra2 = Instance.new("Part", lpc["Right Arm"])
- ra2.CanCollide = false
- ra2.BrickColor = BrickColor.new("Bright green")
- ra2.Size = Vector3.new(0,2.1,1.1)
- ra2.Position = lpc["Right Arm"].Position
- local ra2w = Instance.new("Weld", lpc["Right Arm"])
- ra2w.Part0 = ra2
- ra2w.Part1 = lpc["Right Arm"]
- local rao = Instance.new("Part", lpc["Right Arm"])
- rao.CanCollide = false
- rao.Shape = "Ball"
- rao.BrickColor = BrickColor.new("Bright green")
- rao.Size = Vector3.new(0.5,0.5,0.5)
- rao.TopSurface = "Smooth"
- rao.BottomSurface = "Smooth"
- ra2.Position = lpc["Right Arm"].Position
- local raow = Instance.new("Weld", lpc["Right Arm"])
- raow.Part0 = rao
- raow.Part1 = lpc["Right Arm"]
- raow.C0 = CFrame.new(0,-1,0)
- local rl1 = Instance.new("Part", lpc["Right Leg"])
- rl1.CanCollide = false
- rl1.BrickColor = BrickColor.new("Bright green")
- rl1.Size = Vector3.new(1.1,2.1,0)
- rl1.Position = lpc["Right Leg"].Position
- local rl1w = Instance.new("Weld", lpc["Right Leg"])
- rl1w.Part0 = rl1
- rl1w.Part1 = lpc["Right Leg"]
- local rl2 = Instance.new("Part", lpc["Right Leg"])
- rl2.CanCollide = false
- rl2.BrickColor = BrickColor.new("Bright green")
- rl2.Size = Vector3.new(0,2.1,1.1)
- rl2.Position = lpc["Right Leg"].Position
- local rl2w = Instance.new("Weld", lpc["Right Leg"])
- rl2w.Part0 = rl2
- rl2w.Part1 = lpc["Right Leg"]
- local ll1 = Instance.new("Part", lpc["Left Leg"])
- ll1.CanCollide = false
- ll1.BrickColor = BrickColor.new("Bright green")
- ll1.Size = Vector3.new(1.1,2.1,0)
- ll1.Position = lpc["Left Leg"].Position
- local ll1w = Instance.new("Weld", lpc["Left Leg"])
- ll1w.Part0 = ll1
- ll1w.Part1 = lpc["Left Leg"]
- local ll2 = Instance.new("Part", lpc["Left Leg"])
- ll2.CanCollide = false
- ll2.BrickColor = BrickColor.new("Bright green")
- ll2.Size = Vector3.new(0,2.1,1.1)
- ll2.Position = lpc["Left Leg"].Position
- local ll2w = Instance.new("Weld", lpc["Left Leg"])
- ll2w.Part0 = ll2
- ll2w.Part1 = lpc["Left Leg"]
- local mouse = game.Players.LocalPlayer:GetMouse()
- lp = game.Players.LocalPlayer
- lpc = game.Players.LocalPlayer.Character
- local shock = Instance.new("Sound", shades)
- shock.Volume = 1
- shock.SoundId = "http://www.roblox.com/asset/?id=184211520"
- mouse.KeyDown:connect(function(key)
- if key == EyeLaserKey and blast == false then
- if firable == false then
- blast = false
- firable = true
- elseif firable == true then
- firable = false
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == BlasterKey and firable == false then
- if blast == false then
- blast = true
- firable = false
- elseif blast == true then
- blast = false
- end
- end
- end)
- fire = false
- fired = 0
- mouse.Button1Down:connect(function(click)
- if blast == true then
- if lpc.Torso:FindFirstChild("Blaster") then
- lpc.Torso.Blaster:Destroy()
- end
- if game.Workspace:FindFirstChild("Blaster") then
- game.Workspace.Blaster:Destroy()
- end
- local borb = Instance.new("Part", lpc.Torso)
- borb.Name = "Blaster"
- borb.Size = Vector3.new(0.5,0.5,0.5)
- borb.CanCollide = false
- borb.Shape = "Ball"
- borb.TopSurface = "Smooth"
- borb.BottomSurface = "Smooth"
- borb.BrickColor = BrickColor.new("Bright green")
- borb.Position = lpc.Torso.Position
- local swob = Instance.new("Weld", borb)
- swob.Part0 = lpc.Torso
- swob.Part1 = borb
- swob.C0 = CFrame.new(0,0,-2)
- for i = 1, 20 do
- wait(0.03)
- borb.Size = borb.Size+Vector3.new(0.1,0.1,0.1)
- local swob = Instance.new("Weld", borb)
- swob.Part0 = lpc.Torso
- swob.Part1 = borb
- swob.C0 = CFrame.new(0,0,-2)
- end
- local fib = Instance.new("Fire", borb)
- fib.Color = Color3.new(10, 255, 10)
- fib.SecondaryColor = Color3.new(25, 50, 25)
- borb:Clone().Parent = game.Workspace
- borb:Destroy()
- wait(0.03)
- game.Workspace.Blaster.Weld:Destroy()
- local y = Instance.new("BodyVelocity", game.Workspace.Blaster)
- y.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- y.velocity = lpc.Torso.CFrame.lookVector*80
- game.Workspace.Blaster.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(15,35)
- game.Workspace.Blaster:Destroy()
- else
- game.Workspace.Blaster:Destroy()
- end
- end)
- else
- if firable == true then
- fire = true
- while fire do
- fired = fired+1
- if fired == 30 then
- fired = 0
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v.Name == "strike" then
- v:Destroy()
- end
- end
- end
- wait(0)
- local ray = Ray.new(shades.CFrame.p, (mouse.Hit.p - shades.CFrame.p).unit * 300)
- local part, position = workspace:FindPartOnRay(ray, lp.Character, false, true)
- local strike = Instance.new("Part", workspace)
- strike.BrickColor = BrickColor.new("Bright green")
- strike.FormFactor = "Custom"
- strike.Transparency = 0.25
- strike.Name = "strike"
- strike.BottomSurface = "Smooth"
- strike.TopSurface = "Smooth"
- strike.Anchored = true
- strike.Locked = true
- strike.CanCollide = false
- local distance = (shades.CFrame.p - position).magnitude
- strike.Size = Vector3.new(0.8, 0.2, distance)
- strike.CFrame = CFrame.new(shades.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
- shock:Stop()
- shock:Play()
- game:GetService("Debris"):AddItem(strike, 0.1)
- if part then
- local humanoid = part.Parent:FindFirstChild("Humanoid")
- if not humanoid then
- humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
- end
- if humanoid then
- humanoid:TakeDamage(2)
- end
- end
- end
- end
- end
- end)
- mouse.Button1Up:connect(function(click)
- fire = false
- end)
- end,
- ["Spam Friend/Follow"] = function() local RobloxReplicatedStorage = game:GetService('RobloxReplicatedStorage')
- RemoteEvent_NewFollower = RobloxReplicatedStorage:WaitForChild('NewFollower')
- game["Run Service"].RenderStepped:connect(function()
- wait(0)
- for i,v in pairs(game.Players:GetChildren()) do
- game.Players.LocalPlayer:RequestFriendship(v)
- RemoteEvent_NewFollower:FireServer(v, true)
- wait(0.01)
- RemoteEvent_NewFollower:FireServer(v, false)
- game.Players.LocalPlayer:RevokeFriendship(v)
- end
- end)
- end,
- AimWorks = function()
- -- /$$$$$$ /$$$$$$ /$$ /$$ /$$ /$$ /$$$$$$ /$$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$ /$$$$$$
- -- /$$__ $$|_ $$_/| $$$ /$$$| $$ /$ | $$ /$$__ $$| $$__ $$| $$ /$$/ /$$__ $$ /$$__ $$ /$$__ $$
- -- | $$ \ $$ | $$ | $$$$ /$$$$| $$ /$$$| $$| $$ \ $$| $$ \ $$| $$ /$$/ | $$ \__/ |__/ \ $$ |__/ \ $$
- -- | $$$$$$$$ | $$ | $$ $$/$$ $$| $$/$$ $$ $$| $$ | $$| $$$$$$$/| $$$$$/ | $$$$$$ /$$$$$/ /$$$$$$/
- -- | $$__ $$ | $$ | $$ $$$| $$| $$$$_ $$$$| $$ | $$| $$__ $$| $$ $$ \____ $$ |___ $$ /$$____/
- -- | $$ | $$ | $$ | $$\ $ | $$| $$$/ \ $$$| $$ | $$| $$ \ $$| $$\ $$ /$$ \ $$ /$$ \ $$ | $$
- -- | $$ | $$ /$$$$$$| $$ \/ | $$| $$/ \ $$| $$$$$$/| $$ | $$| $$ \ $$| $$$$$$/ | $$$$$$//$$| $$$$$$$$
- -- |__/ |__/|______/|__/ |__/|__/ \__/ \______/ |__/ |__/|__/ \__/ \______/ \______/|__/|________/
- -- "IT ACTUALLY WORKS THIS TIME"
- -- AIMWORKS 3.2: NEARLY DECENT..
- -- THE GREATEST AIMBOT ON ROBLOX
- -- AND PROBABLY THE BUGGIEST TOO
- -- BUT WHATEVER IT'S GOOD ENOUGH
- -- WRITTEN BY UNREAL AND SCAPTER
- -- THANKS AUSTIN, CACA22, SAFAZI
- -- THANKS THETRUERIAS TOO UR GR8
- -- THANKS FOR CHOOSING FAZE SHIT
- -- SHOUTOUT TO CHROME/XETRICS XD
- -- i should probably be using userinputservice
- -- tbh i shud probably get working on proper FOV stuffs
- -- prune dead vars
- -- FOV restrictions
- -- ESPP :D(Chams - Scap)
- -- added in this version (3.1): huge amount of bug fixes, even uglier code (i keep impressing myself with how bad this can get... i need 2 rewrite this soon),
- local accuracy = 80
- local aimkey = "f" --Disable/Enable AimWorks
- local toggle_teamcheck = "h" --Ez-Pz Fix so people don't have to rejoin on FFA/TDM Games.
- local lassokey = "q" --Disable/Enable Lasso Rendering
- local control = "p" --Hide/UnHide Gui
- local headshot = 35
- local ignoreFOV = true
- local ignoreWalls = true
- local perfect_aim = true
- local perfect_aim_firstperson_distance = 28
- local rage_triggers = false --Elysian Only
- local RenderLassos = true
- local ShootingTeam = false -- will target neutral people anyways XDDD
- local SpreadControlRadius = Vector3.new(25, 25, 15) -- the larger you make those numbers the more likely your bullet is to hit. anything above 25, 25, 25 is a bit much. try 15, 15, 5
- local trigger_speed = 0.1
- local triggers = false --Elysian Only
- local Chams = true --Works now!??!!?
- --Player Whitelist(People who don't get shot at.)
- local Whitelist = {"ihanks", "Lua_Environment", "like_clockwork", "Gin_Freecs", "AimWorks"}
- for i,v in pairs(game.Players:GetChildren()) do --Adds anyone in-game who's friends with the Currenet player into the list.
- if game.Players.LocalPlayer:IsFriendsWith(v.userId) then
- table.insert(Whitelist, v.Name)
- end
- end
- game.Players.PlayerAdded:connect(function(player) --Adds friends to whitelist if they're just joining the game.
- if game.Players.LocalPlayer:IsFriendsWith(player.userId) then
- table.insert(Whitelist, player.Name)
- end
- end)
- -- todo --
- _G.SwordFightMode = false -- stuff that i am testing goes in _G. so i can toggle it
- -- aim engine vars
- -- todo: more priorities
- -- prune dead vars
- local aim_through_list = {nil, nil, nil}
- local bone_name
- local camera = workspace.CurrentCamera
- local closest_distance
- local deathBlock
- local distance
- local FilteringEnabled = workspace.FilteringEnabled
- local huge = math.huge
- local in_fov
- local lasso
- local localplayer = game:GetService("Players").LocalPlayer
- local most_viable_player
- local mouse = localplayer:GetMouse()
- local CreatorId = game.CreatorId
- local players_service = game:GetService("Players")
- local position
- local random = math.random
- local ray = Ray.new
- local ray_start
- local running = true
- local sleeping
- local target
- local tele_bone
- local targ_bone
- local ticksslept = 0
- local trigger_debounce
- local vector
- local viableplayers = {}
- local function FindInstance(instance_className, search_directory) -- i can inline this in a LOT of places... plus i can very very easily make this return a table of all found parts if a certain parameter is passed... might add that feature to my boilerplate
- if not search_directory then return end
- for i, v in pairs(search_directory:GetChildren()) do
- if v.className == instance_className then
- return(v)
- end
- end
- end
- local function CreateBlockOfDeath()
- if deathBlock then deathBlock:Destroy() end
- deathBlock = Instance.new("Part", workspace)
- deathBlock.CanCollide = false
- deathBlock.Size = SpreadControlRadius
- deathBlock.Locked = true
- mouse.TargetFilter = deathBlock
- return deathBlock -- unnecessary
- end -- Finished
- local function ReturnsScreenCoordinatesAsVectorAndFOVChecksAsBool(player, bone) -- note: figure out what i wanted to do with datas in here
- if not bone then
- return {_, false}
- end
- return camera:WorldToScreenPoint(player.Character[bone].Position)
- end
- local function ReturnsPlayerCheckResults(player)
- -- Checks teams. If we won't shoot teammates and they're a teammate when we're not neutral, target them. We do this now because it can save a lot of FPS.
- if not ShootingTeam then -- if not shooting teammates
- if player.TeamColor == localplayer.TeamColor then -- if we're not shooting teammates and they're teammates
- if not (player.Neutral and localplayer.Neutral) then -- if we're not shooting teammates and they're teammates and they're not neutral
- return false
- end
- end
- end
- --Read through player 'Whitelist'
- for i,v in pairs(Whitelist) do
- if player.Name == v then
- return false
- end
- end
- -- Checks if person is yourself.
- if player == localplayer then
- return false
- end
- -- Checks if the player can be hurt.
- if FindInstance("ForceField", player.Character) or FindInstance("Humanoid", player.Character, true).MaxHealth == huge then
- return false
- end
- -- Checks if they're dead.
- if FindInstance("Humanoid", player.Character, true).Health == 0 then
- return false
- end
- -- Checks if person is in FOV.
- local screen_position, in_fov = ReturnsScreenCoordinatesAsVectorAndFOVChecksAsBool(player, "Torso")
- if not (in_fov or ignoreFOV) then
- return false
- else
- return player, screen_position
- end
- end
- local function ReturnsBoneOrFalse(player)
- if perfect_aim then
- return (FilteringEnabled and "Head" or "Left Arm") -- should be Head or left arm
- end
- if not (random(1, 100) <= accuracy) then
- return false
- end
- if (random(1, 100) <= headshot) and FilteringEnabled then
- return "Head"
- end
- return "Left Arm" -- should be left arm
- end
- -- rewrite for cursor distance checks then optimize
- local function ReturnsViablePlayerOrNil() -- this is a clusterfuck i should probably branch this off into more functions... especially one for raycasting
- aim_through_list[1], aim_through_list[2] = deathBlock, localplayer.Character
- local distance = 1000
- local closest_distance = 1000
- local most_viable_player = nil
- -- FPS optimizations for shitty pcs... should more than double FPS in some situations. not really necessary for me :D..
- -- if sleeping and ticksslept ~= 15 then
- -- ticksslept = ticksslept + 1
- -- return target
- -- end
- local your_character = localplayer.Character
- local your_head = your_character and your_character:FindFirstChild "Head"
- for i, player_being_checked in pairs(players_service:GetPlayers()) do -- getplayers is underrated
- local player_or_false, targets_coordinates = ReturnsPlayerCheckResults(player_being_checked)
- if player_or_false then
- local char = player_being_checked.Character
- local target_torso = char and char:FindFirstChild "Torso" -- where the ray will aim/shoot for
- if target_torso then
- -- phantom fuckery tbh
- -- aim ahead (why arent we just taking advantage of ignorerays austin tf) of gun sights... Swag :O
- if (camera.Focus.p - camera.CoordinateFrame.p).magnitude <= 1 then
- ray_start = your_head.Position + your_head.CFrame.lookVector * 10 + Vector3.new(0, 3, 0)
- else
- ray_start = your_head.Position + Vector3.new(0, 2, 0)
- end
- -- ray_start = your_head.Position + your_head.CFrame.lookVector * 10 + Vector3.new(0, 3, 0) -- doododoo do DOODODOododoDoERFAhaagr
- if not targets_coordinates then -- unnecessary rn
- distance = (Vector2.new(targets_coordinates.X, targets_coordinates.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude -- broken
- else
- distance = (Vector2.new(targets_coordinates.X, targets_coordinates.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude
- end
- vector = (target_torso.Position - ray_start)
- -- distance = vector -- bug
- if (not targets_coordinates) or (distance <= closest_distance) then
- -- create ray that starts at 'ray_start' and points towards the target
- local new_ray = ray(ray_start, vector.unit * 1000) -- "fire" ray and make sure to ignore our own character
- local hit, position = workspace:FindPartOnRayWithIgnoreList(new_ray, aim_through_list) -- check if the ray hit anything and if it's a descendant of the target's character
- if (hit and hit:isDescendantOf(char)) or ignoreWalls then
- -- only change closest_distance if the target character is visible
- closest_distance = distance
- most_viable_player = player_being_checked
- end -- hit or ignore walls
- end -- meets distance or no priority
- end -- closes player_or_false
- end -- closes player_or_false check
- end -- closes table loop
- blockName = ReturnsBoneOrFalse(most_viable_player)
- sleeping = true
- return most_viable_player
- end -- closes function
- function CreateChams()
- if Chams then
- for _,q in pairs(camera:GetChildren()) do
- if q:IsA("BoxHandleAdornment") then
- q:Destroy()
- end
- end
- for _,v in pairs(game.Players:GetChildren()) do
- if v.Name ~= game.Players.LocalPlayer.Name and v.Character then
- for _,c in pairs(v.Character:GetChildren()) do
- if c.Name ~= "Head" and c:IsA("BasePart") then
- for _,p in pairs(Whitelist) do
- if v.TeamColor == game.Players.LocalPlayer.TeamColor or v.Name == p then
- local esp = Instance.new("BoxHandleAdornment", camera)
- esp.Color3 = Color3.new(0, 255, 0)
- esp.Size = c.Size
- esp.AlwaysOnTop = true
- esp.ZIndex = 1
- esp.Adornee = c
- elseif v.TeamColor ~= game.Players.LocalPlayer.TeamColor then
- local esp = Instance.new("BoxHandleAdornment", camera)
- esp.Color3 = Color3.new(255, 0, 0)
- esp.Size = c.Size
- esp.AlwaysOnTop = true
- esp.ZIndex = 1
- esp.Adornee = c
- end
- end
- end
- end
- end
- end
- end
- end
- CreateChams()
- game.Workspace.ChildAdded:connect(function(child)
- if child:IsA("Model") or child:IsA("Folder") or child:IsA("BasePart") then
- CreateChams()
- end
- end)
- game.Workspace.ChildRemoved:connect(function(child)
- if child:IsA("Model") or child:IsA("Folder") then
- CreateChams()
- end
- end)
- game.Players.LocalPlayer.Changed:connect(function()
- CreateChams()
- end)
- local function TargetPlayer(player) -- this needs to be refactored
- -- not needed anymore unless you want sticky aim (this can be a good thing) or the aimbot lags you
- -- sticky aim would be defined as "wont instantly target another guy if they enter the screen"
- -- if ticksslept == 15 then -- ok
- -- ticksslept = 0
- -- sleeping = false
- -- end
- if aim_through_list[3] then
- aim_through_list[3].Position = aim_through_list[3].Position + Vector3.new(0,200,0)
- table.remove(aim_through_list, 3)
- end
- if not player then -- i see this and i pretty much give up on rewriting
- if lasso then lasso:Destroy() lasso = nil end -- this feels wrong. i cant stand reusing code outside functions >:(
- target = nil
- lasso = Instance.new("SelectionPointLasso", camera)
- lasso.Humanoid, lasso.Point = FindInstance("Humanoid", localplayer.Character, true), mouse.Hit.p
- lasso.Color3 = Color3.new(0,255,0)
- return -- this one line here determines a surprising amount about how the aimbot works XD
- -- thats not a good thing :(
- end
- if RenderLassos then -- should be snaplassos... always gon be lassos tbh
- if lasso then lasso:Destroy() lasso = nil end
- lasso = Instance.new("SelectionPartLasso", camera)
- lasso.Humanoid, lasso.Part = FindInstance("Humanoid", player.Character, true), game.Players.LocalPlayer.Character.Torso
- lasso.Color3 = Color3.new(0,255,0)
- end
- bone_name = ReturnsBoneOrFalse(player)
- if player.Character.Head and bone_name then
- -- this lets us force headshots :D
- tele_bone = player.Character[bone_name]
- tele_bone.Parent = player.Character
- tele_bone.Size = SpreadControlRadius
- tele_bone.CanCollide = false
- tele_bone.CFrame = CFrame.new(workspace.CurrentCamera.CoordinateFrame.p + workspace.CurrentCamera.CoordinateFrame.lookVector * perfect_aim_firstperson_distance, workspace.CurrentCamera.CoordinateFrame.p) -- // thx to my main man safazi,,,, for this and for showing me the magic of coordinateframe <3
- tele_bone.Transparency=1
- tele_bone:ClearAllChildren()
- table.insert(aim_through_list, 3, tele_bone)
- -- swager
- target = player
- return player
- end
- if bone_name then
- deathBlock.Parent = player.Character
- deathBlock.CanCollide = false
- deathBlock.Name = bone_name
- else
- return
- end
- target = player
- return player
- end
- --[[
- INIT PROCESS DOCUMENTATION:
- 1] CREATE DEATHBLOCK
- 2] MAKE DEATHBLOCK REGENERATE
- 3] USE BINDTORENDERSTEP TO START AIMBOT LOOP
- 4] DETECT KEY INPUT (WITHOUT USERINPUTSERVICE. I KNOW THAT IM LAME)
- ]]--
- CreateBlockOfDeath()
- workspace.DescendantRemoving:connect(function(instance)
- if instance == deathBlock then CreateBlockOfDeath() end
- end)
- -- Keeps blockie safe :33 XD
- -- test? havent tried
- local function shoot() -- elysian only :33333 XDd. bother jordan, not mememememe.
- if not mouse1press then return end
- if trigger_debounce then return end
- trigger_debounce = true
- if rage_triggers and mouse1press() then
- mouse1press()
- wait(0.1)
- mouse1release()
- elseif mouse1press then
- mouse1press()
- wait(0)
- mouse1release()
- wait(trigger_speed)
- end
- trigger_debounce = false
- end
- -- refaactorrrr
- game:GetService("RunService"):BindToRenderStep("First", Enum.RenderPriority.First.Value, function() -- another clusterfuck
- if running then
- if localplayer.Character then -- pretty sure i do this in getviableplayer lmao tbh
- TargetPlayer(ReturnsViablePlayerOrNil())
- if target and target.Character then
- if localplayer:GetMouse().Target == deathBlock then return end -- praise targetfilter!
- -- later
- -- deathBlock.CFrame = CFrame.new(localplayer.Character.Head.Position + (mouse.Hit.p + localplayer.Character.Head.Position).unit * 16)
- -- print(deathBlock)
- if triggers then shoot() end
- else
- deathBlock.Parent = workspace
- end
- end
- end
- end)
- local Keys = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
- Keys.Name = "AimWorks Container"
- local Frame = Instance.new("Frame", Keys)
- Frame.Name = "Holder"
- Frame.BackgroundColor3 = Color3.new(62/255, 62/255, 62/255)
- Frame.BackgroundTransparency = 0.3
- Frame.BorderSizePixel = 2
- Frame.BorderColor3 = Color3.new(255,255,255)
- Frame.Size = UDim2.new(0, 200, 0, 300)
- Frame.Position = UDim2.new(0, 0, 0.5, 0)
- local Aim = Instance.new("TextLabel", Frame)
- Aim.BackgroundTransparency = 1
- Aim.Size = UDim2.new(0, 200, 0, 100)
- Aim.FontSize = "Size32"
- Aim.Font = "SourceSans"
- Aim.Text = " Rendering Lassos: "..tostring(RenderLassos).." \n Key: "..lassokey
- Aim.TextColor3 = Color3.new(255, 255, 255)
- Aim.TextXAlignment = "Left"
- Aim.TextStrokeTransparency = 0
- Aim.TextYAlignment = "Top"
- Aim.TextWrapped = true
- local Team = Instance.new("TextLabel", Frame)
- Team.Position = UDim2.new(0, 0, 0, 100)
- Team.BackgroundTransparency = 1
- Team.Size = UDim2.new(0, 200, 0, 100)
- Team.FontSize = "Size32"
- Team.Font = "SourceSans"
- Team.Text = " Team Check: \n "..tostring(ShootingTeam).." \n Key: "..toggle_teamcheck
- Team.TextColor3 = Color3.new(255, 255, 255)
- Team.TextXAlignment = "Left"
- Team.TextStrokeTransparency = 0
- Team.TextYAlignment = "Top"
- Team.TextWrapped = true
- local Run = Instance.new("TextLabel", Frame)
- Run.Position = UDim2.new(0, 0, 0, 200)
- Run.BackgroundTransparency = 1
- Run.Size = UDim2.new(0, 200, 0, 100)
- Run.FontSize = "Size32"
- Run.Font = "SourceSans"
- Run.Text = " Running: "..tostring(running).." \n Key: "..aimkey
- Run.TextColor3 = Color3.new(255, 255, 255)
- Run.TextXAlignment = "Left"
- Run.TextStrokeTransparency = 0
- Run.TextYAlignment = "Top"
- Run.TextWrapped = true
- local keydown = mouse.KeyDown:connect(function(keys)
- if (keys == aimkey) then
- running = not running
- if (running) then
- print("[SILENTAIM] activated.")
- Run.Text = " Running: "..tostring(running).." \n Key: "..aimkey
- else
- print("[SILENTAIM] deactivated.")
- Run.Text = " Running: "..tostring(running).." \n Key: "..aimkey
- end
- end
- end)
- local keydowns = mouse.KeyDown:connect(function(keys)
- if (keys == toggle_teamcheck) then
- if (ShootingTeam) then
- print("[SILENTAIM] Team Shooting deactivated")
- ShootingTeam = false
- Team.Text = " Team Check: \n "..tostring(ShootingTeam).." \n Key: "..toggle_teamcheck
- else
- print("[SILENTAIM] Team Shooting activated")
- ShootingTeam = true
- Team.Text = " Team Check: \n "..tostring(ShootingTeam).." \n Key: "..toggle_teamcheck
- end
- end
- end)
- local keydowns = mouse.KeyDown:connect(function(keys)
- if (keys == lassokey) then
- if (RenderLassos) then
- print("[SILENTAIM] No Longer Rendering Lassos")
- RenderLassos = false
- Aim.Text = " Rendering Lassos: "..tostring(RenderLassos).." \n Key: "..lassokey
- else
- print("[SILENTAIM] Rendering Lassos")
- RenderLassos = true
- Aim.Text = " Rendering Lassos: "..tostring(RenderLassos).." \n Key: "..lassokey
- end
- end
- end)
- local keydowns = mouse.KeyDown:connect(function(keys)
- if (keys == control) then
- if (Frame.Visible == true) then
- Frame.Visible = false
- else
- Frame.Visible = true
- end
- end
- end) end,
- ["Poison Mage"] = function() --Lets create a cool load-up animation.
- Bp = game.Players.LocalPlayer.Backpack
- jun = Bp.Parent
- BlastRing = Instance.new("Part") --Creating the spike ball.
- BlastRing.Parent = game.Lighting
- BlastRing.Name = "BlastRing"
- BlastRing.formFactor = "Symmetric"
- BlastRing.Size = Vector3.new(0, 0, 0)
- BlastRing.CanCollide = false
- BlastRing.TopSurface = "Smooth"
- BlastRing.BottomSurface = "Smooth"
- BlastRing.BrickColor = BrickColor.new("Forest green")
- BlastRing.Reflectance = 0
- BlastRing.Anchored = true
- Mesh2 = Instance.new("SpecialMesh")
- Mesh2.Parent = BlastRing
- Mesh2.MeshType = "FileMesh"
- Mesh2.MeshId = "http://www.roblox.com/Asset/?id=9982590"
- Mesh2.Scale = Vector3.new(1, 1, 1)
- ExsplosionRing = Instance.new("Part") --Creating the ring.
- ExsplosionRing.Parent = game.Lighting
- ExsplosionRing.Name = "Explosion Ring"
- ExsplosionRing.formFactor = "Symmetric"
- ExsplosionRing.Size = Vector3.new(0, 0, 0)
- ExsplosionRing.CanCollide = false
- ExsplosionRing.TopSurface = "Smooth"
- ExsplosionRing.BottomSurface = "Smooth"
- ExsplosionRing.BrickColor = BrickColor.new("Black")
- ExsplosionRing.Transparency = 0.3
- ExsplosionRing.Reflectance = 0
- ExsplosionRing.Anchored = true
- Mesh3 = Instance.new("SpecialMesh")
- Mesh3.Parent = ExsplosionRing
- Mesh3.MeshType = "FileMesh"
- Mesh3.MeshId = "http://www.roblox.com/Asset/?id=20329976"
- Mesh3.Scale = Vector3.new(1, 1, 1)
- Mesh3.Offset = Vector3.new(0,-2,0)
- jun.Character.Humanoid.WalkSpeed = 0
- blastring2 = BlastRing:clone() --Cloning spike ball out of lighting to surround player.
- blastring2.Parent = jun.Character
- blastring2.Position = jun.Character.Torso.Position
- blastring2.BrickColor = BrickColor.new("Forest green")
- blastring2.Transparency = 0.5
- blastring2.Reflectance = 0
- for i = 1, 50 do --Making the spike ball grow around the player.
- wait(0.03)
- blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
- blastring2.Transparency = blastring2.Transparency + 0.01
- end
- blastring3 = ExsplosionRing:clone() --Cloning the ring out of lighting to surround player.
- blastring3.Parent = jun.Character
- blastring3.Position = jun.Character.Torso.Position
- blastring3.BrickColor = BrickColor.new("Black")
- blastring3.Transparency = 0.3
- blastring3.Reflectance = 0
- for i = 1, 50 do --Resizing the rin to grow around the players legs.
- wait(0.03)
- blastring3.Mesh.Scale = blastring3.Mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
- blastring3.Transparency = blastring3.Transparency + 0.01
- end
- blastring2:remove()
- blastring3:Destroy()
- jun.Character.Humanoid.WalkSpeed = 22
- --End of animation.
- --Lets start the actual Mage Script.
- local lp = game.Players.LocalPlayer
- --Set The Players Health As If Wearing Armor.
- lp.Character.Humanoid.MaxHealth = lp.Character.Humanoid.MaxHealth+200
- wait(0.03)
- lp.Character.Humanoid.Health = lp.Character.Humanoid.MaxHealth
- --End Armor Control
- --Create the Model to place the armor in.
- m = Instance.new("Model",lp.Character)
- m.Name = "Scapters Armor"
- --Let's start creating the Left Arm.
- la = Instance.new("Part",m)
- la.Name = "Left Arm"
- la.FormFactor = "Custom"
- la.Material = "Concrete"
- la.CanCollide = false
- la.BrickColor = BrickColor.new("Forest green")
- la.BottomSurface = "Smooth"
- la.TopSurface = "Smooth"
- la.Size = Vector3.new(1.05,1.05,1.05)
- law = Instance.new("ManualWeld",la) --Weld the armor piece to the Left Arm.
- law.Part0 = la
- law.Part1 = lp.Character["Left Arm"]
- law.C0 = CFrame.new(0,-0.5,0) --Positions the Left Arm.
- --End Left Arm.
- --Let's start creating the Right Arm.
- ra = Instance.new("Part",m)
- ra.Name = "Right Arm"
- ra.FormFactor = "Custom"
- ra.Material = "Concrete"
- ra.CanCollide = false
- ra.BrickColor = BrickColor.new("Forest green")
- ra.BottomSurface = "Smooth"
- ra.TopSurface = "Smooth"
- ra.Size = Vector3.new(1.05,1.05,1.05)
- raw = Instance.new("ManualWeld",ra) --Weld the armor piece to the Right Arm.
- raw.Part0 = ra
- raw.Part1 = lp.Character["Right Arm"]
- raw.C0 = CFrame.new(0,-0.5,0) --Positions the Right Arm.
- --End Right Arm.
- --Let's start creating the Torso.
- t = Instance.new("Part",m)
- t.Name = "Torso"
- t.FormFactor = "Custom"
- t.CanCollide = false
- t.Material = "Concrete"
- t.BrickColor = BrickColor.new("Forest green")
- t.BottomSurface = "Smooth"
- t.TopSurface = "Smooth"
- t.Size = Vector3.new(2.05,2.05,1.05)
- tw = Instance.new("ManualWeld",t) --Weld the armor piece to the Torso.
- tw.Part0 = t
- tw.Part1 = lp.Character.Torso --Torso does not need to be positioned.
- sg = Instance.new("SurfaceGui",t) --Creating a surfacegui to display health.(buggy)
- f = Instance.new("Frame",sg)
- f.BackgroundTransparency = 1
- f.Size = UDim2.new(1,0,1,0)
- tl = Instance.new("TextLabel",f)
- tl.BackgroundTransparency = 1
- tl.Size = UDim2.new(1,0,1,0)
- tl.Font = "SourceSansBold"
- tl.FontSize = "Size96"
- tl.TextColor3 = Color3.new(0,0,0)
- tl.TextStrokeColor3 = Color3.new(0,0,0)
- tl.TextStrokeTransparency = 0
- --End Torso.
- --Let's start creating the Left Leg.
- ll = Instance.new("Part",m)
- ll.Name = "Left Leg"
- ll.FormFactor = "Custom"
- ll.Material = "Concrete"
- ll.CanCollide = false
- ll.BrickColor = BrickColor.new("Forest green")
- ll.BottomSurface = "Smooth"
- ll.TopSurface = "Smooth"
- ll.Size = Vector3.new(1.05,1.65,1.05)
- llw = Instance.new("ManualWeld",ll) --Weld the armor piece to the Left Leg.
- llw.Part0 = ll
- llw.Part1 = lp.Character["Left Leg"]
- llw.C0 = CFrame.new(0,-0.2,0) --Positions the Left Leg.
- --End Left Leg.
- --Let's start creating the Right Leg.
- rl = Instance.new("Part",m)
- rl.Name = "Right Leg"
- rl.FormFactor = "Custom"
- rl.Material = "Concrete"
- rl.CanCollide = false
- rl.BrickColor = BrickColor.new("Forest green")
- rl.BottomSurface = "Smooth"
- rl.TopSurface = "Smooth"
- rl.Size = Vector3.new(1.05,1.65,1.05)
- rlw = Instance.new("ManualWeld",rl) --Weld the armor piece to the Right Leg.
- rlw.Part0 = rl
- rlw.Part1 = lp.Character["Right Leg"]
- rlw.C0 = CFrame.new(0,-0.2,0) --Positions the Right Leg.
- --End Right Leg.
- --Let's make it so elasticity and friction are set to a high value to prevent stutters.
- for i,v in ipairs(m:GetChildren()) do
- v.Friction = 2000
- v.Elasticity = 2000
- end
- --End stutter provention.
- local color1 = Color3.new(0, 85, 0)
- local color2 = Color3.new(0,0,0)
- local sequence = ColorSequence.new(color1,color2)
- --Let's create the staff.
- t = Instance.new("Tool", lp.Backpack) --Creating the tool for the staff to be put into.
- t.Name = "Scapters Staff"
- t.GripPos = Vector3.new(0,0.65,0)
- t.ToolTip = "Whome-ever wields this staff is a true legend."
- t.CanBeDropped = false
- s = Instance.new("Part",t) --This will be the base part of the staff(the part the player holds).
- s.Name = "Handle"
- s.BrickColor = BrickColor.new("Burnt Sienna")
- s.FormFactor = "Custom"
- s.Size = Vector3.new(0.32,5.64,0.28)
- s.Material = "Wood"
- b = Instance.new("Part",t) --Lets create the tip of the staff.
- b.Material = "Concrete"
- b.BrickColor = BrickColor.new("Forest green")
- b.Shape = "Ball"
- b.Size = Vector3.new(1,1,1)
- b.TopSurface = "Smooth"
- b.BottomSurface = "Smooth"
- bw = Instance.new("ManualWeld",rl) --Weld the tip to the staff.
- bw.Part0 = s
- bw.Part1 = b
- bw.C0 = CFrame.new(0,2.5,0) --Positions the tip.
- pe = Instance.new("ParticleEmitter",b) -- Lets create the fancy looking particles
- pe.Color = sequence
- pe.Texture = "http://www.roblox.com/asset/?id=242292318"
- pe.LightEmission = 1
- pe.Lifetime = NumberRange.new(1,1)
- pe.Rotation = NumberRange.new(360,360)
- pe.RotSpeed = NumberRange.new(360,360)
- pe.Speed = NumberRange.new(1,1)
- pe.LockedToPart = true
- sk = Instance.new("Part",t)--Let's create the skull
- sk.BrickColor = BrickColor.new("Forest green")
- sk.Material = "Concrete"
- sm = Instance.new("SpecialMesh",sk)
- sm.MeshId = "http://www.roblox.com/asset/?id=6552202"
- sm.Scale = Vector3.new(3.2,3.2,3.2)
- skw = Instance.new("ManualWeld",rl) --Weld the skull to the staff.
- skw.Part0 = s
- skw.Part1 = sk
- skw.C0 = CFrame.new(0,2.5,0) --Positions the skull.
- game.Players.LocalPlayer.Character.Humanoid:EquipTool(t) --Auto-Equip the staff.
- --End staff creation.
- --Backup
- t.Equipped:connect(function()
- local bww = Instance.new("ManualWeld",rl) --Weld the tip to the staff.
- bww.Part0 = s
- bww.Part1 = b
- bww.C0 = CFrame.new(0,2.5,0) --Positions the tip.
- local skww = Instance.new("ManualWeld",rl) --Weld the skull to the staff.
- skww.Part0 = s
- skww.Part1 = sk
- skww.C0 = CFrame.new(0,2.5,0) --Positions the skull.
- end)
- local mouse = game.Players.LocalPlayer:GetMouse()
- --Lighting Attack
- mouse.Button1Down:connect(function()
- local hit = mouse.Target -- This is where the lightning will go.
- end)
- --Poison Attack
- mouse.Button2Down:connect(function() --Creating the event to detect where the ball will be placed.
- local hit = mouse.Target --This is where it gets the players position.
- if hit.Parent:FindFirstChild("Torso") then
- local h = Instance.new("Part", game.Workspace)
- h.Shape = "Ball"
- h.Size = Vector3.new(1,1,1)
- h.BrickColor = BrickColor.new("Forest green")
- h.Material = "Concrete"
- h.Anchored = true
- h.CanCollide = false
- pe = Instance.new("ParticleEmitter",h) --Make the ball look fancy.
- pe.Color = sequence
- pe.Texture = "http://www.roblox.com/asset/?id=242292318"
- pe.LightEmission = 1
- pe.Lifetime = NumberRange.new(1,1)
- pe.Rotation = NumberRange.new(360,360)
- pe.RotSpeed = NumberRange.new(360,360)
- pe.Speed = NumberRange.new(1,1)
- h.CFrame = hit.Parent.HumanoidRootPart.CFrame --Changes the balls position to the hit players HumanoidRootPart.
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health-25
- wait(1)
- h:Destroy()
- for i = 1, 8 do
- hit.Parent.Head.BrickColor = BrickColor.new("Sea green") --Set player to poison colors.
- hit.Parent["Left Arm"].BrickColor = BrickColor.new("Sea green")
- hit.Parent["Right Arm"].BrickColor = BrickColor.new("Sea green")
- hit.Parent["Left Leg"].BrickColor = BrickColor.new("Sea green")
- hit.Parent["Right Leg"].BrickColor = BrickColor.new("Sea green")
- hit.Parent.Torso.BrickColor = BrickColor.new("Sea green")
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health-5
- lp.Character.Humanoid.Health = lp.Character.Humanoid.Health+5 --Life steal.
- pe = Instance.new("ParticleEmitter",hit.Parent.Torso) --Make the poison effect look fancy.
- pe.Color = sequence
- pe.Texture = "http://www.roblox.com/asset/?id=242292318"
- pe.LightEmission = 1
- pe.Lifetime = NumberRange.new(1,1)
- pe.Rotation = NumberRange.new(360,360)
- pe.RotSpeed = NumberRange.new(360,360)
- pe.Speed = NumberRange.new(1,1)
- wait(0.8)
- pe:Destroy()
- hit.Parent.Head.BrickColor = hit.Parent["Body Colors"].HeadColor --Set player colors back to normal.
- hit.Parent["Left Arm"].BrickColor = hit.Parent["Body Colors"].LeftArmColor
- hit.Parent["Right Arm"].BrickColor = hit.Parent["Body Colors"].RightArmColor
- hit.Parent["Left Leg"].BrickColor = hit.Parent["Body Colors"].LeftLegColor
- hit.Parent["Right Leg"].BrickColor = hit.Parent["Body Colors"].RightLegColor
- hit.Parent.Torso.BrickColor = hit.Parent["Body Colors"].TorsoColor
- wait(0.8)
- end
- end
- end)
- --Let's create a forcefield event.
- local color1 = Color3.new(0, 170, 0)
- local color2 = Color3.new(0, 170, 0)
- local sequence = ColorSequence.new(color1,color2)
- mouse1 = game.Players.LocalPlayer:GetMouse()
- mouse1.KeyDown:connect(function(key)
- if key == "f" then
- pe = Instance.new("ParticleEmitter",m.Torso)
- pe.Rate = 1
- wait(0.03)
- pe.Rate = 0
- pe.LightEmission = 0.5
- pe.Size = NumberSequence.new(5,5)
- pe.Texture = "http://www.roblox.com/asset/?id=147741899"
- pe.Color = sequence
- pe.Lifetime = NumberRange.new(100e100,100e100)
- pe.Rotation = NumberRange.new(360,360)
- pe.RotSpeed = NumberRange.new(40,40)
- pe.LockedToPart = true
- pe.Speed = NumberRange.new(0,0)
- pe:Emit(1)
- lp.Character.Humanoid.MaxHealth = math.huge
- wait(0.03)
- lp.Character.Humanoid.Health = math.huge
- wait(25)
- lp.Character.Humanoid.MaxHealth = 300
- wait(0.03)
- lp.Character.Humanoid.Health = 300
- pe:Destroy()
- end
- end)
- --End forcefield event.
- while wait(0) do --Create the loop to constantly make the textlabel update with health.(buggy)
- tl.Text = "Heath: "..math.floor(lp.Character.Humanoid.Health).."/"..lp.Character.Humanoid.MaxHealth
- end end,
- Dex = function() loadstring(game:GetObjects("rbxassetid://462298546")[1].Source)() end,
- }
- --End Tables--
- Open_Close.MouseButton1Down:connect(function()
- if Open == false then
- Frame1:TweenPosition(UDim2.new(0.43,-250,0.5,-250),"Out","Quart",0.3,true)
- wait(0.35)
- PlayerList:TweenPosition(Frame1.Position+UDim2.new(0.262,0,0,0),"Out","Quart",0.3,true)
- wait(0.35)
- WaterMark:TweenPosition(Frame1.Position-UDim2.new(-0.05,0,0.115,0),"Out","Quart",0.3,true)
- wait(0.35)
- Open_Close:TweenSizeAndPosition(UDim2.new(0,100,0,100),WaterMark.Position-UDim2.new(0.10,0,-0.04,0),"Out","Quart",0.3,true)
- CreateLeafs()
- Open = true
- else
- Open_Close:TweenSizeAndPosition(UDim2.new(0,50,0,50),UDim2.new(0,0,0.6,0),"Out","Quart",0.3,true)
- Frame1:TweenPosition(UDim2.new(-0.43,-500,0.5,-250),"Out","Quart",0.3,true)
- PlayerList:TweenPosition(UDim2.new(-0.8,-500,0.5,-250), "Out", "Quart",0.3,true)
- WaterMark:TweenPosition(UDim2.new(-1,0,0.03,0),"Out","Quart",0.3,true)
- DestroyLeafs()
- Open = false
- end
- end)
- --Automated Button Placement/Creation--
- local current = 2
- local previous = 1
- for i,v in pairs(PlayerTabs) do
- local Button = Instance.new("TextButton", Frame1)
- Button.Size = UDim2.new(0.5,0,0,35)
- Button.BackgroundTransparency = 1
- Button.TextColor3 = Color3.new(255/255,255/255,255/255)
- Button.Font = "SourceSansBold"
- Button.FontSize = "Size24"
- Button.Name = current
- Button.ZIndex = 2
- Button.Text = i
- Button.Position = Frame1[previous].Position+UDim2.new(0,0,0,36)
- local Box = Instance.new("TextBox", Frame1)
- Box.Size = UDim2.new(0.5,0,0,35)
- Box.Position = Frame1[current].Position+UDim2.new(0.5,0,0,0)
- Box.Name = i.."Box"
- if i == "Sound" then
- Box.Text = "Sound ID"
- else
- Box.Text = "Player"
- end
- Box.ZIndex = 2
- Box.BackgroundTransparency = 1
- Box.TextColor3 = Color3.new(255/255,255/255,255/255)
- Box.Font = "SourceSansBold"
- Box.FontSize = "Size24"
- previous = current
- current = current+1
- end
- for i,v in pairs(Scripts) do
- local Button = Instance.new("TextButton", Frame1)
- Button.Size = UDim2.new(1,0,0,35)
- Button.BackgroundTransparency = 1
- Button.TextColor3 = Color3.new(255/255,255/255,255/255)
- Button.Font = "SourceSansBold"
- Button.FontSize = "Size24"
- Button.Name = current
- Button.Text = i
- Button.ZIndex = 2
- Button.Position = Frame1[previous].Position+UDim2.new(0,0,0,36)
- previous = current
- current = current+1
- end
- for i,c in pairs(Frame1:GetChildren()) do
- local max = math.max(i)
- if tostring(max) == c.Name then
- Frame1.CanvasSize = UDim2.new(0,0,0,c.Position.Y.Offset*20)
- end
- end
- --End Automated Button Placement/Creation--
- --Automated Button Handler--
- for _,v in pairs(Frame1:GetChildren()) do
- if v:IsA("TextButton") then
- v.MouseButton1Down:connect(function()
- if PlayerTabs[v.Text] then
- PlayerTabs[v.Text]()
- elseif Scripts[v.Text] then
- Scripts[v.Text]()
- end
- print(v.Text.." (Took "..math.floor(tick()).." us)")
- end)
- end
- end
- --End Automated Button Handler--
- --PlayerList--
- function CreateList()
- for _,v in pairs(PlayerList:GetChildren()) do
- if v.Name ~= "1" then
- v:Destroy()
- end
- end
- local current = 2
- local previous = 1
- for _,v in pairs(game.Players:GetChildren()) do
- local play = Instance.new("TextButton", PlayerList)
- play.Name = current
- play.Size = UDim2.new(1,0,0,35)
- play.BackgroundTransparency = 1
- play.Text = v.Name
- play.Font = "SourceSansBold"
- play.TextColor3 = Color3.new(255/255,255/255,255/255)
- play.FontSize = "Size24"
- play.ZIndex = 2
- play.Position = PlayerList[previous].Position+UDim2.new(0,0,0,36)
- previous = current
- current = current+1
- end
- for i,c in pairs(PlayerList:GetChildren()) do
- local max = math.max(i)
- if tostring(max) == c.Name then
- PlayerList.CanvasSize = UDim2.new(0,0,0,c.Position.Y.Offset*1)
- end
- end
- end
- CreateList()
- game.Players.PlayerAdded:connect(function(player)
- for _,v in pairs(Banned) do
- if player.Name == v then
- wait(0.5)
- player:Destroy()
- end
- end
- CreateList()
- end)
- game.Players.PlayerRemoving:connect(function()
- CreateList()
- end)
- --End PlayerList
- --PlayerList > TextBox Detection--
- for _,v in pairs(PlayerList:GetChildren()) do
- if v:IsA("TextButton") then
- v.MouseButton1Down:connect(function()
- for _,c in pairs(Frame1:GetChildren()) do
- if c:IsA("TextBox") and c.Text ~= "Sound ID" then
- c.Text = v.Text
- end
- end
- end)
- end
- end
- --End PlayerList > TextBox Detection--
- --Rotate Symbols--
- while wait(0) do
- for i = 1, 25 do
- wait(0.03)
- Open_Close.Rotation = Open_Close.Rotation + 1
- end
- for i = 1, 25 do
- wait(0.03)
- Open_Close.Rotation = Open_Close.Rotation - 1
- end
- end
- --End Symbol Rotation--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement