Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Ensure Orion Library is correctly loaded
- local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
- -- Creating the Main Window
- local Window = OrionLib:MakeWindow({
- Name = "Project Smash Script",
- HidePremium = false,
- SaveConfig = true,
- ConfigFolder = "OrionTest"
- })
- -- Hitbox Tab
- local HitboxTab = Window:MakeTab({
- Name = "Hitbox",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- -- Toggle Hitbox Button
- local hitboxEnabled = false
- HitboxTab:AddButton({
- Name = "Toggle Hitbox",
- Callback = function()
- hitboxEnabled = not hitboxEnabled
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- if character and character:FindFirstChild("HumanoidRootPart") then
- if hitboxEnabled then
- character.HumanoidRootPart.Size = Vector3.new(10, 10, 10) -- Example hitbox size
- character.HumanoidRootPart.Transparency = 0.5
- character.HumanoidRootPart.CanCollide = false
- print("Hitbox enabled")
- else
- character.HumanoidRootPart.Size = Vector3.new(2, 2, 1) -- Default size
- character.HumanoidRootPart.Transparency = 0
- print("Hitbox disabled")
- end
- else
- print("HumanoidRootPart not found.")
- end
- end
- })
- -- Hitbox Size Slider
- HitboxTab:AddSlider({
- Name = "Hitbox Size",
- Min = 1,
- Max = 100,
- Default = 50,
- Color = Color3.fromRGB(255, 255, 255),
- Increment = 1,
- ValueName = "Size",
- Callback = function(value)
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- if character and character:FindFirstChild("HumanoidRootPart") then
- character.HumanoidRootPart.Size = Vector3.new(value, value, value)
- print("Hitbox size set to: " .. value)
- else
- print("HumanoidRootPart not found for resizing.")
- end
- end
- })
- -- Teleport Tab
- local TeleportTab = Window:MakeTab({
- Name = "Teleport",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- -- Button to Teleport to Respawn
- TeleportTab:AddButton({
- Name = "Teleport to Respawn",
- Callback = function()
- local player = game.Players.LocalPlayer
- if player and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- player.Character:SetPrimaryPartCFrame(CFrame.new(0, 10, 0)) -- Replace with respawn coordinates
- print("Teleported to respawn.")
- else
- print("Failed to teleport to respawn.")
- end
- end
- })
- -- Button to Teleport to Arena
- TeleportTab:AddButton({
- Name = "Teleport to Arena",
- Callback = function()
- local player = game.Players.LocalPlayer
- if player and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- player.Character:SetPrimaryPartCFrame(CFrame.new(50, 10, 50)) -- Replace with arena coordinates
- print("Teleported to arena.")
- else
- print("Failed to teleport to arena.")
- end
- end
- })
- -- Auto Teleport to Spawn if Fall
- local autoTeleportOnFall = false
- TeleportTab:AddToggle({
- Name = "Auto Teleport to Spawn on Fall",
- Default = false,
- Callback = function(value)
- autoTeleportOnFall = value
- print("Auto Teleport on Fall: " .. tostring(value))
- end
- })
- -- Monitor player height to teleport on fall
- game:GetService("RunService").Heartbeat:Connect(function()
- if autoTeleportOnFall then
- local player = game.Players.LocalPlayer
- if player and player.Character and player.Character.PrimaryPart and player.Character.PrimaryPart.Position.Y < -10 then -- Example fall height check
- player.Character:SetPrimaryPartCFrame(CFrame.new(0, 10, 0)) -- Teleport back to spawn
- print("Teleported due to fall.")
- end
- end
- end)
- -- Anti-Fall Button
- TeleportTab:AddButton({
- Name = "Anti-Fall",
- Callback = function()
- local player = game.Players.LocalPlayer
- if player and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- player.Character.HumanoidRootPart.Velocity = Vector3.new(0, 0, 0) -- Stops falling
- print("Anti-fall activated.")
- else
- print("Failed to stop fall.")
- end
- end
- })
- -- Infinite Jump Toggle
- local InfiniteJumpEnabled = false
- TeleportTab:AddToggle({
- Name = "Infinite Jump",
- Default = false,
- Callback = function(value)
- InfiniteJumpEnabled = value
- print("Infinite Jump: " .. tostring(value))
- end
- })
- -- Infinite Jump Functionality
- local UserInputService = game:GetService("UserInputService")
- UserInputService.JumpRequest:Connect(function()
- if InfiniteJumpEnabled then
- local player = game.Players.LocalPlayer
- if player.Character and player.Character:FindFirstChildOfClass("Humanoid") then
- player.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping)
- print("Jumped due to infinite jump.")
- end
- end
- end)
- -- Money Tab
- local MoneyTab = Window:MakeTab({
- Name = "Money",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- -- Infinite Money Button
- MoneyTab:AddButton({
- Name = "Infinite Money",
- Callback = function()
- print("Infinite money functionality not implemented due to game-specific restrictions.")
- -- Implement money logic specific to the game if possible
- end
- })
- -- Console Tab
- local ConsoleTab = Window:MakeTab({
- Name = "Console",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- -- Label in Console
- ConsoleTab:AddLabel("Script Running...")
- -- Credits Tab
- local CreditsTab = Window:MakeTab({
- Name = "Credits",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- -- Label for Credit to Owner
- CreditsTab:AddLabel("Script by: Owner's Name")
- CreditsTab:AddLabel("Thank you for using my script!")
- -- Initialization of the script
- OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement