Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Created by Simplicity --
- -- Script is quite messy right now, but all the functions should work --
- local Players = game:GetService("Players")
- local StarterGui = game:GetService("StarterGui")
- local TeleportService = game:GetService("TeleportService")
- local MarketplaceService = game:GetService("MarketplaceService")
- local UserInputService = game:GetService("UserInputService")
- local LocalPlayer = Players.LocalPlayer
- Prefix = "/"
- ---------------------------------------------------------------------------------------
- local InfiniteJumps = false
- local Gui = Instance.new("ScreenGui", LocalPlayer.PlayerGui)
- Gui.Name = "FEAdminGui"
- Gui.ResetOnSpawn = false
- ---------------------------------------------------------------------------------------
- local function SendMessage(Message, Color)
- StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = Message,
- Font = Enum.Font.SourceSansBold,
- Color = Color,
- FontSize = Enum.FontSize.Size96
- })
- end
- SendMessage([[FE Admin 1.0 Successfuly Loaded!
- Chat /cmds to see available commands.]], Color3.fromRGB(255, 255, 255))
- ---------------------------------------------------------------------------------------
- local Sound = Instance.new("Sound", workspace)
- Sound.Name = "_backgroundmusic"
- Commands = {
- speed = function(Arguments)
- local Value = unpack(Arguments)
- LocalPlayer.Character.Humanoid.WalkSpeed = Value
- end,
- jumpheight = function(Arguments)
- local Value = unpack(Arguments)
- LocalPlayer.Character.Humanoid.UseJumpPower = true
- LocalPlayer.Character.Humanoid.JumpPower = Value
- end,
- fly = function(Arguments)
- task.spawn(function()
- loadstring(game:HttpGet("https://pastebin.com/raw/mN8EqiQy"))()
- end)
- end,
- reset = function(Arguments)
- LocalPlayer.Character.Humanoid.Health = 0
- end,
- freeze = function(Arguments)
- task.spawn(function()
- LocalPlayer.Character.HumanoidRootPart.Anchored = true
- end)
- end,
- unfreeze = function(Arguments)
- task.spawn(function()
- LocalPlayer.Character.HumanoidRootPart.Anchored = false
- end)
- end,
- spin = function(Arguments)
- task.spawn(function()
- local Value = unpack(Arguments)
- if (Value == nil) then
- Value = 30
- end
- if (not LocalPlayer.Character.HumanoidRootPart:FindFirstChild("_spinthrust")) then
- local BodyThrust = Instance.new("BodyThrust", LocalPlayer.Character.HumanoidRootPart)
- BodyThrust.Name = "_spinthrust"
- BodyThrust.Force = Vector3.new((Value * 2), 0, 0)
- BodyThrust.Location = Vector3.new(0, 0, (Value * 2))
- else
- local BodyThrust = LocalPlayer.Character.HumanoidRootPart:FindFirstChild("_spinthrust")
- BodyThrust.Force = Vector3.new((Value * 2), 0, 0)
- BodyThrust.Location = Vector3.new(0, 0, (Value * 2))
- end
- end)
- end,
- unspin = function(Arguments)
- task.spawn(function()
- LocalPlayer.Character.HumanoidRootPart._spinthrust:Destroy()
- end)
- end,
- rejoin = function(Arguments)
- task.spawn(function()
- TeleportService:Teleport(game.PlaceId, LocalPlayer)
- end)
- end,
- teleport = function(Arguments)
- task.spawn(function()
- local Target
- local Value = unpack(Arguments)
- for _, Player in pairs(Players:GetPlayers()) do
- if string.find(string.lower(Player.Name), string.lower(Value)) then
- Target = Player
- break
- end
- end
- if (Target ~= nil) and Target.Character:FindFirstChild("HumanoidRootPart") then
- LocalPlayer.Character.HumanoidRootPart.CFrame = Target.Character.HumanoidRootPart.CFrame + Vector3.new(0, 5, 0)
- end
- end)
- end,
- boost = function(Arguments)
- task.spawn(function()
- while task.wait(0.1) do
- for _, Part in pairs(workspace:GetDescendants()) do
- if Part:IsA("BasePart") or Part:IsA("UnionOperation") then
- Part.Material = Enum.Material.SmoothPlastic
- end
- end
- for _, Effect in pairs(game.Lighting:GetChildren()) do
- if (not Effect:IsA("Sky")) then
- Effect:Destroy()
- end
- end
- game.Lighting.Brightness = 4
- game.Lighting.GlobalShadows = false
- end
- end)
- end,
- music = function(Arguments)
- local Id = unpack(Arguments)
- Sound.SoundId = "rbxassetid://"..Id
- Sound.PlaybackSpeed = 1
- Sound.Looped = true
- Sound.Volume = 1.5
- Sound:Play()
- local ProductInfo = MarketplaceService:GetProductInfo(Id)
- if (ProductInfo.Created ~= "null") and (ProductInfo.AssetTypeId == 3) then
- local Message = Instance.new("TextLabel", Gui)
- Message.BackgroundColor3 = Color3.new(0, 0, 0)
- Message.BorderColor3 = Color3.new(0, 0, 0)
- Message.BorderMode = Enum.BorderMode.Inset
- Message.BorderSizePixel = 3
- Message.BackgroundTransparency = 0.5
- Message.Size = UDim2.new(1, 0, 0.051, 0)
- Message.Font = Enum.Font.SourceSansBold
- Message.Text = "Now Playing: "..ProductInfo.Name
- Message.TextColor3 = Color3.new(1, 1, 1)
- Message.TextScaled = true
- task.spawn(function()
- task.wait(3)
- for I = 1, 50 do
- Message.Transparency += 0.01
- task.wait(0.005)
- end
- Message:Destroy()
- end)
- else
- Sound.SoundId = ""
- end
- end,
- unmusic = function(Arguments)
- Sound:Stop()
- end,
- pitch = function(Arguments)
- local Pitch = unpack(Arguments)
- Sound.PlaybackSpeed = Pitch
- end,
- cmds = function(Arguments)
- SendMessage([[Available Commands:
- speed, jumpheight, fly, reset, freeze, spin,
- teleport, music, pitch, boost, rejoin]], Color3.fromRGB(255, 255, 0))
- end,
- }
- local function onChat(Text, Recipient)
- Text = string.lower(Text)
- -- String Seperator --
- local Split = string.split(Text, " ")
- local SlashCommand = Split[1]
- local Command = string.split(SlashCommand, Prefix)
- local CommandName = Command[2]
- -- Function --
- if Commands[CommandName] then
- local Arguments = {}
- for i = 2, #Split, 1 do
- table.insert(Arguments, Split[i])
- end
- Commands[CommandName](Arguments)
- --print("Command: "..CommandName..", Arguments: "..unpack(Arguments))
- end
- end
- LocalPlayer.Chatted:Connect(onChat)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement