Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Services
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local Workspace = game:GetService("Workspace")
- local UserInputService = game:GetService("UserInputService")
- local TweenService = game:GetService("TweenService")
- local LocalPlayer = Players.LocalPlayer
- local Camera = Workspace.CurrentCamera
- -- OrionLib
- local OrionLib = loadstring(game:HttpGet('https://raw.githubusercontent.com/shlexware/Orion/main/source'))()
- -- Premium usernames list
- local premiumUsernames = {
- "Wutdahell510", -- Add your premium usernames here
- "0tripyxman0",
- "User3"
- }
- -- Function to check if the local player is a premium user
- local function isPremiumUser()
- local player = LocalPlayer
- if player then
- for _, username in ipairs(premiumUsernames) do
- if player.Name == username then
- return true -- Username matches, user is premium
- end
- end
- end
- return false -- No match found
- end
- -- Function to get premium features
- local function getPremiumFeatures()
- if isPremiumUser() then
- return true
- else
- return false
- end
- end
- -- Create OrionLib Window
- local Window = OrionLib:MakeWindow({
- Name = "FE Fling v2",
- HidePremium = false, -- Show premium features for premium users
- SaveConfig = true,
- ConfigFolder = "FEFlingV2"
- })
- -- Fling Tab (Normal)
- local FlingTab = Window:MakeTab({
- Name = "Fling",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- -- AntiVoid Tab (Normal)
- local AntiVoidTab = Window:MakeTab({
- Name = "Anti Void",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- -- AntiFling Tab (Normal)
- local AntiFlingTab = Window:MakeTab({
- Name = "Anti Fling",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- -- Misc Tab (Normal)
- local MiscTab = Window:MakeTab({
- Name = "Misc",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- -- Update Log Tab (New Tab)
- local UpdateLogTab = Window:MakeTab({
- Name = "Update Log",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- -- Update Log Content
- local updateLogContent = [[
- Update Log v2.0:
- - Added **Premium User Support**: Special features are now available for premium users.
- - Added **Premium Fling Power**: Premium users can fling with higher power.
- - Added **Auto Fling (Premium)**: Premium users can activate auto-flinging.
- - **Anti-Void Feature**: Prevents players from falling into void with anti-void part.
- - **Update Notifications**: Players now receive notifications on updates or when premium features are unlocked.
- - Added **Update Log Tab**: View recent updates in the GUI.
- - Improved UI: Better interaction and organization of UI elements.
- Stay tuned for more features!
- ]]
- -- Split the update log content into multiple paragraphs for readability
- local updateLogParagraphs = string.split(updateLogContent, "\n")
- -- Display Update Log in the UI (with improved readability)
- for _, paragraph in ipairs(updateLogParagraphs) do
- UpdateLogTab:AddParagraph(paragraph, true)
- end
- -- Player Fling
- local isFlinging = false
- local selectedPlayer
- local flingPower = 9999
- local flingRadius = 1
- local invisFling = false
- -- Premium Fling Power
- local premiumFlingPower = flingPower * 2 -- Premium users get double fling power
- -- Function to get character and HumanoidRootPart
- local function getCharacter()
- local character = LocalPlayer.Character
- if not character then
- repeat
- character = LocalPlayer.Character
- task.wait()
- until character
- end
- return character
- end
- local function getHumanoidRootPart()
- local character = getCharacter()
- return character:WaitForChild("HumanoidRootPart")
- end
- -- Update Player List
- local function updatePlayerList()
- local playerList = {}
- for _, player in ipairs(Players:GetPlayers()) do
- if player ~= LocalPlayer then
- table.insert(playerList, player.Name)
- end
- end
- return playerList
- end
- -- Premium Access Notification
- if isPremiumUser() then
- OrionLib:MakeNotification({
- Name = "Premium Access",
- Content = "Enjoy premium features, fellow teammate!",
- Image = "rbxassetid://4483345998",
- Time = 5
- })
- end
- -- Perform Fling Functionality
- local function performFling(targetPlayer)
- if not targetPlayer or not targetPlayer.Character then return end
- local targetHRP = targetPlayer.Character:FindFirstChild("HumanoidRootPart")
- if not targetHRP then return end
- local character = getCharacter()
- local humanoidRootPart = getHumanoidRootPart()
- -- Fling power
- local flingAmount = getPremiumFeatures() and premiumFlingPower or flingPower
- while isFlinging and targetPlayer and targetPlayer.Character do
- character = getCharacter()
- humanoidRootPart = getHumanoidRootPart()
- targetHRP = targetPlayer.Character:FindFirstChild("HumanoidRootPart")
- if targetHRP and humanoidRootPart then
- local offsetPosition = targetHRP.Position + Vector3.new(math.random(-flingRadius, flingRadius), 0, math.random(-flingRadius, flingRadius))
- humanoidRootPart.CFrame = CFrame.new(offsetPosition)
- humanoidRootPart.Velocity = Vector3.new(flingAmount, flingAmount, flingAmount)
- humanoidRootPart.RotVelocity = Vector3.new(flingAmount, flingAmount, flingAmount)
- end
- RunService.Heartbeat:Wait()
- end
- end
- -- Player Selection Dropdown
- local PlayerDropdown = FlingTab:AddDropdown({
- Name = "Select Player",
- Default = "",
- Options = updatePlayerList(),
- Callback = function(Value)
- selectedPlayer = Players:FindFirstChild(Value)
- end
- })
- -- Fling Toggle
- FlingTab:AddToggle({
- Name = "Fling Player",
- Default = false,
- Callback = function(Value)
- isFlinging = Value
- if isFlinging then
- if selectedPlayer then
- performFling(selectedPlayer)
- else
- OrionLib:MakeNotification({
- Name = "Fling Error",
- Content = "Please select a player first!",
- Image = "rbxassetid://4483345998",
- Time = 3
- })
- FlingTab:GetToggle("Fling Player").Set(false)
- end
- end
- end,
- })
- -- Premium Toggle: Enable Special Premium Features (Example: Auto Fling)
- if isPremiumUser() then
- FlingTab:AddToggle({
- Name = "Auto Fling (Premium)",
- Default = false,
- Callback = function(Value)
- -- Special premium feature like auto-flinging or something unique
- end,
- })
- end
- -- Anti Void Feature
- local antiVoidPart
- local function createAntiVoid()
- if antiVoidPart then return end
- antiVoidPart = Instance.new("Part")
- antiVoidPart.Name = "AntiVoidPart"
- antiVoidPart.Size = Vector3.new(2048, 1, 2048)
- antiVoidPart.Anchored = true
- antiVoidPart.Transparency = 0.5
- antiVoidPart.CanCollide = true
- antiVoidPart.BrickColor = BrickColor.new("Really blue")
- local lowestY = math.huge
- for _, part in pairs(Workspace:GetDescendants()) do
- if part:IsA("BasePart") then
- lowestY = math.min(lowestY, part.Position.Y)
- end
- end
- antiVoidPart.Position = Vector3.new(0, lowestY - 5, 0)
- antiVoidPart.Parent = Workspace
- end
- AntiVoidTab:AddToggle({
- Name = "Anti Void",
- Default = false,
- Callback = function(Value)
- if Value then
- createAntiVoid()
- else
- antiVoidPart:Destroy()
- antiVoidPart = nil
- end
- end
- })
- -- Premium Features Lock Example
- if not isPremiumUser() then
- -- Hide or disable premium features for non-premium users
- FlingTab:DisableTab("Premium Fling")
- end
- -- Make sure everything is initialized at the end
- task.wait(1) -- Add a slight delay before calling Init to allow UI to load properly
- OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement