Hello so i have bug in my script

Hello, i maded third-party gui to add more emotes to R6 avatars but that dont work… why?

local plr = game.Players.LocalPlayer
local plrgui = plr.PlayerGui
local ws = game.Workspace


local folder = Instance.new("Folder")
folder.Parent = ws
folder.Name = "EGR6S"


local hud = Instance.new("ScreenGui")
hud.Name = "hud"
hud.Parent = folder


local ob = Instance.new("TextButton")
ob.Name = "open"
ob.TextScaled = true
ob.BorderSizePixel = 10
ob.Text = "Open Gui"
ob.Parent = hud
ob.Position = UDim2.new(0.80, 0, 0.85, 0)
ob.Size = UDim2.new(0.15, 0, 0.05, 0)


local fr = Instance.new("Frame")
fr.Name = "frame"
fr.BorderSizePixel = 10
fr.BackgroundColor3 = Color3.fromRGB(130, 130, 130)
fr.Parent = hud
fr.Active = true
fr.Draggable = true
fr.Visible = false
fr.Size = UDim2.new(0.20, 0, 0.45, 0)


local nl = Instance.new("TextLabel")
nl.Name = "namelabel"
nl.TextScaled = true
nl.BorderSizePixel = 10
nl.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
nl.Text = "Emote Gui R6 V1"
nl.Size = UDim2.new(0.90, 0, 0.10, 0)
nl.Position = UDim2.new(0, 0, 0, 0)
nl.Parent = fr


local cb = Instance.new("TextButton")
cb.Name = "close"
cb.BorderSizePixel = 10
cb.TextScaled = true
cb.BackgroundColor3 = Color3.fromRGB(130, 0, 0)
cb.Text = "X"
cb.Parent = fr
cb.Position = UDim2.new(0.90, 0, 0, 0)
cb.Size = UDim2.new(0.10, 0, 0.10, 0)


local tpb = Instance.new("TextButton")
tpb.Name = "tpose"
tpb.BorderSizePixel = 10
tpb.TextScaled = true
tpb.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
tpb.Text = "T-pose"
tpb.Parent = fr
tpb.Position = UDim2.new(0.05, 0, 0.25, 0)
tpb.Size = UDim2.new(0.20, 0, 0.10, 0)


local db = Instance.new("TextButton")
db.Name = "dab"
db.BorderSizePixel = 10
db.TextScaled = true
db.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
db.Text = "Dab"
db.Parent = fr
db.Position = UDim2.new(0.05, 0, 0.52, 0)
db.Size = UDim2.new(0.20, 0, 0.10, 0)


local ssb = Instance.new("TextButton")
ssb.Name = "slav_star"
ssb.BorderSizePixel = 10
ssb.TextScaled = true
ssb.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
ssb.Text = "Slav Star"
ssb.Parent = fr
ssb.Position = UDim2.new(0.05, 0, 0.78, 0)
ssb.Size = UDim2.new(0.20, 0, 0.10, 0)


local sohb = Instance.new("TextButton")
sohb.Name = "on_hand"
sohb.BorderSizePixel = 10
sohb.TextScaled = true
sohb.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
sohb.Text = "On Hand"
sohb.Parent = fr
sohb.Position = UDim2.new(0.35, 0, 0.25, 0)
sohb.Size = UDim2.new(0.20, 0, 0.10, 0)


local flb = Instance.new("TextButton")
flb.Name = "flip"
flb.BorderSizePixel = 10
flb.TextScaled = true
flb.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
flb.Text = "Flip"
flb.Parent = fr
flb.Position = UDim2.new(0.35, 0, 0.52, 0)
flb.Size = UDim2.new(0.20, 0, 0.10, 0)


local flyb = Instance.new("TextButton")
flyb.Name = "fly"
flyb.BorderSizePixel = 10
flyb.TextScaled = true
flyb.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
flyb.Text = "Fly"
flyb.Parent = fr
flyb.Position = UDim2.new(0.35, 0, 0.78, 0)
flyb.Size = UDim2.new(0.20, 0, 0.10, 0)


local flossb = Instance.new("TextButton")
flossb.Name = "floss"
flossb.BorderSizePixel = 10
flossb.TextScaled = true
flossb.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
flossb.Text = "Floss"
flossb.Parent = fr
flossb.Position = UDim2.new(0.65, 0, 0.25, 0)
flossb.Size = UDim2.new(0.20, 0, 0.10, 0)


