Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- id = "IDHERE"
- local ScreenGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local chatnamespell = Instance.new("TextBox")
- local spellset = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.BackgroundColor3 = Color3.new(1, 1, 1)
- Main.Position = UDim2.new(0.713772476, 0, 0.245977014, 0)
- Main.Size = UDim2.new(0, 137, 0, 152)
- chatnamespell.Name = "chatnamespell"
- chatnamespell.Parent = Main
- chatnamespell.BackgroundColor3 = Color3.new(1, 1, 1)
- chatnamespell.BorderSizePixel = 0
- chatnamespell.Position = UDim2.new(0.1087896, 0, 0.117967308, 0)
- chatnamespell.Size = UDim2.new(0, 106, 0, 73)
- chatnamespell.Font = Enum.Font.SourceSans
- chatnamespell.PlaceholderText = "Spell Name as in Chat"
- chatnamespell.Text = ""
- chatnamespell.TextColor3 = Color3.new(0, 0, 0)
- chatnamespell.TextScaled = true
- chatnamespell.TextSize = 14
- chatnamespell.TextWrapped = true
- spellset.Name = "spellset"
- spellset.Parent = Main
- spellset.BackgroundColor3 = Color3.new(1, 1, 1)
- spellset.BorderSizePixel = 0
- spellset.Position = UDim2.new(0.060430944, 0, 0.646597087, 0)
- spellset.Size = UDim2.new(0, 128, 0, 47)
- spellset.Font = Enum.Font.SourceSans
- spellset.Text = "Set Spell"
- spellset.TextColor3 = Color3.new(0, 0, 0)
- spellset.TextScaled = true
- spellset.TextSize = 14
- spellset.TextWrapped = true
- spellset.MouseButton1Click:Connect(function()
- game.Players:Chat(chatnamespell.Text)
- end)
- game.Players.LocalPlayer.Chatted:Connect(function(msg)
- if msg == 'immortalize' then
- spellName = 'Invincibility'
- elseif string.sub(msg,1,6) == 'Elder;' then
- identspellName = 'OPMode'
- spellName = string.sub(msg,7,#msg)
- elseif msg == 'nuggetize' then
- spellName = 'Nuggetize'
- else
- identspellName = nil
- spellName = msg
- end
- end)
- local plr = game.Players.LocalPlayer
- local mouse = plr:GetMouse()
- mouse.Button1Down:Connect(function()
- if spellName == 'Invincibility' then
- local item = mouse.Target
- local itempos = item.CFrame
- local person = item.Parent
- for i = 1,200 do
- wait(.01)
- local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = "vulnera sanentur" }
- game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
- end
- wait(.1)
- local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = "deletrius" }
- game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
- wait(.1)
- local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = "glacius" }
- game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
- local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = "finite incantatem" }
- game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
- local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = "diffindo" }
- game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
- local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = "calvorio" }
- game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
- elseif spellName == 'Nuggetize' then
- local item = mouse.Target
- local itempos = item.CFrame
- local person = item.Parent
- local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = 'diminuendo' }
- game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
- wait(4)
- local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = 'levicorpus' }
- game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
- elseif identspellName == 'OPMode' then
- local item = mouse.Target
- local itempos = item.CFrame
- local person = item.Parent
- for i = 1,20 do
- local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = spellName }
- game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
- end
- else
- local item = mouse.Target
- local itempos = item.CFrame
- local person = item.Parent
- local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = spellName }
- game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
- end
- end)
- while wait() do
- local item = game.Players.LocalPlayer.Character.Head
- local itempos = item.CFrame
- local person = game.Players.LocalPlayer.Character
- local oh1 = {["hitCf"] = itempos, ["hitPart"] = item, ["id"] = id, ["distance"] = 2170.5873993432, ["actor"] = person, ["spellName"] = 'vulnera sanentur' }
- game.RepIicatedStorage.Events.spellHit:FireServer(oh1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement