--======================================================== -- RAING MENU -- ORANGE EDITION -- LocalScript -> StarterPlayer > StarterPlayerScripts --======================================================== local Players = game:GetService("Players") local RunService = game:GetService("RunService") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local Lighting = game:GetService("Lighting") local SoundService = game:GetService("SoundService") local Player = Players.LocalPlayer local PlayerGui = Player:WaitForChild("PlayerGui") --======================================================== -- CONFIG --======================================================== local ACCENT = Color3.fromRGB(255,149,0) local SKY_1 = "rbxassetid://93478581241844" local SKY_2 = "rbxassetid://11307058797" local GUI_BG = "rbxassetid://11307058797" local HIT_SOUND_ID = "rbxassetid://102550692764955" --======================================================== -- SETTINGS --======================================================== local SpeedEnabled = false local SpeedValue = 16 local FOVEnabled = false local FOVValue = 70 local AntiAimEnabled = false local TrailEnabled = false local HitSoundEnabled = false --======================================================== -- CHARACTER --======================================================== local Character local Humanoid local Root local function SetupCharacter(char) Character = char Humanoid = char:WaitForChild("Humanoid", 10) Root = char:WaitForChild("HumanoidRootPart", 10) if Humanoid then Humanoid.AutoRotate = true end end if Player.Character then task.spawn(function() SetupCharacter(Player.Character) end) end --======================================================== -- GUI CLEAN --======================================================== local OldGui = PlayerGui:FindFirstChild("RAING_MENU") if OldGui then OldGui:Destroy() end --======================================================== -- GUI --======================================================== local Gui = Instance.new("ScreenGui") Gui.Name = "RAING_MENU" Gui.ResetOnSpawn = false Gui.IgnoreGuiInset = true Gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling Gui.Parent = PlayerGui --======================================================== -- MAIN --======================================================== local Main = Instance.new("Frame") Main.Name = "Main" Main.Size = UDim2.fromOffset(450, 650) Main.Position = UDim2.new(0.5, -225, 0.5, -325) Main.BackgroundColor3 = Color3.fromRGB(20,20,20) Main.BorderSizePixel = 0 Main.ClipsDescendants = true Main.Parent = Gui local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0,18) MainCorner.Parent = Main local MainStroke = Instance.new("UIStroke") MainStroke.Color = ACCENT MainStroke.Thickness = 1.5 MainStroke.Transparency = 0.2 MainStroke.Parent = Main --======================================================== -- BACKGROUND --======================================================== local Background = Instance.new("ImageLabel") Background.Size = UDim2.fromScale(1,1) Background.Position = UDim2.fromOffset(0,0) Background.BackgroundTransparency = 1 Background.Image = GUI_BG Background.ImageTransparency = 0.93 Background.ScaleType = Enum.ScaleType.Crop Background.ZIndex = 0 Background.Parent = Main local BackgroundCorner = Instance.new("UICorner") BackgroundCorner.CornerRadius = UDim.new(0,18) BackgroundCorner.Parent = Background --======================================================== -- HEADER --======================================================== local Header = Instance.new("Frame") Header.Size = UDim2.new(1,0,0,75) Header.BackgroundTransparency = 1 Header.ZIndex = 10 Header.Parent = Main local Title = Instance.new("TextLabel") Title.Position = UDim2.fromOffset(22,8) Title.Size = UDim2.fromOffset(260,30) Title.BackgroundTransparency = 1 Title.Text = "RAING" Title.Font = Enum.Font.GothamBold Title.TextSize = 24 Title.TextColor3 = Color3.fromRGB(255,255,255) Title.TextXAlignment = Enum.TextXAlignment.Left Title.Parent = Header local Subtitle = Instance.new("TextLabel") Subtitle.Position = UDim2.fromOffset(23,39) Subtitle.Size = UDim2.fromOffset(280,18) Subtitle.BackgroundTransparency = 1 Subtitle.Text = "CONTROL • CREATE • PLAY" Subtitle.Font = Enum.Font.Gotham Subtitle.TextSize = 10 Subtitle.TextColor3 = Color3.fromRGB(140,140,140) Subtitle.TextXAlignment = Enum.TextXAlignment.Left Subtitle.Parent = Header local OrangeLine = Instance.new("Frame") OrangeLine.Position = UDim2.fromOffset(23,62) OrangeLine.Size = UDim2.fromOffset(85,2) OrangeLine.BackgroundColor3 = ACCENT OrangeLine.BorderSizePixel = 0 OrangeLine.Parent = Header local Close = Instance.new("TextButton") Close.Position = UDim2.new(1,-49,0,15) Close.Size = UDim2.fromOffset(35,35) Close.BackgroundColor3 = Color3.fromRGB(42,42,42) Close.BorderSizePixel = 0 Close.Text = "×" Close.TextColor3 = Color3.fromRGB(255,255,255) Close.TextSize = 21 Close.Font = Enum.Font.GothamBold Close.AutoButtonColor = false Close.Parent = Header local CloseCorner = Instance.new("UICorner") CloseCorner.CornerRadius = UDim.new(1,0) CloseCorner.Parent = Close --======================================================== -- SCROLL --======================================================== local Scroll = Instance.new("ScrollingFrame") Scroll.Position = UDim2.fromOffset(14,82) Scroll.Size = UDim2.new(1,-28,1,-110) Scroll.BackgroundTransparency = 1 Scroll.BorderSizePixel = 0 Scroll.ScrollBarThickness = 4 Scroll.ScrollBarImageColor3 = ACCENT Scroll.AutomaticCanvasSize = Enum.AutomaticSize.Y Scroll.CanvasSize = UDim2.fromOffset(0,0) Scroll.ZIndex = 2 Scroll.Parent = Main local List = Instance.new("UIListLayout") List.Padding = UDim.new(0,10) List.SortOrder = Enum.SortOrder.LayoutOrder List.Parent = Scroll local ScrollPadding = Instance.new("UIPadding") ScrollPadding.PaddingBottom = UDim.new(0,20) ScrollPadding.Parent = Scroll --======================================================== -- HELPERS --======================================================== local function CreateCard(name,height) local Card = Instance.new("Frame") Card.Name = name Card.Size = UDim2.new(1,-4,0,height) Card.BackgroundColor3 = Color3.fromRGB(29,29,29) Card.BorderSizePixel = 0 Card.Parent = Scroll local Corner = Instance.new("UICorner") Corner.CornerRadius = UDim.new(0,14) Corner.Parent = Card local Stroke = Instance.new("UIStroke") Stroke.Color = Color3.fromRGB(52,52,52) Stroke.Thickness = 1 Stroke.Parent = Card return Card end local function Text(parent,text,x,y,w,h,size,color) local Label = Instance.new("TextLabel") Label.Position = UDim2.fromOffset(x,y) Label.Size = UDim2.fromOffset(w,h) Label.BackgroundTransparency = 1 Label.Text = text Label.Font = Enum.Font.GothamBold Label.TextSize = size Label.TextColor3 = color Label.TextXAlignment = Enum.TextXAlignment.Left Label.Parent = parent return Label end local function SmallButton(parent,text,x,y,w,h) local Button = Instance.new("TextButton") Button.Position = UDim2.fromOffset(x,y) Button.Size = UDim2.fromOffset(w,h) Button.BackgroundColor3 = Color3.fromRGB(43,43,43) Button.BorderSizePixel = 0 Button.Text = text Button.TextColor3 = Color3.fromRGB(245,245,245) Button.Font = Enum.Font.GothamBold Button.TextSize = 11 Button.AutoButtonColor = false Button.Parent = parent local Corner = Instance.new("UICorner") Corner.CornerRadius = UDim.new(0,9) Corner.Parent = Button Button.MouseEnter:Connect(function() TweenService:Create( Button, TweenInfo.new(0.15), { BackgroundColor3 = Color3.fromRGB(57,57,57) } ):Play() end) Button.MouseLeave:Connect(function() TweenService:Create( Button, TweenInfo.new(0.15), { BackgroundColor3 = Color3.fromRGB(43,43,43) } ):Play() end) return Button end --======================================================== -- TOGGLE --======================================================== local function CreateToggle(parent,text,y,callback) Text( parent, text, 165, y+4, 100, 25, 11, Color3.fromRGB(220,220,220) ) local Toggle = Instance.new("TextButton") Toggle.Position = UDim2.new(1,-70,0,y) Toggle.Size = UDim2.fromOffset(58,30) Toggle.BackgroundColor3 = Color3.fromRGB(60,60,60) Toggle.BorderSizePixel = 0 Toggle.Text = "" Toggle.AutoButtonColor = false Toggle.Parent = parent local ToggleCorner = Instance.new("UICorner") ToggleCorner.CornerRadius = UDim.new(1,0) ToggleCorner.Parent = Toggle local Knob = Instance.new("Frame") Knob.Position = UDim2.fromOffset(3,3) Knob.Size = UDim2.fromOffset(24,24) Knob.BackgroundColor3 = Color3.fromRGB(220,220,220) Knob.BorderSizePixel = 0 Knob.Parent = Toggle local KnobCorner = Instance.new("UICorner") KnobCorner.CornerRadius = UDim.new(1,0) KnobCorner.Parent = Knob local Enabled = false Toggle.MouseButton1Click:Connect(function() Enabled = not Enabled local X = Enabled and 31 or 3 local Color = Enabled and ACCENT or Color3.fromRGB(60,60,60) TweenService:Create( Toggle, TweenInfo.new( 0.22, Enum.EasingStyle.Quint, Enum.EasingDirection.Out ), { BackgroundColor3 = Color } ):Play() TweenService:Create( Knob, TweenInfo.new( 0.25, Enum.EasingStyle.Back, Enum.EasingDirection.Out ), { Position = UDim2.fromOffset(X,3) } ):Play() callback(Enabled) end) return Toggle end --======================================================== -- SPEED --======================================================== local SpeedCard = CreateCard("Speed",125) Text( SpeedCard, "SPEED", 15,10, 130,25, 15, Color3.fromRGB(255,255,255) ) Text( SpeedCard, "WalkSpeed value", 15,36, 140,18, 10, Color3.fromRGB(140,140,140) ) local SpeedBox = Instance.new("TextBox") SpeedBox.Position = UDim2.fromOffset(15,65) SpeedBox.Size = UDim2.fromOffset(125,37) SpeedBox.BackgroundColor3 = Color3.fromRGB(43,43,43) SpeedBox.BorderSizePixel = 0 SpeedBox.Text = "16" SpeedBox.TextColor3 = Color3.fromRGB(255,255,255) SpeedBox.PlaceholderText = "16" SpeedBox.Font = Enum.Font.GothamBold SpeedBox.TextSize = 13 SpeedBox.ClearTextOnFocus = false SpeedBox.Parent = SpeedCard local SpeedCorner = Instance.new("UICorner") SpeedCorner.CornerRadius = UDim.new(0,9) SpeedCorner.Parent = SpeedBox SpeedBox.FocusLost:Connect(function() local value = tonumber(SpeedBox.Text) if not value then value = 16 end SpeedValue = math.clamp(value,1,500) SpeedBox.Text = tostring(SpeedValue) if SpeedEnabled and Humanoid then Humanoid.WalkSpeed = SpeedValue end end) CreateToggle( SpeedCard, "ENABLE", 68, function(enabled) SpeedEnabled = enabled if Humanoid then if enabled then Humanoid.WalkSpeed = SpeedValue else Humanoid.WalkSpeed = 16 end end end ) --======================================================== -- FOV --======================================================== local FOVCard = CreateCard("FOV",125) Text( FOVCard, "FOV", 15,10, 130,25, 15, Color3.fromRGB(255,255,255) ) Text( FOVCard, "Camera field of view", 15,36, 160,18, 10, Color3.fromRGB(140,140,140) ) local FOVBox = Instance.new("TextBox") FOVBox.Position = UDim2.fromOffset(15,65) FOVBox.Size = UDim2.fromOffset(125,37) FOVBox.BackgroundColor3 = Color3.fromRGB(43,43,43) FOVBox.BorderSizePixel = 0 FOVBox.Text = "70" FOVBox.TextColor3 = Color3.fromRGB(255,255,255) FOVBox.PlaceholderText = "70" FOVBox.Font = Enum.Font.GothamBold FOVBox.TextSize = 13 FOVBox.ClearTextOnFocus = false FOVBox.Parent = FOVCard local FOVCorner = Instance.new("UICorner") FOVCorner.CornerRadius = UDim.new(0,9) FOVCorner.Parent = FOVBox FOVBox.FocusLost:Connect(function() local value = tonumber(FOVBox.Text) if not value then value = 70 end FOVValue = math.clamp(value,1,130) FOVBox.Text = tostring(FOVValue) end) CreateToggle( FOVCard, "ENABLE", 68, function(enabled) FOVEnabled = enabled end ) --======================================================== -- ANTI AIM --======================================================== local AntiCard = CreateCard("AntiAim",105) Text( AntiCard, "ANTI-AIM", 15,10, 150,25, 15, Color3.fromRGB(255,255,255) ) Text( AntiCard, "smooth jump rotation", 15,38, 200,18, 10, Color3.fromRGB(140,140,140) ) CreateToggle( AntiCard, "ENABLE", 59, function(enabled) AntiAimEnabled = enabled if not enabled and Humanoid then Humanoid.AutoRotate = true end end ) --======================================================== -- TRAIL --======================================================== local TrailCard = CreateCard("Trail",95) Text( TrailCard, "TRAIL", 15,10, 150,25, 15, Color3.fromRGB(255,255,255) ) Text( TrailCard, "smooth motion trail", 15,38, 180,18, 10, Color3.fromRGB(140,140,140) ) local TrailObjects = {} local function RemoveTrail() for _,obj in ipairs(TrailObjects) do if obj and obj.Parent then obj:Destroy() end end table.clear(TrailObjects) end local function CreateTrail() RemoveTrail() if not Root then return end local A0 = Instance.new("Attachment") A0.Name = "RAING_Top" A0.Position = Vector3.new(0,1.5,0) A0.Parent = Root local A1 = Instance.new("Attachment") A1.Name = "RAING_Bottom" A1.Position = Vector3.new(0,-1.5,0) A1.Parent = Root local Trail = Instance.new("Trail") Trail.Name = "RAING_Trail" Trail.Attachment0 = A0 Trail.Attachment1 = A1 Trail.Lifetime = .6 Trail.MinLength = .05 Trail.FaceCamera = true Trail.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0,ACCENT), ColorSequenceKeypoint.new(.5,Color3.fromRGB(255,255,255)), ColorSequenceKeypoint.new(1,Color3.fromRGB(100,100,100)) }) Trail.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0,.05), NumberSequenceKeypoint.new(.7,.4), NumberSequenceKeypoint.new(1,1) }) Trail.WidthScale = NumberSequence.new({ NumberSequenceKeypoint.new(0,1), NumberSequenceKeypoint.new(.65,.55), NumberSequenceKeypoint.new(1,0) }) Trail.Parent = Root TrailObjects = { A0, A1, Trail } end CreateToggle( TrailCard, "ENABLE", 55, function(enabled) TrailEnabled = enabled if enabled then CreateTrail() else RemoveTrail() end end ) --======================================================== -- HIT SOUND --======================================================== local HitCard = CreateCard("HitSound",110) Text( HitCard, "HIT SOUND", 15,10, 180,25, 15, Color3.fromRGB(255,255,255) ) Text( HitCard, "unified hit sound", 15,38, 180,18, 10, Color3.fromRGB(140,140,140) ) local HitSound = Instance.new("Sound") HitSound.Name = "RAING_HitSound" HitSound.SoundId = HIT_SOUND_ID HitSound.Volume = 1 HitSound.Parent = SoundService local function PlayHitSound() if not HitSoundEnabled then return end HitSound:Stop() HitSound.TimePosition = 0 HitSound:Play() end CreateToggle( HitCard, "ENABLE", 57, function(enabled) HitSoundEnabled = enabled end ) local TestHit = SmallButton( HitCard, "TEST", 180,57, 80,35 ) TestHit.MouseButton1Click:Connect(function() if HitSoundEnabled then PlayHitSound() end end) --======================================================== -- SKY --======================================================== local SkyCard = CreateCard("Sky",95) Text( SkyCard, "SKY", 15,10, 150,25, 15, Color3.fromRGB(255,255,255) ) Text( SkyCard, "environment", 15,38, 150,18, 10, Color3.fromRGB(140,140,140) ) local Sky1Button = SmallButton( SkyCard, "SKY 1", 200,23, 80,35 ) local Sky2Button = SmallButton( SkyCard, "SKY 2", 290,23, 80,35 ) local function ApplySky(texture) local OldSky = Lighting:FindFirstChild("RAING_SKY") if OldSky then OldSky:Destroy() end local Sky = Instance.new("Sky") Sky.Name = "RAING_SKY" Sky.SkyboxBk = texture Sky.SkyboxDn = texture Sky.SkyboxFt = texture Sky.SkyboxLf = texture Sky.SkyboxRt = texture Sky.SkyboxUp = texture Sky.Parent = Lighting end Sky1Button.MouseButton1Click:Connect(function() ApplySky(SKY_1) end) Sky2Button.MouseButton1Click:Connect(function() ApplySky(SKY_2) end) --======================================================== -- ANTI-AIM ENGINE --======================================================== local AAActive = false local AAYaw = 0 local AATime = 0 local AADirection = 1 local AANextChange = 0 RunService:BindToRenderStep( "RAING_ANTI_AIM", Enum.RenderPriority.Last.Value, function(dt) if not Humanoid or not Root then return end if not AntiAimEnabled then if AAActive then AAActive = false AAYaw = 0 AATime = 0 Humanoid.AutoRotate = true end return end local State = Humanoid:GetState() local Airborne = State == Enum.HumanoidStateType.Jumping or State == Enum.HumanoidStateType.Freefall if not Airborne then if AAActive then AAActive = false AAYaw = 0 AATime = 0 Humanoid.AutoRotate = true end return end if not AAActive then AAActive = true AAYaw = 0 AATime = 0 AANextChange = 0 AADirection = math.random(0,1) == 0 and -1 or 1 Humanoid.AutoRotate = false end AATime += dt if AATime >= AANextChange then AANextChange = AATime + math.random(7,12)/10 AADirection = math.random(0,1) == 0 and -1 or 1 end local SpinSpeed = math.rad( 420 + math.sin(AATime*3) * 100 ) AAYaw += SpinSpeed * dt * AADirection local Pitch = math.sin(AATime*4.5) * math.rad(16) local Roll = math.cos(AATime*5.2) * math.rad(21) local Target = CFrame.new(Root.Position) * CFrame.Angles( Pitch, AAYaw, Roll ) Root.CFrame = Root.CFrame:Lerp( Target, math.clamp(dt*10,0,1) ) end ) --======================================================== -- SPEED ENGINE --======================================================== RunService.Heartbeat:Connect(function() if not Humanoid then return end if Humanoid.Health <= 0 then return end if SpeedEnabled then if math.abs(Humanoid.WalkSpeed-SpeedValue) > 0.01 then Humanoid.WalkSpeed = SpeedValue end end end) --======================================================== -- FOV ENGINE --======================================================== RunService.RenderStepped:Connect(function(dt) local Camera = workspace.CurrentCamera if not Camera then return end local TargetFOV = FOVEnabled and FOVValue or 70 Camera.FieldOfView = Camera.FieldOfView + (TargetFOV-Camera.FieldOfView) * math.clamp(dt*10,0,1) end) --======================================================== -- HIT HEALTH CHECK --======================================================== local LastHealth = nil RunService.Heartbeat:Connect(function() if not Humanoid then return end if LastHealth == nil then LastHealth = Humanoid.Health return end if Humanoid.Health < LastHealth then PlayHitSound() end LastHealth = Humanoid.Health end) --======================================================== -- RESPAWN --======================================================== Player.CharacterAdded:Connect(function(char) RemoveTrail() task.wait(.2) SetupCharacter(char) LastHealth = nil if TrailEnabled then CreateTrail() end end) --======================================================== -- MINI BUTTON --======================================================== local Mini = Instance.new("TextButton") Mini.Name = "RAING_MINI" Mini.Size = UDim2.fromOffset(50,50) Mini.Position = UDim2.fromOffset(18,220) Mini.BackgroundColor3 = ACCENT Mini.BorderSizePixel = 0 Mini.Text = "R" Mini.TextColor3 = Color3.fromRGB(255,255,255) Mini.Font = Enum.Font.GothamBold Mini.TextSize = 19 Mini.Visible = false Mini.Parent = Gui local MiniCorner = Instance.new("UICorner") MiniCorner.CornerRadius = UDim.new(1,0) MiniCorner.Parent = Mini local MiniStroke = Instance.new("UIStroke") MiniStroke.Color = Color3.fromRGB(255,190,60) MiniStroke.Thickness = 1 MiniStroke.Parent = Mini --======================================================== -- CLOSE --======================================================== Close.MouseButton1Click:Connect(function() Main.Visible = false Mini.Visible = true end) Mini.MouseButton1Click:Connect(function() Main.Visible = true Mini.Visible = false end) --======================================================== -- RIGHT SHIFT --======================================================== UserInputService.InputBegan:Connect(function(input,processed) if processed then return end if input.KeyCode == Enum.KeyCode.RightShift then Main.Visible = not Main.Visible Mini.Visible = not Main.Visible end end) --======================================================== -- DRAG --======================================================== local Dragging = false local DragStart local StartPosition Header.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then Dragging = true DragStart = input.Position StartPosition = Main.Position end end) UserInputService.InputChanged:Connect(function(input) if not Dragging then return end if input.UserInputType == Enum.UserInputType.MouseMovement then local Delta = input.Position-DragStart Main.Position = UDim2.new( StartPosition.X.Scale, StartPosition.X.Offset+Delta.X, StartPosition.Y.Scale, StartPosition.Y.Offset+Delta.Y ) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then Dragging = false end end) --======================================================== -- FOOTER --======================================================== local Footer = Instance.new("TextLabel") Footer.Position = UDim2.new(0,0,1,-25) Footer.Size = UDim2.new(1,0,0,18) Footer.BackgroundTransparency = 1 Footer.Text = "made by raing" Footer.Font = Enum.Font.Gotham Footer.TextSize = 10 Footer.TextColor3 = Color3.fromRGB(115,115,115) Footer.ZIndex = 10 Footer.Parent = Main --======================================================== -- START ANIMATION --======================================================== local FinalSize = Main.Size Main.Size = UDim2.fromOffset(390,580) Main.BackgroundTransparency = 1 TweenService:Create( Main, TweenInfo.new( 0.45, Enum.EasingStyle.Back, Enum.EasingDirection.Out ), { Size = FinalSize, BackgroundTransparency = 0 } ):Play() print("================================") print("RAING MENU LOADED") print("SPEED:",SpeedValue) print("FOV:",FOVValue) print("ANTI-AIM READY") print("================================")