Universal Script 📌
770 Views
81 Executions

fent script

Universal Script 📌
Ps4sro
Ps4sroPublished 5
11 months ago
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

R15 ONLY fling included custom animations

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

local player = Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
local root = char:WaitForChild("HumanoidRootPart")
local animator = hum:WaitForChild("Animator")
local animateScript = char:WaitForChild("Animate")

if animateScript then animateScript.Disabled = true end
for _, track in pairs(animator:GetPlayingAnimationTracks()) do
	track:Stop()
end

hum.WalkSpeed = 0
hum.JumpPower = 0
hum.AutoRotate = false 

local flingEnabled = true 

local function loadAnim(id)
	local a = Instance.new("Animation")
	a.AnimationId = id
	return animator:LoadAnimation(a)
end

local introTrack = loadAnim("rbxassetid://101421264927228")
local walkTrack = loadAnim("rbxassetid://138992096476836")
local idleTrack = loadAnim("rbxassetid://126098522622859")
local jumpTrack = loadAnim("rbxassetid://88608327916498")
local flingTrack = loadAnim("rbxassetid://137181141349617")

UserInputService.InputBegan:Connect(function(input, gameProcessed)
	if not gameProcessed and input.KeyCode == Enum.KeyCode.T then
		flingEnabled = not flingEnabled
	end
end)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
178.6k
1.7M
Bumped 2 minutes ago
Key System
Universal Script 📌
9.0k
31.2k
Bumped 1 hour ago
Script hub
49.6k
12.2k
Bumped 2 hours ago
Key System
Paid
Script hub
5.5M
1.1M
Bumped 6 hours ago
Key System
Script hub
20.5k
3.9k
Bumped 7 hours ago
Key System
Paid
Universal Script 📌
629
22
Approved 13 hours ago
Universal Script 📌
576
16
Approved 13 hours ago
Universal Script 📌
541
35
Approved 13 hours ago