local pub = Instance.new("TextButton")
pub.Name = "punches"
pub.BorderSizePixel = 10
pub.TextScaled = true
pub.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
pub.Text = "Punches"
pub.Parent = fr
pub.Position = UDim2.new(0.65, 0, 0.52, 0)
pub.Size = UDim2.new(0.20, 0, 0.10, 0)

local kazb = Instance.new("TextButton")
kazb.Name = "kaz"
kazb.BorderSizePixel = 10
kazb.TextScaled = true
kazb.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
kazb.Text = "Kazotsky"
kazb.Parent = fr
kazb.Position = UDim2.new(0.65, 0, 0.78, 0)
kazb.Size = UDim2.new(0.20, 0, 0.10, 0)


local tpose = Instance.new("Animation")
tpose.Name = "tpose"
tpose.Parent = hud
tpose.AnimationId = "rbxassetid://13793952766"

local dab = Instance.new("Animation")
dab.Name = "dab"
dab.Parent = hud
dab.AnimationId = "rbxassetid://13794030355"

local ss = Instance.new("Animation")
ss.Name = "slav_star"
ss.Parent = hud
ss.AnimationId = "rbxassetid://13794124961"

local soh = Instance.new("Animation")
soh.Name = "on_hand"
soh.Parent = hud
soh.AnimationId = "rbxassetid://13794176587"

local flip = Instance.new("Animation")
flip.Name = "flip"
flip.Parent = hud
flip.AnimationId = "rbxassetid://13797209467"

local fly = Instance.new("Animation")
fly.Name = "fly"
fly.Parent = hud
fly.AnimationId = "rbxassetid://13798313724"

local floss = Instance.new("Animation")
floss.Name = "floss"
floss.Parent = hud
floss.AnimationId = "rbxassetid://13797913706"

local punches = Instance.new("Animation")
punches.Name = "punches"
punches.Parent = hud
punches.AnimationId = "rbxassetid://13798349154"

local kazotsky = Instance.new("Animation")
kazotsky.Name = "kazotsky"
kazotsky.Parent = hud
kazotsky.AnimationId = "rbxassetid://13798472143"


folder.hud.Parent = plrgui

cb.MouseButton1Click:Connect(function()
	ob.Visible = true
	fr.Visible = false
end)


ob.MouseButton1Click:Connect(function()
	ob.Visible = false
	fr.Visible = true
end)


tpb.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")
	
	if hum then
		local ani = hum:LoadAnimation(tpose)
		ani:Play()
	end
end)


db.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")

	if hum then
		local ani = hum:LoadAnimation(dab)
		ani:Play()
	end
end)


ssb.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")

	if hum then
		local ani = hum:LoadAnimation(ss)
		ani:Play()
	end
end)


sohb.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")

	if hum then
		local ani = hum:LoadAnimation(soh)
		ani:Play()
	end
end)

flb.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")
	
	if hum then
		local ani = hum:LoadAnimation(flip)
		ani:Play()
	end
end)

flyb.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")
	if hum then
		local ani = hum:LoadAnimation(fly)
		ani:Play()
	end
end)

flossb.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")
	if hum then
		local ani = hum:LoadAnimation(floss)
		ani:Play()
	end
end)

pub.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")
	if hum then
		local ani = hum:LoadAnimation(punches)
		ani:Play()
	end
end)

kazb.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")
	if hum then
		local ani = hum:LoadAnimation(kazotsky)
		ani:Play()
	end
end)

--an Emote Gui specialy for R6
--cool right?
--yeah cool
--BY GLITCHFOG

so somebody see error that animations arent played???
i dont. on studio it worked but while using third-party it doesnt.

pls help me with this. i worker with it for a little. at nights.

I hope this anim GUI isn’t for exploiting [you wouldn’t post script that’s gonna be used for exploiting right?] , but if it is then that’s why its probably not working

Make sure in roblox settings you have enabled 3rd party services.

its a gui to play anim in other games for R6, its harmless.

it obviously wont work since its R6 and not R15, almost all the players in roblox (probably all) have R15 and R6 animations does not play on R15 characters and vise versa
Try checking if the character is R6 or R15 then play the animation for the right Character
if u wanna check if ur animation works then go to Avatar and change ur character to R6 and try it again

my friend was exploiting and he haved R6 avatar. Anddddd it didnt worked.

its only for R6 and it doesnt working

oh yeah ik the prob sry, actually the way u are playing the animation is deprecated and its buggy. this is what u should do:

local AnimationId = 'UR ID HERE'
local humanoid = character:WaitForChild("Humanoid")
local Animator = character:WaitForChild("Animate")
Animator:LoadAnimation(shockAnimation)

