Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[If there's any errors PM me, my name on Roblox is TheHaxx00rr,aka,LuaScripter12]]--
- wait()
- print("This is made by TheHaxx00rr,aka,LuaScripter12");
- print("Enjoy the GravityV2.1 Tabs :D");
- local GravityTech={
- ["Removed"]=false;
- ["Coded"]=false;
- ["Hidden"]=false;
- ["Disabled"]=false;
- ["Discofloor"]=false;
- ["GravityHasLoaded"]=false;
- ["Counted"]=false;
- };
- key = ";"
- Cmds={};
- Allowed={'TheHaxx00rr','LuaScripter12','supersonicfan111','TickerOfTime','jillmiles1'};
- Banned={'islandmaker2012','neontails190','CHAOSxFIGHTER','legomaster38','iLordVex'};
- TabModel = Instance.new("Model",workspace)
- TabModel.Name = "GravityTech2.1"
- Logs={};
- Commands={};
- GravityRotation={};
- GravityMsgRotation={};
- HttpService={};
- GravityTablets={};
- TabletMadeBy={'TheHaxx00rr,LuaScripter12'};
- TabletLines={8007};
- Devlopers={'TheHaxx00rr','LuaScripter12'};
- Helpers={''}--No one. ,_,
- GravityTechers={'jillmiles1','Vexue'};
- --Found an error.
- function Error(txt)
- tostring(error(print('Workspace cannot find part')))
- end
- --Check if Gravity is loaded.
- function GravityLoaded()
- if game.Lighting:FindFirstChild('Gravity2.1')~=nil then
- wait()
- local Hint = Instance.new("Hint",workspace)
- hint.Text = "Welcome to GravityTech 2.1"
- Loaded()
- Hint:remove()
- end
- end
- --Found Log
- function Log()
- for i,v in pairs(Log)do
- if v:IsA("Log") then
- elseif game:GetService("HttpService") then
- end
- end
- end
- function RemoveScript()
- for i,v in pairs(Script)do
- if v:IsA("Script")then
- Script:remove()
- end
- end
- end
- function GravityIsHere()
- GravityIsHere=false;
- local Val=Instance.new("StringValue",game.Lighting)
- Val.Source="Source"
- Val.Name="GravityTech"
- end
- function Update()
- if GravityAdmin==true then
- local Val=Instance.new("StringValue",game.Lighting)
- elseif game.Lighting:FindFirstChild('false')then
- end
- end
- function CheckSound()
- for _,Child in pairs(game["Workspace"]:GetChildren())do
- if Child:IsA("Sound")then
- local Sound = Instance.new("Sound",workspace)
- Sound.Pitch=1;
- Sound.Volume=0.5;
- Sound.Id="//rblxassest..\\"
- end
- end
- end
- function HttpService()
- game:GetService("HttpService")
- end
- --Making the Tablet now.
- function Output(Text,Func)
- local tab = Instance.new("Part")tab.CanCollide=false;tab.Anchored=true;tab.Locked=true;tab.Name="GravityTech2.1"tab.Parent=TabModel;tab.Transparency=0.2;tab.TopSurface="Smooth"
- tab.BottomSurface="Smooth"tab.BrickColor=BrickColor.new("Really blue")tab.Size=Vector3.new(2,2,2)local bbg = Instance.new("BillboardGui",tab)bSize=UDim2.new(0,1,0)StudsOffset=Vector3.new(0, 1, 0)bbg.SizeOffset=Vector2.new(0, 2, 0)
- local sb = Instance.new("SelectionBox",tab)sb.Transparency=0.2;sb.Adornee=tab;sb.Color=BrickColor.new("Really blue")local pl = Instance.new("PointLight",tab)pl.Range=8;pl.Shadows=true;pl.Brightness=Color3.new(1,1,1)
- local cd = Instance.new("ClickDetector",tab)cd.MaxActivation=math.huge;
- end
- Output("Welcome to GravityTech2.1",_____)
- function Dismiss()
- for i = 1, #TabModel do
- for i = 1,8 do
- wait()
- Dismiss()
- if workspace:FindFirstChild('TabModel')thenn
- TabModel:ClearAllChildren()
- end
- end
- end
- game.Players.PlayerAdded:connect(function(Plr)
- TabletMsg(Plr.Name.."Has joined the game")
- end)
- game.Players.PlayerClosing:connect(function(Plr)
- TabletMsg(Plr.Name.."Has exited SB")
- end)
- game:GetService("RunService").Heartbeat:connect(function()
- GraivtyRotation = GravityRotation + 0.222222
- pcall(function()
- for i = 1, #GravityTablets do
- end)
- pcall(function()
- pos = Owners.Character.Torso.CFrame
- local radius = 8 + (#GravityTablets * 0.7)
- x = math.cos((i / #GravityTablets - (0.7 / #GravityTablets) + rotation * 2) * math.pi * 2) * raidus
- y = 0.7
- z = math.sin((i / #GravityTablets - (0.7 / #GravityTablets) + rotation * 2) * math.pi * 2) * raidius
- pcall(function()
- topos = Owners.Character.Torso.CFrame
- end)
- pcall(function()
- GravityTablets[i].tab.CFrame = CFrame.new(topos.p, position.p) * CFrame.Angles(math.rad),25),0,0)
- end
- end)
- end)()
- game:GetService("RunService").Heartbeat:connect(function()
- GravityMsgRotation = GravityMsgRotation + 0.33333333
- pcall(function()
- for i = 1, #GravityMsgRotation do
- end)
- pcall(function()
- pos = Allowed.Character.Torso.CFrame
- end)
- local radius = 9 + (#GravityMsgRotation * 0.9)
- x = math.cos((i / #GravityMsgRotation - (0.9 / #GravityMsgRotation) + rotation * 9) * math.pi * 9) * radius
- y = 0.9
- z = math.sin((i / #GravityMsgRotation - (0.9 / #GravityMsgRotation) + rotation * 9) * math.pi * 9) * radius
- pcall(function()
- GravityMsgRotation[i].tab.CFrame = CFrame.new(topos, position.p) * CFrame.Angles(math.rad),25,),0,0)
- end
- end)
- end)()
- function getPlayers(msg)
- local plrs = {}
- if msg == "me" then
- table.insert(plrs, LocalPlayer)
- elseif msg == "all" then
- plrs = game:GetService("Players"):GetChildren()
- elseif msg == "noobs" then
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if plr.AccountAge > 364 then
- table.insert(plrs, plr)
- end
- end
- elseif msg == "veterans" then
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if plr.AccountAge > 364 then
- table.insert(plrs, plr)
- end
- end
- elseif msg == "others" then
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- if v ~= LocalPlayer then
- table.insert(plrs, v)
- end
- end
- else
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- if v.Name:lower():sub(1,#msg) == msg:lower() then
- table.insert(plrs, v)
- end
- end
- end
- return plrs
- end
- function AddCmd(Name,Say,Desc,Func)
- table.insert(Cmds,{["Name"] = Name,["Say"] = Say,["Desc"] = Desc,["Func"] = Func})
- end
- LocalPlayer.Chatted:connect(function(m)
- for i,v in pairs(Cmds) do
- if v["Say"]..key == m:sub(1, #v["Say"]+#key) then
- v["Func"](getPlayers(m:sub(#v["Say"]+#key+1)), m:sub(#v["Say"]+#key+1))
- end
- end
- end)
- AddCmd("Log","log","Checks log",function(msg,speaker)
- Log()
- end)
- AddCmd("Dismiss","dt","Dismsises all tablets",function(msg,speaker)
- Dismiss() Speaker()
- end)
- AddCmd("Update","ud","Updates tablet",function(msg,speaker)
- Update()
- end)
- AddCmd("Remove script","removs","Removes the script",function(plr,speaker)
- RemoveScript()
- end)
- AddCmd("Error","error","Erros",function(plr,msg,speaker)
- Error()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement