Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local event = plr.Chatted
- local msg
- local folder
- local sound
- local hint = Instance.new("Hint", workspace)
- local commands = {";play ID", ";GV",";loop toggle",";stop",";btools",";resume",";cbtools",";inject",";kill",";bring",";to"
- ,";god","ungod",";anchor",";unanchor" }
- plr.Character.Humanoid.Changed:Connect(function()
- --If health == 0 then hint:Destroy()--
- local human = plr.Character.Humanoid
- local health = human.Health
- if health <= 0 then
- hint:Destroy()
- end
- end)
- function getvisualizer()
- --[[
- \\Visualizer creator : Anonymous5044
- --]]
- local char = plr.Character
- local head = char.Head
- if head:FindFirstChild("MyAssIsSoCool") then
- head:FindFirstChild("MyAssIsSoCool"):Destroy()
- end
- local model = Instance.new("Model", head)
- _G.ball = Instance.new("Part", model)
- local ball = _G.ball
- _G.sound2 = _G.sound
- local sound = _G.sound2
- _G.light = Instance.new("PointLight", ball)
- local light = _G.light
- local force = Instance.new("BodyGyro",ball)
- local BOX = Instance.new("SelectionBox", ball)
- BOX.LineThickness = 0.050
- BOX.Color3 = Color3.new(255, 0, 0)
- --local id2 = "rbxassetid://"..id
- --sound.SoundId = id2
- ball.Anchored = true
- model.Name = "MyAssIsSoCool"
- ball.CanCollide = false
- sound.Volume = 1
- ball.Shape = "Block"
- ball.BrickColor = BrickColor.new("Dark green")
- ball.Material = "Neon"
- local rot = 0
- game.Lighting.TimeOfDay = "00:00:00"
- game.Lighting.FogColor = Color3.new(0,0,0)
- game.Lighting.Ambient = Color3.new(0,0,0)
- game.Lighting.ColorShift_Bottom = Color3.new(0,0,0)
- game.Lighting.ColorShift_Top = Color3.new(0,0,0)
- game.Lighting.Brightness = 5
- game.Lighting.FogColor = Color3.new(0,0,0)
- game.Lighting.FogEnd = 30
- game.Lighting.FogStart = 0
- while wait() do
- --BOX.Adornee = ball
- rot = rot+1
- local sp = sound.PlaybackLoudness/220
- --ball.BrickColor = BrickColor.Random()
- ball.CFrame = head.CFrame*CFrame.new(0,3,0)
- ball.Rotation = Vector3.new(rot+6,rot,rot)
- ball.Size = Vector3.new(sp,sp,sp)
- light.Range = sp+5
- light.Brightness = sp+3
- end
- if rot >= 50 then
- rot =0
- end
- end
- function create()
- local folder = Instance.new("Folder", plr.PlayerGui)
- _G.sound = Instance.new("Sound", folder)
- end
- create()
- function tools()
- local hammer = Instance.new("HopperBin", plr.Backpack)
- local grab = Instance.new("HopperBin", plr.Backpack)
- local clone = Instance.new("HopperBin", plr.Backpack)
- local add = Instance.new("HopperBin", plr.Backpack)
- local canAdd = false
- add.Name = "Add tool"
- add.Selected:Connect(function()
- canAdd = true
- end)
- add.Deselected:Connect(function()
- canAdd = false
- end)
- local mouse = plr:GetMouse()
- mouse.Button1Down:Connect(function()
- if canAdd == true then
- local part = Instance.new("Part", workspace)
- part.CFrame = mouse.Target.CFrame*CFrame.new(0,5,0)
- end
- end)
- -----
- local btools = {hammer, grab, clone}
- for i=1,3 do
- if i== 1 then
- local o = btools[i]
- btools[i].Name = "Hammer"
- o.BinType = "Hammer"
- o.TextureId = "rbxassetid://145360580"
- elseif i==2 then
- local o = btools[i]
- btools[i].Name = "Grab"
- o.BinType = "Grab"
- o.TextureId = "rbxassetid://270648006"
- elseif i ==3 then
- local o = btools[i]
- btools[i].Name = "Clone"
- o.BinType = "Clone"
- o.TextureId = "rbxassetid://321433365"
- end
- end
- end
- function cbtools()
- local mouse = plr:GetMouse()
- local event1 = mouse.Button1Down
- local event2 = mouse.Button2Down
- event1:Connect(function()
- local obj = mouse.Target
- obj:Destroy()
- end)
- event2:Connect(function()
- local target = mouse.Target
- local obj = target:Clone()
- print(obj.Parent)
- obj.CFrame = target.CFrame*CFrame.new(0,10,0)
- obj.Parent = target.Parent
- end)
- end
- event:Connect(function(msg)
- local msg = string.lower(msg)
- if string.sub(msg,1,6) == ";play " then
- local id = string.sub(msg,7)
- _G.sound.SoundId = "rbxassetid://"..id
- _G.sound:Play()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(id)
- hint.Text = "Playing: "..tostring(Asset.Name)
- elseif string.sub(msg,1,7) == ";btools" then
- tools()
- elseif string.sub(msg,1,5) == ";loop" then
- if _G.sound.Looped == true then
- _G.sound.Looped = false
- else _G.sound.Looped = true
- end
- elseif string.sub(msg,1,8) == ";cbtools" then
- cbtools()
- elseif string.sub(msg,1,3) == ";gv" then
- getvisualizer()
- elseif string.sub(msg,1,5) == ";stop" then
- _G.sound:Stop()
- elseif string.sub(msg,1,7) == ";resume" then
- _G.sound:Resume()
- elseif string.sub(msg,1,5) == ";cmds" then
- for i=1, #commands do
- warn(commands[i])
- end
- elseif string.sub(msg,1,7) == ";inject" then
- local textb = hint.Text
- hint.Text = "[-]Inject not avalible[-]"
- wait(3)
- hint.Text = textb
- elseif string.sub(msg,1,6) == ";kill " then
- local tar = string.sub(string.lower(msg),7)
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if string.find(string.lower(plr.Name), tar) then
- hint.Text = "Killed "..plr.Name
- plr.Character.Humanoid.Health = 0
- end
- end
- elseif string.sub(msg,1,8) == ";anchor " then
- local tar = string.sub(string.lower(msg),9)
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if string.find(string.lower(plr.Name), tar) then
- hint.Text = "[-]Anchored "..plr.Name.."[-]"
- plr.Character.Torso.Anchored = true
- end
- end
- elseif string.sub(msg,1,10) == ";unanchor " then
- local tar = string.sub(string.lower(msg),11)
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if string.find(string.lower(plr.Name), tar) then
- hint.Text = "[-]UnAnchored "..plr.Name.."[-]"
- plr.Character.Torso.Anchored = false
- end
- end
- elseif string.sub(msg,1,7) == ";bring " then
- local tar = string.sub(string.lower(msg),8)
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if string.find(string.lower(plr.Name), tar) then
- hint.Text = "[-]Bringed "..plr.Name.."[-]"
- plr.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame*CFrame.new(0,6,0)
- end
- end
- elseif string.sub(msg,1,4) == ";to " then
- local tar = string.sub(string.lower(msg),5)
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if string.find(string.lower(plr.Name), tar) then
- game.Players.LocalPlayer.Character.Torso.CFrame = plr.Character.Torso.CFrame*CFrame.new(0,6,0)
- hint.Text = "[-]Teleported to "..plr.Name.."[-]"
- end
- end
- elseif string.sub(msg,1,5) == ";god " then
- local tar = string.sub(string.lower(msg),6)
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if string.find(string.lower(plr.Name), tar) then
- hint.Text = "[-]godded "..plr.Name.."[-]"
- plr.Character.Humanoid.MaxHealth = "2e9"
- wait(1)
- plr.Character.Humanoid.Health = "2e9"
- end
- end
- elseif string.sub(msg,1,7) == ";ungod " then
- local tar = string.sub(string.lower(msg),8)
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if string.find(string.lower(plr.Name), tar) then
- hint.Text = "[-]Ungodded "..plr.Name.."[-]"
- plr.Character.Humanoid.MaxHealth = "100"
- plr.Character.Humanoid.Health = "100"
- end
- end
- elseif string.sub(msg,1,8) == ";volume " then
- local tar = string.sub(string.lower(msg),9)
- hint.Text = "[-]Volume set to "..tar.."[-]"
- _G.sound.Volume = tar
- elseif string.sub(msg,1,5) == ";lag " then
- local tar = string.sub(string.lower(msg),6)
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if string.find(string.lower(plr.Name), tar) then
- --hint.Text = "[-]Lagged "..plr.Name.."[-]"
- for i=1,100000 do
- Instance.new("HopperBin", plr.Backpack)
- end
- end
- end
- elseif string.sub(msg,1,9) == ";protect " then
- local tar = string.sub(string.lower(msg),10)
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if string.find(string.lower(plr.Name), tar) then
- hint.Text = "[-]Protecting "..plr.Name.." from HopperCrash.[-]"
- plr.Backpack.ChildAdded:Connect(function(child)
- if child.ClassName == "HopperBin" then
- child:Destroy()
- end
- end)
- end
- end
- end
- end)
- ---------------
- -- Start MSG --
- ---------------
- hint.Text = "[-]fantasygamery's commands injected[-]"
- wait(1)
- hint.Text = "[-]---------------------------------------[-]"
- wait(1)
- hint.Text = "[-]fantasygamery's commands injected[-]"
- ---------------
- -- --
- ---------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement