Universal Script 📌
1.3k Views
571 Executions

Kj

Universal Script 📌
Mario_gore
Mario_gorePublished 5
10 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
3.2M
753.1k
Bumped 2 hours ago
Key System

Script hub

Hall of Fame #8

Verified script badgeFlow Hub | 50 Games | Updated

Universal Script 📌
387
1.1k
Bumped 4 hours ago
Key System
Universal Script 📌
7.0k
141.6k
Bumped 4 hours ago
Script hub
45.7k
114.4k
Bumped 6 hours ago
Key System
Script hub
3.5M
448.8k
Bumped 7 hours ago
Key System

Script hub

Hall of Fame #4

Verified script badgeOverflow #1 *OP*

Universal Script 📌
14.8k
71.7k
Bumped 8 hours ago