I’m making a smash game, and I want to make it so that the player can turn around more faster, when there going right and left, is this possible?
Could you give a little more context on what you mean by “turn around”
By camera or Character?
the only way to do that is with shift lock and high dpi or scripts ( i don’t know how you would do this with a script
Answer:
You need to use the Move() method to move the Humanoid.
Example:
local h = game.Players.LocalPlayer.Character.Humanoid
local a = game.Players.LocalPlayer.Character:GetChildren()[1]
h.Move:Connect(function(v)
a.CFrame = a.CFrame * CFrame.Angles(0,math.rad(v.lookVector.X*10),0)
end)
And the ROBLOX API:
https://wiki.roblox.com/index.php?title=API:Class/Humanoid/Move
Is there an easy way to make a player explode?
I need to make it so that when a player clicks on a player, they will explode.
I have tried:
local player = game.Players.LocalPlayer.Player
local c = player.Character
local h = c.Humanoid
local player2 = game.Players.Player2.Player
local c2 = player2.Character
local h2 = c2.Humanoid
local p = Instance.new(“Part”)
p.Name = “Head”
p.Parent = c
p.Transparency = 1
p.CanCollide = false
local g = Instance.new(“BodyPosition”)
g.Parent = p
g.Name = “PlayerClick”
g.MaxForce = Vector3.new(0,0,0)
g.Position = c2.Head.Position
local t = Instance.new(“ClickDetector”)
t.Parent = c.Head
t.MaxActivationDistance = math.huge
t.MouseClick:Connect(function()
g.Position = c2.Head.Position
end)
local pr = Instance.new(“Part”)
pr.Name = “Head”
pr.Parent = c
pr.Transparency = 1
pr.CanCollide = false
local dr = Instance.new(“BodyPosition”)
dr.Parent = pr
dr.Name = “PlayerClick”
dr.MaxForce = Vector3.new(0,0,0)
dr.Position = c2.Head.Position * Vector3.new(2, 1, 2)
local tr = Instance.new(“ClickDetector”)
tr.Parent = c.Head
tr.MaxActivationDistance = math.huge
tr.MouseClick:Connect(function()
dr.Position = c2.Head.Position * Vector3.new(2, 1, 2)
end)
local fr = Instance.new(“Part”)
fr.Name = “Head”
fr.Parent = c
fr.Transparency = 1
fr.CanCollide = false
local lr = Instance.new(“BodyPosition”)
lr.Parent = fr
lr.Name = “PlayerClick”
lr.MaxForce = Vector3.new(0,0,0)
lr.Position = c2.Head.Position * Vector3.new(3, 1, 3)
local yr = Instance.new(“ClickDetector”)
yr.Parent = c.Head
yr.MaxActivationDistance = math.huge
yr.MouseClick:Connect(function()
lr.Position = c2.Head.Position * Vector3.new(3, 1, 3)
end)
local or = Instance.new(“Part”)
or.Name = “Head”
or.Parent = c
or.Transparency = 1
or.CanCollide = false
local ur = Instance.new(“BodyPosition”)
ur.Parent = or
ur.Name = “PlayerClick”
ur.MaxForce = Vector3.new(0,0,0)
ur.Position = c2.Head.Position * Vector3.new(4, 1, 4)
local ir = Instance.new(“ClickDetector”)
ir.Parent = c.Head
ir.MaxActivationDistance = math.huge
ir.MouseClick:Connect(function()
ur.Position = c2.Head.Position * Vector3.new(4, 1, 4)
end)
local ar = Instance.new(“Part”)
ar.Name = “Head”
ar.Parent = c
ar.
Are you using a normal Roblox character?
They turn as soon as you change control inputs.
Please explain it with more details so we can understand.
@xDeltaXen for the sake of all our eyesight please format your code blocks by putting 3 backticks (```) before and after you copy code here so it’s easier to read. It also looks like you’ve put an entire script in your reply that doesn’t need to be there.
I have put tabs in the script but it does not format it.
Tabs don’t format it.
If you copy/paste a script here, either use the </> tool in your Reply toolbar, or manually type ``` before and after it.
I will consider this in future replies. Considered.
Can you delete this post? Its been 7 months…