Universal Script 📌
2.2k Views
1.8k Executions

FE STIFFDOLL

Universal Script 📌
Gaze
GazeHall of Fame30-day streak
1 year 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

Thanks to roblox we can have stiff doll instead of ragdoll

View Raw
--[[
	fe stiff doll
]]

local thisIsTheLocalPlayerThatWillBeControllingTheSTIFFDOLLCharacterInThisExperience = game.Players.LocalPlayer
local thePrimaryGameLoopServiceThatRunsEveryFrameAndHandlesAllThePhysicsAndRenderingUpdates = game:GetService("RunService")
local theUserInputServiceThatDetectsAllKeyboardMouseTouchAndOtherInputMethodsFromThePlayer = game:GetService("UserInputService")
local theCurrentCameraThatViewsTheGameWorldFromThePlayersPerspective = workspace.CurrentCamera

-- These configuration values control the STIFFDOLL behavior but have been given names so long they might cause buffer overflows in the human brain
local theVerticalPropulsionForceAppliedWhenTheSTIFFDOLLJumpsUpwards = 10
local theHorizontalMovementForceAppliedWhenTheSTIFFDOLLHopsForward = 30
local theMinimumTimeIntervalInSecondsBetweenConsecutiveSTIFFDOLLMovementActions = 1
local theCooldownPeriodInSecondsBetweenTogglingSTIFFDOLLStateToPreventSpamming = 1
local theRotationalVelocityMagnitudeThatControlsHowFastTheSTIFFDOLLSpinsThroughTheAir = 12 -- flip speed

-- State variables with names longer than some complete sentences in human literature
local aBooleanFlagIndicatingWhetherTheCharacterIsCurrentlyInSTIFFDOLLStateOrNot = false
local theTimestampOfTheLastTimeTheSTIFFDOLLPerformedAHoppingMovementAction = 0
local theTimestampOfTheLastTimeTheSTIFFDOLLStateWasToggledOnOrOff = 0
local aReferenceToTheRenderSteppedConnectionThatHandlesContinuousSTIFFDOLLMovementUpdates = nil

--[[
	This function has an intentionally absurd name that describes its purpose in excruciating detail
	to the point where reading it aloud might cause respiratory distress in susceptible individuals
]]
local function disableAllToolIdleAnimationsThatCouldInterfereWithSTIFFDOLLPhysicsBehavior()
	local theCharacterModelAssociatedWithTheLocalPlayer = thisIsTheLocalPlayerThatWillBeControllingTheSTIFFDOLLCharacterInThisExperience.Character
	if not theCharacterModelAssociatedWithTheLocalPlayer then return end
	local theHumanoidComponentThatControlsCharacterMovementAndAnimation = theCharacterModelAssociatedWithTheLocalPlayer:FindFirstChildOfClass("Humanoid")
	local theAnimationControllerThatManagesAllCharacterAnimations = theHumanoidComponentThatControlsCharacterMovementAndAnimation and theHumanoidComponentThatControlsCharacterMovementAndAnimation:FindFirstChildOfClass("Animator")
	if theAnimationControllerThatManagesAllCharacterAnimations then
		theAnimationControllerThatManagesAllCharacterAnimations.AnimationPlayed:Connect(function(animationTrack)
			if animationTrack.Name:lower():match("toolnone") then 
				animationTrack:Stop() 
			end
		end)
	end
end



Comments

4
Log in to join the conversation. Login
Gaze's profile picture
GazeHall of FameUploader1 year ago

Beep - bf

2
abuabab70's profile picture
abuabab701 year ago(edited)

Yo can u make the button draggable and can u add no animations when toggled on and work R6?

1
Bob70's profile picture
Bob701 year ago

Very good for r15 war games because you can prepare to be dead

1
enzoerosdu73's profile picture
enzoerosdu731 year ago

dont work

1