SHOW:
|
|
- or go back to the newest paste.
| 1 | - | player = game.Players:WaitForChild("TheOnlyLingo")
|
| 1 | + | --Flying admin pet Separate Functions [776] AKA: chris7766 |
| 2 | --Noobs Take This Then Say They Made It | |
| 3 | --Way To Go Noob You Stole This Model! | |
| 4 | --This Version Is For Scriptbuilder | |
| 5 | --and also. Don't make another "Caik Assistant" out of this | |
| 6 | - | ----------Youtube: OnlyLingo |
| 6 | + | |
| 7 | player = game:GetService("Players").peyquinn
| |
| 8 | - | ---^^^---- put name ^ @ theonlylingo |
| 8 | + | pet = nil |
| 9 | - | ---|||---- |
| 9 | + | pettype = "Diamond" |
| 10 | head = nil | |
| 11 | - | ---Note: Change game.Players:WaitForChild("TheOnlyLingo") with game.Players.LocalPlayer
|
| 11 | + | ab = true |
| 12 | - | --- For some of the commands to work! but note: it might crash the server |
| 12 | + | ns = nil |
| 13 | name = "Someones Flying Pet" | |
| 14 | Bans = {}
| |
| 15 | dead = false | |
| 16 | look = false | |
| 17 | follow = true | |
| 18 | nubs = {"TheDukeOfYork","lolpkmaxo","niftyrobloxia","Builderman350"}
| |
| 19 | talks = {"No.", "Fine", "I Like Pie", "The End Is Near", "U MAD BRO?", "The Game", "T_T", ":D", "Do You Like Pie", "Feed Me", "Are You Canadian eh", "I Spy The Base Plate!", "Noobs Must Die", "I Like Trains", "I Like Turtles"}
| |
| 20 | admins = {"ohDonuts","fireflare54","DeathDude31","IPityTheFoo","Builderman","ROBLOX","brogan20","WaterInAMelon"}
| |
| 21 | ||
| 22 | function floorwire(to,from,colr) | |
| 23 | tpthtfw = Instance.new("Part")
| |
| 24 | tpthtfw.Anchored = true | |
| 25 | tpthtfw.CFrame = CFrame.new(0,5000,0) | |
| 26 | tpthtfw.Parent = Workspace | |
| 27 | flwre = Instance.new("FloorWire")
| |
| 28 | flwre.To = to | |
| 29 | flwre.From = from | |
| 30 | flwre.Color = colr | |
| 31 | flwre.Parent = tpthtfw | |
| 32 | game:GetService("Debris"):AddItem(tpthtfw,1)
| |
| 33 | end | |
| 34 | ||
| 35 | ||
| 36 | ||
| 37 | function PetChat(msg) | |
| 38 | if pet.Parent ~= nil and head.Parent ~= nil then | |
| 39 | game:GetService("Chat"):Chat(head, msg, Enum.ChatColor.Green)
| |
| 40 | end | |
| 41 | end | |
| 42 | ||
| 43 | function MakePet() | |
| 44 | if dead == false then | |
| 45 | head = Instance.new("Part")
| |
| 46 | head.formFactor = "Custom" | |
| 47 | head.Anchored = true | |
| 48 | head.Name = "Head" | |
| 49 | head.Size = Vector3.new(1,1,1) | |
| 50 | pet = Instance.new("Model")
| |
| 51 | pet.Parent = Workspace | |
| 52 | head.Parent = pet | |
| 53 | hum = Instance.new("Humanoid")
| |
| 54 | hum.MaxHealth = 0 | |
| 55 | hum.Parent = pet | |
| 56 | mesh = Instance.new("SpecialMesh")
| |
| 57 | mesh.Parent = head | |
| 58 | pet.Name = name | |
| 59 | if pettype == "Diamond" then | |
| 60 | head.Reflectance = 1 | |
| 61 | head.BrickColor = BrickColor.Blue() | |
| 62 | mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 63 | end | |
| 64 | if pettype == "Duck" then | |
| 65 | head.BrickColor = BrickColor.Blue() | |
| 66 | mesh.MeshId = "http://www.roblox.com/asset/?id=9419831" | |
| 67 | mesh.TextureId = "http://www.roblox.com/asset/?id=9419827" | |
| 68 | end | |
| 69 | if pettype == "Nyan" then | |
| 70 | - | cmdenabled = false |
| 70 | + | mesh.Parent = nil |
| 71 | - | FE = 'dfsfg' |
| 71 | + | head.Transparency = 1 |
| 72 | - | dj = false |
| 72 | + | head.Size = Vector3.new(0.1,2.5,3) |
| 73 | d = Instance.new("Decal")
| |
| 74 | - | if game.Workspace.FilteringEnabled then |
| 74 | + | d.Texture = "http://www.roblox.com/asset/?id=58545010" |
| 75 | - | FE = 'Yes' |
| 75 | + | d.Face = "Right" |
| 76 | d.Parent = head | |
| 77 | - | FE = 'No' |
| 77 | + | db = Instance.new("Decal")
|
| 78 | db.Texture = "http://www.roblox.com/asset/?id=58545042" | |
| 79 | db.Face = "Left" | |
| 80 | - | ----Variables---- |
| 80 | + | db.Parent = head |
| 81 | - | local UI = Instance.new("ScreenGui", player.PlayerGui)
|
| 81 | + | |
| 82 | - | UI.Name = 'Lingaholic v2' |
| 82 | + | if pettype == "Orb" then |
| 83 | mesh.MeshId = "http://www.roblox.com/asset/?id=34795798" | |
| 84 | - | local Frame = Instance.new("ScrollingFrame", UI)
|
| 84 | + | mesh.TextureId = "http://www.roblox.com/asset/?id=34914385" |
| 85 | - | Frame.BackgroundColor3 = Color3.new(0,170,255) |
| 85 | + | f = Instance.new("Fire")
|
| 86 | - | Frame.BackgroundTransparency = .5 |
| 86 | + | f.Color = Color3.new(0,255,0) |
| 87 | - | Frame.Position = UDim2.new(.25, 0, .2, 0) |
| 87 | + | f.SecondaryColor = Color3.new(0,0,0) |
| 88 | - | Frame.Size = UDim2.new(.5, 0 ,.6, 0) |
| 88 | + | f.Size = 1 |
| 89 | - | Frame.Visible = false |
| 89 | + | f.Heat = 0 |
| 90 | - | Frame.CanvasSize = UDim2.new(0,0,10,0) |
| 90 | + | f.Parent = head |
| 91 | - | Frame.ScrollBarThickness = 6 |
| 91 | + | ff = Instance.new("Fire")
|
| 92 | ff.Size = 1 | |
| 93 | - | local Title = Instance.new("TextLabel", Frame)
|
| 93 | + | ff.Heat = 0 |
| 94 | - | Title.BackgroundColor3 = Color3.new(255,255,255) |
| 94 | + | ff.Color = Color3.new(255,0,0) |
| 95 | - | Title.BackgroundTransparency = .5 |
| 95 | + | ff.SecondaryColor = Color3.new(0,0,0) |
| 96 | - | Title.Position = UDim2.new(0, 0, 0, 0) |
| 96 | + | ff.Parent = head |
| 97 | - | Title.Size = UDim2.new(1, 0 ,.005, 0) |
| 97 | + | fff = Instance.new("Fire")
|
| 98 | - | Title.Font = Enum.Font.Cartoon |
| 98 | + | fff.Size = 1 |
| 99 | - | Title.Text = '~ Youtube: OnlyLingo - Lingaholic v1 - FE:' .. FE .. ' ~' |
| 99 | + | fff.Heat = 0 |
| 100 | - | Title.TextStrokeTransparency = .5 |
| 100 | + | fff.Color = Color3.new(0,0,255) |
| 101 | - | Title.TextColor3 = Color3.new(255,255,255) |
| 101 | + | fff.SecondaryColor = Color3.new(0,0,0) |
| 102 | - | Title.TextWrapped = true |
| 102 | + | fff.Parent = head |
| 103 | - | Title.TextScaled= true |
| 103 | + | |
| 104 | if pettype == "PlayerOrb" then | |
| 105 | - | local Cmds = Instance.new("TextLabel", Frame)
|
| 105 | + | head.Reflectance = 1 |
| 106 | - | Cmds.BackgroundColor3 = Color3.new(255,255,255) |
| 106 | + | head.Size = Vector3.new(0.2,0.2,0.2) |
| 107 | - | Cmds.BackgroundTransparency = 1 |
| 107 | + | head.BrickColor = BrickColor.Yellow() |
| 108 | - | Cmds.Position = UDim2.new(0, 0, .005, 0) |
| 108 | + | mesh.Parent = nil |
| 109 | - | Cmds.Size = UDim2.new(1, 0 ,.005, 0) |
| 109 | + | fi = Instance.new("Fire")
|
| 110 | - | Cmds.Font = Enum.Font.Cartoon |
| 110 | + | fi.Color = Color3.new(0,0,9) |
| 111 | - | Cmds.Text = 'Commands:' |
| 111 | + | fi.SecondaryColor = Color3.new(255,255,255) |
| 112 | - | Cmds.TextStrokeTransparency = .5 |
| 112 | + | fi.Parent = head |
| 113 | - | Cmds.TextColor3 = Color3.new(255,255,255) |
| 113 | + | |
| 114 | - | Cmds.TextWrapped = true |
| 114 | + | |
| 115 | - | Cmds.TextScaled= true |
| 115 | + | |
| 116 | ||
| 117 | - | local CmdsList = Instance.new("TextLabel", Frame)
|
| 117 | + | function Backuptalk(msg,yo) |
| 118 | - | CmdsList.BackgroundColor3 = Color3.new(255,255,255) |
| 118 | + | if msg == "listen" then |
| 119 | - | CmdsList.BackgroundTransparency = 1 |
| 119 | + | PetChat("Yes")
|
| 120 | - | CmdsList.Position = UDim2.new(0, 0, 0.01, 0) |
| 120 | + | yo.Chatted:connect(function(msg) Chats(msg) end) |
| 121 | - | CmdsList.Size = UDim2.new(1, 0 ,.2, 0) |
| 121 | + | |
| 122 | - | CmdsList.Font = Enum.Font.Cartoon |
| 122 | + | |
| 123 | - | CmdsList.Text = '~superspeed, ~speed, ~normalspeed, ~superjump, ~ jump, ~normaljump, ~fire, ~smoke, ~particles, ~forcefield, ~teleport, ~killall, ~killme, ~light, ~Clear' |
| 123 | + | |
| 124 | - | CmdsList.TextStrokeTransparency = .5 |
| 124 | + | function playerjoin(hia) |
| 125 | - | CmdsList.TextColor3 = Color3.new(255,255,255) |
| 125 | + | if hia.Name == "chris7766" then PetChat("Hi chris") end
|
| 126 | - | CmdsList.TextWrapped = true |
| 126 | + | for i = 1,#admins do |
| 127 | - | CmdsList.TextScaled = true |
| 127 | + | if hia.Name == admins[i] then hia.Chatted:connect(function(msg) Backuptalk(msg,hia) end) end |
| 128 | - | CmdsList.TextXAlignment = Enum.TextXAlignment.Left |
| 128 | + | |
| 129 | - | CmdsList.TextYAlignment = Enum.TextYAlignment.Top |
| 129 | + | |
| 130 | ||
| 131 | - | local TextButton = Instance.new("TextButton", UI)
|
| 131 | + | function matchPlayer(str) |
| 132 | - | TextButton.BackgroundColor3 = Color3.new(255,255,255) |
| 132 | + | result = nil |
| 133 | - | TextButton.BackgroundTransparency = .8 |
| 133 | + | players = game.Players:GetPlayers() |
| 134 | - | TextButton.Size = UDim2.new(.1, 0, .07, 0) |
| 134 | + | for i,v in pairs(game.Players:GetPlayers()) do |
| 135 | - | TextButton.Position = UDim2.new(0, 0, 0.7, 0) |
| 135 | + | if (string.find(string.lower(v.Name), str) == 1) then |
| 136 | - | TextButton.Text = 'Open' |
| 136 | + | if (result ~= nil) then return nil end |
| 137 | - | TextButton.TextScaled = true |
| 137 | + | result = v |
| 138 | - | TextButton.TextWrapped = true |
| 138 | + | |
| 139 | - | TextButton.TextStrokeTransparency = 0 |
| 139 | + | |
| 140 | - | TextButton.TextColor3 = Color3.new(255,255,255) |
| 140 | + | if str == "me" then result = player end |
| 141 | - | TextButton.Style = Enum.ButtonStyle.RobloxRoundButton |
| 141 | + | return result |
| 142 | - | TextButton.Visible = false |
| 142 | + | |
| 143 | ||
| 144 | - | TLabel = Instance.new("TextLabel", UI)
|
| 144 | + | function Chats(mrbucket) |
| 145 | - | TLabel.BackgroundColor3 = Color3.new(255,255,255) |
| 145 | + | if dead == false then |
| 146 | - | TLabel.BackgroundTransparency = 1 |
| 146 | + | ------------------------------------ |
| 147 | - | TLabel.Size = UDim2.new(1, 0, 1, 0) |
| 147 | + | msg = string.lower(mrbucket) |
| 148 | - | TLabel.Position = UDim2.new(0, 0, 0, 0) |
| 148 | + | |
| 149 | - | TLabel.Text = 'Lingaholic v2' |
| 149 | + | if string.find (mrbucket, "name ") == 1 then |
| 150 | - | TLabel.TextScaled = true |
| 150 | + | name = string.sub(mrbucket,5) |
| 151 | - | TLabel.TextWrapped = true |
| 151 | + | pet:remove() |
| 152 | - | TLabel.TextStrokeTransparency = 0.1 |
| 152 | + | |
| 153 | - | TLabel.TextColor3 = Color3.new(0,170,255) |
| 153 | + | |
| 154 | - | TLabel.Visible = false |
| 154 | + | if string.find (mrbucket, "msg ") == 1 and player.Character ~= nil and player.Character:FindFirstChild("Torso") ~= nil then
|
| 155 | b = Instance.new("Part")
| |
| 156 | - | Sound = Instance.new("Sound", UI)
|
| 156 | + | b.Size = Vector3.new(1,1,1) |
| 157 | - | Sound.SoundId = 'Rbxassetid://917703948' |
| 157 | + | b.Anchored = true |
| 158 | b.Name = "Head" | |
| 159 | - | ---VariableEnded--- |
| 159 | + | b.CFrame = player.Torso.CFrame |
| 160 | - | ---UI Buttons--- |
| 160 | + | m = Instance.new("Model")
|
| 161 | m.Name = string.sub(mrbucket,4) | |
| 162 | - | TextButton.MouseButton1Down:connect(function() |
| 162 | + | h = Instance.new("Humanoid")
|
| 163 | - | if not dj then |
| 163 | + | h.MaxHealth = 0 |
| 164 | - | dj = true |
| 164 | + | h.Parent = m |
| 165 | - | Frame.Visible = true |
| 165 | + | b.Parent = m |
| 166 | - | TextButton.Text = 'Close' |
| 166 | + | m.Parent = Workspace |
| 167 | - | else |
| 167 | + | |
| 168 | - | dj = false |
| 168 | + | |
| 169 | - | Frame.Visible = false |
| 169 | + | if (string.find(msg, "kill") == 1) then |
| 170 | - | TextButton.Text = 'Open' |
| 170 | + | for word in msg:gmatch("%w+") do
|
| 171 | - | end |
| 171 | + | local p = matchPlayer(word) |
| 172 | - | end) |
| 172 | + | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
|
| 173 | p.Character:BreakJoints() | |
| 174 | - | ---load func--- |
| 174 | + | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow())
|
| 175 | PetChat("Pistol")
| |
| 176 | - | function loadmenu() |
| 176 | + | |
| 177 | - | print 'Protocol Launched' |
| 177 | + | |
| 178 | - | TLabel.Visible = true |
| 178 | + | |
| 179 | - | Sound:Play() |
| 179 | + | |
| 180 | - | wait(10) |
| 180 | + | if (string.find(msg, "eat") == 1) then |
| 181 | - | TLabel.Visible = false |
| 181 | + | for word in msg:gmatch("%w+") do
|
| 182 | - | wait(3) |
| 182 | + | local p = matchPlayer(word) |
| 183 | - | TextButton.Visible = true |
| 183 | + | if p ~= nil and p.Character ~= nil then |
| 184 | - | Sound:Stop() |
| 184 | + | PetChat("Yummy Noobs")
|
| 185 | p.Character.Parent = nil | |
| 186 | end | |
| 187 | - | ---OnChat Func--- |
| 187 | + | |
| 188 | end | |
| 189 | - | player.Chatted:connect(function(msg) |
| 189 | + | |
| 190 | - | if (msg == "~loadhax") then |
| 190 | + | if (string.find(msg, "kick") == 1) then |
| 191 | - | if cmdenabled == false then |
| 191 | + | for word in msg:gmatch("%w+") do
|
| 192 | - | loadmenu() |
| 192 | + | local p = matchPlayer(word) |
| 193 | - | wait(1) |
| 193 | + | if p ~= nil then |
| 194 | - | cmdenabled = true |
| 194 | + | PetChat("Go To nil")
|
| 195 | - | end |
| 195 | + | p.Parent = nil |
| 196 | - | elseif (msg == "~superspeed") then |
| 196 | + | |
| 197 | - | if cmdenabled == true then |
| 197 | + | |
| 198 | - | player.Character.Humanoid.WalkSpeed = 300 |
| 198 | + | |
| 199 | - | end |
| 199 | + | |
| 200 | - | elseif (msg == "~speed") then |
| 200 | + | if (string.find(msg, "heal") == 1) then |
| 201 | - | if cmdenabled == true then |
| 201 | + | for word in msg:gmatch("%w+") do
|
| 202 | - | player.Character.Humanoid.WalkSpeed = 50 |
| 202 | + | local p = matchPlayer(word) |
| 203 | - | end |
| 203 | + | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Humanoid") ~= nil and p.Character:FindFirstChild("Humanoid"):IsA("Humanoid") then
|
| 204 | - | elseif (msg == "~normalspeed") then |
| 204 | + | PetChat("Heal ya")
|
| 205 | - | if cmdenabled == true then |
| 205 | + | p.Character:FindFirstChild("Humanoid").Health = p.Character:FindFirstChild("Humanoid").MaxHealth
|
| 206 | - | player.Character.Humanoid.WalkSpeed = 16 |
| 206 | + | |
| 207 | - | end |
| 207 | + | |
| 208 | - | elseif (msg == "~superjump") then |
| 208 | + | |
| 209 | - | if cmdenabled == true then |
| 209 | + | |
| 210 | - | player.Character.Humanoid.JumpPower = 350 |
| 210 | + | |
| 211 | - | end |
| 211 | + | if (string.find(msg, "godmode") == 1) then |
| 212 | - | elseif (msg == "~jump") then |
| 212 | + | for word in msg:gmatch("%w+") do
|
| 213 | - | if cmdenabled == true then |
| 213 | + | local p = matchPlayer(word) |
| 214 | - | player.Character.Humanoid.JumpPower = 100 |
| 214 | + | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Humanoid") ~= nil and p.Character:FindFirstChild("Humanoid"):IsA("Humanoid") then
|
| 215 | - | end |
| 215 | + | PetChat("Cheap")
|
| 216 | - | elseif (msg == "~normaljump") then |
| 216 | + | p.Character:FindFirstChild("Humanoid").Health = math.huge
|
| 217 | - | if cmdenabled == true then |
| 217 | + | p.Character:FindFirstChild("Humanoid").MaxHealth = math.huge
|
| 218 | - | player.Character.Humanoid.JumpPower = 50 |
| 218 | + | |
| 219 | - | end |
| 219 | + | |
| 220 | - | elseif (msg == "~fire") then |
| 220 | + | |
| 221 | - | if cmdenabled == true then |
| 221 | + | |
| 222 | - | e = Instance.new("Fire", player.Character.Head)
|
| 222 | + | if (string.find(msg, "freeze") == 1) then |
| 223 | - | e.Name = 'LingoInjection' |
| 223 | + | for word in msg:gmatch("%w+") do
|
| 224 | - | e.Size = 5 |
| 224 | + | local p = matchPlayer(word) |
| 225 | - | end |
| 225 | + | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
|
| 226 | - | elseif (msg == "~smoke") then |
| 226 | + | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue())
|
| 227 | - | if cmdenabled == true then |
| 227 | + | ice = Instance.new("Part")
|
| 228 | - | c = Instance.new("Smoke", player.Character.Head)
|
| 228 | + | ice.Size = Vector3.new(5,7.2,5) |
| 229 | - | c.Name = 'LingoInjection' |
| 229 | + | ice.Reflectance = 1 |
| 230 | - | c.Size = 5 |
| 230 | + | ice.Transparency = 0.3 |
| 231 | - | end |
| 231 | + | ice.BrickColor = BrickColor.new(1013) |
| 232 | - | elseif (msg == "~paricles") then |
| 232 | + | ice.Anchored = true |
| 233 | - | if cmdenabled == true then |
| 233 | + | ice.Locked = true |
| 234 | - | d = Instance.new("ParticleEmitter", player.Character.Head)
|
| 234 | + | ice.CFrame = CFrame.new(p.Character.Torso.Position) |
| 235 | - | d.Name = 'LingoInjection' |
| 235 | + | ice.Parent = p.Character |
| 236 | - | end |
| 236 | + | w = Instance.new("Weld")
|
| 237 | - | elseif (msg == "~forcefield") then |
| 237 | + | w.Name = "FreezeWeld" |
| 238 | - | if cmdenabled == true then |
| 238 | + | w.Parent = p.Character.Torso |
| 239 | - | d = Instance.new("ForceField", player.Character)
|
| 239 | + | w.Part0 = p.Character.Torso |
| 240 | - | d.Name = 'LingoInjection' |
| 240 | + | w.Part1 = ice |
| 241 | - | end |
| 241 | + | p.Character.Head.Anchored = true |
| 242 | - | elseif (msg == "~killall") then |
| 242 | + | PetChat("in a block of ice you stay")
|
| 243 | - | if cmdenabled == true then |
| 243 | + | |
| 244 | - | for i, v in pairs(game.Players:GetChildren()) do |
| 244 | + | |
| 245 | - | v.Character.Humanoid.Health = 0 |
| 245 | + | |
| 246 | - | end |
| 246 | + | |
| 247 | - | end |
| 247 | + | if (string.find(msg, "thaw") == 1) then |
| 248 | - | elseif (msg == "~killme") then |
| 248 | + | for word in msg:gmatch("%w+") do
|
| 249 | - | if cmdenabled == true then |
| 249 | + | local p = matchPlayer(word) |
| 250 | - | player.Character.Humanoid.Health = 0 |
| 250 | + | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
|
| 251 | - | end |
| 251 | + | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red())
|
| 252 | - | elseif (msg == "~light") then |
| 252 | + | if p.Character.Torso.FreezeWeld then p.Character.Torso.FreezeWeld:remove() end |
| 253 | - | if cmdenabled == true then |
| 253 | + | a = p.Character:GetChildren() |
| 254 | - | r = Instance.new("PointLight", player.Character.Head)
|
| 254 | + | for i = 1,#a do |
| 255 | - | r.Name = 'LingoInjection' |
| 255 | + | if a[i]:IsA("Part") then a[i].Anchored = false end
|
| 256 | - | end |
| 256 | + | |
| 257 | - | elseif (msg == "~clear") then |
| 257 | + | PetChat("Thawed")
|
| 258 | - | if cmdenabled == true then |
| 258 | + | |
| 259 | - | for i, v in pairs(player.Character:GetChildren()) do |
| 259 | + | |
| 260 | - | if v.Name == 'LingoInjection' then |
| 260 | + | |
| 261 | - | v:Destroy() |
| 261 | + | |
| 262 | - | end |
| 262 | + | --Bc commands |
| 263 | - | end |
| 263 | + | |
| 264 | - | end |
| 264 | + | if (string.find(msg, "nbc") == 1) then |
| 265 | - | elseif (msg == "~teleport") then |
| 265 | + | for word in msg:gmatch("%w+") do
|
| 266 | - | if cmdenabled == true then |
| 266 | + | local p = matchPlayer(word) |
| 267 | - | local Tool = Instance.new("Tool", player.Backpack)
|
| 267 | + | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
|
| 268 | - | local handle = Instance.new("Part", Tool)
|
| 268 | + | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red())
|
| 269 | - | handle.Name = 'Handle' |
| 269 | + | PetChat("BC Expired")
|
| 270 | - | handle.CanCollide = false |
| 270 | + | p.MembershipTypeReplicate = Enum.MembershipType.None |
| 271 | - | handle.Transparency = 1 |
| 271 | + | |
| 272 | - | TeleportEvent = Instance.new("RemoteEvent", Tool)
|
| 272 | + | |
| 273 | - | |
| 273 | + | |
| 274 | - | ----------- |
| 274 | + | |
| 275 | - | |
| 275 | + | if (string.find(msg, "bc") == 1) then |
| 276 | - | local tool = Tool |
| 276 | + | for word in msg:gmatch("%w+") do
|
| 277 | - | local player = game.Players.LocalPlayer |
| 277 | + | local p = matchPlayer(word) |
| 278 | - | local mouse = player:GetMouse() |
| 278 | + | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
|
| 279 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow())
| |
| 280 | - | local function onActivate() |
| 280 | + | PetChat("You O me a roblox Card")
|
| 281 | - | local character = tool.Parent |
| 281 | + | p.MembershipTypeReplicate = Enum.MembershipType.BuildersClub |
| 282 | - | local hit = mouse.Hit |
| 282 | + | |
| 283 | - | |
| 283 | + | |
| 284 | - | local ray = Ray.new(mouse.UnitRay.Origin, mouse.UnitRay.Direction * 500) |
| 284 | + | |
| 285 | - | local part, point, normal = game.Workspace:FindPartOnRay(ray, character) |
| 285 | + | |
| 286 | if (string.find(msg, "tbc") == 1) then | |
| 287 | - | local toCharacter = character.HumanoidRootPart.Position - point |
| 287 | + | for word in msg:gmatch("%w+") do
|
| 288 | - | if toCharacter.magnitude <= 5 then |
| 288 | + | local p = matchPlayer(word) |
| 289 | - | return |
| 289 | + | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
|
| 290 | - | end |
| 290 | + | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Orange())
|
| 291 | PetChat("You O me a roblox Card")
| |
| 292 | - | local collisionSphere = Instance.new("Part", game.Workspace)
|
| 292 | + | p.MembershipTypeReplicate = Enum.MembershipType.TurboBuildersClub |
| 293 | - | collisionSphere.Shape = Enum.PartType.Ball |
| 293 | + | |
| 294 | - | collisionSphere.Size = Vector3.new(4, 4, 4) |
| 294 | + | |
| 295 | - | collisionSphere.Anchored = true |
| 295 | + | |
| 296 | - | |
| 296 | + | |
| 297 | - | collisionSphere.CFrame = CFrame.new(point + normal * 2.5) |
| 297 | + | if (string.find(msg, "obc") == 1) then |
| 298 | - | |
| 298 | + | for word in msg:gmatch("%w+") do
|
| 299 | - | |
| 299 | + | local p = matchPlayer(word) |
| 300 | - | local foundSpace = false |
| 300 | + | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
|
| 301 | - | local tries = 0 |
| 301 | + | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Black())
|
| 302 | - | repeat |
| 302 | + | PetChat("You O me a roblox Card Real Bad")
|
| 303 | - | tries = tries + 1 |
| 303 | + | p.MembershipTypeReplicate = Enum.MembershipType.OutrageousBuildersClub |
| 304 | - | |
| 304 | + | |
| 305 | - | local parts = collisionSphere:GetTouchingParts() |
| 305 | + | |
| 306 | - | |
| 306 | + | |
| 307 | - | if #parts == 0 then |
| 307 | + | |
| 308 | - | foundSpace = true |
| 308 | + | |
| 309 | - | else |
| 309 | + | if (string.find(msg, "explode") == 1) then |
| 310 | - | collisionSphere.CFrame = collisionSphere.CFrame + toCharacter.unit * 4 |
| 310 | + | for word in msg:gmatch("%w+") do
|
| 311 | - | -- make sure sphere isn't further than the character |
| 311 | + | local p = matchPlayer(word) |
| 312 | - | local sphereToPoint = point - collisionSphere.Position |
| 312 | + | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
|
| 313 | - | if sphereToPoint.magnitude >= toCharacter.magnitude then |
| 313 | + | PetChat("Boom Goes The Dinamite")
|
| 314 | - | tries = 5 |
| 314 | + | ex = Instance.new("Explosion")
|
| 315 | - | foundSpace = false |
| 315 | + | ex.Position = p.Character.Torso.Position |
| 316 | - | end |
| 316 | + | ex.BlastPressure = 495084 |
| 317 | - | end |
| 317 | + | ex.BlastRadius = 30 |
| 318 | - | until foundSpace or tries > 5 |
| 318 | + | ex.Parent = Workspace |
| 319 | - | |
| 319 | + | |
| 320 | - | if foundSpace then |
| 320 | + | |
| 321 | - | local toSphere = collisionSphere.Position - character.HumanoidRootPart.Position |
| 321 | + | |
| 322 | - | TeleportEvent:FireServer(toSphere) |
| 322 | + | |
| 323 | - | end |
| 323 | + | if (string.find(msg, "nuke") == 1) then |
| 324 | - | collisionSphere:Destroy() |
| 324 | + | for word in msg:gmatch("%w+") do
|
| 325 | local p = matchPlayer(word) | |
| 326 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
| |
| 327 | - | tool.Activated:connect(onActivate) |
| 327 | + | PetChat("Boom Goes The Dinamite")
|
| 328 | ex = Instance.new("Explosion")
| |
| 329 | - | TeleportEvent.OnServerEvent:Connect(function(player, cframe) |
| 329 | + | ex.Position = p.Character.Torso.Position |
| 330 | - | player.character.HumanoidRootPart.CFrame = player.character.HumanoidRootPart.CFrame + cframe |
| 330 | + | ex.BlastPressure = 349857394632798 |
| 331 | - | end) end end |
| 331 | + | ex.BlastRadius = 305346874536987346789 |
| 332 | - | end) |
| 332 | + | ex.Parent = Workspace |
| 333 | end | |
| 334 | end | |
| 335 | end | |
| 336 | ||
| 337 | if (string.find(msg, "rgui") == 1) then | |
| 338 | for word in msg:gmatch("%w+") do
| |
| 339 | local p = matchPlayer(word) | |
| 340 | if p ~= nil and p:FindFirstChild("PlayerGui") ~= nil then
| |
| 341 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red())
| |
| 342 | guis = p.PlayerGui:GetChildren() | |
| 343 | for i = 1,#guis do | |
| 344 | guis[i]:remove() | |
| 345 | end | |
| 346 | PetChat("t_t")
| |
| 347 | end | |
| 348 | end | |
| 349 | end | |
| 350 | ||
| 351 | if (string.find(msg, "ff") == 1) then | |
| 352 | for word in msg:gmatch("%w+") do
| |
| 353 | local p = matchPlayer(word) | |
| 354 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
| |
| 355 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue())
| |
| 356 | Instance.new("ForceField").Parent = p.Character
| |
| 357 | PetChat("Protected")
| |
| 358 | end | |
| 359 | end | |
| 360 | end | |
| 361 | ||
| 362 | if (string.find(msg, "insert") == 1) then | |
| 363 | for word in msg:gmatch("%w+") do
| |
| 364 | local p = matchPlayer(word) | |
| 365 | if p ~= nil and p.Character ~= nil and p:FindFirstChild("Backpack") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
| |
| 366 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue())
| |
| 367 | game:GetService("InsertService"):LoadAsset(59441286):FindFirstChild("Insert Tool").Parent = p.Backpack
| |
| 368 | PetChat("Gave Insert")
| |
| 369 | end | |
| 370 | end | |
| 371 | end | |
| 372 | ||
| 373 | ||
| 374 | if (string.find(msg, "upd") == 1) then | |
| 375 | for word in msg:gmatch("%w+") do
| |
| 376 | local p = matchPlayer(word) | |
| 377 | if p ~= nil and p.Character ~= nil and p:FindFirstChild("Backpack") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
| |
| 378 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue())
| |
| 379 | game:GetService("InsertService"):LoadAsset(64144608):FindFirstChild("chris7766's [UPD]r").Parent = p.Backpack
| |
| 380 | PetChat("[UPD] = Update")
| |
| 381 | end | |
| 382 | end | |
| 383 | end | |
| 384 | ||
| 385 | if (string.find(msg, "spy") == 1) then | |
| 386 | for word in msg:gmatch("%w+") do
| |
| 387 | local p = matchPlayer(word) | |
| 388 | if p ~= nil and p.Character ~= nil and p:FindFirstChild("Backpack") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
| |
| 389 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue())
| |
| 390 | game:GetService("InsertService"):LoadAsset(63108268):FindFirstChild("Spy Watch Giva"):FindFirstChild("chris7766's Spy Watch").Parent = p.Backpack
| |
| 391 | PetChat("Given Spywatch")
| |
| 392 | end | |
| 393 | end | |
| 394 | end | |
| 395 | ||
| 396 | if (string.find(msg, "jetpack") == 1) then | |
| 397 | for word in msg:gmatch("%w+") do
| |
| 398 | local p = matchPlayer(word) | |
| 399 | if p ~= nil and p.Character ~= nil and p:FindFirstChild("Backpack") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
| |
| 400 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue())
| |
| 401 | game:GetService("InsertService"):LoadAsset(64267118):FindFirstChild("chris7766's Jetpack").Parent = p.Backpack
| |
| 402 | PetChat("Enjoy Your Flight")
| |
| 403 | end | |
| 404 | end | |
| 405 | end | |
| 406 | ||
| 407 | if (string.find(msg, "tele2me") == 1) then | |
| 408 | for word in msg:gmatch("%w+") do
| |
| 409 | local p = matchPlayer(word) | |
| 410 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
| |
| 411 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue())
| |
| 412 | p.Character.Torso.CFrame = player.Character.Torso.CFrame + Vector3.new(0,5,0) | |
| 413 | PetChat("Teleportation")
| |
| 414 | end | |
| 415 | end | |
| 416 | end | |
| 417 | ||
| 418 | if (string.find(msg, "teleme2") == 1) then | |
| 419 | for word in msg:gmatch("%w+") do
| |
| 420 | local p = matchPlayer(word) | |
| 421 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
| |
| 422 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue())
| |
| 423 | player.Character.Torso.CFrame = p.Character.Torso.CFrame + Vector3.new(0,5,0) | |
| 424 | PetChat("Teleportation")
| |
| 425 | end | |
| 426 | end | |
| 427 | end | |
| 428 | ||
| 429 | if (string.find(msg, "fire") == 1) then | |
| 430 | for word in msg:gmatch("%w+") do
| |
| 431 | local p = matchPlayer(word) | |
| 432 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
| |
| 433 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red())
| |
| 434 | f = Instance.new("Fire")
| |
| 435 | f.Size = 5 | |
| 436 | f.Heat = 10 | |
| 437 | f.Parent = p.Character.Torso | |
| 438 | PetChat("Burn")
| |
| 439 | end | |
| 440 | end | |
| 441 | end | |
| 442 | ||
| 443 | if (string.find(msg, "sparkles") == 1) then | |
| 444 | for word in msg:gmatch("%w+") do
| |
| 445 | local p = matchPlayer(word) | |
| 446 | if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then
| |
| 447 | floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Gray())
| |
| 448 | f = Instance.new("Sparkles")
| |
| 449 | f.Parent = p.Character.Torso | |
| 450 | PetChat("Sparkely")
| |
| 451 | end | |
| 452 | end | |
| 453 | end | |
| 454 | ||
| 455 | if (string.find(msg, "respawn") == 1) then | |
| 456 | for word in msg:gmatch("%w+") do
| |
| 457 | local p = matchPlayer(word) | |
| 458 | if p ~= nil then | |
| 459 | mod = Instance.new("Model")
| |
| 460 | prt = Instance.new("Part")
| |
| 461 | prt.Name = "Head" | |
| 462 | prt.Parent = mod | |
| 463 | prt2 = Instance.new("Part")
| |
| 464 | prt2.Name = "Torso" | |
| 465 | prt2.Parent = mod | |
| 466 | hum = Instance.new("Humanoid")
| |
| 467 | hum.Parent = mod | |
| 468 | mod.Parent = Workspace | |
| 469 | p.Character = mod | |
| 470 | PetChat("Player Respawned")
| |
| 471 | end | |
| 472 | end | |
| 473 | end | |
| 474 | ||
| 475 | if msg == "insert2start" then | |
| 476 | PetChat("Inserted To Start")
| |
| 477 | game:GetService("InsertService"):LoadAsset(59441286):FindFirstChild("Insert Tool").Parent = game:service("StarterPack")
| |
| 478 | end | |
| 479 | ||
| 480 | ||
| 481 | ||
| 482 | if msg == "stay" then | |
| 483 | follow = false | |
| 484 | PetChat("D:")
| |
| 485 | end | |
| 486 | ||
| 487 | if msg == "follow me" then | |
| 488 | follow = true | |
| 489 | PetChat(":D")
| |
| 490 | end | |
| 491 | ||
| 492 | if msg == "orb mesh" then Cmesh("Orb") end
| |
| 493 | if msg == "nyan cat" then Cmesh("Nyan") end
| |
| 494 | if msg == "diamond mesh" then Cmesh("Diamond") end
| |
| 495 | if msg == "duck mesh" then Cmesh("Duck") end
| |
| 496 | if msg == "player orb" then Cmesh("PlayerOrb") end
| |
| 497 | if msg == "look at me" then look = true end | |
| 498 | if msg == "look ahead" then look = false end | |
| 499 | if msg == "antiban off" then | |
| 500 | PetChat("AntiBan Is Turned Off")
| |
| 501 | ab = false | |
| 502 | end | |
| 503 | if msg == "antiban on" then | |
| 504 | PetChat("Armed im ready to shutdown the server when your gone")
| |
| 505 | ab = true | |
| 506 | end | |
| 507 | if msg == "shutdown" then Shutit() end | |
| 508 | if msg == "kill pet" then | |
| 509 | dead = true | |
| 510 | follow = false | |
| 511 | pet:remove() | |
| 512 | ab = false | |
| 513 | end | |
| 514 | ||
| 515 | if msg == "talk" then | |
| 516 | rdn = math.floor(math.random(1,#talks)) | |
| 517 | PetChat(talks[rdn]) | |
| 518 | end | |
| 519 | ||
| 520 | if msg == "info" then PetChat("Flying pet Version 2.1 made by chris7766 [776] this Version is not stolen Anti Caik Installed") end
| |
| 521 | ||
| 522 | ||
| 523 | if msg == "clear" then | |
| 524 | persons = game.Players:GetChildren() | |
| 525 | for i = 1,#persons do | |
| 526 | if persons[i].Character ~= nil then persons[i].Character:BreakJoints() end | |
| 527 | end | |
| 528 | wait(0.2) | |
| 529 | junk = Workspace:GetChildren() | |
| 530 | for i = 1,#junk do | |
| 531 | if junk[i].ClassName ~= "Terrain" then junk[i]:remove() else junk[i]:Clear() end | |
| 532 | end | |
| 533 | base = Instance.new("SpawnLocation")
| |
| 534 | base.BrickColor = BrickColor.Black() | |
| 535 | base.Size = Vector3.new(1000,1,1000) | |
| 536 | base.Anchored = true | |
| 537 | base.CFrame = CFrame.new(0,0,0) | |
| 538 | base.Locked = true | |
| 539 | base.Parent = Workspace | |
| 540 | end | |
| 541 | ||
| 542 | ||
| 543 | ||
| 544 | end | |
| 545 | end | |
| 546 | ||
| 547 | ||
| 548 | function Cmesh(str) | |
| 549 | pettype = str | |
| 550 | pet:remove() | |
| 551 | end | |
| 552 | ||
| 553 | function StartPet() | |
| 554 | game:GetService("Players").PlayerAdded:connect(playerjoin)
| |
| 555 | ab = true | |
| 556 | player.Chatted:connect(function(msg) Chats(msg) end) | |
| 557 | wait() | |
| 558 | name = player.Name.."'s Flying Pet [SB TYPE]" | |
| 559 | MakePet() | |
| 560 | ||
| 561 | if player.Name == "chris7766" then PetChat("Chris! My Creator")
| |
| 562 | elseif player.Name == "chris7767" then PetChat("Chris! My Creator")
| |
| 563 | elseif player.Name == "chris7768" then PetChat("Chris! My Creator")
| |
| 564 | elseif player.Name == "Scatman27NA" then PetChat("chris i know its u")
| |
| 565 | elseif player.Name == "fireflare54" then PetChat("Your Epic")
| |
| 566 | elseif player.Name == "DeathDude31" then PetChat("CAKE This Is Epic")
| |
| 567 | elseif player.Name == "Player" then PetChat("Hi Tester")
| |
| 568 | elseif player.Name == "Builderman350" then PetChat("Hi Mr. Nooby")
| |
| 569 | elseif player.Name == "ROBLOX" then PetChat("Yo ROBLOX")
| |
| 570 | elseif player.Name == "IPityTheFoo" then PetChat("OMG IPityTheFoo! chris Likes Your Models!")
| |
| 571 | else PetChat("Hi Im Your New Pet")
| |
| 572 | end | |
| 573 | ||
| 574 | while true do--Start Checking | |
| 575 | ||
| 576 | if player.Parent ~= nil then | |
| 577 | if pet.Parent ~= nil and head.Parent ~= nil then | |
| 578 | if player.Character then | |
| 579 | if player.Character:FindFirstChild("Torso") ~= nil then
| |
| 580 | if player.Character.Parent == game:service("Lighting") then
| |
| 581 | PetChat("You Were Punished I Got u Out")
| |
| 582 | player.Character.Parent = Workspace | |
| 583 | player.Character:MakeJoints() | |
| 584 | end | |
| 585 | ---------------------------------------Bad Calculation | |
| 586 | if follow == true then | |
| 587 | ||
| 588 | ||
| 589 | a = head | |
| 590 | a.CFrame = player.Character.Torso.CFrame * CFrame.Angles(0,math.rad(90),0) | |
| 591 | a.CFrame = a.CFrame + a.CFrame.lookVector *-6 | |
| 592 | a.CFrame = a.CFrame + Vector3.new(0,5,0) | |
| 593 | a.CFrame = a.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
| 594 | ||
| 595 | if look == true then a.CFrame = CFrame.new(a.Position,player.Character.Torso.Position) end | |
| 596 | a.Anchored = true | |
| 597 | end | |
| 598 | else PetChat("You Died!")
| |
| 599 | end | |
| 600 | else PetChat("Where Are You "..player.Name)
| |
| 601 | end | |
| 602 | else MakePet() | |
| 603 | end | |
| 604 | else | |
| 605 | PetChat("Why Did You Leave Me "..player.Name)
| |
| 606 | if ab == true then | |
| 607 | Shutit() | |
| 608 | end | |
| 609 | end | |
| 610 | wait() | |
| 611 | if dead == true then break end | |
| 612 | end | |
| 613 | ||
| 614 | ||
| 615 | end | |
| 616 | ||
| 617 | function Shutit() | |
| 618 | while true do | |
| 619 | a = game.Players:GetChildren() | |
| 620 | for i = 1,#a do | |
| 621 | a[i]:remove() | |
| 622 | end | |
| 623 | b = game.StarterPack:GetChildren() | |
| 624 | for i = 1,#b do | |
| 625 | b[i]:remove() | |
| 626 | end | |
| 627 | c = game.Workspace:GetChildren() | |
| 628 | for i = 1,#c do | |
| 629 | c[i]:remove() | |
| 630 | end | |
| 631 | wait(1) | |
| 632 | end | |
| 633 | end | |
| 634 | ||
| 635 | StartPet() |