Character becoming certain parts when touching a part

nope, still doesnt work. aaagh, explain me fully again how everything should be setup because maybe thats wrong

where did you put your script in?

inside of the part you need to touch inside workspace

Well lemme record a vid to show you how to setup things

script that i used:

local Players = game:GetService("Players")
local TPDest = workspace.Washer
local cooldown = false
local cooldowntimer = 15 -- Change this to whatever you want the cooldown to be
local plr = game.Players.LocalPlayer or game.Players.PlayerAdded:Wait()


script.Parent.Touched:Connect(function(partTouched)
	if partTouched.Parent:FindFirstChild("Humanoid") and not cooldown then
        cooldown = true
		local Character = partTouched.Parent
		local Player = Players:GetPlayerFromCharacter(Character)
		
			Player.Character:WaitForChild("HumanoidRootPart").CFrame = TPDest.CFrame
			local char = plr.Character or plr.CharacterAdded:Wait()
			wait()
				for i,v in pairs(char:GetChildren()) do
				if v:IsA("MeshPart") or v:IsA("Part") then
					local new = game.ServerStorage.Sph:Clone()
					local weld = Instance.new("WeldConstraint", new)
					weld.Part0 = v
					weld.Part1 = new
					new.Parent = v
					new.Position = v.Position
					print("Done")
					end
			        if Player.Character:FindFirstChild("ForceField") then Player.Character:FindFirstChild("ForceField"):Destroy() end
			
				
			end
        wait(cooldowntimer)
        cooldown = false
	end
end)

it worked but i was stuck in place, (yes its unanchored) i gotta go now, basically where im going with this is different parts which, 3 parts; one for ball one for block and one for triangle, then all sorts of colors so you can basically choose a size and color, so if you can im not saying you have to maybe send a script for colors too. (dont forget i was stuck in place though)

i repeat again that you have to set the can collide to off

For the choosing system you have to make a gui or make 3 different pads for each one

No it’s not a choosing system, it’s all different parts and scripts. Cancollide is off, it’s three different parts with all their own scripts and the colors are all different too. I really gotta go now I’ll be back tomorrow.

Ok i will think of a new script untill that time

You here? (30 characters) (30))

TouchPart.rbxm (3.8 KB)
Download this file and find the UNGROUP ME! Model And Put The Things On Where I said in your game

1 Like

Did It Work Fine This Time? 30Characters

I added a function which makes the part’s color to a random color like this image below:


If you want the script reply to me

it isnt necesarilly needed, ill try the other script now

ok then so try the other script and tell me if it fixed

i downloaded the file howd i import it to roblox\

open your roblox and select file- open from file- and choose it then ungroup the UNGROUP ME! object and copy paste the files into your game and put them on the places i said

cant find the file in the explorer

It’s a model named UNGROUP ME! it’s not inside of the workspace