#💬 ninguem0407ʹs Feedback

1 messages · Page 1 of 1 (latest)

bronze rampartBOT
random pilot
old osprey
#

show scrip

random pilot
#

local debris = game:GetService("Debris")

local skill = game.ReplicatedStorage.Skills.Ray.Fskill
local event = skill.RemoteEvent

event.OnServerEvent:Connect(function(player, mouse)

local folder = workspace.Ignore:FindFirstChild(player.Name)

local character = player.Character
local root = character:FindFirstChild("HumanoidRootPart")

local projectile = skill["cosmic projectyle"]:Clone()
projectile.Parent = folder
projectile.Position = root.CFrame * CFrame.new(math.random(-15,10),math.random(0,8),math.random(0,10)).Position
debris:AddItem(projectile, 5)

local Start = projectile.Position
local Point1 = (Start + mouse.Position) / 2 + Vector3.new(math.random(-90,90),math.random(5,10),math.random(-50,50))
local Point2 = (Start + mouse.Position) / 2 + Vector3.new(math.random(-75,75),math.random(25,50),math.random(-75,75))
local End = mouse.Position

local function CubicCurve(x,y,z)
    return x + (y-x) * z
end

task.wait(1)

for    i = 0,1,0.03 do
    local A = CubicCurve(Start,Point1,i)
    local B = CubicCurve(Point1,Point2,i)
    local C = CubicCurve(Point2,End,i)
    --
    local A1 = CubicCurve(A,B,i)
    local B1 = CubicCurve(B,C,i)
    --
    local Way = CubicCurve(A1,B1,i)
    --+
    --
    projectile.Position = Way
    --
    task.wait()
    --
end
for i, v in projectile.Normal:GetChildren() do 
    v.Enabled = false
end
local hitt = projectile.Hitt
for i, v in hitt:GetChildren() do 
    v:emit(v:GetAttribute("EmitCount"))
end

end)

#

and yes, i wrote "projectyle" on the script lol

#

im brazilian so on that time i didnt knew how to write it right

#

@old osprey

old osprey
#

what

random pilot
#

why do you want it?

old osprey
#

oh

#

jus curiou

random pilot
#

okay, thats it

#

at least give me a like crying

old osprey
#

sure