Hello!

I was wondering how can I modify this morph tool that permanently gives you a morph which you cannot remove unless If you either save It or load It or delete the morph

Also don't mind the "EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY" text, Its just the name of the morph

Script:

local tool = script.Parent
local Debounce = false
local DrinkingAnimation = tool.Animation or tool:WaitForChild("Animation")
local Rep = game.ReplicatedStorage
local CharacterFolder = Rep.Morphs
local char = tool.Parent

tool.Activated:Connect(function()
	if not Debounce then
		Debounce = true
		tool:WaitForChild("Drink"):Play()
		local AnimationTrack = tool.Parent.Humanoid:FindFirstChild("Animator"):LoadAnimation(DrinkingAnimation)
		AnimationTrack:Play()
		wait(1.5)
		local player = game.Players:GetPlayerFromCharacter(tool.Parent)

		local plrRoot = player.Character:FindFirstChild("HumanoidRootPart") or player.Character.Parent:FindFirstChild("Torso")

		local AveragePlayer = CharacterFolder["EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY"]:Clone()
		AveragePlayer.Name = player.Name
		player.Character = AveragePlayer

		local rootPart = AveragePlayer:FindFirstChild("HumanoidRootPart") or AveragePlayer:FindFirstChild("Torso")

		if rootPart and plrRoot then
			rootPart.CFrame = plrRoot.CFrame
		end

		AveragePlayer.Parent = workspace
		AveragePlayer.Humanoid.DisplayName = "EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY EVIL TROLL FROM ESCAPE THE EVIL TROLL OBBY"
		Debounce = false
		tool:Destroy()
	end
end)

2 comments

0

first,maybe u have to delete the player character first,then put that clone character inside player,second is a suggestion at line 17 and 23 u should only use one of them.lastly,why the heck every post i see always have the troll object thingy .-.

0

For the troll thingy, making a fanmade game of this: https://web.roblox.com/games/8360240897/World-of-Trollge-Beta