Now there is a script inside the humanoid which deals with the animations and u have to use it
Edit: this code is wrong

1 Like
1 Like

well i did this but its not making the animations like u hoped tho:

local plr = game.Players.LocalPlayer
local plrgui = plr.PlayerGui
local ws = game.Workspace


local folder = Instance.new("Folder")
folder.Parent = ws
folder.Name = "EGR6S"


local hud = Instance.new("ScreenGui")
hud.Name = "hud"
hud.Parent = folder


local ob = Instance.new("TextButton")
ob.Name = "open"
ob.TextScaled = true
ob.BorderSizePixel = 10
ob.Text = "Open Gui"
ob.Parent = hud
ob.Position = UDim2.new(0.80, 0, 0.85, 0)
ob.Size = UDim2.new(0.15, 0, 0.05, 0)


local fr = Instance.new("Frame")
fr.Name = "frame"
fr.BorderSizePixel = 10
fr.BackgroundColor3 = Color3.fromRGB(130, 130, 130)
fr.Parent = hud
fr.Active = true
fr.Draggable = true
fr.Visible = false
fr.Size = UDim2.new(0.20, 0, 0.45, 0)


local nl = Instance.new("TextLabel")
nl.Name = "namelabel"
nl.TextScaled = true
nl.BorderSizePixel = 10
nl.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
nl.Text = "Emote Gui R6 V1"
nl.Size = UDim2.new(0.90, 0, 0.10, 0)
nl.Position = UDim2.new(0, 0, 0, 0)
nl.Parent = fr


local cb = Instance.new("TextButton")
cb.Name = "close"
cb.BorderSizePixel = 10
cb.TextScaled = true
cb.BackgroundColor3 = Color3.fromRGB(130, 0, 0)
cb.Text = "X"
cb.Parent = fr
cb.Position = UDim2.new(0.90, 0, 0, 0)
cb.Size = UDim2.new(0.10, 0, 0.10, 0)


local tpb = Instance.new("TextButton")
tpb.Name = "tpose"
tpb.BorderSizePixel = 10
tpb.TextScaled = true
tpb.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
tpb.Text = "T-pose"
tpb.Parent = fr
tpb.Position = UDim2.new(0.05, 0, 0.25, 0)
tpb.Size = UDim2.new(0.20, 0, 0.10, 0)


local db = Instance.new("TextButton")
db.Name = "dab"
db.BorderSizePixel = 10
db.TextScaled = true
db.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
db.Text = "Dab"
db.Parent = fr
db.Position = UDim2.new(0.05, 0, 0.52, 0)
db.Size = UDim2.new(0.20, 0, 0.10, 0)


local ssb = Instance.new("TextButton")
ssb.Name = "slav_star"
ssb.BorderSizePixel = 10
ssb.TextScaled = true
ssb.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
ssb.Text = "Slav Star"
ssb.Parent = fr
ssb.Position = UDim2.new(0.05, 0, 0.78, 0)
ssb.Size = UDim2.new(0.20, 0, 0.10, 0)


local sohb = Instance.new("TextButton")
sohb.Name = "on_hand"
sohb.BorderSizePixel = 10
sohb.TextScaled = true
sohb.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
sohb.Text = "On Hand"
sohb.Parent = fr
sohb.Position = UDim2.new(0.35, 0, 0.25, 0)
sohb.Size = UDim2.new(0.20, 0, 0.10, 0)


local flb = Instance.new("TextButton")
flb.Name = "flip"
flb.BorderSizePixel = 10
flb.TextScaled = true
flb.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
flb.Text = "Flip"
flb.Parent = fr
flb.Position = UDim2.new(0.35, 0, 0.52, 0)
flb.Size = UDim2.new(0.20, 0, 0.10, 0)


local flyb = Instance.new("TextButton")
flyb.Name = "fly"
flyb.BorderSizePixel = 10
flyb.TextScaled = true
flyb.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
flyb.Text = "Fly"
flyb.Parent = fr
flyb.Position = UDim2.new(0.35, 0, 0.78, 0)
flyb.Size = UDim2.new(0.20, 0, 0.10, 0)


local flossb = Instance.new("TextButton")
flossb.Name = "floss"
flossb.BorderSizePixel = 10
flossb.TextScaled = true
flossb.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
flossb.Text = "Floss"
flossb.Parent = fr
flossb.Position = UDim2.new(0.65, 0, 0.25, 0)
flossb.Size = UDim2.new(0.20, 0, 0.10, 0)


