Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.87 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. id = "IDHERE"
  5. local ScreenGui = Instance.new("ScreenGui")
  6. local Main = Instance.new("Frame")
  7. local chatnamespell = Instance.new("TextBox")
  8. local spellset = Instance.new("TextButton")
  9. --Properties:
  10. ScreenGui.Parent = game.CoreGui
  11.  
  12. Main.Name = "Main"
  13. Main.Parent = ScreenGui
  14. Main.BackgroundColor3 = Color3.new(1, 1, 1)
  15. Main.Position = UDim2.new(0.713772476, 0, 0.245977014, 0)
  16. Main.Size = UDim2.new(0, 137, 0, 152)
  17.  
  18. chatnamespell.Name = "chatnamespell"
  19. chatnamespell.Parent = Main
  20. chatnamespell.BackgroundColor3 = Color3.new(1, 1, 1)
  21. chatnamespell.BorderSizePixel = 0
  22. chatnamespell.Position = UDim2.new(0.1087896, 0, 0.117967308, 0)
  23. chatnamespell.Size = UDim2.new(0, 106, 0, 73)
  24. chatnamespell.Font = Enum.Font.SourceSans
  25. chatnamespell.PlaceholderText = "Spell Name as in Chat"
  26. chatnamespell.Text = ""
  27. chatnamespell.TextColor3 = Color3.new(0, 0, 0)
  28. chatnamespell.TextScaled = true
  29. chatnamespell.TextSize = 14
  30. chatnamespell.TextWrapped = true
  31.  
  32. spellset.Name = "spellset"
  33. spellset.Parent = Main
  34. spellset.BackgroundColor3 = Color3.new(1, 1, 1)
  35. spellset.BorderSizePixel = 0
  36. spellset.Position = UDim2.new(0.060430944, 0, 0.646597087, 0)
  37. spellset.Size = UDim2.new(0, 128, 0, 47)
  38. spellset.Font = Enum.Font.SourceSans
  39. spellset.Text = "Set Spell"
  40. spellset.TextColor3 = Color3.new(0, 0, 0)
  41. spellset.TextScaled = true
  42. spellset.TextSize = 14
  43. spellset.TextWrapped = true
  44. spellset.MouseButton1Click:Connect(function()
  45. game.Players:Chat(chatnamespell.Text)
  46. end)
  47. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  48. if msg == 'immortalize' then
  49. spellName = 'Invincibility'
  50. elseif string.sub(msg,1,6) == 'Elder;' then
  51. identspellName = 'OPMode'
  52. spellName = string.sub(msg,7,#msg)
  53. elseif msg == 'nuggetize' then
  54. spellName = 'Nuggetize'
  55. else
  56. identspellName = nil
  57. spellName = msg
  58. end
  59. end)
  60. local plr = game.Players.LocalPlayer
  61. local mouse = plr:GetMouse()
  62. mouse.Button1Down:Connect(function()
  63. if spellName == 'Invincibility' then
  64. local item = mouse.Target
  65. local itempos = item.CFrame
  66. local person = item.Parent
  67. for i = 1,200 do
  68. wait(.01)
  69. local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = "vulnera sanentur" }
  70. game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
  71. end
  72. wait(.1)
  73. local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = "deletrius" }
  74. game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
  75. wait(.1)
  76. local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = "glacius" }
  77. game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
  78. local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = "finite incantatem" }
  79. game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
  80. local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = "diffindo" }
  81. game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
  82. local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = "calvorio" }
  83. game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
  84. elseif spellName == 'Nuggetize' then
  85. local item = mouse.Target
  86. local itempos = item.CFrame
  87. local person = item.Parent
  88. local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = 'diminuendo' }
  89. game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
  90. wait(4)
  91. local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = 'levicorpus' }
  92. game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
  93. elseif identspellName == 'OPMode' then
  94. local item = mouse.Target
  95. local itempos = item.CFrame
  96. local person = item.Parent
  97. for i = 1,20 do
  98. local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = spellName }
  99. game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
  100. end
  101. else
  102. local item = mouse.Target
  103. local itempos = item.CFrame
  104. local person = item.Parent
  105. local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = spellName }
  106. game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
  107. end
  108. end)
  109. while wait() do
  110. local item = game.Players.LocalPlayer.Character.Head
  111. local itempos = item.CFrame
  112. local person = game.Players.LocalPlayer.Character
  113. local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = 'vulnera sanentur' }
  114. game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
  115. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement