local brick = script.Parent
for i = 1,15 do
brick.CFrame = brick.CFrame*CFrame.new(0,-1.2,0)
wait(.1)
end
wait(2)
local brick = script.Parent
for i = 1,15 do
brick.CFrame = brick.CFrame*CFrame.new(0,1.2,0)
wait(.1)
end
This basically, successfully, makes the brick smash down into the floor and come back up. Though, I can't seem to loop it. When I use the while true do line, it refuses to work. Output when I put it:
*23:14:58.966 - Workspace.Thumper.Script:17: 'end' expected (to close 'while' at line 1) near ''
Anyone know how I could fix this? Yes, I'm still beginning with the CFrame stuff.

1 comment
Did you gave us the full script? it seems like you didnt close the loop..