Roblox Studio - How To Do A Banner Raising
543 بار بازدید -
3 سال پیش
-
local banner = game.ServerStorage.Bannerlocal ClickDetector
local banner = game.ServerStorage.Banner
local ClickDetector = script.Parent.ClickDetector
ClickDetector.MouseClick:Connect(function()
local newBanner = banner:Clone()
newBanner.Parent = game.Workspace
wait(2)
for i = 0,300 do
newBanner:SetPrimaryPartCFrame(newBanner.PrimaryPart.CFrame + Vector3.new(0,0.1,0))
wait(0.01)
end
end)
If you have any questions, let me know or comment below what I should code next!
local ClickDetector = script.Parent.ClickDetector
ClickDetector.MouseClick:Connect(function()
local newBanner = banner:Clone()
newBanner.Parent = game.Workspace
wait(2)
for i = 0,300 do
newBanner:SetPrimaryPartCFrame(newBanner.PrimaryPart.CFrame + Vector3.new(0,0.1,0))
wait(0.01)
end
end)
If you have any questions, let me know or comment below what I should code next!
3 سال پیش
در تاریخ 1400/01/04 منتشر شده
است.
543
بـار بازدید شده