How to make an Emote Gui On Roblox Studio!

Аватар автора
Игры и Игровые События
Hello everyone! I hope you all understood! Have a great day/night! Baii! ? Scripts: ------------------------ OPEN/CLOSE BUTTON ----------------------- cooldown = false open = true script.Parent.MouseButton1Click:connect(function() if cooldown == false then if open == true then cooldown = true script.Parent.Parent.ScrollingFrame:TweenPosition(UDim2.new(0,-160,1,-300),'Out','Bounce',2) script.Parent:TweenPosition(UDim2.new(0,-48,1,-250),'Out','Bounce',2) wait(2) script.Parent.Text = "Open" open = false cooldown = false elseif open == false then cooldown = true script.Parent.Parent.ScrollingFrame:TweenPosition(UDim2.new(0,0,1,-300),'Out','Bounce',2) script.Parent:TweenPosition(UDim2.new(0,112,1,-250),'Out','Bounce',2) wait(2) script.Parent.Text = "Close" open = true cooldown = false end end end) ------------------------------------------- SCRIPT TO PUT IN TEXTBUTTONS ------------------------------------------------------------ local player = game.Players.LocalPlayer local character = player.Character repeat wait() character = player.Character until character local hum = character:WaitForChild("Humanoid") local emote = hum:LoadAnimation(script.Parent.Emote) playing = false script.Parent.MouseButton1Click:connect(function() if playing == false then emote:Play() hum.WalkSpeed = 0 hum.JumpPower = 0 playing = true elseif playing == true then emote:Stop() hum.WalkSpeed = 16 hum.JumpPower = 50 playing = false...

0/0


0/0

0/0

0/0