--Separate Functions [776] AKA: chris7766 --Noobs Take This Then Say They Made It --Way To Go Noob You Stole This Model! player = nil pet = nil pettype = "Diamond" head = nil ab = true ns = nil name = "Someones Flying Pet" Bans = {} dead = false look = false follow = true talks = {"No.", "Fine", "I Like Pie", "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"} admins = {"chris7766","fireflare54","DeathDude31","IPityTheFoo","Builderman","ROBLOX"} function floorwire(to,from,colr) tpthtfw = Instance.new("Part") tpthtfw.Anchored = true tpthtfw.CFrame = CFrame.new(0,5000,0) tpthtfw.Parent = Workspace flwre = Instance.new("FloorWire") flwre.To = to flwre.From = from flwre.Color = colr flwre.Parent = tpthtfw game:GetService("Debris"):AddItem(tpthtfw,1) end function Touch(part) if part.Parent then player = game.Players:GetPlayerFromCharacter(part.Parent) if player then print("We Have a Player") print("Giving pet") ex = Instance.new("Explosion") ex.Position = script.Parent.Position ex.BlastPressure = 0 ex.Parent = Workspace ns = script.tobuild:clone() noob = false if player:IsInGroup(355081) == true then noob = true game:GetService("Chat"):Chat(script.Parent,"The N00B Group Caik is not allowed to use chris7766's pet",Enum.ChatColor.Red) game:GetService("Chat"):Chat(script.Parent,"Sorry CAKEASSAULT im fighting Caik by myself",Enum.ChatColor.Blue) end if noob == false then StartPet() end end end end function PetChat(msg) if pet.Parent ~= nil and head.Parent ~= nil then game:GetService("Chat"):Chat(head, msg, Enum.ChatColor.Green) end end function MakePet() if dead == false then head = Instance.new("Part") head.formFactor = "Custom" head.Anchored = true head.Name = "Head" head.Size = Vector3.new(1,1,1) pet = Instance.new("Model") pet.Parent = Workspace head.Parent = pet hum = Instance.new("Humanoid") hum.MaxHealth = 0 hum.Parent = pet mesh = Instance.new("SpecialMesh") mesh.Parent = head pet.Name = name if pettype == "Diamond" then head.Reflectance = 1 head.BrickColor = BrickColor.Blue() mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362" end if pettype == "Duck" then head.BrickColor = BrickColor.Blue() mesh.MeshId = "http://www.roblox.com/asset/?id=9419831" mesh.TextureId = "http://www.roblox.com/asset/?id=9419827" end if pettype == "Orb" then mesh.MeshId = "http://www.roblox.com/asset/?id=34795798" mesh.TextureId = "http://www.roblox.com/asset/?id=34914385" f = Instance.new("Fire") f.Color = Color3.new(0,255,0) f.SecondaryColor = Color3.new(0,0,0) f.Size = 1 f.Heat = 0 f.Parent = head ff = Instance.new("Fire") ff.Size = 1 ff.Heat = 0 ff.Color = Color3.new(255,0,0) ff.SecondaryColor = Color3.new(0,0,0) ff.Parent = head fff = Instance.new("Fire") fff.Size = 1 fff.Heat = 0 fff.Color = Color3.new(0,0,255) fff.SecondaryColor = Color3.new(0,0,0) fff.Parent = head end if pettype == "PlayerOrb" then head.Reflectance = 1 head.Size = Vector3.new(0.2,0.2,0.2) head.BrickColor = BrickColor.Yellow() mesh.Parent = nil fi = Instance.new("Fire") fi.Color = Color3.new(0,0,9) fi.SecondaryColor = Color3.new(255,255,255) fi.Parent = head end end end function matchPlayer(str) result = nil players = game.Players:GetPlayers() for i,v in pairs(game.Players:GetPlayers()) do if (string.find(string.lower(v.Name), str) == 1) then if (result ~= nil) then return nil end result = v end end if str == "me" then result = player end return result end function Chats(mrbucket) if dead == false then ------------------------------------ msg = string.lower(mrbucket) if string.find (mrbucket, "name ") == 1 then name = string.sub(mrbucket,5) pet:remove() end if string.find (mrbucket, "script ") == 1 then sc = ns:clone() val = Instance.new("StringValue") val.Value = string.sub(mrbucket,7) val.Parent = sc sc.Parent = Workspace PetChat("On It") end if (string.find(msg, "kill") == 1) then for word in msg:gmatch("%w+") do local p = matchPlayer(word) if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then p.Character:BreakJoints() floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Yellow()) PetChat("Pistol") end end end if (string.find(msg, "eat") == 1) then for word in msg:gmatch("%w+") do local p = matchPlayer(word) if p ~= nil and p.Character then PetChat("Yummy Noobs") p.Character.Parent = nil end end end if (string.find(msg, "kick") == 1) then for word in msg:gmatch("%w+") do local p = matchPlayer(word) if p ~= nil then PetChat("Go To nil") p.Parent = nil end end end if (string.find(msg, "freeze") == 1) then for word in msg:gmatch("%w+") do local p = matchPlayer(word) if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) ice = Instance.new("Part") ice.Size = Vector3.new(5,7.2,5) ice.Reflectance = 1 ice.Transparency = 0.3 ice.BrickColor = BrickColor.new(1013) ice.Anchored = true ice.Locked = true ice.CFrame = CFrame.new(p.Character.Torso.Position) ice.Parent = p.Character w = Instance.new("Weld") w.Name = "FreezeWeld" w.Parent = p.Character.Torso w.Part0 = p.Character.Torso w.Part1 = ice p.Character.Head.Anchored = true PetChat("in a block of ice you stay") end end end if (string.find(msg, "thaw") == 1) then for word in msg:gmatch("%w+") do local p = matchPlayer(word) if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) if p.Character.Torso.FreezeWeld then p.Character.Torso.FreezeWeld:remove() end a = p.Character:GetChildren() for i = 1,#a do if a[i]:IsA("Part") then a[i].Anchored = false end end PetChat("Thawed") end end end if (string.find(msg, "rgui") == 1) then for word in msg:gmatch("%w+") do local p = matchPlayer(word) if p ~= nil and p:FindFirstChild("PlayerGui") then floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) guis = p.PlayerGui:GetChildren() for i = 1,#guis do guis[i]:remove() end PetChat("t_t") end end end if (string.find(msg, "ff") == 1) then for word in msg:gmatch("%w+") do local p = matchPlayer(word) if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Head") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) Instance.new("ForceField").Parent = p.Character PetChat("Protected") end end end if (string.find(msg, "insert") == 1) then for word in msg:gmatch("%w+") do local p = matchPlayer(word) if p ~= nil and p.Character ~= nil and p:FindFirstChild("Backpack") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) game:GetService("InsertService"):LoadAsset(59441286):FindFirstChild("Insert Tool").Parent = p.Backpack PetChat("Gave Insert") end end end if (string.find(msg, "jetpack") == 1) then for word in msg:gmatch("%w+") do local p = matchPlayer(word) if p ~= nil and p.Character ~= nil and p:FindFirstChild("Backpack") ~= nil and p.Character:FindFirstChild("Torso") ~= nil then floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) game:GetService("InsertService"):LoadAsset(64267118):FindFirstChild("chris7766's Jetpack").Parent = p.Backpack PetChat("Enjoy Your Flight") end end end if (string.find(msg, "tele2me") == 1) then for word in msg:gmatch("%w+") do local p = matchPlayer(word) if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) p.Character.Torso.CFrame = player.Character.Torso.CFrame + Vector3.new(0,5,0) PetChat("Teleportation") end end end if (string.find(msg, "teleme2") == 1) then for word in msg:gmatch("%w+") do local p = matchPlayer(word) if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Blue()) player.Character.Torso.CFrame = p.Character.Torso.CFrame + Vector3.new(0,5,0) PetChat("Teleportation") end end end if (string.find(msg, "fire") == 1) then for word in msg:gmatch("%w+") do local p = matchPlayer(word) if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Red()) f = Instance.new("Fire") f.Size = 5 f.Heat = 10 f.Parent = p.Character.Torso PetChat("Burn") end end end if (string.find(msg, "sparkles") == 1) then for word in msg:gmatch("%w+") do local p = matchPlayer(word) if p ~= nil and p.Character ~= nil and p.Character:FindFirstChild("Torso") ~= nil then floorwire(p.Character:FindFirstChild("Torso"),head,BrickColor.Gray()) f = Instance.new("Sparkles") f.Parent = p.Character.Torso PetChat("Sparkely") end end end if (string.find(msg, "respawn") == 1) then for word in msg:gmatch("%w+") do local p = matchPlayer(word) if p ~= nil then mod = Instance.new("Model") prt = Instance.new("Part") prt.Name = "Head" prt.Parent = mod hum = Instance.new("Humanoid") hum.Parent = mod mod.Parent = Workspace p.Character = mod PetChat("Player Respawned") end end end if msg == "insert2start" then PetChat("Inserted To Start") game:GetService("InsertService"):LoadAsset(59441286):FindFirstChild("Insert Tool").Parent = game:service("StarterPack") end if msg == "stay" then follow = false PetChat("D:") end if msg == "follow me" then follow = true PetChat(":D") end if msg == "orb mesh" then Cmesh("Orb") end if msg == "diamond mesh" then Cmesh("Diamond") end if msg == "duck mesh" then Cmesh("Duck") end if msg == "player orb" then Cmesh("PlayerOrb") end if msg == "look at me" then look = true end if msg == "look ahead" then look = false end if msg == "antiban off" then PetChat("AntiBan Is Turned Off") ab = false end if msg == "antiban on" then PetChat("Armed im ready to shutdown the server when your gone") ab = true end if msg == "shutdown" then Shutit() end if msg == "kill pet" then dead = true follow = false pet:remove() ab = false end if msg == "talk" then rdn = math.floor(math.random(1,#talks)) PetChat(talks[rdn]) end if msg == "info" then PetChat("Flying pet Version 1.8 made by chris7766 [776] this Version is not stolen Anti Caik Installed") end if msg == "clear" then persons = game.Players:GetChildren() for i = 1,#persons do if persons[i].Character ~= nil then persons[i].Character:BreakJoints() end end wait(0.2) junk = Workspace:GetChildren() for i = 1,#junk do if junk[i].ClassName ~= "Terrain" then junk[i]:remove() else junk[i]:clear() end end base = Instance.new("SpawnLocation") base.BrickColor = BrickColor.Black() base.Size = Vector3.new(1000,1,1000) base.Anchored = true base.CFrame = CFrame.new(0,0,0) base.Locked = true base.Parent = Workspace end end end function Cmesh(str) pettype = str pet:remove() end function StartPet() script.Parent.Parent = nil --Anti Remove / Remove ab = true con = player.Chatted:connect(function(msg) Chats(msg) end) wait() name = player.Name.."'s Flying Pet" MakePet() if player.Name == "chris7766" then PetChat("Chris! My Creator") elseif player.Name == "chris7767" then PetChat("Chris! My Creator") elseif player.Name == "chris7768" then PetChat("Chris! My Creator") elseif player.Name == "Scatman27NA" then PetChat("chris i know its u") elseif player.Name == "fireflare54" then PetChat("Your Epic") elseif player.Name == "DeathDude31" then PetChat("CAKE This Is Epic") elseif player.Name == "Player" then PetChat("Hi Tester") elseif player.Name == "Builderman350" then PetChat("Hi Mr. Nooby") elseif player.Name == "ROBLOX" then PetChat("Yo ROBLOX") elseif player.Name == "IPityTheFoo" then PetChat("OMG IPityTheFoo! chris Likes Your Models!") else PetChat("Hi Im Your New Pet") end while true do--Start Checking if player.Parent ~= nil then if pet.Parent ~= nil and head.Parent ~= nil then if player.Character then if player.Character:FindFirstChild("Torso") ~= nil then if player.Character.Parent == game:service("Lighting") then PetChat("You Were Punished I Got u Out") player.Character.Parent = Workspace player.Character:MakeJoints() end ---------------------------------------Bad Calculation if follow == true then a = head a.CFrame = player.Character.Torso.CFrame * CFrame.Angles(0,math.rad(90),0) a.CFrame = a.CFrame + a.CFrame.lookVector *-6 a.CFrame = a.CFrame + Vector3.new(0,5,0) a.CFrame = a.CFrame * CFrame.Angles(0,math.rad(-90),0) if look == true then a.CFrame = CFrame.new(a.Position,player.Character.Torso.Position) end a.Anchored = true end else PetChat("You Died!") end else PetChat("Where Are You "..player.Name) end else MakePet() end else PetChat("Why Did You Leave Me "..player.Name) if ab == true then Shutit() end end wait() if dead == true then break end end end function Shutit() while true do a = game.Players:GetChildren() for i = 1,#a do a[i]:remove() end b = game.StarterPack:GetChildren() for i = 1,#b do b[i]:remove() end c = game.Workspace:GetChildren() for i = 1,#c do c[i]:remove() end wait(1) end end script.Parent.Touched:connect(Touch)