Hello Everyone my name is Matthew, You guys can call me Matt.
I’m having a little issue with some code, Overall I’m pretty good at it just have a hard time putting it together.
My issue is I’m trying get the correct Event for a tool… When they equip the tool and click something is suppose to happen. I tried looking the the explorer but Just had no use, tried using some of the Grip events, nothing.
Maybe I just did it wrong.
All I need the the Proper Event.
here is the Code…
local base = game.Workspace.Baseplate
-- Calling a Variable for the Sword
local sword = game.StarterPack.ClassicSword
-- Calling a Variable a Vairable so that I have a number to subtract by so the Map gets smaller
local num = 1 -- this should work... First time, lol
-- Making a function so that when the player clicks and the sword swings the Baseplate gets smaller...
--Five Studs
sword.?????:connect(function()
-- Create new CFrame
local newVector3 = Vector3.new(-8, 3, -94.5)
local newCFrame = CFrame.new(newVector3 - 1)
-- Overwrite red block's current CFrame with new CFrame
base.CFrame = newCFrame
-- Now we are using the Baseplate Variable to make the Map smaller by Five Studs
wait(.5)-- because its going to be to fast.
end)

