Hello so i've been working on a morph gui script and here's the code this is the remote event onserverevent code

--Morph
--made by XxGamerSporkXx_YT

game.ReplicatedStorage.Events.MorphDodobird.OnServerEvent:Connect(function(plr)
	print("morphing")
	game.StarterPlayer.Dodobird.TerrorBird.Parent = game.StarterPlayer.StarterCharacterScripts
	game.StarterPlayer.Dodobird.Name = "StarterCharater"
	plr.Character.Humanoid.Health = 0
	print("morphing")
	wait(10)
	print("morphing done and now changing to back morph")
	game.StarterPlayer.StarterCharater.Name = "Dodobird"
	game.StarterPlayer.StarterCharacterScripts.TerrorBird.Parent = game.StarterPlayer.Dodobird
end)

this next one is the mousebutton1click code where if you click on the button it will trigger the server event

script.Parent.MouseButton1Click:Connect(function()
	game.ReplicatedStorage.Events.MorphDodobird:FireServer()
end)

the error in the output is nothing i can't find a single error. Anyways thanks for reading.

1 comment

0

do you get any prints? add one after the fire server in local script and see if the event is sending.