Universal Script 📌
1.3k Views
11.4k Executions

FE R15 Slide & Crouch (Mobile & PC)

10K executions
Universal Script 📌
AzScripter
AzScripter1M views
3 weeks ago

Reviewed by QueueSherlockPaid revieweron How review works

Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Features: - Crouch/Slide Button (C) - Slide can only be activated if speed is above 20 - ⁠Inclines increase speed, declines decrease speed (Uphill +speed, downhill -speed) - ⁠Customizable script Script Suggestions: Sprint Button and stamina bar v2

View Raw
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local ContentProvider = game:GetService("ContentProvider")
local TweenService = game:GetService("TweenService")

local player = Players.LocalPlayer
if player:GetAttribute("CrouchSlideLoaded") then return end
player:SetAttribute("CrouchSlideLoaded", true)

local Slide_At = 20
local Crouch_Hip, Slide_Hip, Crouch_Speed = 1.85, 1.3, 0.55
local hitbox_Y, hitbox_Size = 0.5, Vector3.new(2, 1, 1)
local crouch_top = hitbox_Y + hitbox_Size.Y * 0.5
local scan_radius = 8
local FLAT_DECEL, UPHILL_DECEL, DOWNHILL_ACCEL = 12, 52, 46

local CROUCH_IMG = "rbxassetid://109660173469064"
local CROUCH_DOWN = "rbxassetid://105987157375274"
local SLIDE_IMG = "rbxassetid://110954069432063"
local SLIDE_DOWN = "rbxassetid://134994664343117"
local ANIMS = {
	idle = "rbxassetid://109602961761132",
	walk = "rbxassetid://134301743319119",
	run = "rbxassetid://77522194791234",
}
local SLIDE_ANIM = "rbxassetid://125545085077300"
local SLIDE_SOUND = "rbxassetid://18952286141"

local State = { Stand = "Stand", Crouch = "Crouch", Slide = "Slide" }

local character, humanoid, hrp, animator
local originalHip, savedSpeed = 2, 16
local collider, colliderWeld
local origCollide, origQuery = {}, {}
local state, crouchOn, slowedSpeed = State.Stand, false, nil
local hipLock = false
local tracks, crouchName, slideTrack, slideSound = {}, nil, nil, nil
local slideDir, slideVel, slideTime, fading = Vector3.zAxis, 0, 0, false
local velocity, attachment, lastToggle = nil, nil, 0


Comments

1
Log in to join the conversation. Login
Golden_Scriptz's profile picture
Golden_Scriptz3 weeks ago

HES ALIVE, HES STILL ALIVEEEE

1

Tags

More universal scripts

See all
Script hub
137
986
Bumped 23 minutes ago

Script hub

Lunyx Hub

Script hub
120.8k
221.2k
Bumped 41 minutes ago
Key System
Script hub
10.5k
200.6k
Bumped 1 hour ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.3k
299.2k
Bumped 4 hours ago
Script hub
23.7k
5.3k
Bumped 4 hours ago
Key System
Paid
High Quality Offering
Universal Script 📌
302
977
Bumped 4 hours ago