This is only part of my script. I wanna know how to do it with Instance.new I wanna know how I can make it where I can change my walkspeed to 100 when I click the Walkspeed button which is textbutton1.
walkspeedplr.Name = "WalkSpeedPlr"
walkspeedplr.Position = UDim2.new(0.1, 0, 0.2, 0)
walkspeedplr.Size = UDim2.new(0, 150, 0, 50)
walkspeedplr.Text = "WalkSpeed"
walkspeedplr.Font = Enum.Font.Highway
walkspeedplr.TextScaled = true
walkspeedplr.BackgroundTransparency = 0.5
walkspeedplr.BorderSizePixel = 0
walkspeedplr.Parent = Frame
-- This below is the broken part
walkspeedplr.MouseButton1Click:Connect(function()
game.Workspace.DiscordID.Humanoid.WalkSpeed = 100
end)

3 comments
Thank you so much I really appreciate it! :)
I just realized that was the wrong piece of information. It says textlabel instead of textbutton :D But you still figured it out I appreicate it!
No problem.