local TweenService = game:GetService("TweenService")
local char = script.Parent
local hRP = char:WaitForChild("HumanoidRootPart")
local t
function f()
local ___ = hRP:Clone()
--___.Size = Vector3.new(1,1,1)
___.Parent = hRP
___.Massless = true
___.Transparency = 1
___.CanCollide = false
local w = Instance.new("WeldConstraint",___)
w.Part0 = hRP
w.Part1 = ___
t = TweenService:Create(___,TweenInfo.new(0.05,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,math.huge,true),{Size = Vector3.new(0,0,0)})
t:Play()
end
f()
This function inside my script does as it should when you run in studio, but if you select play and a player is present for some reason it doesn’t work. The movement doesn’t replicate to the player at all.
The tween is actually cool, it literally lets you phase through blocks while still being able to walk over platforms, stairs, climb etc.
Changing networkownership of parts doesn’t change anything either
https://gyazo.com/b2157345612ee9b6bef6cd11a03bd8ec
https://gyazo.com/5004a5a94c97a55a1a58198a33c1e4cb