ScriptBlox is undergoing maintenance, so downtime is possible. Sorry for the inconvenience!
Universal Script ๐Ÿ“Œ
2.7k Views

Fireball

Universal Script ๐Ÿ“ŒUploaded by
2 years ago
Please login to perform these actions:

Description

shoots fireballs with press the key 3!

View Raw
Edited By: Nooby Download


Comments
5
User profile picture
Nooby 2 years ago - Edited
ill add buttons for mobile and when i do ill put a link to it
User profile picture
Drixpy 2 years ago - Edited
fe?
User profile picture
Nooby 2 years ago - Edited
nope
User profile picture
giggler 2 years ago - Edited
use this in that therapy game / also it works really well!
User profile picture
LunarScripts 1 year ago - Edited
FE Version local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoidRootPart = character:WaitForChild("HumanoidRootPart") -- Fireball configuration local FIREBALL_SPEED = 70 local EXPLOSION_RADIUS = 10 local DAMAGE = 40 local COOLDOWN = 0 local canShoot = true -- Function to create a fireball local function createFireball() local fireball = Instance.new("Part") fireball.Name = "Fireball" fireball.Size = Vector3.new(2, 2, 2) fireball.Shape = Enum.PartType.Ball fireball.Material = Enum.Material.Neon fireball.BrickColor = BrickColor.new("Really red") fireball.CanCollide = false local fire = Instance.new("Fire") fire.Heat = 25 fire.Size = 5 fire.Parent = fireball local light = Instance.new("PointLight") light.Color = Color3.fromRGB(255, 100, 0) light.Range = 10 light.Brightness = 2 light.Parent = fireball return fireball end -- Function to create an explosion local function createExplosion(position) local explosion = Instance.new("Explosion") explosion.Position = position explosion.BlastRadius = EXPLOSION_RADIUS explosion.BlastPressure = 500000 explosion.DestroyJointRadiusPercent = 0 explosion.Parent = work*e end -- Function to shoot a fireball local function shootFireball() if not canShoot then return end canShoot = false local fireball = createFireball() fireball.CFrame = humanoidRootPart.CFrame * CFrame.new(0, 0, -2) fireball.Parent = work*e local direction = humanoidRootPart.CFrame.LookVector local bodyVelocity = Instance.new("BodyVelocity") body
Please Login to add a comment.