#how can i script the camera to go up when i use my move

19 messages · Page 1 of 1 (latest)

strong zealot
#

game.ReplicatedStorage.Events.Killer.OnServerEvent:Connect(function(player, mousePos)
local effects = game.ReplicatedStorage.FireBallEffects
local spirit = effects.killer:Clone()
local spirit2 = effects.killer.Pillar2:Clone()
local spirit3 = effects.killer.dust:Clone()

local character = player.Character

spirit.Position = character.HumanoidRootPart.Position
spirit.Parent = workspace
spirit2.Position = character.HumanoidRootPart.Position
spirit2.Parent = workspace
spirit3.Position = character.HumanoidRootPart.Position
spirit3.Parent = workspace






spirit.Touched:Connect(function(hit)
    if hit:IsDescendantOf(character) or hit:FindFirstChild("ParticleEmitter") then return end

    
    if hit.Parent:FindFirstChild("Humanoid") then
        hit.Parent:FindFirstChild("Humanoid"):TakeDamage(100)
        
    end
    


    
    
end)
wait(3)
spirit:Destroy()
spirit2:Destroy()
spirit3:Destroy()

end)

#

how can i script the camera to go up when i use my move

digital hamlet
#
  1. make your camera type - Scriptable
  2. tween its CFrame using tweenservice (or just set camera's cframe without tweening)
carmine pebble
#

if u do camera type to follow would that also work?

strong zealot
sonic wrenBOT
#

studio** You are now Level 4! **studio

digital hamlet
#

oh bro

#

i thought you wanna make like a cutscene

digital hamlet
carmine pebble
#

smth like this: (local script)

local Camera = game.Workspace.CurrentCamera
local Player = game.Players.Localplayer
Camera.CameraType = Enum.CameraType.Follow
Camera.CameraType = Enum.CameraType.Follow
Camera.CameraSubject = Player.humanoidrootpart

#

probably use run service also ¯_(ツ)_/¯

digital hamlet
#

and then make it custom after you used a skill

carmine pebble
digital hamlet
#

fr

#

remote evnt ig

#

or make a value and then using runservice just change the camera type

#

theres alot of ways to do that

strong zealot