Universal Script πŸ“Œ
1.3k Views
711 Executions

Kj

Universal Script πŸ“Œ
Mario_gore
Mario_gore10K executions
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

Yy

View Raw
-- R6 Head Snake Animation (Side-to-Side Sliding, Not Rotating)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local torso = character:WaitForChild("Torso")
local neck = torso:WaitForChild("Neck")
local baseC0 = neck.C0
-- Settings
local amplitude = 0.6 -- How far the head slides left/right
local speed = 4 -- How fast it moves
local t = 0
RunService.RenderStepped:Connect(function(dt)
t += dt
-- X-axis slide using sine wave (no rotation)
local xOffset = math.sin(t * speed) * amplitude
neck.C0 = baseC0 * CFrame.new(xOffset, 0, 0)
end)


Comments

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

More universal scripts

See all
Script hub
33.2k
298.5k
Bumped 3 hours ago
Script hub
23.7k
5.2k
Bumped 3 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
251
772
Bumped 3 hours ago
Universal Script πŸ“Œ
1.7k
31.0k
Bumped 3 hours ago
Script hub
4.1M
559.5k
Bumped 4 hours ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.5k
29.2k
Bumped 5 hours ago
Key System