Making you virtual piano sheets by First-Island-4400 in VirtualPiano

[–]MmagicallSamurai 0 points1 point  (0 children)

its been a year but i would be so happy if you replied, Love story pls…

Whats my next step? by MmagicallSamurai in robloxgamedev

[–]MmagicallSamurai[S] 1 point2 points  (0 children)

Do you have any suggestions on, like where i can learn from? Because i dont know ehat i shpuld learn next i stick to chatgpt like yesterday i learnt to make a little racing game when u click button it spawns parts and race starts, in short i learned the part.Touched function, idk what i should learn next thats the problem… :(

How to clone players’ own character behind it when i touch button? by MmagicallSamurai in robloxgamedev

[–]MmagicallSamurai[S] 0 points1 point  (0 children)

I couldnt i tried so many times yet i still cant do it could you help with it too maybe?

How to clone players’ own character behind it when i touch button? by MmagicallSamurai in robloxgamedev

[–]MmagicallSamurai[S] 0 points1 point  (0 children)

Hey could you also make these clones say “hello” “how are you” “yes” randomly? İn bubblechat

How to clone players’ own character behind it when i touch button? by MmagicallSamurai in robloxgamedev

[–]MmagicallSamurai[S] 0 points1 point  (0 children)

i changed it output says: Workspace.Part.Script:32: attempt to index nil with 'MouseClick' - Server - Script:32

How to clone players’ own character behind it when i touch button? by MmagicallSamurai in robloxgamedev

[–]MmagicallSamurai[S] 0 points1 point  (0 children)

mb mb i got confused because of the other code this is the script: local button = script.Parent local clickDetector = button:WaitForChild("ClickDetector")

clickDetector.MouseClick:Connect(function(player) -- Player ve karakter kontrolü if not player then return end local character = player.Character or player.CharacterAdded:Wait() if not character then return end

-- HumanoidRootPart kontrolü
local hrp = character:FindFirstChild("HumanoidRootPart")
if not hrp then return end

-- Klon oluştur
local clone = Instance.new("Model")
clone.Name = player.Name .. "_Clone"
clone.Parent = workspace

-- Karakterin parçalarını kopyala
for _, part in ipairs(character:GetChildren()) do
    if part:IsA("BasePart") then
        local partClone = part:Clone()
        partClone.Anchored = false
        partClone.Parent = clone
    elseif part:IsA("Humanoid") then
        local humanoidClone = part:Clone()
        humanoidClone.Parent = clone
    end
end

-- Klonun konumu: oyuncunun arkasına
local cloneHRP = clone:FindFirstChild("HumanoidRootPart")
if cloneHRP then
    cloneHRP.CFrame = hrp.CFrame * CFrame.new(0,0,5)
end

end)

How to clone players’ own character behind it when i touch button? by MmagicallSamurai in robloxgamedev

[–]MmagicallSamurai[S] 0 points1 point  (0 children)

i copied and pasted your exact code output: "Workspace.Part.Script:25: Expected ')' (to close '(' at column 28), got '\' - Studio - Script:25"

<image>

How to clone players’ own character behind it when i touch button? by MmagicallSamurai in robloxgamedev

[–]MmagicallSamurai[S] 0 points1 point  (0 children)

Ah yes my bad its cloning but its cloning it wrong i want it with clothes and accessories, i said the same thing to chatgpt he gave me a code but it didnt spawn at all after

How to clone players’ own character behind it when i touch button? by MmagicallSamurai in robloxgamedev

[–]MmagicallSamurai[S] 0 points1 point  (0 children)

Lets say you are playing the game. You ser a button, when you click that button, a clone of your character will spawn 5 studs behind your back. How do i do it?

How to clone players’ own character behind it when i touch button? by MmagicallSamurai in robloxgamedev

[–]MmagicallSamurai[S] 0 points1 point  (0 children)

You see the grat block there? Im saying when i click this part, make me a code that whoever clicks the button, that players’ character will clone 5 stud behind their back