This may be confusing for you, but I'm trying to make a CFrame animated morph. For some reason though, my character goes berserk and flings around when I step on the morph button. The morph button was made by my friend btw. Please help if you can? script:
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Character
repeat
wait()
Character = Player.Character
until Character
local weld = Instance.new("Weld")
local GC = Character:WaitForChild("TorsoMDL")
local T = Character.Torso
local LAB = GC.LArmBottom
local LAT = GC.LArmTop
local RAB = GC.RArmBottom
local RAT = GC.RArmTop
local L = 0
game:GetService("RunService").RenderStepped:connect(function()
--if T.Velocity.Magnitude >= 1 then
if L == 1 then L = 0 end
L = L + 1
for _,v in pairs(GC:GetChildren()) do
if v:IsA("BasePart") then
v.CFrame = v.CFrame * CFrame.new(0, .5, 0)
end
end
for _,v in pairs(GC:GetChildren()) do
if v:IsA("BasePart") then
v.CFrame = v.CFrame * CFrame.new(0, -.5, 0)
end
end
end)