local pub = Instance.new("TextButton")
pub.Name = "punches"
pub.BorderSizePixel = 10
pub.TextScaled = true
pub.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
pub.Text = "Punches"
pub.Parent = fr
pub.Position = UDim2.new(0.65, 0, 0.52, 0)
pub.Size = UDim2.new(0.20, 0, 0.10, 0)

local kazb = Instance.new("TextButton")
kazb.Name = "kaz"
kazb.BorderSizePixel = 10
kazb.TextScaled = true
kazb.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
kazb.Text = "Kazotsky"
kazb.Parent = fr
kazb.Position = UDim2.new(0.65, 0, 0.78, 0)
kazb.Size = UDim2.new(0.20, 0, 0.10, 0)


local tpose = Instance.new("Animation")
tpose.Name = "tpose"
tpose.Parent = hud
tpose.AnimationId = "rbxassetid://13793952766"

local dab = Instance.new("Animation")
dab.Name = "dab"
dab.Parent = hud
dab.AnimationId = "rbxassetid://13794030355"

local ss = Instance.new("Animation")
ss.Name = "slav_star"
ss.Parent = hud
ss.AnimationId = "rbxassetid://13794124961"

local soh = Instance.new("Animation")
soh.Name = "on_hand"
soh.Parent = hud
soh.AnimationId = "rbxassetid://13794176587"

local flip = Instance.new("Animation")
flip.Name = "flip"
flip.Parent = hud
flip.AnimationId = "rbxassetid://13797209467"

local fly = Instance.new("Animation")
fly.Name = "fly"
fly.Parent = hud
fly.AnimationId = "rbxassetid://13798313724"

local floss = Instance.new("Animation")
floss.Name = "floss"
floss.Parent = hud
floss.AnimationId = "rbxassetid://13797913706"

local punches = Instance.new("Animation")
punches.Name = "punches"
punches.Parent = hud
punches.AnimationId = "rbxassetid://13798349154"

local kazotsky = Instance.new("Animation")
kazotsky.Name = "kazotsky"
kazotsky.Parent = hud
kazotsky.AnimationId = "rbxassetid://13798472143"


folder.hud.Parent = plrgui

cb.MouseButton1Click:Connect(function()
	ob.Visible = true
	fr.Visible = false
end)


ob.MouseButton1Click:Connect(function()
	ob.Visible = false
	fr.Visible = true
end)


tpb.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")

	if hum then
		local animator: Animator = hum:FindFirstChildOfClass("Animator")
		animator:LoadAnimation(tpose):Play()
	end
end)


db.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")

	if hum then
		local animator: Animator = hum:FindFirstChildOfClass("Animator")
		animator:LoadAnimation(dab):Play()
	end
end)


ssb.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")

	if hum then
		local animator: Animator = hum:FindFirstChildOfClass("Animator")
		animator:LoadAnimation(ss):Play()
	end
end)


sohb.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")

	if hum then
		local animator: Animator = hum:FindFirstChildOfClass("Animator")
		animator:LoadAnimation(soh):Play()
	end
end)

flb.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")

	if hum then
		local animator: Animator = hum:FindFirstChildOfClass("Animator")
		animator:LoadAnimation(flip):Play()
	end
end)

flyb.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")

	if hum then
		local animator: Animator = hum:FindFirstChildOfClass("Animator")
		animator:LoadAnimation(fly):Play()
	end
end)

flossb.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")

	if hum then
		local animator: Animator = hum:FindFirstChildOfClass("Animator")
		animator:LoadAnimation(floss):Play()
	end
end)

pub.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")

	if hum then
		local animator: Animator = hum:FindFirstChildOfClass("Animator")
		animator:LoadAnimation(punches):Play()
	end
end)

kazb.MouseButton1Click:Connect(function()
	local hum = plr.Character:FindFirstChildOfClass("Humanoid")

	if hum then
		local animator: Animator = hum:FindFirstChildOfClass("Animator")
		animator:LoadAnimation(kazotsky):Play()
	end
end)

--an Emote Gui specialy for R6
--cool right?
--yeah cool
--BY GLITCHFOG

it should have worked but it didnt

1 Like

Dude, thanks so much. I dont exploit normally because im scared of viruses (even scared too much) so im not downloading any exploiting tool, but it worked on roblox studio. So maybe it works normally on games with third party tool. I see how you did this and i will know now how to do animations right. Thx.

glad it worked for you and dont forget to mark me solution (im surprised that it worked for you while it didn’t for me, animators on roblox are trash)

so im gonna add text down on window (Orginal Idea: GlitchFOG, Edited Code: Rip_fasm) is that ok?

oh you mean here not credits im gonna do solution mark

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.