Advertisement
Tinybang_Studio

Spell Template

May 1st, 2020
764
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.74 KB | None | 0 0
  1. ["Appa"] = {
  2.         ["Description"] = "Apperation Spell",
  3.         ["Class"] = "Action",
  4.         ["Name"] = "Appa",
  5.         ["Cooldown"] = 0,
  6.         ["Damage"] = 100,
  7.         ["Range"] = 1000,
  8.         ["Speed"] = 100,
  9.         ["Ammo"] = 1,
  10.         ["DeleteDelay"] = .7,
  11.         ["Lock"] = nil,
  12.         ["Props"] = {
  13.             ["Color"] = Color3.fromRGB(255,255,255),
  14.             ["Material"] = Enum.Material.Neon
  15.         },
  16.         ["Callback"] = function(Tool,Mouse,User)
  17.             local appaAnim = User.Character.Humanoid:LoadAnimation(game.ReplicatedStorage.Animations.apparate);
  18.             appaAnim:Play(0.3, 1, 1.5);
  19.             wait(.75)
  20.             User.Character.HumanoidRootPart.Position = Mouse.p
  21.         end,
  22.     },
  23. ["VROOM"] = {
  24.         ["Description"] = "MAKE U GO VROOM.",
  25.         ["Class"] = "Projectile",
  26.         ["Name"] = "VROOM",
  27.         ["Cooldown"] = 0,
  28.         ["Damage"] = 0,
  29.         ["Range"] = 10000,
  30.         ["Speed"] = 100,
  31.         ["Ammo"] = 5,
  32.         ["DeleteDelay"] = .7,
  33.         ["Lock"] = nil,
  34.         ["Callback"] = function(Humanoid,HitPart,Mouse,Self)
  35.             if Humanoid then
  36.                 Humanoid.Sit = true
  37.                
  38.                 local Speed = 4000
  39.                 local Force = 8000000
  40.                
  41.                 local TotalForce = Force
  42.                
  43.                 local KnockBack = Instance.new("BodyVelocity")
  44.                 KnockBack.Parent = HitPart.Parent:FindFirstChild("HumanoidRootPart")
  45.                
  46.                 KnockBack.MaxForce = Vector3.new(TotalForce,TotalForce,TotalForce)
  47.                 KnockBack.Velocity = Humanoid.Parent:FindFirstChild("HumanoidRootPart").CFrame.LookVector * Speed
  48.             end
  49.         end,
  50.         ["Props"] = {
  51.             ["Color"] = Color3.fromRGB(255,0,0),
  52.             ["Material"] = Enum.Material.Neon
  53.         },
  54.     },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement