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

Won let me make a mesh grow! Help?

Asked by 7 years ago
Edited by Pyrondon 7 years ago

The ring itself will not grow for some reason.

--// Edited for code block. In the future, please enclose your code inside of a code block.
UIS = game:GetService("UserInputService")
Player = game.Players.LocalPlayer

UIS.InputBegan:connect(function(Input, GPE)
    if Input.KeyCode == Enum.KeyCode.X and not GPE then
        game:GetService("Chat"):Chat(Player.Character.Head, "Killer Move:Serious Series...Serious Punch", "Red")
        animation = Player.Character.Humanoid:LoadAnimation(script.serious)
        animation:Play()
        wait(.5)
        ring = Instance.new("Part", workspace)
        ring.CanCollide = false
        ring.Anchored = true
        ring.FormFactor = "Custom"
        ring.Transparency = 0.1
        ring.Size = Vector3.new(8,8,8)
        ring.CFrame = Player.Character.Torso.CFrame * CFrame.new(0,2,-2)
        look = script.mush:Clone()
        look.Parent = ring
        for i=1,20 do
            look.Scale = look.Scale + Vector3(.2,.2,.2)
        end
    end
end)
0
Well, good one on Won for that! :D TheeDeathCaster 2368 — 7y
1
Ok, being serious now; could you please put your code in a code block? It makes it easier to read & diagnose the problem, and if you can, could you provide any feedback from the Output that says anything about the code? It'll help us further diagnose the problems if so. TheeDeathCaster 2368 — 7y
0
Line 21, Vector3() should be Vector3.new() Pyrondon 2089 — 7y

Answer this question