Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Help changing size of meshpart but it brakes the welding its also welded to another meshpart?

Asked by 7 years ago
Edited by Pyrondon 7 years ago
--// Edited for code block. In the future, please enclose all code within your question in a code block by inserting it within two sets of tildes (~).
local saberHight = 0.2

while wait() do
    if saberLight == true then
        if saberHight < 3.616 then
            saberHight = saberHight + 0.1
        elseif saberHight > 3.616 then
            saberHight = 3.616
        end
    else
        if saberHight > 0 then
            saberHight = saberHight - 0.1
        elseif saberHight < 0 then
            saberHight = 0
        end
    end
    saber.Size = Vector3.new(0.2, saberHight, 0.2)
end
0
Use a codeblock and if you apply pressure to a weld(moving or rotating it) it brakes farrizbb 465 — 7y
0
codeblock?.. So is there no way to make it not brake then? BoomyTrevor 0 — 7y
0
o ok thanks didn't know that BoomyTrevor 0 — 7y
0
When you move it, or rotate it, or whatever just create new welds. AstrealDev 728 — 7y

Answer this question